gemma3_4b_iterative_complementary_wsp_round2

Edited google/gemma-3-4b-it (revision 093f9f388b31de276ce2de164bdc2081324b9767, BF16) for multimodal safety with gradient-free, closed-form weight edits (no fine-tuning, no gradients). 2 rounds of Complementary WSP: Round 1 as in utsavz/gemma3_4b_complementary_wsp_round1, then a second round applied to the frozen Round-1 model, adding a rank-1 conditional edit to layer-13 attention o_proj (the Round-2 complementary combination was rejected by internal validation, so the Round-2 best single edit is used). Round 2 met its pre-declared development/internal-validation improvement criterion over Round 1. 31,904,866 elements differ from the base model (3 tensors); 5,167,961 differ from the Round-1 model.

VLGuard test split (1,558 records; greedy, 512 new tokens; refusal judged by a keyword/regex proxy, approximate):

Model Harmful compliance Benign over-refusal Broken/looping outputs
Original Gemma 3 4B 698/1000 (69.8%) 0/558 (0.0%) 1/1558 (0.1%)
This model 38/1000 (3.8%) 39/558 (7.0%) 0/1558 (0.0%)

Research artifact; single run; automatic proxy metrics. Use is subject to the Gemma terms of use.

import torch
from transformers import Gemma3ForConditionalGeneration, AutoProcessor
model = Gemma3ForConditionalGeneration.from_pretrained("utsavz/gemma3_4b_iterative_complementary_wsp_round2", dtype=torch.bfloat16)
processor = AutoProcessor.from_pretrained("utsavz/gemma3_4b_iterative_complementary_wsp_round2")
Downloads last month
20
Safetensors
Model size
4B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for utsavz/gemma3_4b_iterative_complementary_wsp_round2

Finetuned
(879)
this model