1. Kangwook Lee – “Beyond Decoder–Only Next Token Prediction”

Relevant ArXiv Papers: This talk covers two recent works that go beyond standard decoder-only causal Transformers:

  • Looped Transformers for Length Generalization (Fan et al., 2024) ([2409.15647] Looped Transformers for Length Generalization) – ArXiv: 2409.15647.
    Abstract: “Recent work has shown that Transformers trained from scratch can successfully solve various arithmetic and algorithmic tasks, such as adding numbers and computing parity. While these Transformers generalize well on unseen inputs of the same length, they struggle with length generalization, i.e., handling inputs of unseen lengths. In this work, we demonstrate that looped Transformers with an adaptive number of steps significantly improve length generalization. We focus on tasks with a known iterative solution, involving multiple iterations of a RASP-L operation – a length-generalizable operation that can be expressed by a finite-sized Transformer. We train looped Transformers using our proposed learning algorithm and observe that they learn highly length-generalizable solutions for various tasks.” ([2409.15647] Looped Transformers for Length Generalization)

    Mathematical Details: The authors formalize a class of algorithmic tasks solvable by iterative Transformer operations (termed ℓ-RASP-L problems) and design a looped Transformer architecture to tackle them ([2409.15647] Looped Transformers for Length Generalization). In a Looped Transformer, the same Transformer block is applied repeatedly, allowing the model to adapt the number of iterations to the input’s complexity ([2409.15647] Looped Transformers for Length Generalization). Crucially, the training algorithm only supervises the final output after a certain number of loops, encouraging the model to learn correct intermediate steps implicitly ([2409.15647] Looped Transformers for Length Generalization) ([2409.15647] Looped Transformers for Length Generalization). The paper proves that if a task can be solved by a finite-depth Transformer looped for an appropriate number of steps (each step being a RASP-L operation), then a Looped Transformer can learn to generalize to arbitrarily long inputs by increasing the loop count ([2409.15647] Looped Transformers for Length Generalization). Empirically, they show near-perfect length generalization on tasks like copy, parity, and addition, outperforming baseline Transformers that have fixed depth ([2409.15647] Looped Transformers for Length Generalization).

  • ENTP: Encoder-Only Next Token Prediction (Ewer et al., 2024) ([2410.01600] ENTP: Encoder-only Next Token Prediction) – ArXiv: 2410.01600.
    Abstract: “Next-token prediction is conventionally done using decoder-only Transformers with causal attention, as this approach allows for efficient reuse of keys and values. What if we were not compute-limited – should we still use decoder-only Transformers? In this work, we introduce Encoder-only Next Token Prediction (ENTP). We explore the differences between ENTP and decoder-only Transformers in expressive power and complexity, highlighting potential advantages of ENTP in settings with unbounded compute. We introduce the task and show, both theoretically and experimentally, that while ENTP can perform this task easily, a decoder-only Transformer cannot. Finally, we empirically demonstrate the superior performance of ENTP across representative tasks where next-token-prediction-based Transformers can be evaluated, including addition, in-context learning, and language modeling.” ([2410.01600] ENTP: Encoder-only Next Token Prediction) ([2410.01600] ENTP: Encoder-only Next Token Prediction)

    Mathematical Details: This work contrasts the theoretical capabilities of encoder-style models (which have full bidirectional attention on the prompt) with the usual decoder-only, causal models. They show that removing the causal constraint allows certain computations that a decoder-only Transformer of any fixed depth provably cannot perform ([2410.01600] ENTP: Encoder-only Next Token Prediction). In particular, they define a contrived task called Count3 (counting occurrences of a pattern) and prove that an encoder-only Transformer can solve it by processing the entire input simultaneously, whereas any decoder-only model fails on this task ([2410.01600] ENTP: Encoder-only Next Token Prediction). This separation is shown both theoretically (by complexity arguments) and empirically. The paper also analyzes the expressive power: with unbounded computation budget, an encoder-style next-token predictor can implement functions (like non-local counting) that a causal model cannot ([2410.01600] ENTP: Encoder-only Next Token Prediction). Empirically, ENTP models outperform decoder-only models on algorithmic tasks (e.g. addition with long numbers) and even on standard language modeling benchmarks when allowed to re-encode the whole prefix at each step ([2410.01600] ENTP: Encoder-only Next Token Prediction). These results suggest that full-sequence processing at each step (encoder-only) can be more powerful than strictly autoregressive decoding, at the cost of more computation.

2. Ankur Moitra – “Model Stealing for Low Rank Language Models”

ArXiv Paper: Model Stealing for Any Low-Rank Language Model (Liu & Moitra, 2024) ([2411.07536] Model Stealing for Any Low-Rank Language Model) – ArXiv: 2411.07536.
Abstract: “Model stealing, where a learner tries to recover an unknown model via carefully chosen queries, is a critical problem in machine learning, as it threatens the security of proprietary models and the privacy of data they are trained on. In recent years, there has been particular interest in stealing large language models (LLMs). In this paper, we aim to build a theoretical understanding of stealing language models by studying a simple and mathematically tractable setting. We study model stealing for Hidden Markov Models (HMMs), and more generally low-rank language models. We assume that the learner works in the conditional query model, introduced by Kakade, Krishnamurthy, Mahajan and Zhang. Our main result is an efficient algorithm in the conditional query model for learning any low-rank distribution. In other words, our algorithm succeeds at stealing _any language model whose output distribution is low-rank. This improves upon the previous result by Kakade et al., which also requires the unknown distribution to have high “fidelity,” a property that holds only in restricted cases. There are two key insights behind our algorithm: First, we represent the conditional distributions at each timestep by constructing barycentric spanners among a collection of vectors of exponentially large dimension. Second, for sampling from our representation, we iteratively solve a sequence of convex optimization problems that involve projection in relative entropy to prevent compounding of errors over the length of the sequence. This is an interesting example where, at least theoretically, allowing a machine learning model to solve more complex problems at inference time can lead to drastic improvements in its performance.”_ ([2411.07536] Model Stealing for Any Low-Rank Language Model) ([2411.07536] Model Stealing for Any Low-Rank Language Model) ([2411.07536] Model Stealing for Any Low-Rank Language Model)

Mathematical Details: The paper provides a theoretical algorithm for extracting (stealing) a target language model under the assumption that the model’s next-token distribution has low rank (a property satisfied by HMMs and certain structured LMs) ([2411.07536] Model Stealing for Any Low-Rank Language Model). The attack operates in the conditional query model of Kakade et al., meaning the attacker can query the target model on inputs with chosen prefix conditions. The main result is that any distribution of rank can be learned with polynomial efficiency, without needing the “high fidelity” condition that previous theory assumed ([2411.07536] Model Stealing for Any Low-Rank Language Model). Two key technical ideas enable this general result: (1) Barycentric Spanner Construction: The algorithm constructs a set of high-dimensional embedding vectors for conditional probabilities that form a barycentric spanner (a concept from convex geometry) for the space of possible next-token distributions ([2411.07536] Model Stealing for Any Low-Rank Language Model). This allows the attacker to represent the unknown conditional distribution as a convex combination of extreme points (the spanner vectors). (2) Iterative Relative-Entropy Projections: Given this representation, the attacker devises a sampling procedure that at each step solves a convex optimization problem – specifically, a projection in terms of Kullback–Leibler divergence (relative entropy) – to ensure errors do not compound over multiple timesteps ([2411.07536] Model Stealing for Any Low-Rank Language Model). In essence, at each step the algorithm adjusts its estimate of the next-token distribution by a KL projection to remain consistent with observed queries, which guarantees that the error remains bounded as sequences grow. These mathematical insights together yield an efficient stealing algorithm for low-rank LMs, demonstrating theoretically that with a clever querying strategy, one can recover model parameters even for complex models, so long as their output distributions lie in a low-dimensional (low-rank) subspace ([2411.07536] Model Stealing for Any Low-Rank Language Model) ([2411.07536] Model Stealing for Any Low-Rank Language Model).

3. Sujay Sanghavi – “Mitigating catastrophic forgetting in the data–oblivious setting”

ArXiv Paper: Upweighting Easy Samples in Fine-Tuning Mitigates Forgetting (Sanyal et al., 2025) ([2502.02797] Upweighting Easy Samples in Fine-Tuning Mitigates Forgetting) – ArXiv: 2502.02797.
Abstract: “Fine-tuning a pre-trained model on a downstream task often degrades its original capabilities, a phenomenon known as “catastrophic forgetting.” This is especially an issue when one does not have access to the data and recipe used to develop the pre-trained model. Under this constraint, most existing methods for mitigating forgetting are inapplicable. To address this challenge, we propose a sample weighting scheme for the fine-tuning data solely based on the pre-trained model’s losses. Specifically, we upweight the easy samples on which the pre-trained model’s loss is low and vice versa, to limit the drift from the pre-trained model. Our approach is orthogonal yet complementary to existing methods; while such methods mostly operate on parameter or gradient space, we concentrate on the sample space. We theoretically analyze the impact of fine-tuning with our method in a linear setting, showing that it stalls learning in a certain subspace which inhibits overfitting to the target task. We empirically demonstrate the efficacy of our method on both language and vision tasks. As an example, when fine-tuning Gemma-2 2B on MetaMathQA, our method results in only a drop in accuracy on GSM8K (another math dataset) compared to standard fine-tuning, while preserving more accuracy on the pre-training datasets.” ([2502.02797] Upweighting Easy Samples in Fine-Tuning Mitigates Forgetting) ([2502.02797] Upweighting Easy Samples in Fine-Tuning Mitigates Forgetting)

Mathematical Details: This work tackles catastrophic forgetting without access to the original training data (“data-oblivious” scenario) by re-weighting the new task’s data. The core idea is to use the pre-trained model itself to judge which fine-tuning examples are “easy” (low loss) vs. “hard” (high loss), and give higher importance to the easy examples during fine-tuning ([2502.02797] Upweighting Easy Samples in Fine-Tuning Mitigates Forgetting). Intuitively, this curbs the tendency of fine-tuning to over-fit the new task at the expense of older capabilities: if the model already performs well on an example, emphasizing it helps anchor the model on what it already knows, thereby reducing drift. Formally, the authors analyze a simple linear model setting to understand the effect of this weighting scheme. They prove that under their scheme, the update directions corresponding to the pre-trained features are suppressed, effectively stalling learning in a subspace that aligns with the pre-trained model’s important directions ([2502.02797] Upweighting Easy Samples in Fine-Tuning Mitigates Forgetting). By halting movement in this subspace, the model is prevented from forgetting original-task knowledge while still learning the new task (albeit more slowly on directions that conflict with the pre-trained model). Experimentally, this method shows significantly less forgetting on language and vision benchmarks ([2502.02797] Upweighting Easy Samples in Fine-Tuning Mitigates Forgetting). For example, in fine-tuning a 2-billion-parameter LLM (Gemma-2) on a math QA dataset, the weighted-sampling approach preserved 5.4% more accuracy on the original pre-training tasks (and only slightly reduced performance on the new task) compared to standard fine-tuning ([2502.02797] Upweighting Easy Samples in Fine-Tuning Mitigates Forgetting). This confirms that the scheme succeeds in protecting prior knowledge: the model retains much of its capability on other tasks (like GSM8K math problems) while adapting to the new data, despite having no access to the original training data during fine-tuning.

4. Tatsu Hashimoto – “Statistical perspectives on LLM pretraining data”

Tatsunori Hashimoto’s Talk

Tatsunori Hashimoto’s presentation introduced two recent research papers: (1) “s1: Simple Test-Time Scaling” and (2) “Synthetic Continued Pretraining.” Below are the corresponding arXiv papers, their abstracts, and key mathematical details relevant to the talk:

1. s1: Simple Test-Time Scaling (arXiv:2501.19393)

Link: arXiv:2501.19393 – Niklas Muennighoff et al., 2025.

Abstract: “Test-time scaling is a promising new approach to language modeling that uses extra test-time compute to improve performance. Recently, OpenAI’s o1 model showed this capability but did not publicly share its methodology, leading to many replication efforts. We seek the simplest approach to achieve test-time scaling and strong reasoning performance. First, we curate a small dataset s1K of 1,000 questions paired with reasoning traces relying on three criteria we validate through ablations: difficulty, diversity, and quality. Second, we develop budget forcing to control test-time compute by forcefully terminating the model’s thinking process or lengthening it by appending “Wait” multiple times to the model’s generation when it tries to end. This can lead the model to double-check its answer, often fixing incorrect reasoning steps ([2501.19393] s1: Simple test-time scaling). After supervised finetuning the Qwen2.5-32B-Instruct language model on s1K and equipping it with budget forcing, our model s1-32B exceeds o1-preview on competition math questions by up to 27% (MATH and AIME24). Further, scaling s1-32B with budget forcing allows extrapolating beyond its performance without test-time intervention: from 50% to 57% on AIME24 ([2501.19393] s1: Simple test-time scaling).”

Mathematical details: This work treats test-time computation as a controllable resource or “budget.” The authors formalize a simple strategy called budget forcing to manage this resource: when the model attempts to stop reasoning, they append a special token (“Wait”) to prompt the model to continue its reasoning process, effectively increasing the inference depth ([2501.19393] s1: Simple test-time scaling). By also allowing early termination if needed, this method adjusts the length of the model’s reasoning chain at test time. Mathematically, one can view the “budget” as an upper bound on reasoning steps – the model is trained to either halt by reaching a solution or to insert a “Wait” token if budget remains. The curated s1K dataset provides training signals for complex reasoning, and ablation studies confirm that selecting data by difficulty, diversity, and quality leads to better generalization ([2501.19393] s1: Simple test-time scaling). The key finding is that a model fine-tuned with these strategies can extrapolate its performance to larger reasoning budgets: empirically, increasing the allowed reasoning steps (via “Wait” prompts) improved accuracy on challenging math problems from 50% to 57%, indicating a form of scaling behavior without modifying model weights ([2501.19393] s1: Simple test-time scaling). This suggests that the reasoning ability of transformer models can be boosted by dynamically adjusting inference depth, and the paper provides initial theoretical justification through controlled test-time interventions.

2. Synthetic Continued Pretraining (arXiv:2409.07431)

Link: arXiv:2409.07431 – Zitong Yang et al., 2024 (ICLR 2025 Oral).

Abstract: “Pretraining on large-scale, unstructured internet text enables language models to acquire a significant amount of world knowledge. However, this knowledge acquisition is data-inefficient — to learn a fact, models must be trained on hundreds to thousands of diverse representations of it. This poses a challenge when adapting a pretrained model to a small corpus of domain-specific documents, where each fact may appear rarely or only once. We propose to bridge this gap with synthetic continued pretraining: using the small domain-specific corpus to synthesize a large corpus more amenable to learning, and then performing continued pretraining on the synthesized corpus. We instantiate this proposal with EntiGraph, a synthetic data augmentation algorithm that extracts salient entities from the source corpus and then generates diverse text by drawing connections between those entities. Synthetic continued pretraining with EntiGraph enables a language model to answer questions and follow generic instructions related to the source documents _without access to them. If the source documents are instead available at inference time, we show that the knowledge acquired through our approach compounds with retrieval-augmented generation. To better understand these results, we build a simple mathematical model of EntiGraph, and show how synthetic data augmentation can “rearrange” knowledge to enable more data-efficient learning ([2409.07431] Synthetic continued pretraining) ([2409.07431] Synthetic continued pretraining).”_

Mathematical details: The core idea is to improve data efficiency by generating auxiliary training data from a limited corpus. Formally, let be the small original corpus. The EntiGraph procedure constructs a graph of salient entities (nodes) and relations (edges) extracted from . This graph is then used to generate a much larger synthetic text corpus by creating sentences that connect these entities in diverse ways. The authors provide a simple mathematical model to analyze this process ([2409.07431] Synthetic continued pretraining). In their model, each fact or piece of knowledge is represented as an event involving certain entities. Standard pretraining would require seeing many variant occurrences of that event to firmly learn it. However, under their synthetic augmentation, the entropy of the training distribution is increased by recombining entity relationships, effectively providing many independent samples of each underlying fact. They show that this can be viewed as “rearranging” knowledge: the synthetic data does not add new facts, but presents existing facts in varied contexts, which theoretical analysis suggests can reduce the sample complexity of learning those facts. In particular, under simplifying assumptions (e.g. a memoryless language model and linear reward model), they prove that the knowledge gained from synthetic pretraining is complementary to retrieval augmentation at test time (Synthetic continued pretraining | OpenReview). The resulting continued-pretrained model achieves higher reward (accuracy on domain questions) for a given KL-divergence from the original model, meaning the alignment of the model’s distribution towards the target knowledge is more efficient. This approach combines ideas from domain adaptation and data augmentation: mathematically, it leverages the fact that a union of supports (original plus synthetic data) can span the target distribution more fully, enabling the model to generalize from rare facts seen only once in ([2409.07431] Synthetic continued pretraining).

5. Daniel Hsu – “Transformers, parallelism, and the role of depth”

ArXiv Paper: Transformers, Parallel Computation, and Logarithmic Depth (Sanford, Hsu, & Telgarsky, 2024) ([2402.09268] Transformers, parallel computation, and logarithmic depth) – ArXiv: 2402.09268.
Abstract: “We show that a constant number of self-attention layers can efficiently simulate – and be simulated by – a constant number of communication rounds of Massively Parallel Computation. As a consequence, we show that logarithmic depth is sufficient for Transformers to solve basic computational tasks that cannot be efficiently solved by several other neural sequence models and sub-quadratic transformer approximations. We thus establish parallelism as a key distinguishing property of Transformers.” ([2402.09268] Transformers, parallel computation, and logarithmic depth)

Mathematical Details: This theoretical work investigates how the depth of a Transformer relates to its ability to perform parallel computation. The authors draw a parallel between the layers of a Transformer and the communication rounds in the classic MPC (Massively Parallel Computation) model ([2402.09268] Transformers, parallel computation, and logarithmic depth). The main result is an equivalence in computational power: a Transformer with self-attention layers can simulate an algorithm that runs in rounds of parallel computation, and conversely any -round parallel algorithm can be implemented by a Transformer with layers ([2402.09268] Transformers, parallel computation, and logarithmic depth). This implies that by increasing depth, Transformers can perform increasingly complex parallel algorithms. In particular, they prove that layers of self-attention suffice for a Transformer to efficiently solve certain tasks on length- sequences that no shallow (e.g. constant-depth) model or sparse-attention model can solve in sublinear time ([2402.09268] Transformers, parallel computation, and logarithmic depth). An example of such a task might be something like global sorting or parity over the sequence, which requires combining information from all tokens; the paper shows Transformers can do this with logarithmic-depth circuits, whereas recurrent models or limited forms of attention would require linear depth. The theoretical significance is that the ability to perform many operations in parallel (through multi-head attention across the sequence) is the crucial advantage conferred by having multiple layers. In fact, the authors identify parallelism as the key distinguishing feature that sets Transformers apart from other sequence models ([2402.09268] Transformers, parallel computation, and logarithmic depth). In simpler terms, each layer of a Transformer can be seen as a round of simultaneous computation across the entire input, so a stack of layers can do rounds of computation. With about layers, a Transformer can implement divide-and-conquer style algorithms and aggregate information from all positions in polylogarithmic time, something impossible for one-layer or sequential models. This provides a rigorous explanation for why depth matters: increasing depth dramatically expands the class of functions a Transformer can compute, enabling efficient solutions to problems requiring global reasoning that shallow models fail at ([2402.09268] Transformers, parallel computation, and logarithmic depth).

6. Preetum Nakkiran – “What Algorithms can Transformers Learn? A Study in Length Generalization”

ArXiv Paper: What Algorithms Can Transformers Learn? A Study in Length Generalization (Zhou et al., 2023) (What Algorithms can Transformers Learn? A Study in Length Generalization | ISL Colloquium at Stanford University) – ArXiv: 2310.16028.

Abstract: “Large language models exhibit surprising emergent generalization properties, yet also struggle on many simple reasoning tasks such as arithmetic and parity. This raises the question of if and when Transformer models can learn the true algorithm for solving a task. We study the scope of Transformers’ abilities in the specific setting of length generalization on algorithmic tasks. Here, we propose a unifying framework to understand when and how Transformers can exhibit strong length generalization on a given task. Specifically, we leverage RASP (Weiss et al., 2021) – a programming language designed for the computational model of a Transformer – and introduce the RASP-Generalization Conjecture: _Transformers tend to length-generalize on a task if the task can be solved by a short RASP program which works for all input lengths. This simple conjecture remarkably captures most known instances of length generalization on algorithmic tasks. Moreover, we leverage our insights to drastically improve generalization performance on traditionally hard tasks (such as parity and addition). On the theoretical side, we give a simple example where the “min-degree-interpolator” model of learning (Abbe et al., 2023) does not correctly predict Transformers’ out-of-distribution behavior, but our conjecture does. Overall, our work provides a novel perspective on the mechanisms of compositional generalization and the algorithmic capabilities of Transformers.”_ ([2310.16028] What Algorithms can Transformers Learn? A Study in Length Generalization) ([2310.16028] What Algorithms can Transformers Learn? A Study in Length Generalization)

Mathematical Details: This study focuses on systematic generalization to inputs longer than those seen in training – a controlled form of out-of-distribution generalization. The authors formulate the RASP-Generalization Conjecture, which posits a link between a formal algorithmic description of a task and a Transformer’s ability to generalize in length ([2310.16028] What Algorithms can Transformers Learn? A Study in Length Generalization). RASP (Restricted Access Sequence Processing) is a domain-specific language that mirrors what a Transformer can compute (operations correspond to attention and elementwise functions). The conjecture states that if there exists a short program in the RASP language that solves a task for arbitrarily long inputs, then a Transformer trained on shorter instances will tend to generalize to longer instances of that task ([2310.16028] What Algorithms can Transformers Learn? A Study in Length Generalization). This provides a predictive theory: for tasks like copying a string or identifying the maximum, one can write a simple RASP program (e.g. a loop or a set of attention operations) that works for all lengths, and indeed Transformers are observed to generalize well on such tasks. In contrast, tasks like parity or certain arithmetic operations have no short RASP program (they require either unbounded recursion or long memory), and vanilla Transformers famously fail to generalize on these ([2310.16028] What Algorithms can Transformers Learn? A Study in Length Generalization) ([2310.16028] What Algorithms can Transformers Learn? A Study in Length Generalization). Using this insight, the authors show how to design training strategies (such as providing hints or scratchpad tokens) that effectively turn a hard task into one with a simple RASP solution, thereby enabling length generalization. For example, they add an explicit carry prompt or scratchpad for addition, and a running parity bit for parity, making these tasks implementable by a Transformer – and indeed they report the first successful length generalization results on parity and addition by a Transformer trained from scratch ([2310.16028] What Algorithms can Transformers Learn? A Study in Length Generalization) ([2310.16028] What Algorithms can Transformers Learn? A Study in Length Generalization). On the theoretical side, they compare their conjecture to other frameworks: notably, they present a case where a recently proposed polynomial interpolation model (the “min-degree interpolator” from Abbe et al.) fails to explain the generalization behavior of Transformers, whereas the RASP-Generalization Conjecture correctly predicts it ([2310.16028] What Algorithms can Transformers Learn? A Study in Length Generalization). This suggests that the structure of the solution (whether a simple algorithm exists within the Transformer’s repertoire) is more relevant to extrapolation performance than other complexity measures. Overall, this work provides a unifying algorithmic lens for reasoning about what kinds of computations a Transformer can internalize in training and then generalize beyond the training distribution, bridging formal language theory (via RASP programs) with empirical deep learning observations about length extrapolation ([2310.16028] What Algorithms can Transformers Learn? A Study in Length Generalization).