Andy Yang
· 1 previous affiliation
- University of Notre DameSince 2023
- PhD student · Since 2023
Research Overview
Andy Yang focuses on the theoretical foundations of machine learning, specifically analyzing the formal expressivity and computational limits of neural architectures. His research establishes rigorous mathematical frameworks to understand what transformer models can and cannot compute, mapping their capabilities to temporal logic and formal languages. Recently, his work investigates the mechanisms governing length generalization and the probabilistic properties of autoregressive generation.
Research Trajectory
Yang's early work establishes rigorous mathematical bounds on the capabilities of attention mechanisms, contributing significantly to the research direction of Logical Characterization of Transformer Expressivity. In Counting Like Transformers: Compiling Temporal Counting Logic Into Softmax Transformers (2024), he introduced a novel temporal counting logic and a corresponding programming language variant, C-RASP, to formally characterize future-masked soft attention transformers. This provided a tight lower bound for transformers operating on unbounded input lengths without requiring additional positional embeddings. Expanding on this theoretical foundation, he explored the area of Hard Attention for Discrete Algorithmic Reasoning in Masked Hard-Attention Transformers Recognize Exactly the Star-Free Languages. This research proved that transformers utilizing strict masking and hard attention are mathematically equivalent to Linear Temporal Logic, providing an exact characterization of their expressivity. This work also touches upon broader areas such as Formal Expressivity and Symbolic Logic in Transformers, Eliminating Self-Attendance to Force Relational Learning, and The Computational Depth Bottleneck in Transformers, demonstrating how architectural choices directly dictate the logical operations a model can learn.
Moving into 2025, Yang expanded his focus to include the practical and theoretical challenges of sequence length. With collaborators, he investigated the area of The Phase Transition from Memorization to Generalization in A Formal Framework for Understanding Length Generalization in Transformers. This study introduced "Limit Transformers" to mathematically prove that length generalization is guaranteed for tasks expressible via local and periodic positional information, explaining why models succeed at certain algorithmic tasks while failing at others like parity or addition. To make these theoretical insights more accessible, he compiled The Transformer Cookbook, a comprehensive collection of techniques for directly encoding algorithms into transformer parameters, ranging from basic arithmetic to complex data routing. Further advancing the understanding of architectural limits, he authored Knee-Deep in C-RASP: A Transformer Depth Hierarchy. This paper provided formal proof and empirical validation that transformer depth creates a strict computational hierarchy, showing that each additional layer enables the model to track increasingly complex sequential dependencies.
In 2026, Yang continued to formalize the boundaries of transformer capabilities. He addressed the persistent challenge of out-of-distribution sequence lengths in Length Generalization Bounds for Transformers, providing a rigorous theoretical analysis of why large language models often fail on inputs longer than their training data. Concurrently, he shifted from analyzing transformers as binary string recognizers to evaluating their real-world application as generative models in Probability Distributions Computed by Autoregressive Transformers. This research proved that the transition from classification to autoregression fundamentally alters a transformer's mathematical power, increasing expressivity in some dimensions while breaking previously established theoretical equivalences. Deepening the study of length generalization, Yang established a complete algebraic characterization of regular languages learnable under length generalization in Algebraic Decomposition Theory for Transformer Length Generalization, extending classical decomposition theory to the infinite additive group on the integers to analyze C-RASP expressibility. They also collaborated on Length Generalization for Transformers via Compression, which investigates the sample enumeration problem across restricted C-RASP fragments to bound the training data required for length generalization. Shifting toward geometric complexity, Yang co-authored VC Dimension and Expressivity of Real-Valued Transformers, contributing to research on How Finite Precision Constraints Reshape Neural Network Expressivity by establishing upper and lower bounds on the VC dimension of real-valued multi-layer transformers and revealing fundamental limits on expressing symmetric functions.
Current Directions
The most recent papers in the evidence address the theoretical properties of transformers as they are deployed in practice, moving beyond idealized string recognition. Recent work investigates the probabilistic and autoregressive nature of language models, seeking to understand how generative objectives alter fundamental computational expressivity. Additionally, Yang continues to explore the mathematical bounds of length generalization, developing rigorous frameworks to explain and potentially mitigate the failure modes of large language models when processing extended context windows.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake