Tengyu Ma
Tengyu Ma studies how language acquires a useful mathematical representation and how language models use examples to carry out tasks. The papers here range from the geometry of word vectors to the behavior of models given demonstrations in a prompt. A recurring question is how much of a system’s behavior can be explained by the structure of the text it learns from, the procedure used to train it, or the examples it sees when asked to solve a problem. The work approaches these questions through probabilistic accounts of text, linear algebra, and experiments that vary the information available to a model. Related papers examine the computation required to train language models and put them to work.
Ma’s most cited work here is the 2021 report On the Opportunities and Risks of Foundation Models. It examines what happens when broadly trained systems become a common starting point for applications that are later adapted through further training or instructions. The report distinguishes between the emergence of abilities that were never explicitly designed into a system and the growing reliance of many applications on the same underlying systems. That reliance makes it possible to reuse capabilities across tasks and can also pass weaknesses in a base model on to its applications. The report connects these issues to how models are evaluated and argues for collaboration across disciplines and sectors.
In A Latent Variable Model Approach to PMI-based Word Embeddings, published in Transactions of the Association for Computational Linguistics in 2016, the authors ask why statistics about which words appear together can yield a geometry that captures aspects of meaning. Their model represents the current subject of a text as a hidden vector that shifts gradually. Words whose vectors align with that subject become more likely, so words close together in the text tend to reflect a shared context. Under assumptions about how vectors are distributed across the vocabulary, the model links pointwise mutual information, a measure of word association, to inner products. This provides a mathematical account of how co-occurrences can shape an embedding space.
A 2018 paper in the same journal, Linear Algebraic Structure of Word Senses, with Applications to Polysemy, asks what that geometry retains when a word has several meanings. It gives conditions under which the word’s vector can be approximated by adding vectors for its individual senses, weighted by how often those senses occur. The authors use sparse coding to express each word through a small selection of components drawn from a shared vocabulary of components. Words can then share a component for a related sense even if their other meanings differ. An evaluation asks whether the method can pick out a word’s actual senses from alternatives that include distractors, testing whether the decomposition captures distinctions people recognize.
A La Carte Embedding (2018) addresses a different problem in lexical semantics. It places a rare word or unfamiliar phrase in an existing embedding space using the contexts in which it occurs. The authors average the vectors of surrounding words, then apply a linear transformation learned from familiar words whose representations are already available. The transformation can downweight patterns that occur across many contexts and carry little information about the particular word. On the Contextual Rare Words dataset, the method improves on simple averaging and other ways of adjusting those averages when only a handful of sentences are available. It also improves vector retrieval from definitions, while results are less consistent on a task involving human judgments of invented concepts.
In-context learning moves the question of what can be inferred from examples to the level of a whole task. Larger language models do in-context learning differently (2023) examines whether a classifier follows the label assignments shown in a prompt or relies on associations acquired during pretraining. The authors reverse familiar assignments in demonstrations, such as pairing favorable reviews with a negative label, and also test arbitrary label names whose meanings have to be inferred from the examples. The reversal makes following the examples detectable even when it lowers accuracy against the original labels. The experiments examine how model size and instruction tuning affect the ability to use these newly supplied assignments.
Other papers here investigate what computation could account for learning from a prompt. An Explanation of In-context Learning as Implicit Bayesian Inference (2021) takes a probabilistic approach and tests its account on a synthetic dataset called GINC. What learning algorithm is in-context learning? (2022) uses linear regression as a setting where a transformer’s predictions can be compared with those of known estimators. The study uses proofs, prediction comparisons and probes of the model to address how it learns from the examples it is given.
A related 2023 paper, One Step of Gradient Descent, gives a theoretical result for a transformer with a single layer of linear self-attention. In the setting studied, the optimal way for this architecture to predict from examples corresponds to taking a gradient descent step. The paper also considers when that step changes. The restricted architecture lets the authors make a precise statement about the computation behind a prediction, complementing experiments that infer how trained transformers work from their predictions or internal representations.
Recent papers also address the cost of training models and using them to solve problems repeatedly. Sophia (2023) uses inexpensive estimates of how the curvature of the training loss varies along individual parameter directions. It smooths the gradient and curvature estimates over time, scales the update using those estimates and limits how far each parameter can move. The limit prevents a small or unreliable curvature estimate from producing a disproportionately large update. In pretraining experiments with GPT-2 and GPT NeoX, Sophia reached the same validation loss as AdamW in fewer steps, with reductions in overall computation and elapsed time.
Large Language Models as Tool Makers (2023) looks at the cost of repeatedly solving a family of reasoning problems. The proposed system has a model write and test a Python function from demonstrations, then lets a less costly model call that function on new instances. The experiments include ordering objects under constraints and completing bracket sequences, tasks for which a program can be reused as the particulars change. The newest work here, STP: Self-play LLM Theorem Provers with Iterative Conjecturing and Proving (2025), turns to mathematical theorem proving through a self-play approach that alternates between proposing conjectures and attempting proofs.
Ma’s frequent co-authors here include Sanjeev Arora and Yingyu Liang, as well as Denny Zhou and Percy Liang. The collection includes recurring collaborations with Andrej Risteski, Xinyun Chen and Yuanzhi Li. Language models & pretraining is a recurring area across these collaborations, alongside work on lexical meaning, reasoning, and how to evaluate what a model learns from examples.
OpenAlex · ORCID · h-index 35 · 127 works · 7,911 citations OpenAlex, 2026-10-14
9 works in our library · Cited 2,688 times in our library · 24 more in our library without a page yet · Paper Stars ranking: #1875
Affiliations
Fields, topics and concepts
Shelves 5The field of science this work belongs to (OpenAlex fields).Computer Science · 9 worksArtificial Intelligence · 9 worksArts and Humanities · 7 worksLanguage and Linguistics · 7 worksComputational Theory and Mathematics · 1 work
Topics 4Research subjects and languages the work is about.Language models & pretraining · 6 worksLexical semantics & word embeddings · 1 workWord sense disambiguation · 1 workReasoning · 1 work
Concepts 2Key ideas and methods explained on our concept pages.GloVe · 1 workLexical semantics · 1 work
Works by year
2020s
2010s
Papers
- A Latent Variable Model Approach to PMI-based Word Embeddings (2016 · 372 citations)
Embeddings derived from co-occurrence statistics, such as PMI matrices, word2vec and GloVe, work well in practice. - Larger language models do in-context learning differently (2023 · 286 citations)
In-context learning (ICL) can work in two ways. A model can lean on what it learned in pretraining about what the label words mean, or it can learn the input–label pattern shown in the prompt. This paper separates the two. The authors use two altered prompting setups. In the first, the labels of the demonstration… - An Explanation of In-context Learning as Implicit Bayesian Inference (2021 · 286 citations)
The paper asks why large LMs such as GPT-3 can pick up a task from input-output examples in a prompt, even though they were never trained to learn from examples. - Linear Algebraic Structure of Word Senses, with Applications to Polysemy (2018 · 255 citations)
The paper asks what a single word vector encodes when the word has several meanings. The authors argue that standard embeddings such as word2vec and GloVe store a polysemous word as a weighted, nonnegative sum of vectors for its individual senses. They support this "Linearity Assertion" with theory. They modify the… - What learning algorithm is in-context learning? Investigations with linear models (2022 · 237 citations)
This paper asks how transformers manage in-context learning (ICL), meaning how they produce accurate predictions from labeled examples in the prompt without any weight updates. - Large Language Models as Tool Makers (2023 · 124 citations)
LLMs become much stronger problem solvers when given external tools, but only if a suitable tool already exists. - Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training (2023 · 70 citations)
Pre-training large language models is very expensive, and Adam-style optimizers have dominated for years. Earlier second-order methods were often too costly per iteration to pay off. The authors propose Sophia (Second-order Clipped Stochastic Optimization). It preconditions a momentum-averaged gradient with a cheap… - STP: Self-play LLM Theorem Provers with Iterative Conjecturing and Proving (2025 · 43 citations)
LLM-based formal theorem provers lack high-quality training data. Expert iteration, which fine-tunes a model on its own verified proofs, stalls quickly because correct proofs for hard unsolved statements are extremely rare. Dong and Ma propose STP, a single model that plays two roles. As conjecturer, it takes a seed… - One Step of Gradient Descent is Provably the Optimal In-Context Learner with One Layer of Linear Self-Attention (2023 · 22 citations)
Earlier experiments by von Oswald et al. [2022] found that a transformer with a single linear self-attention layer and no MLP, trained on synthetic regression prompts, behaves like a single gradient descent update on least squares. This paper supplies the missing proof. The authors study a one-layer, single-head…
All works
- On the Opportunities and Risks of Foundation ModelsarXiv:2108.07258Rishi Bommasani, Drew A. Hudson, Ehsan Adeli, et al.2021 · 3,195 citations
- Document-Level Relation Extraction with Adaptive Thresholding and Localized Context Pooling ↗Proceedings of the AAAI Conference on Artificial Intelligence · no summary yetWenxuan Zhou et al.2021 · 409 citations
- A Latent Variable Model Approach to PMI-based Word EmbeddingsTransactions of the Association for Computational Linguistics (TACL)Sanjeev Arora, Yuanzhi Li, Yingyu Liang, et al.2016 · 374 citations
- RAND-WALK: A Latent Variable Model Approach to Word EmbeddingsarXiv (Cornell University)Sanjeev Arora, Yuanzhi Li, Yingyu Liang, et al.2015 · 308 citations
- Larger language models do in-context learning differentlyarXiv:2303.03846Jerry Wei, Jason Wei, Yi Tay, et al.2023 · 289 citations
- An Explanation of In-context Learning as Implicit Bayesian InferencearXiv:2111.02080Sang Michael Xie, Aditi Raghunathan, Percy Liang, et al.2021 · 288 citations
- MOPO: Model-based Offline Policy Optimization ↗arXiv (Cornell University) · no summary yetTianhe Yu et al.2020 · 261 citations
- Linear Algebraic Structure of Word Senses, with Applications to PolysemyTransactions of the Association for Computational Linguistics (TACL)Sanjeev Arora, Yuanzhi Li, Yingyu Liang, et al.2018 · 256 citations
- Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution ↗arXiv (Cornell University) · no summary yetAnanya Kumar et al.2022 · 249 citations
- What learning algorithm is in-context learning? Investigations with linear modelsarXiv:2211.15661Ekin Akyürek, Dale Schuurmans, Jacob Andreas, et al.2022 · 237 citations
- Verified Uncertainty Calibration ↗arXiv:1909.10155 · no summary yetAnanya Kumar, Percy Liang, Tengyu Ma2019 · 172 citations
- DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretraining ↗arXiv:2305.10429 · no summary yetSang Michael Xie et al.2023 · 158 citations
- Data Selection for Language Models via Importance Resampling ↗arXiv:2302.03169 · no summary yetSang Michael Xie et al.2023 · 138 citations
- Towards Explaining the Regularization Effect of Initial Large Learning Rate in Training Neural Networks ↗arXiv (Cornell University) · no summary yetYuanzhi Li, Colin Wei, Tengyu Ma2019 · 138 citations
- A La Carte Embedding: Cheap but Effective Induction of Semantic Feature VectorsProceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)Mikhail Khodak, Nikunj Saunshi, Yingyu Liang, et al.2018 · 129 citations
- Large Language Models as Tool MakersarXiv:2305.17126Tianle Cai, Xuezhi Wang, Tengyu Ma, et al.2023 · 125 citations
- Algorithmic Framework for Model-based Deep Reinforcement Learning with Theoretical Guarantees ↗arXiv (Cornell University) · no summary yetYuping Luo et al.2018 · 125 citations
- Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingarXiv:2305.14342Hong Liu, Zhiyuan Li, David Hall, et al.2023 · 70 citations
- Symbol tuning improves in-context learning in language models ↗Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing · no summary yetJerry Wei et al.2023 · 68 citations
- STP: Self-play LLM Theorem Provers with Iterative Conjecturing and ProvingarXiv:2502.00212Kefan Dong, Tengyu Ma2025 · 43 citations
- Understanding Self-Training for Gradual Domain Adaptation ↗arXiv (Cornell University) · no summary yetAnanya Kumar, Tengyu Ma, Percy Liang2020 · 40 citations
- Algorithmic Regularization in Over-parameterized Matrix Sensing and Neural Networks with Quadratic Activations ↗arXiv (Cornell University) · no summary yetYuanzhi Li, Tengyu Ma, Hongyang Zhang2017 · 38 citations
- Learning Over-Parametrized Two-Layer ReLU Neural Networks beyond NTK ↗arXiv (Cornell University) · no summary yetYuanzhi Li, Tengyu Ma, Hongyang Zhang2020 · 33 citations
- Individual Calibration with Randomized Forecasting ↗arXiv (Cornell University) · no summary yetShengjia Zhao, Tengyu Ma, Stefano Ermon2020 · 24 citations
- Connect, Not Collapse: Explaining Contrastive Learning for Unsupervised Domain Adaptation ↗arXiv (Cornell University) · no summary yetKendrick Shen et al.2022 · 23 citations
See all 34 works by Tengyu Ma →
Co-authors here
- Denny Zhou ×3
- Andrej Risteski ×2
- Percy Liang ×2
- Sanjeev Arora ×2
- Xinyun Chen ×2
- Yingyu Liang ×2
- Yuanzhi Li ×2
- Aditi Raghunathan
- Albert Webson
- Da Huang
- Dale Schuurmans
- David Hall
Venues
- Transactions of the Association for Computational Linguistics (TACL) ×2: Transactions of the Association for Computational Linguistics (TACL) 2018, Transactions of the Association for Computational Linguistics (TACL) 2016
- Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing
- Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
- Proceedings of the AAAI Conference on Artificial Intelligence
Cited by
This page in Markdown https://md.research.elamur.ai/free/en/authors/tengyu-ma/