Cactus Hybrid adds a 68k-parameter probe so Gemma 4 can route uncertain answers
Henrie_the_dreamer · reddit · 2026-07-23
Cactus Hybrid gives Gemma 4 a learned wrong-answer detector
Cactus says it post-trained Gemma 4 E2B to estimate when it is likely wrong, then use that confidence to route only a fraction of queries to a larger cloud model.
- The system adds a 68k-parameter probe layer that reads an intermediate hidden state and predicts p(wrong).
- Confidence is returned as structured data instead of being parsed from generated prose.
- On 12 held-out benchmarks across text, vision, and audio, the probe averages 0.814 AUROC, versus 0.549 for token entropy.
- The authors say the probe was trained on zero audio data yet still reaches 0.79–0.88 AUROC on several audio benchmarks.
- By routing only 15–35% of queries to Gemini 3.1 Flash-Lite, they claim Gemma-4-E2B can match it on most benchmarks.
- Weights and integration code are published for Hugging Face, Transformers, MLX, llama.cpp, and more.
The key idea is a compact confidence probe inside the checkpoint, enabling on-device-first execution with cloud fallback when the model looks uncertain.
More from coding & agent
- Bugbot rejects an MCP permission flag because it would break path-scoped isolation — zeeg · 2026-07-27
- One GPT-5.6 agent is guarding a Blink security system while another makes a parody rap album — repligate · 2026-07-27
- An agent got unblocked by reusing a logged-in browser, not stealth tricks — armanidev_ · 2026-07-27
- Paper argues graph topology can become the core operating system for AI agents — theomitsa · 2026-07-27
- Claude Code desktop adds UI markup feedback for smoother visual editing — EricBuess · 2026-07-27
- Anthropic says Claude Code can drop 80% of its system prompt with no coding loss — krishnan · 2026-07-27