Skip to content
Let’s (not) just put things in Context: Test-Time Training for Long-Context LLMs episode artwork

Dec 21, 2025 13 min

Let’s (not) just put things in Context: Test-Time Training for Long-Context LLMs

from Best AI papers explained Hosted by Enoch H. Kang

Large language models often struggle with long-context tasks because the attention mechanism suffers from **score dilution**, where relevant information is overwhelmed by surrounding "distractor" tokens. Researchers found that common **inference-time scaling strategies**, such as generating additional "thinking tokens," fail to solve this problem as context length increases. To address this, the authors propose **query-only test-time training (qTTT)**, a computationally efficient method that updates only the model's **query projection matrices** for a specific input. By performing a single prefill to cache **keys and values** and then applying targeted gradient updates, the model learns to better distinguish the "needle" of relevant information from the "haystack" of noise. Experiments across **LongBench-v2** and **ZeroScrolls** benchmarks show that qTTT consistently outperforms traditional methods and thinking tokens. This approach suggests that **adapting model parameters** during inference is a more effective use of compute than simply increasing the length of the generated output.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Let’s (not) just put things in Context: Test-Time Training for Long-Context LLMs

0:00 13:45

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Best AI papers explained?

This episode is 13 minutes long.

When was this Best AI papers explained episode published?

This episode was published on December 21, 2025.

Can I download this Best AI papers explained episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.