
Show Notes
This episode examines BABILong, a NeurIPS 2024 benchmark that asks how much of a language model's advertised 128K-plus context window it can use for reasoning. It argues that the popular needle-in-a-haystack test mostly measures lookup, which strong models pass almost perfectly. BABILong hides the sentences of the synthetic bAbI reasoning tasks (chaining facts, counting, temporal ordering) inside long passages of PG19 book text. Answering then requires finding and combining several scattered facts, and the benchmark can be generated at any length, up to millions of tokens, without risk of training-set contamination. The discussion defines "effective context size" as the longest input at which accuracy stays above 85%, and it flags that this threshold is a judgment call. It also sets up comparisons between long-context LLMs, retrieval-augmented generation, and small recurrent-memory and state-space models. The hosts note that some of the winning models are trained on the task and others are not, so listeners get both the benchmark's design and a caution about reading its results.
Sources: 1. BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystack — Yuri Kuratov, Aydar Bulatov, Petr Anokhin, Ivan Rodkin, Dmitry Sorokin, Artyom Sorokin, Mikhail Burtsev, 2024 http://arxiv.org/abs/2406.10149 2. Towards AI-Complete Question Answering: A Set of Prerequisite Toy Tasks (bAbI) — Jason Weston, Antoine Bordes, Sumit Chopra, Alexander M. Rush, Bart van Merriënboer, Armand Joulin, Tomas Mikolov, 2015 (ICLR 2016) https://scholar.google.com/scholar?q=Towards+AI-Complete+Question+Answering%3A+A+Set+of+Prerequisite+Toy+Tasks+%28bAbI%29 3. Lost in the Middle: How Language Models Use Long Contexts — Nelson F. Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, Percy Liang, 2023 (TACL 2024) https://scholar.google.com/scholar?q=Lost+in+the+Middle%3A+How+Language+Models+Use+Long+Contexts 4. RULER: What's the Real Context Size of Your Long-Context Language Models? — Cheng-Ping Hsieh, Simeng Sun, Samuel Kriman, Shantanu Acharya, Dima Rekesh, Fei Jia, Yang Zhang, Boris Ginsburg (NVIDIA), 2024 (COLM 2024) https://scholar.google.com/scholar?q=RULER%3A+What%27s+the+Real+Context+Size+of+Your+Long-Context+Language+Models%3F 5. NoLiMa: Long-Context Evaluation Beyond Literal Matching — Ali Modarressi, Hanieh Deilamsalehy, Franck Dernoncourt, Trung Bui, Ryan A. Rossi, Seunghyun Yoon, Hinrich Schütze (Adobe Research / LMU), 2025 https://scholar.google.com/scholar?q=NoLiMa%3A+Long-Context+Evaluation+Beyond+Literal+Matching 6. Recurrent Memory Transformer — Aydar Bulatov, Yuri Kuratov, Mikhail Burtsev, 2022 (NeurIPS 2022) https://scholar.google.com/scholar?q=Recurrent+Memory+Transformer 7. Scaling Transformer to 1M tokens and beyond with RMT — Aydar Bulatov, Yuri Kuratov, Yermek Kapushev, Mikhail S. Burtsev, 2023 https://scholar.google.com/scholar?q=Scaling+Transformer+to+1M+tokens+and+beyond+with+RMT 8. Associative Recurrent Memory Transformer (ARMT) — Ivan Rodkin, Yuri Kuratov, Aydar Bulatov, Mikhail Burtsev, 2024 https://scholar.google.com/scholar?q=Associative+Recurrent+Memory+Transformer+%28ARMT%29 9. Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention — Tsendsuren Munkhdalai, Manaal Faruqui, Siddharth Gopal (Google), 2024 https://scholar.google.com/scholar?q=Leave+No+Context+Behind%3A+Efficient+Infinite+Context+Transformers+with+Infini-attention 10. Associative Recurrent Memory Transformer — Rodkin, Kuratov, Bulatov, Burtsev, 2024 https://scholar.google.com/scholar?q=Associative+Recurrent+Memory+Transformer 11. Scaling Transformer to 1M tokens and beyond with RMT / Beyond Attention: Breaking the Limits of Transformer Context Length with Recurrent Memory — Bulatov, Kuratov, Kapushev, Burtsev, 2023/2024 https://scholar.google.com/scholar?q=Scaling+Transformer+to+1M+tokens+and+beyond+with+RMT+%2F+Beyond+Attention%3A+Breaking+the+Limits+of+Transformer+
More from AI Post Transformers
This episode examines PASTA, a method that lets users highlight part of a prompt and has the model attend to it more strongly, without changing any weights. It covers why markup like asterisks may not work as emphasis for LLMs. It then places PASTA against instruction tuning, activation steering (ActAdd, CAA, Inference-Time Intervention) and knowledge editing (ROME, MEMIT, REMEDI). The key difference is that PASTA changes where selected attention heads read, rather than what they output. The discussion explains the mechanism: scores outside the highlighted span are scaled by a small alpha (0.01) and renormalized, which is equivalent to a roughly hundredfold relative boost on the span. The hosts also raise questions about head selection and evaluation, including the absence of comparisons against the neighboring steering methods. Listeners interested in controllability, long-context failures and conflicts between a prompt and a model's memorized knowledge will find it useful.
This episode examines MEMORILLA, a Stanford-led preprint in which a small trained module reads a whole store of pre-embedded documents and hands a frozen language model just 16 soft-token vectors, instead of pasting retrieved text into the prompt. It motivates the design with a personalization scenario. An old, unrelated chat reveals a preference for blunt feedback, so similarity search may miss it, and the signal is spread across many chats that top-k retrieval can't integrate. The discussion contrasts this approach with full-context prompting, agent memory systems (MemGPT, Mem0, MemoRAG, A-MEM), question-blind compression methods (ICAE, xRAG), and per-corpus cache training (Cartridges). It also traces the design's lineage to Perceiver, BLIP-2's Q-Former and prompt tuning. Listeners get a skeptical framing of the headline claim, including whether gains come from reading the store or from training on the benchmarks, and whether comparing against baselines that weren't trained on them is fair. The evaluation covers personalization, long-document QA, knowledge-intensive QA and a TextWorld agent.
This episode examines DeLM, a Stanford system that runs several coding agents in parallel with no main agent, and asks whether four agents deliver four agents' worth of progress or just a bigger bill. It sorts existing designs by the "bubble" each one creates. Independent sampling wastes effort on redundant work. Peer debate stalls at round barriers and grows quadratically in messages. Centralized orchestrators like Claude Code and Codex leave the lead agent idle and pass lossy summaries between agents. DeLM replaces the lead with a self-service task queue, where the first claim wins, and an append-only shared log of FACT and FAIL entries that agents publish as they learn things. The discussion ties this to the 1980 Hearsay-II blackboard system, which had a scheduler where DeLM has none, and notes the new risk that stale or wrong natural-language findings can mislead peers. The hosts also say how they will judge the claimed accuracy and speed gains: whether the benchmarks are representative, whether the gaps exceed run-to-run noise, and how much of the speedup comes from the design rather than from idle baselines.
This episode explores Multi-Agent Transactive Memory, a paper asking whether many agents can dump their raw task trajectories into one shared, searchable repository and let other frozen models retrieve from it. That would improve success rates and cut step counts without any joint training or coordination. It builds up from retrieval-augmented generation and single-agent experience memory (Reflexion, Synapse, ExpeL) to the shared-pool idea, borrowing the name from Wegner's group-psychology notion of transactive memory. The discussion stresses that the analogy is loose: the system is closer to a Stack Overflow for agents than to a team, and the trajectories were never written to be read. It also covers the retrieval design, where the key is the task description plus the last five steps embedded with E5-Base and the stored value is the next five steps from a past run. The pool is seeded with public trajectories from models like GPT-4-Turbo, Claude 3.5 Sonnet, Qwen3-32B and GPT-OSS 20B, then grows as agents work. Listeners get a skeptical look at the ALFWorld and WebArena testbeds, including how small and templated they are, and at the missing private-versus-shared memory control that the paper's central claim needs.
This episode explores how Claude 3.5 Haiku decides when a hard-wrapped line of text is full, even though it sees only token IDs and is never told the line width. It covers the paper's finding that the model tracks the character count on a curved, roughly six-dimensional manifold. That manifold is tiled by about ten sparse features with widening tuning curves, a bit like place cells. The discussion connects this to earlier work on circular and helical feature geometry and to the rotary position encoding used in transformers, and it explains attribution graphs and sparse dictionary features along the way. It also covers the experimental setup: newlines reinserted at known widths from 15 to 150 characters. Zero-ablating the character-count subspace raises loss mainly on newline tokens, which gives causal evidence that the model uses this subspace and doesn't just encode the count somewhere a probe can find it. Listeners interested in mechanistic interpretability will find a concrete case of a model implementing a continuous quantity as geometry, not as one direction per concept.