Stephen Mell
stephenmell@cmu.edu | Twitter | GitHub | Google Scholar | DLBP | OrcID
Postdoc in PL/ML/systems at CMU advised by Zhihao Jia. PhD from UPenn, advised by Osbert Bastani and Steve Zdancewic.
I am interested in the intersection of programming languages, artificial intelligence, and computer systems, with two main research directions:
Spec-level programming. As coding agents take over much of software development, verifying and maintaining the code they produce becomes a central challenge. My work raises the level of abstraction at which programs are written, disentangling high-level behavior from low-level performance optimizations so that concise but precise specifications, rather than sprawling codebases, become the object that humans and agents reason about. Correct-by-construction optimizations then recover performance without sacrificing clarity. For example, I am building a system that automatically async-ifies and streams simple sequential Python, yielding large speedups without the complexity of hand-written concurrent code.
Languages and frameworks for agentic systems. Existing frameworks for agentic workflows and harnesses are limited in expressiveness, and most optimizations target the underlying models in isolation, discarding valuable information from the surrounding program. I am developing a general-purpose, Pythonic framework for agentic systems, analogous to what PyTorch is for neural networks, that treats the whole system as a program to be optimized for accuracy, cost, and latency, while supporting debugging, observability, and deployment.
Research
Preprints
-
PopPy: Opportunistically Exploiting Parallelism in Python Agentic Workflows
In submission. Stephen Mell, David Mell, Harry Y. H. Li, Zhihao Jia, Konstantinos Kallas, Steve Zdancewic, Osbert Bastani
arXiv
Conference Publications
-
Quasar: A Programming Language Specialized for LLM Code Actions
COLM 2026. Stephen Mell, Botong Zhang, David Mell, Shuo Li, Ramya Ramalingam, Nathan Yu, Stephan Zdancewic, Osbert Bastani
Pub | arXiv | Artifact | Website -
Opportunistically Parallel Lambda Calculus
OOPSLA 2025. Stephen Mell, Konstantinos Kallas, Steve Zdancewic, Osbert Bastani
Pub | arXiv | Artifact | Talk | Slides -
Optimal Program Synthesis via Abstract Interpretation
POPL 2024. Stephen Mell, Steve Zdancewic, Osbert Bastani
Pub | arXiv | Artifact | Talk | Slides -
Synthesizing Trajectory Queries from Examples
CAV 2023. Stephen Mell, Favyen Bastani, Steve Zdancewic, Osbert Bastani
Pub | Extended/arXiv | Artifact | Talk | Slides -
PAC Prediction Sets for Large Language Models of Code
ICML 2023. Adam Khakhar, Stephen Mell, Osbert Bastani
Pub | arXiv -
Counterfactual Explanations for Natural Language Interfaces
ACL 2022. George Tolkachev, Stephen Mell, Stephan Zdancewic, Osbert Bastani
Pub | arXiv
Other Publications
-
Ideograph: A Language for Expressing and Manipulating Structured Data
TERMGRAPH 2022. Stephen Mell, Osbert Bastani, Steve Zdancewic
Pub | Talk | Slides -
Synthesizing Video Trajectory Queries
AIPLANS (NeurIPS 2021 workshop).
Stephen Mell, Favyen Bastani, Stephan Zdancewic, Osbert Bastani
Pub -
Securing Election Infrastructure with Hand-Marked Paper Ballots
JSPG 2020. Varun Gupta, Joel Hypolite, Stephen Mell, Hersh Sanghvi†
Pub -
Safe Predictors for Enforcing Input-Output Specifications
NeurIPS 2019 workshops. Stephen Mell, Olivia Brown, Justin Goodwin, Sung-Hyun Son
Pub
† Ordered alphabetically
Invited Talks
- ETH Zürich SPY Lab, 2025. Language Design for Compound AI Systems
- CMU CATALYST Group, 2025. Language Design for Compound AI Systems
- Princeton Programming Languages Group, 2025. Opportunistic Lambda Calculus: Automatic Parallelization and Streaming for (Neurosymbolic) Scripting
- MIT Programming Systems Group, 2025. Opportunistic Lambda Calculus: Automatic Parallelization and Streaming for (Neurosymbolic) Scripting
- UW PLSE, 2025. Opportunistic Lambda Calculus: Automatic Parallelization and Streaming for Scripting
- NJPLS, 2024. Opportunistic Lambda Calculus: Automatic Parallelization and Streaming for Scripting
- UT Austin UToPiA, 2024. Opportunistically Parallel Lambda Calculus. Or, Lambda: The Ultimate LLM Scripting Language
Funding
- Amazon/ASSET Gift for Research in Trustworthy AI, 2023
Teaching
-
CIS191: Linux/Unix Skills. University of Pennsylvania, Spring 2021
Course Designer and Instructor
Service
- Student Volunteer Co-Chair. POPL 2025-2026
- Mentor, Reading Group Facilitator. REPL REU 2024
- Mentor. REPL REU 2023
- External Reviewer. ESOP 2024
- Reviewer. AIPLANS 2021 (Workshop)
- Office Committee. UPenn CIS Department 2022, 2023
Education
- PhD in Computer Science. University of Pennsylvania, Fall 2019 - Spring 2026
-
BA in Mathematics. Washington University in St. Louis, Fall 2014 - Spring 2019
GPA: 3.96/4.00, Phi Beta Kappa
Emplyment
- Summer Research Associate. Topos Institute, Summer 2023
- Research Intern. MIT Lincoln Lab, Summer 2019
- REU in Software Engineering. Carnegie Mellon University, Summer 2018
- Software Developer. Mellware, 2016 - 2019
- Software Developer. Finsight LLC, 2013 - 2016