← Search

Adam Shai

4 accepted papers

2026

Transformers learn factored representations

ICML 2026poster

Transformers pretrained via next token prediction learn to factor their world into parts, representing these factors in orthogonal subspaces of the residual stream. We formalize two representational hypotheses: (1) a representation in the product space of all factors, whose dimension grows exponenti…

Cited by 0SourceScholar
2025

Constrained Belief Updates Explain Geometric Structures in Transformer Representations

ICML 2025poster

What computational structures emerge in transformers trained on next-token prediction? In this work, we provide evidence that transformers implement constrained Bayesian belief updating---a parallelized version of partial Bayesian inference shaped by architectural constraints. We integrate the model…

Cited by 0SourcePDFScholar
2024

Transformers Represent Belief State Geometry in their Residual Stream

NeurIPS 2024poster

What computational structure are we building into large language models when we train them on next-token prediction? Here, we present evidence that this structure is given by the meta-dynamics of belief updating over hidden states of the data- generating process. Leveraging the theory of optimal pre…

Cited by 5SourcePDFScholar
2023

CORNN: Convex optimization of recurrent neural networks for rapid inference of neural dynamics

NeurIPS 2023poster

Advances in optical and electrophysiological recording technologies have made it possible to record the dynamics of thousands of neurons, opening up new possibilities for interpreting and controlling large neural populations in behaving animals. A promising way to extract computational principles fr…