Is anyone working on conversation compaction?

Reddit r/LocalLLaMA News

Summary

The author discusses using recursive summaries in their chat app 'harness' to manage context but observes model degradation with Qwen Flash Next after many messages, questioning if conversation compaction pollutes model coherence.

In our chat app "harness" we recursively generate summaries, L1 → L2 → L3. L1 summaries are more factual extraction than coherence, then get rolled into a more storytelling L2. Then we keep a tail of always ~10 raw messages with timestamps. We're not coding so this keeps context really clean like 5-8k/tk. However, after like ~120-140 messages, I notice severe degradation in Qwen Flash Next. The model just starts to fall apart, messages quickly become incoherent and comedically strange. But this doesn't make sense to me, Qwen should be easily capable of reasoning through 8k/tk. Right? Looking through the payload itself, there's some noise, but it's fairly coherent. Roughly: [instructions] [L2 Block (large summary)] [L1 block(s)] [raw message tail ~10-15 messages] [latest 3 messages timestamped] Is anyone working on compaction? Is just the nature of a summary, pollution to model coherence?
Original Article

Similar Articles

How Compaction Works in Pi

Hacker News Top

This article explains how compaction works in the Pi coding agent, summarizing old conversation history when the context window nears its limit, and details Pi's specific implementation and triggers.

What should context compression keep? I looked at how six agents handle it[D]

Reddit r/MachineLearning

An analysis of how six AI coding agents (Claude Code, Codex CLI, OpenCode, Cline, Cursor, Amp) converge on layered progressive compression for long contexts, differing in what they protect (user messages, stateful tool outputs) and whether they inform the model of compression, with tradeoffs between cost and accuracy.