gemma3_4b_complementary_wsp_round1

Edited google/gemma-3-4b-it (revision 093f9f388b31de276ce2de164bdc2081324b9767, BF16) for multimodal safety with gradient-free, closed-form weight edits (no fine-tuning, no gradients). 1 round of Complementary Weight-Space Programming (WSP) applied to the original model: best single edit (rank-1 conditional edit, layer-11 attention o_proj) + a revised complementary edit (layer-16 MLP down_proj). 26,736,905 parameter elements differ from the base model (2 tensors).

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 42/1000 (4.2%) 49/558 (8.8%) 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_complementary_wsp_round1", dtype=torch.bfloat16)
processor = AutoProcessor.from_pretrained("utsavz/gemma3_4b_complementary_wsp_round1")
Downloads last month
19
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_complementary_wsp_round1

Finetuned
(879)
this model