NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Gail Weiss

Gail Weiss

2 previous affiliations
221Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Gail Weiss focuses on understanding sequential neural networks through the lens of formal language theory, analyzing the theoretical expressivity of architectures like recurrent neural networks and transformers. Her trajectory spans from extracting interpretable automata from black-box models to developing formal programming frameworks that map neural computation to symbolic logic. Recently, her work investigates parameter-efficient test-time adaptation and the internal mechanisms of knowledge representation in large language models.

Research Trajectory

Weiss’s early research established rigorous theoretical foundations for the computational capabilities of Recurrent Neural Networks (RNNs). In 2018, she investigated the limits of these models in On the Practical Computational Power of Finite Precision RNNs for Language Recognition. This work demonstrated that under realistic constraints of finite precision and linear computation time, LSTMs and ReLU-activated RNNs possess strictly greater computational power than variants with squashing activations, primarily due to their ability to implement counting mechanisms.

This theoretical grounding naturally extended into the research direction of Active Automata Learning for Black-Box Systems. Weiss developed methods to extract interpretable state machines from trained neural networks, beginning with Extracting Automata from Recurrent Neural Networks Using Queries and Counterexamples (2018). By utilizing exact learning and abstraction, this approach derived deterministic finite automata from RNN dynamics, contributing to the broader field of Algorithmic Length Generalization in Neural Sequence Models. She subsequently collaborated on Learning Deterministic Weighted Automata with Queries and Counterexamples in 2019, which extended these extraction techniques to probabilistic deterministic finite automata.

In 2020, she formalized the architectural differences between various recurrent models in A Formal Hierarchy of RNN Architectures. This work categorized models based on space complexity and rational recurrence, proving that the "counter-awareness" of LSTMs makes them fundamentally more expressive than rational models like QRNNs. She further expanded this extraction paradigm to handle recursive structures in Synthesizing Context-free Grammars from Recurrent Neural Networks (Extended Version) (2021), introducing Pattern Rule Sets to recover underlying recursive rules and address recursion depths that challenge the original neural models.

As the field shifted toward attention mechanisms, Weiss’s focus expanded to the research direction of Formal Language Characterization of Neural Architectures. A major contribution in this space was Thinking Like Transformers (2021), which introduced RASP (Restricted Access Sequence Processing Language). By mapping neural components like attention heads and MLPs to symbolic code primitives, RASP provided a computational model for Transformer encoders. This framework advanced work in the area of Formal Expressivity and Symbolic Logic in Transformers and addressed challenges related to the area of The Computational Depth Bottleneck in Transformers. She later synthesized the community's understanding of these models in What Formal Languages Can Transformers Express? A Survey (2024), providing a unified framework that delineates how simpler transformer variants are restricted to complexity classes like AC⁰ or TC⁰, while those with intermediate steps—touching on the area of Expanding Transformer Depth through Autoregressive Loops—achieve Turing completeness.

Parallel to her theoretical work on expressivity, Weiss explored how models encode and manipulate knowledge. She contributed to RECKONING: Reasoning through Dynamic Knowledge Encoding (2023), a bi-level learning framework that folds new facts directly into a language model's weights via gradient updates to improve robustness against irrelevant context. In 2024, she investigated the spatial distribution of this knowledge, participating in the identification of sparse sub-graphs responsible for specific facts in Discovering Knowledge-Critical Subnetworks in Pretrained Language Models.

Her work also addresses the intersection of formal logic and model evaluation. She led the development of Improving Autoformalization using Type Checking (2024), introducing the BEq+ symbolic metric and new benchmarks to evaluate the translation of natural language mathematics into formal code like Lean 4. Most recently, her research has examined the training and inference dynamics of large language models. In For Better or for Worse, Transformers Seek Patterns for Memorization (2025), she and her co-authors revealed that transformers actively search for patterns even when forced to memorize, leading to "overthinking" in larger models. Finally, she contributed to PERK: Long-Context Reasoning as Parameter-Efficient Test-Time Learning (2026), which improves long-context reasoning by treating input context as a study guide learned via test-time gradient updates to a lightweight LoRA adapter.

Current Directions

The most recent papers in the evidence address the training dynamics, reasoning capabilities, and internal knowledge structures of large language models. Recent work investigates how transformers balance memorization with pattern recognition, revealing that models actively seek structural patterns even when tasked with memorizing noisy data. Additionally, current research explores parameter-efficient test-time learning to overcome context length limitations, utilizing lightweight gradient updates to adapt models dynamically during inference. This is complemented by ongoing efforts to improve autoformalization through symbolic metrics and type-checking, bridging natural language reasoning with formal mathematical verification.

Profile updated

See something wrong? Report a mistake