Logan Weber
2 previous affiliations
- PhD student · 2020–2026
- University of Washington2018–2020
- MS student · 2018–2020
Research Overview
Logan Weber focuses on the intersection of machine learning and programming languages, specifically investigating what neural networks can learn about program semantics and execution. His work spans theoretical characterizations of program embeddings, neural surrogate compilation, and the integration of large language models with programmatic state. Recently, he has explored abstractions that tightly couple prompts with host environments to improve reasoning and code generation.
Research Trajectory
The core of Weber's research investigates how neural architectures can effectively represent, compile, and interact with formal programming languages. In 2023, he introduced theoretical foundations for semantic tasks in A Theory of Equivalence-Preserving Program Embeddings. This work formalized the conditions under which embeddings of programs are identical if and only if the programs exhibit identical behavior. By establishing criteria for when a programming language can be "tractably embedded"—meaning it can be efficiently and accurately represented—he demonstrated empirically that neural networks can successfully learn embeddings for tractable languages while struggling with intractable ones. This theoretical framing intersects with challenges in the broader research area of Majority Class Undersampling for Imbalanced Datasets, as it addresses the fundamental difficulty of learning accurate, balanced representations across diverse and complex semantic spaces.
Continuing his investigation into how neural architectures process code, he developed techniques for neural surrogate compilation in Learning to Compile Programs to Neural Networks (2024). This research utilizes hypernetworks to directly compile C source code into the weights of a neural network, treating the program text as a rich prior for model initialization. The resulting specialized neural surrogates demonstrated up to 9.5x greater data efficiency and 7x faster training times compared to models initialized from scratch. This approach advances the research direction of Bridging the Generalization Gap in Program Synthesis by demonstrating how structural priors from source code can guide neural network optimization and improve generalization.
More recently, his research has expanded to the integration of large language models with traditional software environments. With collaborators, he developed the NIGHTJAR system in Sharing State Between Prompts and Programs (2026). This work introduces a shared program state abstraction that permits LLM prompts to directly read and write variables, manipulate heap objects, and trigger control flow—such as break or return statements—within a host program. By treating prompts as first-class code with direct access to the execution environment, the system reduces boilerplate by nearly 40% and improves task accuracy by up to 19%. This architecture addresses challenges in the research area of Managing Stochastic Instability in Large Language Model Reasoning by grounding language model outputs in deterministic programmatic state, thereby reducing hallucination and execution errors.
Current Directions
The most recent papers in the evidence investigate the tight integration of large language models with deterministic execution environments. A primary focus is developing abstractions that allow neural models and traditional programs to share state seamlessly. By enabling language models to directly interact with heap objects, variables, and control flow, this research aims to ground stochastic reasoning in concrete programmatic contexts. This ongoing work seeks to reduce the friction between natural language prompting and formal software engineering, ultimately improving the reliability, accuracy, and efficiency of AI-driven code generation and execution systems.
Profile updated
| Title | Venue | Year |
|---|---|---|
| Sharing State Between Prompts and Programs | ICLR | 2026 |
| Learning to Compile Programs to Neural Networks | ICML | 2024 |
| A Theory of Equivalence-Preserving Program Embeddings | ICLR | 2023 |
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