Demonstration venue · read-only. Every page can be browsed; the buttons that would change it are switched off. Create an account to run TaxoReview on your own data. A simulation from public publication records: the people listed were not invited and did not agree to review.
? Tutorial for this page

Gail Weiss

dblp:210/2407 · DBLP profile ↗
← Back
12ranked-venue papers
5as first author
9since 2021 · last 2025
0000-0003-0762-9090ORCID · verified

Domains — the database's venue-derived domains; a paper can count in several

Artificial intelligence and machine learning · 11 · 5 first-author · 8 since 2021Software engineering, systems software and programming languages · 1 · 1 since 2021

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Artificial intelligence
8 papers
Language models and text generation · 38% Deep learning architectures and training · 25% Trustworthy machine learning · 13%
Theoretical computer science
4 papers
Automated reasoning and model checking · 57% Automata and formal languages · 43%
Software engineering, system software, and programming languages
1 paper
Programming languages and type systems · 100%

Topics — the 19 heaviest of 21, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Natural language and speech › Language models and text generation › large language model › knowledge in language models › memorization
memorization in language models
0.912025
For Better or for Worse, Transformers Seek Patterns for Memorization · NeurIPS 2025
Machine learning › Deep learning architectures and training
training dynamics
0.912025
For Better or for Worse, Transformers Seek Patterns for Memorization · NeurIPS 2025
Machine learning › Trustworthy machine learning
interpretability
0.812024
Discovering Knowledge-Critical Subnetworks in Pretrained Language Models · EMNLP 2024
Knowledge, reasoning and agents › Knowledge representation and reasoning
knowledge localization
0.812024
Discovering Knowledge-Critical Subnetworks in Pretrained Language Models · EMNLP 2024
Natural language and speech › Language models and text generation › pre-trained language model
pretrained language model analysis
0.812024
Discovering Knowledge-Critical Subnetworks in Pretrained Language Models · EMNLP 2024
Natural language and speech › Language models and text generation › in-context learning
in-context reasoning
0.712023
RECKONING: Reasoning through Dynamic Knowledge Encoding · NeurIPS 2023
Natural language and speech › Question answering and dialogue systems
multi-hop reasoning
0.712023
RECKONING: Reasoning through Dynamic Knowledge Encoding · NeurIPS 2023
Machine learning › Deep learning architectures and training
transformer
0.512021
Thinking Like Transformers · ICML 2021
Programming languages and type systems
domain-specific languages
0.512021
Thinking Like Transformers · ICML 2021
Machine learning › Deep learning architectures and training › recurrent neural network
recurrent neural network expressivity
0.412020
A Formal Hierarchy of RNN Architectures · ACL 2020
Automata and formal languages › probabilistic automata
probabilistic deterministic finite automata
0.412019
Learning Deterministic Weighted Automata with Queries and Counterexamples · NeurIPS 2019
Machine learning › Deep learning architectures and training
recurrent neural network
0.312018
Extracting Automata from Recurrent Neural Networks Using Queries and Counterexamples · ICML 2018
Machine learning › Trustworthy machine learning › interpretability › neural network interpretation
recurrent neural network explanation
0.312018
Extracting Automata from Recurrent Neural Networks Using Queries and Counterexamples · ICML 2018
Automata and formal languages › grammatical inference
automata learning
0.312018
Extracting Automata from Recurrent Neural Networks Using Queries and Counterexamples · ICML 2018
Machine learning › Learning theory › generalization
generalization theory
0.312025
For Better or for Worse, Transformers Seek Patterns for Memorization · NeurIPS 2025
Automated reasoning and model checking › theorem proving
formal mathematics
0.312025
Reliable Evaluation and Benchmarks for Statement Autoformalization · EMNLP 2025
Machine learning › Efficient and distributed learning
model compression
0.212024
Discovering Knowledge-Critical Subnetworks in Pretrained Language Models · EMNLP 2024
Machine learning › Efficient and distributed learning › model compression
pruning
0.212024
Discovering Knowledge-Critical Subnetworks in Pretrained Language Models · EMNLP 2024
Automata and formal languages › formal language classes
formal language expressiveness
0.112020
A Formal Hierarchy of RNN Architectures · ACL 2020

Methods — techniques the papers use, named apart from their topics

proofnetverif · 1.7BEq+ · 1.7attention · 1.0training dynamics analysis · 0.9pattern recognition analysis · 0.9sparsity · 0.8differentiable masking · 0.8parametric knowledge encoding · 0.7meta-learning · 0.7bi-level learning · 0.7feed-forward computation · 0.5formal hierarchy analysis · 0.4query learning · 0.4l* algorithm · 0.4counterexample learning · 0.4exact learning · 0.3angluin's l* algorithm · 0.3abstraction · 0.3
YearPublicationVenuePosition
2025 Reliable Evaluation and Benchmarks for Statement Autoformalization
abstract
Evaluating statement autoformalization, translating natural language mathematics into formal languages like Lean 4, remains a significant challenge, with few metrics, datasets, and standards to robustly measure progress.In this work, we present a comprehensive approach combining improved metrics, robust benchmarks, and systematic evaluation, to fill this gap.First, we introduce BEq+, an automated metric that correlates strongly with human judgment, along with ProofNetVerif, a new dataset for assessing the quality of evaluation metrics, containing 3,752 annotated examples.Second, we develop two new autoformalization benchmarks: ProofNet#, a corrected version of ProofNet, and RLM25, with 619 new pairs of research-level mathematics from six formalization projects.Through systematic experimentation across these benchmarks, we find that current techniques can achieve up to 45.1% accuracy on undergraduate mathematics but struggle with research-level content without proper context.Our work establishes a reliable foundation for evaluating and advancing autoformalization systems.
Auguste Poiroux, Gail Weiss, Viktor Kuncak, Antoine Bosselut
EMNLP2
2025 For Better or for Worse, Transformers Seek Patterns for Memorization
abstract
Memorization in language models is a critical yet poorly understood phenomenon. In this work, we investigate memorization in transformer-based language models by analyzing their memorization dynamics during training over multiple epochs. We find that memorization is neither a constant accumulation of sequences nor simply dictated by the recency of exposure to these sequences. Instead, much like generalization, memorization appears to be driven by pattern recognition. Tracking memorization dynamics in mixed datasets, we observe that models memorize different sub-datasets in distinct bursts, suggesting that each subset is associated with unique underlying patterns, and that the model prefers to learn these patterns in a consistent order. We also find that easily learnable patterns tend to support generalization on unseen data, while more complex patterns do not. Furthermore, in datasets with weak or absent patterns, larger models may delay memorization relative to smaller ones, a behavior we term $\textit{overthinking}$. Our results show that the subset of sequences memorized by a model over time is not arbitrary, and give insights into the internal processes a model goes through during training. Our code is available at: https://github.com/mdrpanwar/memorization-patterns.
Madhur Panwar, Gail Weiss, Navin Goyal, Antoine Bosselut
NeurIPS2
2024 Discovering Knowledge-Critical Subnetworks in Pretrained Language Models
abstract
Pretrained language models (LMs) encode implicit representations of knowledge in their parameters.However, localizing these representations and disentangling them from each other remains an open problem.In this work, we investigate whether pretrained language models contain various knowledge-critical subnetworks: particular sparse computational subgraphs that can, if removed, precisely suppress specific knowledge the model has memorized.We propose a multi-objective differentiable masking scheme that can be applied to both weights and neurons to discover such subnetworks and show that we can use them to precisely remove specific knowledge from models while minimizing adverse effects on the behavior of the original model.We demonstrate our method on multiple GPT2 variants, uncovering highly sparse subnetworks (98%+ sparsity) that are critical for expressing specific collections of relational knowledge.When these subnetworks are removed, the remaining network maintains most of its initial abilities but struggles to represent the suppressed knowledge.1
Deniz Bayazit, Negar Foroutan Eghlidi, Zeming Chen 0001, Gail Weiss, Antoine Bosselut
EMNLP4
2024 Extracting automata from recurrent neural networks using queries and counterexamples (extended version)
Gail Weiss, Yoav Goldberg, Eran Yahav
Mach. Learn.1
2024 Correction to: Extracting automata from recurrent neural networks using queries and counterexamples (extended version)
Gail Weiss, Yoav Goldberg, Eran Yahav
Mach. Learn.1
2024 What Formal Languages Can Transformers Express? A Survey
abstract
Abstract As transformers have gained prominence in natural language processing, some researchers have investigated theoretically what problems they can and cannot solve, by treating problems as formal languages. Exploring such questions can help clarify the power of transformers relative to other models of computation, their fundamental capabilities and limits, and the impact of architectural choices. Work in this subarea has made considerable progress in recent years. Here, we undertake a comprehensive survey of this work, documenting the diverse assumptions that underlie different results and providing a unified framework for harmonizing seemingly contradictory findings.
Lena Strobl, William Merrill, Gail Weiss, David Chiang 0001, Dana Angluin
Trans. Assoc. Comput. Linguistics3
2023 RECKONING: Reasoning through Dynamic Knowledge Encoding
abstract
Recent studies on transformer-based language models show that they can answer questions by reasoning over knowledge provided as part of the context (i.e., in-context reasoning). However, since the available knowledge is often not filtered for a particular question, in-context reasoning can be sensitive to distractor facts, additional content that is irrelevant to a question but that may be relevant for a different question (i.e., not necessarily random noise). In these situations, the model fails to distinguish the necessary knowledge to answer the question, leading to spurious reasoning and degraded performance. This reasoning failure contrasts with the model’s apparent ability to distinguish its contextual knowledge from all the knowledge it has memorized during pre-training. Following this observation, we propose teaching the model to reason more robustly by folding the provided contextual knowledge into the model’s parameters before presenting it with a question. Our method, RECKONING, is a bi-level learning algorithm that teaches language models to reason by updating their parametric knowledge through back-propagation, allowing them to answer questions using the updated parameters. During training, the inner loop rapidly adapts a copy of the model weights to encode contextual knowledge into its parameters. In the outer loop, the model learns to use the updated weights to reproduce and answer reasoning questions about the memorized knowledge. Our experiments on three diverse multi-hop reasoning datasets show that RECKONING’s performance improves over the in-context reasoning baseline (by up to 4.5%). We also find that compared to in-context reasoning, RECKONING generalizes better to longer reasoning chains unseen during training, is more robust to distractors in the context, and is computationally more efficient when multiple questions are asked about the same knowledge.
Zeming Chen 0001, Gail Weiss, Eric Mitchell, Asli Celikyilmaz, Antoine Bosselut
NeurIPS2
2021 Thinking Like Transformers
abstract
What is the computational model behind a Transformer? Where recurrent neural networks have direct parallels in finite state machines, allowing clear discussion and thought around architecture variants or trained models, Transformers have no such familiar parallel. In this paper we aim to change that, proposing a computational model for the transformer-encoder in the form of a programming language. We map the basic components of a transformer-encoder—attention and feed-forward computation—into simple primitives, around which we form a programming language: the Restricted Access Sequence Processing Language (RASP). We show how RASP can be used to program solutions to tasks that could conceivably be learned by a Transformer, and how a Transformer can be trained to mimic a RASP solution. In particular, we provide RASP programs for histograms, sorting, and Dyck-languages. We further use our model to relate their difficulty in terms of the number of required layers and attention heads: analyzing a RASP program implies a maximum number of heads and layers necessary to encode a task in a transformer. Finally, we see how insights gained from our abstraction might be used to explain phenomena seen in recent works.
Gail Weiss, Yoav Goldberg, Eran Yahav
ICML1
2021 Synthesizing Context-free Grammars from Recurrent Neural Networks
abstract
Abstract We present an algorithm for extracting a subclass of the context free grammars (CFGs) from a trained recurrent neural network (RNN). We develop a new framework,pattern rule sets(PRSs), which describe sequences of deterministic finite automata (DFAs) that approximate a non-regular language. We present an algorithm for recovering the PRS behind a sequence of such automata, and apply it to the sequences of automata extracted from trained RNNs using the $$L^{*}$$ L∗ algorithm. We then show how the PRS may converted into a CFG, enabling a familiar and useful presentation of the learned language. Extracting the learned language of an RNN is important to facilitate understanding of the RNN and to verify its correctness. Furthermore, the extracted CFG can augment the RNN in classifying correct sentences, as the RNN’s predictive accuracy decreases when the recursion depth and distance between matching delimiters of its input sequences increases.
Daniel M. Yellin, Gail Weiss
TACAS (1)2
2020 A Formal Hierarchy of RNN Architectures
abstract
We develop a formal hierarchy of the expressive capacity of RNN architectures.The hierarchy is based on two formal properties: space complexity, which measures the RNN's memory, and rational recurrence, defined as whether the recurrent update can be described by a weighted finite-state machine.We place several RNN variants within this hierarchy.For example, we prove the LSTM is not rational, which formally separates it from the related QRNN (Bradbury et al., 2016).We also show how these models' expressive capacity is expanded by stacking multiple layers or composing them with different pooling functions.Our results build on the theory of "saturated" RNNs (Merrill, 2019).While formally extending these findings to unsaturated RNNs is left to future work, we hypothesize that the practical learnable capacity of unsaturated RNNs obeys a similar hierarchy.Experimental findings from training unsaturated networks on formal languages support this conjecture.We report updated experiments in Appendix H.
William Merrill, Gail Weiss, Yoav Goldberg, Roy Schwartz 0001, Noah A. Smith, Eran Yahav
ACL2
2019 Learning Deterministic Weighted Automata with Queries and Counterexamples
abstract
We present an algorithm for reconstruction of a probabilistic deterministic finite automaton (PDFA) from a given black-box language model, such as a recurrent neural network (RNN). The algorithm is a variant of the exact-learning algorithm L*, adapted to work in a probabilistic setting under noise. The key insight of the adaptation is the use of conditional probabilities when making observations on the model, and the introduction of a variation tolerance when comparing observations. When applied to RNNs, our algorithm returns models with better or equal word error rate (WER) and normalised distributed cumulative gain (NDCG) than achieved by n-gram or weighted finite automata (WFA) approximations of the same networks. The PDFAs capture a richer class of languages than n-grams, and are guaranteed to be stochastic and deterministic -- unlike the WFAs.
Gail Weiss, Yoav Goldberg, Eran Yahav
NeurIPS1
2018 Extracting Automata from Recurrent Neural Networks Using Queries and Counterexamples
abstract
We present a novel algorithm that uses exact learning and abstraction to extract a deterministic finite automaton describing the state dynamics of a given trained RNN. We do this using Angluin’s \lstar algorithm as a learner and the trained RNN as an oracle. Our technique efficiently extracts accurate automata from trained RNNs, even when the state vectors are large and require fine differentiation.
Gail Weiss, Yoav Goldberg, Eran Yahav
ICML1