Wild · modality & adversarial stress sweep · WebGPU q2f16 / fp16 · 2,603.9 MB · Apache-2.0

Where does a 2B omni model break? Seven adversarial regimes, measured live

Gemma 4 E2B fuses image, audio and text into one token stream. This sweep pushes each modality toward its failure edge — a plate squeezed into a 70-token vision budget instead of the full 280 <|image|> soft tokens, speech buried in 0 dB-SNR white noise, a chart whose answer bar is occluded, and narration that contradicts a sign — and records what the model actually says, how many soft tokens it really consumed, and whether it stayed grounded.

Run the stress sweep

Run one regime pair (each pair is a control vs its adversarial twin):

Checking for a local copy of Gemma 4 E2B…

Regimes run0 / 7
Mean faithfulness (heuristic)–
Grounded regimes–
Mean TTFT–
Mean decode speed–
Total tensor NaN–
Non-finite metrics–
Backend / dtype–
Token counts are counted from the real input_ids tensor of each run ("est." = pre-run processor estimate). Faithfulness is a keyword heuristic, not ground truth.
Regime Input preview <|image|> / <|audio|> tokens TTFT tok/s Answer Faithfulness NaN

Control vs adversarial — pair deltas

Run a pair to compare its control and adversarial twin.

The four regimes

How the faithfulness score works — and what it can't tell you

Each regime declares expect keywords (must appear), forbid keywords (would be a hallucination, e.g. "215" when the bar is hidden) and honestAbstain phrases ("cannot", "not visible", "[inaudible]", "disagree"). The score is expected-keyword recall, forced to 0 on any forbidden hit, and 1 when a regime expects nothing and the model honestly abstains.

These are lowercase substring keyword heuristics, not ground truth. A paraphrase ("ninety-four percent") scores as a miss, and an answer that mentions a keyword while being wrong scores as a hit. Read the answers themselves — the score is only a fast, reproducible first pass. It is deterministic and always finite.

Show the code — gemma4-core.mjs: scoreFaithfulness() (recall, forbidden hits, honest abstention)

References & media