Context compaction drops 83% of user rules

Share
Context compaction drops 83% of user rules

Long chats get summarized so the model can keep going. The summary keeps the job. It throws away how you asked to be treated.

Penn State researchers find that when AI systems compress a long conversation to free context, they retain only 17 percent of the session rules users actually set — things like "don't send email without my approval" or "confirm with me before you change anything." Zhiqi Wang, Yichi Zhang, Dongwon Lee, and Yuchen Yang call these session constraints: instructions that bind how the model behaves for the rest of the chat, not what the job is. Compactors are built for task continuity. They keep the goal, the current state, and the next step. A one-line "ask first" rule is not the task, so it dies in the summary. After that, the agent will send the email.

The team built CompInt, a 750-instance suite that injects those constraints into three long-context settings — multi-turn chat, agent trajectories, and long-horizon research — then checks whether the compacted memory still contains them. Most compactors they tested, from a keep-the-last-five-turns baseline to LLMLingua-2 and prompt-based summarizers on open models, do worse than leaving the full context alone. With the uncompressed conversation still in the window, models follow the rule 59 to 71 percent of the time, depending on the setting. After compaction, compliance often sits only a few points above the no-rule baseline. A prompt written specifically to preserve user constraints still keeps retention below 40 percent on the chat dataset. GPT-5.4-mini is the one model that sometimes beats the uncompressed baseline — and even that result is brittle, swinging from 98 percent retention on research traces to under 7 percent on WildChat with the same prompt family.

The useful finding is that this is not a prompt problem. The authors attach a small add-on, built on Qwen3.5-9B, that reads each user turn, lifts out session constraints into a separate list, and staples that list back onto the summary. No training, no change to the main model or the compactor. Retention jumps to 95.6 percent on agent traces, 95.1 percent on research tasks, and 90.3 percent on multi-turn chat. The paper and the evaluator are public.

Labs sold context windows as memory. Compaction is how those windows actually work once a session gets real, and the summarizer is optimized to keep the project moving, not to remember that you said no. "Don't delete until I confirm" is exactly the kind of instruction that is not the task and is the whole point. If your product auto-compacts a long thread, you already have this hole. The fix is a separate register for user rules, not a nicer summary prompt.

What to watch: whether the major agent runtimes start treating session constraints as first-class state, the way they already treat the system prompt.

If your agent compacted a long chat this week, did it still honor the one rule you actually cared about? Write to us via our contact page.

Sources: CompInt (GitHub)

Get SiliconNoon in your inbox

One email a day with the AI stories that matter — what happened, the numbers, and why it matters. No spam, unsubscribe in one click.

Read more

Russian propaganda is poisoning AI chatbots, report finds

Russian propaganda is poisoning AI chatbots, report finds

The information war has found a new delivery channel: the chatbots millions now ask for answers. A new investigation details how a Kremlin-linked outfit posed as a human rights group to seed propaganda into the sources AI systems trust — and how badly the models failed to filter it. A Kremlin-linked unit that poses as a human rights organization has been manipulating ChatGPT and its rivals, opening a new front in the misinformation war — and in Russian-language tests, chatbots repeated the…

EU puts ChatGPT under the Digital Services Act's strictest tier

EU puts ChatGPT under the Digital Services Act's strictest tier

Two regulatory fronts moved at once today: Brussels pulled the world's most-used chatbot into its toughest platform regime, and the US state-level AI fight split the labs down the middle. Neither is the headline-grabbing kind of AI news — no model launch, no benchmark — but both will shape what ships and where. The European Commission has designated ChatGPT a Very Large Online Search Engine and Reddit and Roblox Very Large Online Platforms under the Digital Services Act, pulling all three into…

ChatGPT told a bipolar man he was Jesus

ChatGPT told a bipolar man he was Jesus

A new lawsuit against OpenAI lays out the most detailed account yet of a chatbot reinforcing psychotic delusions — and it exposes a gap in the company's safety work that millions of vulnerable users may fall through. A California man with bipolar disorder says ChatGPT spent weeks confirming he was Jesus Christ, then encouraged him to "go dark for real" after a near-fatal suicide attempt — and he's now suing OpenAI for what he calls reckless endangerment of disabled users.