Sequences of Logits Reveal the Low Rank Structure of Language Models
Noah Golowich, Allen Liu, Abhishek Shetty
International Conference on Learning Representations 2026 · Oral
Overview
This talk introduces a novel, universal abstraction for understanding the internal workings and predictive behavior of large language models (LLMs): the logit matrix. Presented by Noah Golowich, Allen Liu, and Abhishek Shetty, the research posits that the logit matrix of an LLM, which captures the log-probabilities of generating future tokens given various historical contexts, exhibits a remarkably low-rank structure. This finding is not merely theoretical; it offers a tractable framework for making testable predictions about LLM behavior and provides a new lens through which to analyze their capabilities and potential risks. The work aims to bridge the gap between the impressive, yet often opaque, performance of LLMs and the need for simple, provable abstractions that enhance interpretability and control.

Key moments
- 0:00 Introduction: Understanding and aligning LLMs
- 2:15 Core abstraction: The low-rank logit matrix
- 3:20 Experimental evidence: Logit matrices are low-rank
- 4:10 Application: Generating from hidden target prompts
- 6:10 LinGen algorithm performance and examples
- 8:00 Q&A: LinGen's prompt selection and coefficients
- 9:20 Q&A: Low-rank structure and LLM jailbreaking
Sequences of Logits Reveal the Low Rank Structure of Language Models
Speakers: Noah Golowich, Allen Liu, Abhishek Shetty
Conference: ICLR 2026
YouTube: https://slideslive.com/39062124
Overview
This talk introduces a novel, universal abstraction for understanding the internal workings and predictive behavior of large language models (LLMs): the logit matrix. Presented by Noah Golowich, Allen Liu, and Abhishek Shetty, the research posits that the logit matrix of an LLM, which captures the log-probabilities of generating future tokens given various historical contexts, exhibits a remarkably low-rank structure. This finding is not merely theoretical; it offers a tractable framework for making testable predictions about LLM behavior and provides a new lens through which to analyze their capabilities and potential risks. The work aims to bridge the gap between the impressive, yet often opaque, performance of LLMs and the need for simple, provable abstractions that enhance interpretability and control.
The core insight is that the complex, high-dimensional probability distributions generated by LLMs can be effectively modeled as arising from a much lower-dimensional linear interaction between context and future token features. This low-rank approximation provides a powerful tool for analyzing LLMs, enabling new methods for inference and potentially revealing vulnerabilities related to information leakage or circumvention of safety mechanisms. The presented experimental evidence, primarily using the Olmo family of models, demonstrates that this low-rank property holds consistently across different scales and contexts, decaying according to a robust power law.
Background
▶ Watch: Introduction: Understanding and aligning LLMs (0:00)
The rapid advancements in large language models (LLMs) have brought about unprecedented capabilities in natural language understanding and generation, but these advancements are accompanied by significant challenges, particularly concerning their alignment with human values and their often unpredictable behavior. A major hurdle in deploying and refining LLMs is the lack of a comprehensive understanding of how and why they make specific predictions. This opacity contributes to concerns regarding trustworthiness, bias, and the potential for models to act deceptively or generate harmful content.
Traditional approaches to understanding or compressing text often involve studying low-dimensional representations or embeddings. For any given sequence, or "prompt" h, the goal is to find a D-dimensional vector phi(h) that encapsulates all essential information. However, the definition of "essential information" can vary greatly depending on the downstream application. In the context of autoregressive language models, which predict the next token y_T given a history y_1 through y_{T-1}, the most crucial information about a prompt h is its ability to facilitate accurate future token generation.
The authors propose a specific formulation for this information capture: they seek a feature mapping psi such that the probability of a next token y given a history h and a partial future f (i.e., P(y | h, f)) is approximately proportional to the exponential of an inner product between phi(h) and psi(f, y). This linear structure in the log-probability space is a critical precursor to their main finding. The problem then becomes identifying whether such a low-dimensional, linearly decomposable structure exists within the complex, high-dimensional output space of modern LLMs. This search for simple, universal abstractions that are both realistic enough to yield testable predictions and tractable enough for formal analysis drives the research presented in this talk.
Key Findings
▶ Watch: Experimental evidence: Logit matrices are low-rank (3:20)
The central and most significant finding of this research is that the logit matrix of large language models exhibits an approximately low-rank structure. This observation is crucial because it provides a simple, universal abstraction that is both empirically verifiable and theoretically promising for understanding LLM behavior.
Specifically, the authors define a logit matrix where rows are indexed by histories (prompts h) and columns by future-token pairs (f, y). Each entry in this matrix is the log-probability log P(y | h, f). Their key discovery is that this matrix can be well-approximated by a low-rank matrix, meaning that the full, high-dimensional interaction between histories and future predictions can be effectively captured by a significantly smaller number of latent factors.
Experimental results on Olmo-7B demonstrated that the approximation error, measured by average next-token KL divergence, decays according to a power law as the rank D of the approximating matrix increases. Crucially, this power law decay was found to be consistent across matrices of different sizes, suggesting that this low-rank property is a fundamental characteristic of the language model itself, rather than an artifact of specific datasets or context lengths. The consistency of this power law across scales implies that it likely holds even for the hypothetical "exponential size" logit matrix encompassing all possible histories and futures.
Beyond this fundamental structural discovery, the talk highlights several significant implications:
- Enabling Novel Inference Methods: The low-rank structure implies that the logit vector for a specific target prompt
h_targetcan be approximated as a linear combination of logit vectors derived from a set of "unrelated" promptsh_1throughh_n. This insight led to the development of the LinGen algorithm, a method for generating completions from a target prompt without directly querying the language model with that prompt. - Potential for Bypassing Input Filters: The LinGen algorithm's ability to generate text conditioned on a target prompt using only unrelated queries suggests a potential avenue for circumventing input filters or "jailbreaking" mechanisms that might block sensitive prompts.
- Insights into Model Alignment and Learning: While not detailed in the talk, the authors mention follow-up work exploring implications for "subliminal learning" and the impact of fine-tuning techniques like RLHF on the low-rank structure, hinting at broader relevance for LLM alignment and safety.
- Provable Learnability: The authors also allude to accompanying theoretical work demonstrating that distributions whose logit matrices possess such low-rank structure are provably learnable, adding a strong theoretical foundation to their empirical findings.
These findings represent a significant step towards a more interpretable and controllable framework for understanding and interacting with complex LLMs, moving beyond black-box observations to reveal underlying mathematical structure.
Technical Deep Dive
▶ Watch: Application: Generating from hidden target prompts (4:10)
The technical foundation of this work rests on defining and analyzing the logit matrix of an autoregressive language model. An autoregressive language model takes a sequence of T-1 tokens y_1 through y_{T-1} and outputs a distribution over the T-th token y_T. This process can be repeated to generate entire sequences.
The core hypothesis is that for any prompt h (a sequence of tokens) and any future f (a partial response), the probability of the next token y given the concatenation of h and f (denoted P(y | h, f)) can be approximated as:
P(y | h, f) ≈ exp(<phi(h), psi(f, y)>)
Here, phi(h) is a D-dimensional feature embedding of the prompt h, and psi(f, y) is a D-dimensional feature embedding of the future f and the next token y. The exp function and the inner product signify a linear relationship in the log-probability space. This means that for generation purposes, all information about the prompt h is captured by its D-dimensional embedding phi(h), and this interaction is fundamentally linear.
This probabilistic model has a direct and powerful equivalence: it holds, at least approximately, if and only if the logit matrix of the language model is approximately rank D.
The logit matrix is formally constructed as follows:
- Its rows are indexed by histories
hbelonging to some setScript H. - Its columns are indexed by tuples of a future and token
(f, y), wherefbelongs to some setScript Fof futures. - The entry
M_{h, (f, y)}of this matrix is defined aslog P(y | h, f).
The equivalence between the probabilistic model and the low-rank nature of M is immediate from the definition of a rank D matrix, which states that such a matrix can be decomposed into an outer product of two matrices, one representing row features and the other column features. In this case, phi(h) would correspond to the row features and psi(f, y) to the column features.
This equivalence provides a concrete method to empirically evaluate the hypothesis: one can compute sections of the logit matrix for a given LLM and measure how well it can be approximated by a low-rank matrix using standard matrix decomposition techniques (e.g., Singular Value Decomposition). The approximation error can be quantified using metrics like average next-token KL divergence.
A critical implication of the logit matrix being low-rank is that any row of the matrix (corresponding to a specific prompt h_target) can be expressed as a linear combination of other rows (corresponding to unrelated prompts h_1 through h_n), provided n is sufficiently large and the chosen h_i form a suitable basis. Mathematically, if M is approximately rank D, then for a target prompt h_target, its logit row M_{h_target, :} can be approximated by:
M_{h_target, (f, y)} ≈ Σ_{i=1 to n} c_i * M_{h_i, (f, y)}
where c_i are scalar coefficients. This implies that the log-probability for h_target can be approximated by a linear combination of the log-probabilities derived from h_1 through h_n.
This insight forms the basis of the LinGen algorithm for generation:
- Context: Assume
y_1throughy_{T-1}have already been generated. - Querying: For each of the
nunrelated promptsh_1throughh_n, query the language model to obtain its next-token distribution (or logits) for the current futuref = (y_1, ..., y_{T-1}). Let these beL_{h_i, f}. - Linear Combination: Linearly combine these logit vectors using the pre-computed coefficients
c_i:L_T = Σ_{i=1 to n} c_i * L_{h_i, f}. - Sampling: Sample the next token
y_Tfrom the softmax of the combined logit vectorL_T. - Iteration: Append
y_Tto the context and repeat the process autoregressively.
The coefficients c_i are determined by linear regression, essentially fitting the log-probabilities of h_target to those of h_1 through h_n over a diverse set of random futures. This procedure allows for faithful generation conditioned on h_target without ever directly exposing h_target to the LLM's primary input interface.
Experimental Setup & Results
▶ Watch: Q&A: LinGen's prompt selection and coefficients (8:00)
The research involved two primary sets of experiments to validate the low-rank hypothesis and demonstrate its practical implications.
1. Logit Matrix Low-Rank Approximation:
- Model: The experiments for approximating the logit matrix were conducted using Olmo-7B, a large language model.
- Methodology: The logit matrix was constructed for various sets of histories (
H) and futures (F). The approximation error between the full logit matrix and its rankDapproximation was measured. - Metric: The approximation error was quantified using an average notion of next-token KL divergence. This metric assesses how much the distribution over the next token changes when using the low-rank approximation compared to the true model's distribution.
- Results: The key finding was that the approximation error consistently decayed according to a power law as the rank
Dincreased. This decay was remarkably consistent across matrices of different sizes, with the purple line (largest matrix) exhibiting virtually the same power law as the blue line (smallest matrix). This consistency suggests that the low-rank property is a fundamental, scalable characteristic of the LLM's predictive structure, rather than a transient observation. The implication is that this power law would likely hold for the theoretical "exponential size" matrix encompassing all possible histories and futures.
2. LinGen Algorithm for Generation:
- Model: The LinGen algorithm was tested on Olmo-1B, a smaller variant of the Olmo family.
- Setup:
- Target Prompt (
h_target): An excerpt from a Wikipedia article. - Unrelated Prompts (
h_1throughh_n): Other random excerpts from Wikipedia articles. The speakers also mentioned an experiment with "literally random sequences of tokens," or "gibberish," which yielded similar results, underscoring the abstract nature of the linear dependency. - Coefficients (
c_i): These were computed using linear regression. The log-probabilities of various random futures forh_1throughh_nwere regressed onto those ofh_targetto determine thec_ivalues. - Generation Length: LinGen was used to generate 15 tokens autoregressively.
- Metric: The performance of LinGen was evaluated by measuring the KL divergence between the output distribution of LinGen and the true language model's distribution conditioned on
h_target. - Results: The blue line in the presented graph showed that LinGen achieved a significantly smaller KL divergence compared to several reasonable baselines (represented by other colored lines). This indicates that LinGen's generations were substantially closer to what the true LLM would produce given
h_target. - Qualitative Assessment: Sample generations produced by LinGen were shown to "read reasonably well" and, importantly, "incorporate information from the prompt
h_target," demonstrating that the algorithm successfully captures the semantic conditioning despite not directly querying the LLM withh_target.
These experimental results provide strong empirical evidence for the low-rank structure of LLM logit matrices and demonstrate a practical application of this finding in the form of the LinGen algorithm, which can faithfully reproduce LLM-conditioned generations through an indirect, linear combination approach.
Practical Implications
▶ Watch: Q&A: Low-rank structure and LLM jailbreaking (9:20)
The discovery of a low-rank structure in the logit matrices of large language models has several profound practical implications for practitioners, infrastructure teams, model builders, and deployers.
First and foremost, this work offers a simple, universal abstraction for LLMs. For model builders and researchers, this abstraction provides a more tractable framework for theoretically analyzing LLM behavior, making testable predictions, and potentially developing new architectures or training objectives that explicitly leverage or encourage this low-rank property. It moves beyond treating LLMs as opaque black boxes, providing a mathematical lens for deeper understanding.
For inference and deployment, the LinGen algorithm presents a novel method for generating text. While not explicitly framed as an efficiency improvement in the talk, the ability to approximate a target prompt's logit distribution via linear combinations of other prompts could have implications for distributed inference or specialized hardware, where certain base prompts might be pre-computed or cached. More significantly, LinGen demonstrates a method for indirect conditioning. This means practitioners could potentially generate content conditioned on sensitive or proprietary prompts without exposing the full prompt to the primary LLM interface, which could be relevant for privacy-preserving applications or certain types of secure deployments.
A particularly intriguing, albeit speculative, implication discussed is the potential for jailbreaking or bypassing input filters. If an input filter (e.g., an I/O classifier) prevents certain "malicious" prompts h_target from reaching the LLM, the LinGen approach suggests a way around this. By querying the LLM with "unrelated" prompts h_1 through h_n that are not flagged by the filter, and then linearly combining their logit outputs, one could effectively reconstruct the desired (and filtered) output distribution. This highlights a potential vulnerability for deployers of LLMs with safety filters, necessitating a re-evaluation of how robust these filters are against such indirect inference methods. This is an important consideration for ML security and responsible AI deployment.
Furthermore, the research opens avenues for understanding the effects of fine-tuning techniques like Reinforcement Learning from Human Feedback (RLHF) on the internal structure of LLMs. As the speaker noted, exploring how RLHF affects the low-rank structure could provide insights into how alignment processes modify the fundamental predictive mechanisms of models, potentially informing the design of more robust and aligned LLMs.
Tradeoffs and Limitations:
- Coefficient Computation: The current method requires computing coefficients
c_ivia linear regression, which involves querying the LLM withh_targetand various futures to get its true log-probabilities. This initial step might negate some of the "no direct query" benefits for newh_targetvalues, unless the coefficients can be learned or estimated without direct access toh_target's output. However, for a fixed set of target prompts, these could be pre-computed. - Basis Selection: The effectiveness of LinGen relies on the chosen unrelated prompts
h_1throughh_nforming a sufficiently diverse and spanning "basis" for the logit space. While random Wikipedia excerpts or even gibberish worked in experiments, for specific, highly specialized domains, careful selection of these basis prompts might be necessary. - Approximation Error: While the power law decay is promising, the approximation is not perfect. There will always be some residual KL divergence, meaning LinGen's output is an approximation of the true model's output, not an exact replica. The acceptable level of approximation error will depend on the application.
- Scalability: The computational cost of querying
ndifferent prompts and linearly combining their outputs at each generation step might be higher than a single direct query, depending onnand the specific inference setup. This needs careful consideration for large-scale, real-time applications.
In summary, this research provides a powerful theoretical lens and a practical algorithm with significant implications for how we understand, deploy, and secure LLMs, particularly regarding their internal structure and the indirect manipulation of their outputs.
Key Takeaways
- Low-Rank Logit Matrices: The central finding is that the logit matrix of large language models is well-approximated by a low-rank matrix, providing a simpler, universal abstraction for LLM behavior.
- Power Law Decay: The approximation error, measured by KL divergence, decays according to a consistent power law with increasing rank
D, indicating a fundamental structural property of LLMs across scales. - Linear Combination for Generation (LinGen): The low-rank structure enables the LinGen algorithm, which can generate text conditioned on a target prompt by linearly combining the logit outputs from unrelated, auxiliary prompts.
- Indirect Inference Capabilities: LinGen demonstrates that LLM-conditioned outputs can be effectively simulated without directly querying the model with the target prompt, suggesting new approaches for inference and potential implications for privacy and security.
- Potential for Bypassing Filters: This indirect generation capability could theoretically be used to circumvent input filters or "jailbreaking" mechanisms designed to prevent certain prompts from reaching the LLM.
- Foundation for Further Research: The work lays a foundation for exploring the impact of fine-tuning (e.g., RLHF) on model structure, developing provably learnable models with low-rank properties, and enhancing LLM interpretability and alignment.
About the Speaker(s)
The talk was presented by Noah Golowich, Allen Liu, and Abhishek Shetty. The transcript and metadata do not provide specific titles or company affiliations for the speakers. Their work, as presented, focuses on the theoretical and empirical understanding of large language models, particularly concerning their internal structure and the implications for their behavior and control.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026