ConTra: RL-trained 2B prefix generator beats Anthropic-style 9B prompted baseline on contextual retrieval
_reachsumit · x · 2026-11-26
The ConTra paper proposes reinforcement learning to train lightweight prefix generators for contextual retrieval.
- Addresses context loss from chunking: prompted prefixes (Anthropic's method) are costly and underperform contextual encoders
- Generates one short prefix per chunk, with rewards combining frozen embedding/reranker feedback, factual verification, and length control
- Prefixes are computed once at index time and reused across queries
- Introduces RealContextBench: 5 application collections plus 3 controlled interference conditions
- ConTra-2B outperforms the prompted 9B baseline on ConTEB and RealContextBench
More from coding & agent
- OpenAI's Codex-powered Performance Factory ran 1,700+ perf investigations in 3 months — AxSaucedo · 2026-11-26
- Founder: if your AI agent keeps love-bombing you, you're ngmi — kylegawley · 2026-11-26
- New OSC 7577 terminal protocol lets any program resume after server restarts — solyarisoftware · 2026-11-26
- Pi v1.6.1 ships: GitHub Copilot decision models callable, notice settings reworked — solyarisoftware · 2026-11-26
- Open-source karpo-browser hits 89% on Browserbase v2 at ~9.6¢ per task with a dedicated decision model — ahuja_priyank · 2026-11-26
- TermPhone MCP server lets Claude drive an iPhone or Android emulator from the terminal — Fun_Village9496 · 2026-11-26