Swapping pretraining objective cuts entity-swap false-accepts from 46% to 5% with zero training
Reasonable_Royal_621 · reddit · 2026-09-14
While red-teaming a semantic-cache verifier across five hard categories, the author found fine-tuning on adversarial examples fixed four of them — but entity swaps (the "George H.W. Bush vs George W. Bush" kind) stayed stuck at 46.2% false-accept through four rounds of data fixes. Removing the category's 28 training examples changed nothing: it wasn't a data problem.
The fix was dumb-simple: swap the pretrained objective. The default verifier was a cross-encoder pretrained on MS MARCO (passage-query relevance); swapping in a same-size cross-encoder pretrained on NLI (entailment/contradiction) with zero training dropped entity-swap false-accepts from 46.2% to 5.1% — nearly 90%. Negation and quantity-swap zero-shot performance also beat the entire fine-tuned pipeline.
Caveats and follow-up:
- The NLI model is worse out of the box elsewhere, with its own weakness in direction reversal (40.8%);
- Fine-tuning it the same way fixed that, restored natural-data performance, and delivered the project's best overall adversarial numbers. Entity-swap settles at 26-31% after fine-tuning, still roughly half the old floor.
Core insight: "the model can't learn this" may mean it never saw the relationship during pretraining — fine-tuning can only sharpen what's already there. Picking the right pretraining objective mattered more than every data trick combined. Caveat: swapping the objective also swapped architecture and tokenizer, and only one NLI model was tested. Code and writeup: CacheVerifier on GitHub, section 4.3 of Paper D.
More from Research
- Ryan Greene's epic on compression and intelligence: LLMs as the most powerful compressors ever — willdepue · 2026-11-23
- Fleuret debate: every ZFC proof is elementary recombination — AI sees structures we can't — jessi_cata · 2026-11-23
- Riemann hypothesis Lean proof visualized as a stunning 1000-step dependency tree — PrasoonPratham · 2026-11-23
- Dev trains 1B LLM from scratch on 1.1M YouTube transcripts (5B tokens) — solyarisoftware · 2026-11-23
- Microsoft's BioEmu2 technical report: generative model samples biomolecular dynamics orders of magnitude faster than MD — marwinsegler · 2026-11-23
- Video-editing reward models pick frozen clips 97% of the time; motion-aware reward fixes it — Li Li · 2026-11-23