Anthony Widjaja Lin
· 7 previous affiliations
- Full Professor · Since 2019
- University of KaiserslauternSince 2019
- Full Professor · Since 2019
- University of Oxford2010–2019
- Associate Professor · 2016–2019
- Postdoc · 2010–2013
- Yale-NUS College2014–2016
- Assistant Professor · 2014–2016
- University of Edinburgh2006–2010
- PhD student · 2006–2010
- University of Toronto2005–2006
- MS student · 2005–2006
- The University of Melbourne2001–2004
- Undergrad student · 2001–2004
Research Overview
Anthony Widjaja Lin focuses on automated reasoning, formal language theory, and the theoretical foundations of machine learning. His early work established fundamental complexity results for infinite-state systems and string constraints, leading to the development of robust string solvers for software verification. Most recently, his research investigates the formal expressivity and computational limits of Transformer architectures.
Research Trajectory
Lin’s early research established foundational complexity results in the area of Symbolic Verification of Infinite State Systems. In On the Computational Complexity of Verifying One-Counter Processes (2009), he established that both model checking with the temporal logic EF and weak bisimilarity checking against finite systems are PNP-complete for one-counter processes. This was achieved by mapping the problems to a natural fragment of Presburger arithmetic. Expanding on the theoretical properties of formal languages, Parikh Images of Grammars: Complexity and Applications (2010) detailed normal form theorems for nondeterministic finite automata (NFAs) and context-free grammars (CFGs). These theorems ensured that a union of linear sets with a fixed number of generators suffices to express Parikh images, optimizing decision problems such as membership, universality, and equivalence.
Transitioning toward applied automated reasoning and software verification, Lin began addressing the complexities of string constraints. String solving with word equations and transducers: towards a logic for analysing mutation XSS (2016) laid the groundwork for analyzing web security vulnerabilities, contributing to the research direction of Efficient String Solving via Length-Aware Automata. His work also extended into multi-agent systems; Rational Verification for Probabilistic Systems (2021) proved that checking whether a multi-agent system satisfies certain properties under the assumption of rational agent behavior remains 2EXPTIME-complete, even when introducing randomness and game-theoretic equilibria. This advanced the area of Strategic Reasoning via Automata Theoretic Reductions.
Between 2023 and 2025, Lin’s work broadened to encompass sequence theories, graph databases, and advanced formalization techniques. Decision Procedures for Sequence Theories (2023) provided a formal foundation for reasoning about sequences—a ubiquitous data structure historically less understood than finite-alphabet strings—contributing to the broader area of The Decidability Boundary of Word Equations and Length Constraints. In database theory, he established the computational hardness of the new international standard for graph databases in Complexity of Evaluating GQL Queries (2024). Moving to rigorous theorem proving, Certified Symbolic Finite Transducers: Formalization and Applications to String Analysis (2025) introduced a verified framework in Isabelle/HOL for handling massive alphabets like Unicode by representing character transitions as symbolic predicates. He also developed automated logical frameworks for cryptographic protocols in Probabilistic Bisimulation for Parameterized Anonymity and Uniformity Verification (2025), combining bisimulation equivalence with active automata learning to prove complex security and randomness properties. Furthermore, sfHornStr: Invariant Synthesis for Regular Model Checking as Constrained Horn Clauses (2025) bridged regular model checking and modern string solvers by treating invariant synthesis as a problem of solving Constrained Horn Clauses over strings, enabling the automated verification of complex distributed systems.
Most recently, Lin has directed significant focus toward the theoretical foundations of machine learning, specifically analyzing neural sequence models. With collaborators, he explored the research direction of Hard Attention for Discrete Algorithmic Reasoning in Logical Languages Accepted by Transformer Encoders with Hard Attention (2024). This work demonstrated that while basic hard-attention Transformers are limited, upgrading to "average" hard attention grants them significant counting powers to process complex languages like majority and parity. This evolved into a deep investigation into the broader area of Formal Expressivity and Symbolic Logic in Transformers. In 2026, his group published a suite of papers defining the computational limits of these architectures. Length Generalization Bounds for Transformers provided theoretical insights into why large language models fail on inputs longer than their training data. Transformers are Inherently Succinct proved that Transformers are exponentially more compact than RNNs and Linear Temporal Logic (LTL), and doubly exponentially more succinct than finite automata. The Counting Power of Transformers demonstrated their ability to express complex semialgebraic counting properties even without positional encodings. Finally, Softmax Transformers are Turing-Complete resolved a major open question in the field by proving the Turing-completeness of modern softmax attention mechanisms, which average across multiple tokens rather than selecting just one.
Current Directions
Lin’s most recent work operates at the intersection of formal logic, automata theory, and the theoretical foundations of deep learning. A primary focus is mapping the exact computational expressivity and succinctness of Transformer architectures. By applying tools from circuit complexity and formal language theory, his recent papers investigate how different attention mechanisms (such as hardmax versus softmax) dictate a model's ability to perform algorithmic reasoning, count token frequencies, and generalize to sequence lengths unseen during training.
In parallel, Lin continues to advance the state of the art in automated verification and string solving. Recent work addresses the synthesis of invariants for regular model checking using Constrained Horn Clauses and the formal verification of parameterized probabilistic systems. By bridging high-performance string analysis with interactive theorem provers like Isabelle/HOL, his research aims to create fully verified, scalable tools capable of analyzing complex software vulnerabilities, cryptographic protocols, and infinite-state systems.
Profile updated
| Title | Venue | Year |
|---|---|---|
| Length Generalization Bounds for Transformers | ICML | 2026 |
| Probability Distributions Computed by Autoregressive Transformers | ICLR | 2026 |
| Why Are Linear RNNs More Parallelizable? | ICML | 2026 |
| Length Generalization for Transformers via Compression | NeurIPS | 2026 |
| The Counting Power of Transformers | ICLR | 2026 |
| Softmax Transformers are Turing-Complete | ICLR | 2026 |
| Transformers are Inherently Succinct | ICLR | 2026 |
| Mitigating Spurious Features in Contrastive Learning with Spectral Regularization | NeurIPS | 2025 |
| Spectral Dynamics of Contrastive Learning with Spurious Features | HiLD @ ICML | 2025 |
| The Power of Regular Constraint Propagation | Proceedings of the ACM on Programming Languages | 2025 |
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