Stephen Mell
· 2 previous affiliations
- Carnegie Mellon UniversitySince 2026
- Postdoc · Since 2026
- University of Pennsylvania2019–2026
- PhD student · 2019–2026
Research Overview
Stephen Mell focuses on program synthesis, safe machine learning, and the design of programming languages for artificial intelligence systems. His early work established methods for enforcing safety constraints in neural networks and synthesizing complex data queries from examples. Recently, he has concentrated on developing specialized languages and execution frameworks that enable large language models to operate securely and efficiently as autonomous agents.
Research Trajectory
Mell's research trajectory begins with efforts to ensure the reliability of machine learning models. In Safe Predictors for Enforcing Input-Output Specifications, he introduced a framework for constructing neural networks that mathematically guarantee adherence to specific constraints throughout their lifecycle. This work contributed to the broader research area of Differentiable Optimization via Smooth Constraint Surrogates, moving beyond post-hoc safety checks to embed correctness directly into the model architecture.
Following this, his focus expanded to the synthesis of complex data queries, particularly for interpreting the outputs of deep learning models. He proposed the Quivr framework in Synthesizing Video Trajectory Queries, which allows users to identify specific spatial and temporal events—such as lane changes in autonomous driving—using regular expression operators over predicted object trajectories. Recognizing the difficulty end-users face in manually tuning these queries, he later extended this system in Synthesizing Trajectory Queries from Examples. This extension introduced techniques for pruning parameter spaces and applying quantitative semantics to automatically synthesize trajectory queries that match user-provided examples.
Concurrently, Mell investigated how users interact with complex systems through natural language and structured data. In Counterfactual Explanations for Natural Language Interfaces, he developed an algorithm to address the brittleness of natural language parsing by generating minimally modified, successful alternative commands when a system fails to understand a user's original input. That same year, he presented Ideograph: A Language for Expressing and Manipulating Structured Data, defining a language whose types describe structures like multisets, syntax trees, and relational databases, ensuring that operations respect underlying structural equivalences.
As large language models became central to software engineering, Mell's research adapted to address their reliability and execution. With collaborators, he explored uncertainty quantification in PAC Prediction Sets for Large Language Models of Code. By leveraging abstract syntax trees and integer linear programming, this research generated "partial programs" with rigorous statistical guarantees, advancing the research direction of Verified Code Generation via Iterative Symbolic Feedback and the broader field of Learning and Inference in Exponential Output Spaces. He continued to formalize program generation techniques in Optimal Program Synthesis via Abstract Interpretation, applying abstract interpretation principles to optimize the synthesis process.
Most recently, Mell has focused on the infrastructure required to execute LLM-driven applications efficiently and securely. In An Opportunistically Parallel Lambda Calculus for Performant Composition of Large Language Models, he introduced Opal, a scripting language that automatically parallelizes and streams external API calls. This approach allows developers to write sequential code that achieves the performance of hand-tuned asynchronous implementations. Building on these language design principles, he developed QUASAR in A Fast, Reliable, and Secure Programming Language for LLM Agents with Code Actions. By transpiling a subset of Python into a functional framework, QUASAR automatically parallelizes tool calls and batches security approvals. This system directly addresses challenges in the research direction of Mitigating Permission Fatigue in Autonomous Agent Security, while using conformal prediction to manage model hallucinations.
Current Directions
The most recent papers in the evidence indicate a strong focus on the design of programming languages and execution environments tailored for large language model agents. Recent work investigates how to safely and efficiently compose LLM capabilities with external tools and APIs. This involves developing novel calculi and transpilation frameworks that automatically handle the parallelization of asynchronous calls, thereby simplifying the developer experience. Additionally, current research addresses the security and reliability of autonomous agents by integrating statistical uncertainty guarantees—such as conformal prediction—and designing systems that batch user approvals to maintain secure oversight without overwhelming the operator.
Profile updated
| Title | Venue | Year |
|---|---|---|
| Quasar: A Programming Language Specialized for LLM Code Actions | COLM | 2026 |
| PopPy: Opportunistically Exploiting Parallelism in Python Compound AI Applications | arXiv | 2026 |
| Opportunistically Parallel Lambda Calculus | Proceedings of the ACM on Programming Languages | 2025 |
| Optimal Program Synthesis via Abstract Interpretation | Proc. ACM Program. Lang | 2024 |
| Synthesizing Trajectory Queries from Examples | Cav | 2023 |
| PAC Prediction Sets for Large Language Models of CodeGitHub resource | ICML | 2023 |
| Counterfactual Explanations for Natural Language Interfaces | ACL | 2022 |
| Ideograph: A Language for Expressing and Manipulating Structured Data | arXiv | 2022 |
| Synthesizing Video Trajectory Queries | AIPLANS @ NeurIPS | 2021 |
| Safe Predictors for Enforcing Input-Output Specifications | arXiv | 2020 |
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