Can Computation from Earlier Problems Help LLMs Solve New Ones?

Jipei He, Wenhui Tan, Xiaoyi Yu, Enver Sangineto, Fiorenzo Parascandolo, Rita Cucchiara, Ruihua Song

Renmin University of China · University of Modena and Reggio Emilia

Published September 30, 2026 · on the feed October 5, 2026 · ▲ 9 · arXiv 2609.39394

Other No code arXiv ↗Hugging Face ↗

The abstract

Large language models often solve independent problems in the same conversation. Can computation from earlier problems help them solve new ones? To answer this question, we first conduct preliminary experiments showing that retained history can raise or lower later-turn accuracy, even within the same domain. To understand these effects, we use controlled replay to isolate internal state changes specific to each problem-history pairing. Across different histories, these changes preserve similar relationships among current problems. To improve reasoning under retained history, we introduce STAIR (Stale-Token Attention for Inter-query Reuse). STAIR captures keys and values from earlier response generation in a fixed bank. It learns to redirect current queries when they read this bank during prompt processing. The base model remains frozen; only 12,288 parameters are trained. Across three Qwen models and four benchmarks, STAIR improves average later-turn accuracy by up to 11.67 percentage points over the unmodified model with history.

The Brief

1:57

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Can Computation from Earlier Problems Help LLMs Solve New Ones?. By Jipei He and six others, from Renmin University of China and the University of Modena and Reggio Emilia. Published on the thirtieth of September. No code repository is linked to it.

Large language models often solve independent problems inside a single conversation, one after another. That raises a plain question: can the computation spent on earlier problems help with a new one? Preliminary experiments give an unsettled answer. Retained history can raise later-turn accuracy, and it can also lower it, even when every problem comes from the same domain. Keeping the history around is not a reliable gift.

To see where those effects come from, the authors use controlled replay, which isolates the internal state changes specific to each pairing of a problem with a history. Across different histories, those changes preserve similar relationships among the current problems. With that picture in hand, they introduce STAIR, short for Stale-Token Attention for Inter-query Reuse, a way to improve reasoning when the history is kept.

STAIR captures the keys and values produced while generating earlier responses, and holds them in a fixed bank. When the current queries read that bank during prompt processing, STAIR learns to redirect them. Everything else stays put. The base model remains frozen, and only twelve thousand two hundred and eighty-eight parameters are trained.

The evaluation spans three Qwen models and four benchmarks. Measured against the unmodified model carrying the same history, STAIR improves average later-turn accuracy by up to eleven point six seven percentage points. The comparison is a fair one to keep in mind: both sides see the earlier problems, and only one of them has learned how to read what those problems left behind.

Conversation history is double-edged here. It can help a later problem or hurt it. Rather than discarding it, or retraining the model to cope, STAIR treats earlier computation as a stored resource and trains a very small component to decide how current queries should read it.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.