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

Maxwell Nye

Massachusetts Institute of Technology
2 previous affiliations
8Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Maxwell Nye focuses on the intersection of machine learning and symbolic reasoning, with a particular emphasis on program synthesis, neuro-symbolic architectures, and the computational mechanisms required for multi-step reasoning in large language models. His work addresses the fundamental challenge of bridging high-level specifications—such as natural language instructions or input-output examples—with executable code. By developing methods that allow neural networks to manage partial program states, induce compositional rules, and utilize intermediate "scratchpads" for computation, his research seeks to improve the systematic generalization and algorithmic capabilities of artificial intelligence.

Research Trajectory

The trajectory of Nye’s research reflects a transition from structured program synthesis in domain-specific contexts to more general methods for enhancing the reasoning capabilities of large-scale neural sequence models. In 2019, his work focused on the mechanics of code generation, specifically addressing the difficulty of searching through combinatorial program spaces. This early period was characterized by the development of hybrid systems that combined neural search with symbolic feedback, such as execution traces and program sketches. These approaches aimed to mitigate the sensitivity of program semantics to minor syntactic changes, a core problem in the learnability of symbolic structures.

By 2020 and 2021, Nye’s focus shifted toward the representation of partial programs and the induction of systematic rules. During this phase, he explored how neural models could be trained to approximate the behavior of unfinished code, drawing on concepts from formal methods like abstract interpretation. This period also saw an increased emphasis on neuro-symbolic integration, where models were designed not just to predict outputs, but to induce the explicit rule systems governing a set of examples. This work addressed the persistent "compositionality gap" in neural networks, where models often fail to generalize to new combinations of known rules. He also participated in broader collaborative efforts to develop systems like DreamCoder, which utilize Bayesian program learning and "wake-sleep" algorithms to grow libraries of domain-specific abstractions.

In 2021 and 2022, Nye’s research increasingly engaged with the emerging capabilities of large language models (LLMs). He identified a critical limitation in standard transformer architectures: their struggle with tasks requiring unbounded multi-step computation when forced to generate an answer in a single forward pass. To address this, he introduced the concept of "scratchpads," a method that allows models to output intermediate computation steps before reaching a final answer. This work has become a foundational approach for improving the performance of LLMs on algorithmic and logical tasks. His recent contributions also include investigating the coherence of neuro-symbolic sequence models and exploring the use of natural language as a medium for communicating procedural tasks, as seen in his participation in the development of the Language-complete Abstraction and Reasoning Corpus (LARC).

Current Directions

Nye’s current research directions appear centered on the refinement of multi-step reasoning and the formalization of neuro-symbolic consistency. A primary focus is the "scratchpad" mechanism, which addresses The Gap Between Neural Expressivity and Practical Learnability by providing a structured way for models to learn complex functions that are expressive in theory but difficult to learn through direct input-output mapping. By training models to "show their work," Nye explores how the internal state of a transformer can be externalized to support more reliable and interpretable algorithmic execution.

Another significant direction involves dual-system reasoning, which attempts to combine the fluid, intuitive generation of neural sequence models with the rigorous, rule-based consistency of symbolic systems. This work aims to solve problems of incoherence and logical contradiction in long-form generation. Furthermore, his involvement in projects like LARC suggests an ongoing interest in how human-centric communication—specifically natural language—can serve as a bridge for teaching machines to solve novel, abstract reasoning problems that have traditionally eluded pure deep learning approaches.

Representative Work

In Learning to Infer Program Sketches, Nye (as first author) addressed the difficulty of synthesizing code from high-level specifications like natural language. The paper proposes a system that first infers a "sketch"—a partial program with holes—which serves as an intermediate representation that constrains the search space. This approach allows the model to leverage the strengths of neural networks for high-level pattern recognition while using symbolic search to fill in the low-level algorithmic details.

As a second author on Write, Execute, Assess: Program Synthesis with a REPL, Nye contributed to a synthesis framework that integrates a Read-Eval-Print Loop (REPL) into the neural search process. The core innovation is the use of an interpreter to execute partially written programs, providing the model with immediate semantic feedback. By training a policy to propose code increments and a value function to assess the partial state via Sequential Monte Carlo sampling, the work demonstrates how execution-time information can guide a synthesizer through complex combinatorial spaces.

In Representing Partial Programs with Blended Abstract Semantics, Nye (as first author) introduced a technique for judging whether an unfinished program is likely to satisfy a goal specification. Drawing inspiration from abstract interpretation, the paper proposes "blended abstract semantics," where a modular neural network is trained to approximate the execution of partial code. This allows the synthesis engine to represent the behavior of programs that cannot yet be concretely executed, providing a more informed heuristic for the search process.

In Learning Compositional Rules via Neural Program Synthesis, Nye (as first author) presented a neuro-symbolic model designed to learn systematic rules from minimal data. Unlike standard neural architectures that often fail on out-of-distribution compositional tasks, this model is trained to induce an explicit symbolic system of rules. By framing rule induction as a program synthesis problem, the work demonstrates how models can achieve human-like systematic generalization in domains governed by underlying logical structures.

In Improving Coherence and Consistency in Neural Sequence Models with Dual-System, Neuro-Symbolic Reasoning, Nye (as first author) explored the application of dual-process theories to machine learning. The research addresses the tendency of sequence models to produce inconsistent or contradictory outputs. By implementing a "dual-system" approach—where a neural generator is paired with a symbolic checker or reasoner—the work aims to ensure that the generated text or code remains logically consistent with a set of established constraints or previous outputs.

In Show Your Work: Scratchpads for Intermediate Computation with Language Models, Nye (as first author) introduced the scratchpad technique to improve the algorithmic performance of transformers. The paper demonstrates that by training models to emit their intermediate steps into a "scratchpad" buffer, they can successfully perform complex computations, such as multi-digit addition and program execution, that are otherwise impossible for them to solve in a single pass. This work highlights the importance of computational "workspace" for neural reasoning and has influenced subsequent research in chain-of-thought prompting and model scaling.

Profile updated

See something wrong? Report a mistake