Osbert Bastani

University of Pennsylvania
4 previous affiliations
159Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Osbert Bastani focuses on trustworthy machine learning, neurosymbolic programming, and uncertainty quantification for complex AI systems. His trajectory spans from formal verification of deep neural networks and verifiable reinforcement learning to distribution-free uncertainty guarantees using conformal prediction. His current research addresses the reliability and efficiency of large language model agents and the autoformalization of mathematical reasoning.

Research Trajectory

Bastani’s early research addressed the vulnerabilities and opacity of neural networks, focusing on methods to formally evaluate and constrain model behavior. He introduced techniques to measure adversarial vulnerabilities by encoding robustness metrics as linear programs in Measuring Neural Net Robustness with Constraints, providing more informative estimates of network stability than existing empirical algorithms. Extending this focus on safety to control systems, he contributed to the research direction of Distilling Deep Reinforcement Learning into Symbolic Policies. In Verifiable Reinforcement Learning via Policy Extraction, he developed the VIPER algorithm, which utilizes imitation learning to extract verifiable, nonparametric decision tree policies from complex deep neural network oracles. He also explored structured generation by combining neural networks with program synthesis. In Learning Neurosymbolic Generative Models via Program Synthesis, he proposed a framework to extract symbolic representations of an image's layout, enabling generative models to capture and complete repeating global structures with high fidelity.

A major and enduring theme in his trajectory is providing statistical guarantees for machine learning models. In PAC Confidence Sets for Deep Neural Networks via Calibrated Prediction, he combined calibrated prediction with generalization bounds from learning theory to construct confidence sets with Probably Approximately Correct (PAC) guarantees, ensuring that the set for a given input contains the true label with high probability. Alongside his foundational work on guarantees, he participated in collaborative research on robotic representation learning. With co-authors, he explored self-supervised visual representations capable of generating dense reward functions from offline human videos in VIP: Towards Universal Visual Reward and Representation via Value-Implicit Pre-Training.

As large language models (LLMs) became central to artificial intelligence, his lab adapted uncertainty quantification techniques to these complex systems, advancing the broader area of Conformal Prediction Under Exchangeability Violations. In Conformal Structured Prediction, his group proposed a general framework to extend conformal prediction beyond simple classification and regression to complex structured outputs like text generation, where prediction sets are otherwise difficult to interpret. This theoretical foundation was applied directly to retrieval-augmented generation in TRAQ: Trustworthy Retrieval Augmented Question Answering via Conformal Prediction. By leveraging conformal prediction and Bayesian optimization, the framework provides end-to-end statistical correctness guarantees, marking a significant contribution to the area of Uncertainty Quantification for Black Box Language Models. He further investigated the practical constraints of these methods in Stochastic Online Conformal Prediction with Semi-Bandit Feedback, addressing scenarios where ground truth is only revealed when the model's prediction is already sufficiently accurate.

To optimize the deployment of language models, his lab developed frameworks for cost-effective agent orchestration. In Conformal Constrained Policy Optimization for Cost-Effective LLM Agents, they integrated reinforcement learning with conformal prediction to route queries across multiple LLMs. This approach minimizes API costs while providing mathematical guarantees that the system meets user-specified reliability targets, contributing to the research direction of Efficient Conformal Prediction for Actionable Uncertainty Quantification. His group also designed infrastructure for autonomous systems, introducing a specialized programming language in A Fast, Reliable, and Secure Programming Language for LLM Agents with Code Actions that automatically parallelizes tool calls, batches security approvals, and manages model hallucinations.

Concurrently, his research examined the fundamental behaviors and training dynamics of language models. In Effective Reinforcement Learning for Reasoning in Language Models, his lab analyzed algorithm design decisions for improving mathematical and coding reasoning, demonstrating the advantages of on-policy reinforcement learning over supervised fine-tuning. He also investigated the phenomenon of mode collapse in Evaluating the Diversity and Quality of LLM Generated Content, exploring how alignment processes designed to follow human preferences impact the semantic diversity of generated text.

Most recently, his focus has expanded to the intersection of language models and formal mathematics. In Divide and Abstract: Autoformalization via Decomposition and Abstraction Learning, his group introduced a zero-training framework that learns reusable mathematical abstractions to translate natural language math into machine-verifiable code, allowing general-purpose LLMs to tackle domain-specific languages. Recognizing the limitations of existing evaluation metrics in this space, his lab audited popular formal mathematics datasets in Ground False: Dissecting Errors in Formal Mathematics Benchmarks, revealing significant rates of unfaithful or mathematically false formalizations that skew assessments of AI progress. Advocating for a paradigm shift in this domain, he outlined a roadmap in Position: Theory-Level Autoformalization, From Isolated Statements to Unified Formal Knowledge Bases, arguing that the field must move beyond translating isolated statements to formalizing complete, interdependent mathematical theories.

Bastani's recent research also advances interactive programming, multi-agent incentives, and robotics reasoning. In Choose, Don't Label: Multiple-Choice Query Synthesis for Program Disambiguation, their group studied program disambiguation via synthesized multiple-choice queries. Bastani also co-authored Prior-Agnostic Incentive-Compatible Exploration, exploring exploration mechanisms that satisfy incentive compatibility without prior distribution assumptions. Addressing downstream robotics reasoning, Bastani's lab introduced RoboReason: Boosting Robotics-Relevant VLM Reasoning Through Scalable Data Generation, presenting an automated data generation pipeline targeting spatial and temporal ordering tasks to improve vision-language model reasoning via supervised fine-tuning and reinforcement learning.

Current Directions

The most recent papers in the evidence address the intersection of large language models and formal mathematical reasoning, as well as the reliable deployment of autonomous agents. Recent work investigates autoformalization—the translation of informal natural language into machine-verifiable code—proposing methods to hierarchically decompose complex statements and advocating for the formalization of complete mathematical theories rather than isolated theorems. Alongside this, his lab is actively auditing the integrity of formal mathematics benchmarks to ensure accurate evaluation of AI capabilities. Another major current direction involves optimizing the reasoning and execution of LLM agents, utilizing reinforcement learning to improve mathematical problem-solving, developing conformal prediction frameworks to orchestrate multi-model cascades, and scaling training data generation to strengthen the spatial and temporal reasoning of vision-language models for robotics.

Profile updated

See something wrong? Report a mistake