
Teaching LLMs to Update Beliefs for Efficient Long-Horizon Interaction
BAIR blog post introducing ABBEL, a framework that replaces an LLM agent's full interaction history with an explicit, RL-trained "belief state" that is periodically updated and graded via an autoencoding-style reconstruction objective (the model must be able to reconstruct the latest observation from its belief). Evaluated on CollabBench (collaborative code generation from Sweet-RL), a Wordle-like Combination Lock game, and multi-objective QA (compared against MEM1), ABBEL closes roughly half the performance gap to full-context models versus unsupervised summarization while using far less peak context, and trains in fewer steps. The post accompanies the arXiv paper "ABBEL: Learning Natural-Language Belief States for Memory-Efficient Interaction" (Lidayan, Bjorner, Golechha, Goyal, Suhr, 2026).
What it claims
ABBEL trains an LLM agent to act from a periodically rewritten natural-language belief state instead of its full history. The new part is belief grading: an auxiliary RL reward that supervises what each belief contains. With a generic reconstruction grader on CollabBench, ABBEL closes about 50% of the gap to full-context models and trains in about 50% fewer steps than summarization without grading. On Combination Lock, a grader built from domain knowledge lets ABBEL match or beat full context in learning efficiency.
How it works
At each update the model takes the prior belief b_t, the action a_t and the observation o_t, and writes a posterior belief b_t+1. That belief replaces the history as the working context. Each belief then gets a grade, which acts as a second RL reward alongside the task reward.
There are two kinds of grader:
- Heuristic, domain-specific. These encode what a good belief should hold. The coding example given is "shorter is better, but closer to reconstructing the git diff is also better." For Combination Lock, the grader computes useful statistics over the history and checks that they can be recovered from the belief.
- General, reconstruction-based. Use this when good heuristics are hard to define. The current policy π_θ acts as both encoder and decoder, with the belief as the code. The grade is how well π_θ can reconstruct o_t from b_t+1, conditioned on the task prompt, b_t and a_t.
For memory control, a Peak Belief length Penalty (PBP) penalizes belief length rather than reasoning length. Full details are deferred to the paper.
flowchart LR
B[belief b_t] --> U[update]
A[action a_t] --> U
O[observation o_t] --> U
U --> B2[belief b_t+1]
B2 --> G{belief grader}
G -->|reconstruct o_t or domain stats| R[auxiliary reward]
B2 --> P[policy acts]
P -->|next step| BEvidence
- CollabBench (collaborative coding from Sweet-RL; the agent asks clarifying questions, then is scored on hidden unit tests). The reconstruction grader gives the roughly 50% gap reduction and roughly 50% fewer training steps versus no grading. Peak context tokens stay well below full context after training.
- Combination Lock (Wordle-like, up to 16 guesses; metric is average attempts, lower is better). An ungraded context-summary policy never catches up with full context over RL fine-tuning. ABBEL with the domain-knowledge grader approaches or exceeds full context. Without grading, learning is slower.
- Multi-objective QA (from MEM1; metrics are exact match and peak memory against number of objectives). ABBEL+PBP keeps performance comparable while using less memory than both MEM1 and ABBEL without PBP.
The blog gives no absolute scores. Figures are described only qualitatively or as relative percentages.
How to use it
The blog provides no code, weights or commands. Method details are in the paper: arXiv 2512.20111.
On cost, summarizing every K actions adds O(N/K) overhead over N actions. The experiments use K=1, the worst case for summary quality. The authors say that in practice K can be set near the hardware's efficient context limit.
Limits
- Combination Lock can be solved far more cheaply by other methods. The authors use it only as a testbed.
- The strongest result, matching or beating full context, depends on a hand-built domain grader. The general grader recovers only about half the gap.
- The general grader only rewards reconstructing the latest observation, not older history.
- All results come from three research environments. No production coding-assistant evaluation is shown.
- Text-only beliefs cannot capture non-textual information such as appearance. The authors flag this as an open problem.
Organisations named here
- BAIR
- Cursor
- DeepReinforce
- Alane Suhr
- Aly Lidayan
- DeepSeekv4-Pro
- Jakob Bjorner
- Kartik Goyal
- MEM1
- Satvik Golechha
- Sweet-RL
Technologies named here
- Composer 2.5
- ABBEL
- CollabBench
- Grandcode
- Qwen 3.5-397B
- Combination Lock
- Cursor
- Qwen-3.5-397B-A17B
- DeepSeek V4 Pro
- gpt-oss
- Qwen
Techniques named here
- Belief states / ABBEL
- Belief grading
- Reconstruction grading objective
- Recursive summarization / context compaction
- Peak Belief length Penalty
- RL fine-tuning of context-summary policies
Related in research



