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

Dan Friedman

Princeton University
1 previous affiliation
20Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Dan Friedman focuses on the interpretability, formal capabilities, and robustness of Transformer-based language models. His research investigates the mechanisms by which neural networks represent symbolic logic and the methods required to extract human-readable rules from complex model architectures. Currently a researcher on the Apple Foundation Models team, Friedman’s work bridges the gap between classical computational linguistics and modern large language model (LLM) analysis, with a particular emphasis on mechanistic interpretability and the development of models that are interpretable by design.

Research Trajectory

Friedman’s early research was grounded in formal linguistics and structured natural language processing. During his time at Yale University, he explored the intersection of vector-based representations and formal grammatical frameworks, specifically Tree Adjoining Grammars (TAG). This period was characterized by an interest in how neural representations could be enriched with linguistic structure to improve parsing performance. Following this, he contributed to the development of large-scale annotated corpora for scientific paper summarization, addressing the challenge of integrating citation networks and author-provided highlights to create hybrid summaries.

Upon beginning his doctoral studies at Princeton University, Friedman’s focus shifted toward the challenges of generalization and robustness in neural models. He investigated how models could be adapted to multiple datasets in question-answering tasks and analyzed the extent to which pretrained language models (PLMs) could overcome spurious correlations. This work often involved an Disentangling Representation Knowledge from Probe Learning to understand how models distinguish between task-relevant features and dataset-specific biases.

From 2023 onward, Friedman’s work has increasingly centered on mechanistic interpretability and the formalization of Transformer behavior. He has advocated for moving beyond "black-box" reverse engineering toward architectures that map directly to symbolic programs. This period also saw a critical evaluation of existing interpretability methods, where he demonstrated that simplified representations of models—while accurate on training data—can fail to capture model behavior in out-of-distribution scenarios. His most recent work focuses on automating the extraction of symbolic, rule-based descriptions from attention features, aiming to replace subjective manual inspection with rigorous, pattern-based explanations.

Friedman has also participated in broader efforts to evaluate the reasoning capabilities of state-of-the-art models, such as OpenAI’s o1, and has contributed to research on the Semantic Grounding of Labels with Natural Language Descriptions. His research in these areas often touches upon Interpretable Parameter-Efficient Prompt Tuning, exploring how minimal updates to large models can yield significant changes in functional behavior.

Representative Work

Linguistically Rich Vector Representations of Supertags for TAG Parsing In this early work, Friedman and colleagues addressed the problem of supertagging within the Tree Adjoining Grammar (TAG) framework. The research focused on developing vector representations that capture the complex syntactic information inherent in TAG supertags. By integrating these linguistically informed embeddings into neural parsing architectures, the work demonstrated that structured linguistic knowledge could improve the efficiency and accuracy of syntactic analysis, providing a foundation for his subsequent interest in the relationship between neural representations and formal logic.

Single-dataset Experts for Multi-dataset Question Answering This paper explores the challenge of training question-answering (QA) models that can generalize across diverse datasets without suffering from catastrophic interference or performance degradation on specific domains. Friedman proposed a modular approach using "single-dataset experts," where specialized parameters are trained for individual datasets while sharing a common backbone. This work highlights a recurring theme in his research: the search for architectural solutions that maintain high performance while providing clearer insights into how different types of information are processed by the model.

Learning Transformer Programs Shifting toward "interpretable by design" architectures, Friedman introduced Transformer Programs. This method involves constraining the Transformer architecture so that its operations map directly to RASP (Restricted Access Sequence Processing), a formal programming language designed for Transformers. By doing so, a trained model can be automatically decompiled into human-readable Python code. This approach allows researchers to inspect, audit, and debug the model's logic as if it were a standard software program, offering a significant alternative to post-hoc interpretability methods that attempt to explain existing black-box models.

Interpretability Illusions in the Generalization of Simplified Models In this critical analysis of interpretability techniques, Friedman investigated the faithfulness of simplified model representations, such as those generated via singular value decomposition (SVD) or other dimensionality reduction methods. The research demonstrated that a simplified representation might accurately mimic a model's behavior on a training set while failing to capture the actual logic the model uses when faced with out-of-distribution data. These "interpretability illusions" suggest that many common methods for visualizing hidden states may provide a false sense of understanding, emphasizing the need for more rigorous, functionally grounded interpretability tools.

Representing Rule-based Chatbots with Transformers Friedman explored the formal capabilities of the Transformer architecture by determining whether it could implement the logic of classic, rule-based chatbots like ELIZA. The study provided both theoretical proofs and empirical evidence that Transformers can simulate complex pattern matching and state tracking. A key finding was that trained models often utilize their previous outputs as an "implicit scratchpad," effectively using the context window to manage conversational memory and maintain state. This work bridges the gap between symbolic AI and modern connectionist approaches, showing that Transformers can naturally learn to implement classical algorithmic logic.

Extracting Rule-based Descriptions of Attention Features in Transformers Addressing the limitations of Sparse Autoencoders (SAEs) in mechanistic interpretability, this work proposes a method to automatically extract symbolic rules that describe the behavior of attention features. While SAEs identify which sequences activate a feature, they do not explain why the activation occurs. Friedman’s method extracts human-readable rules (e.g., "if token X appears and token Y is absent, increase the probability of token Z") from the model's weights. This approach reveals that model features often rely on complex logical operations, such as counting occurrences or detecting the absence of specific tokens, which are difficult to identify through manual inspection of text snippets.

Current Directions

Friedman’s current research continues to focus on the formal properties of large-scale models, particularly in the context of long-context modeling and the extraction of symbolic knowledge from foundation models. His recent work on block sparse plus linear attention mechanisms suggests an ongoing interest in optimizing Transformer efficiency without sacrificing the ability to model complex, long-range dependencies. Additionally, he remains active in characterizing the "embers of autoregression"—the persistent patterns of next-token prediction that influence even those models heavily optimized for reasoning. This trajectory indicates a sustained commitment to uncovering the fundamental computational principles that govern modern artificial intelligence.

Profile updated

See something wrong? Report a mistake