CMU trains memory writing with RL: Qwen3.5-4B rivals GPT-5.4 on continual learning

aviral_kumar2 · x · 2026-11-13

A Carnegie Mellon team (Aviral Kumar et al.) published a technical post on training LLM agents to write useful memories from past experience. Their recipe uses RL to train a single model that alternates between acting on tasks and writing memories, maximizing cumulative performance over a stream of related tasks — going beyond prompt-based 'summarize into MEMORY.md' approaches. On their Continual Learning Bench, the trained Qwen3.5-4B performs comparably to GPT-5.4 and Claude Opus 4.7, and gains more from past experience than those frontier models or Claude Code/Codex. The chart shows 10.5 cumulative reward and 2.2 learning gain, vs near-zero gain for untrained baselines.

Original post →

More from coding & agent

coding & agent channel →