Hamed Hassani

University of Pennsylvania
1 previous affiliation
208Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Hamed Hassani focuses on information theory, machine learning, and optimization, with an emphasis on uncertainty quantification and AI safety. His early trajectory established foundational scaling and capacity results for polar codes. More recently, his research addresses robust decision-making, conformal prediction, and the reliable deployment of large language models through collaborative human-AI frameworks and statistical watermarking.

Research Trajectory

The early phase of Hassani’s research was deeply rooted in information theory, specifically advancing the theoretical understanding and practical construction of polar codes. Investigating the area of Universal Channel Polarization and Convergence, he analyzed how blocklengths must scale to maintain fixed error probabilities as transmission rates approach channel capacity. This work, detailed in Finite-Length Scaling for Polar Codes, provided critical finite-length scaling results that contributed to the broader research direction of Polynomial Convergence Rates for Polar Codes. He subsequently expanded on these foundations by removing standard degradation conditions to develop a universal polar coding scheme. In Capacity-Achieving Rate-Compatible Polar Codes for General Channels, he introduced a rate-compatible framework capable of achieving capacity across any family of channels, making the approach viable for complex practical scenarios like non-Gaussian interference and MIMO systems.

In recent years, Hassani’s focus has shifted toward the safety, reliability, and alignment of machine learning systems, often bridging his background in coding theory with modern generative AI. This intersection is evident in Watermarking Language Models with Error Correcting Codes, where his research group introduced the Robust Binary Code (RBC) watermark. By leveraging error-correcting codes and a sliding-window approach, the method embeds a statistical signal into AI-generated text that resists manipulation while preserving generation quality. Alongside provenance, his work addresses direct adversarial threats to language models. In Benchmarking Misuse Mitigation Against Covert Adversaries, his lab introduced the Benchmarks for Stateful Defenses (BSD) framework. This research highlighted the vulnerability of standard safety filters to "decomposition attacks"—where adversaries break dangerous tasks into benign-looking sub-tasks—and demonstrated the necessity of monitoring sequences of user queries rather than isolated prompts.

A major and ongoing theme in Hassani’s trajectory is uncertainty quantification, particularly through the lens of conformal prediction and robust decision-making. He explored the gap between theoretical calibration and high-dimensional real-world models in Robust Decision Making with Partially Calibrated Forecasts. This work identified a sharp transition in minimax frameworks, proving that once a model satisfies a specific "decision calibration" condition, the optimal strategy is to trust the model entirely. Building on this, his group formalized the communication of uncertainty to risk-averse agents in Decision Theoretic Foundations for Conformal Prediction: Optimal Uncertainty Quantification for Risk-Averse Agents. They introduced Risk-Averse Calibration (RAC), an algorithm that jointly optimizes prediction sets and action policies to maximize utility while maintaining distribution-free safety guarantees.

Hassani has continued to push the boundaries of conformal prediction across different modalities and stricter safety requirements. He extended these uncertainty quantification techniques to generative models in Conformal Prediction Beyond the Seen: A Missing Mass Perspective for Uncertainty Quantification in Generative Models. To address the limitations of standard conformal prediction—which typically guarantees safety only on average across a population—his team developed the AC-RAC framework in Conformal Risk-Averse Decision Making with Action Conditional Guarantee. By combining pinball-loss minimization with conformal inference, this approach ensures that individual, high-risk decisions meet rigorous reliability thresholds.

Parallel to his work on algorithmic uncertainty, Hassani has pioneered formal frameworks for integrating human expertise with AI reliability. His group investigated how humans and AI can collaboratively quantify uncertainty to produce better decisions than either could achieve alone. This line of inquiry matured through a series of closely related works, including initial preprint formulations in Human-AI Collaborative Uncertainty Quantification and subsequent formal publications such as Human-AI Collaborative Uncertainty Quantification and Human-AI Collaborative Uncertainty Quantification. These papers outline algorithms that refine a human expert’s initial predictions by optimizing for two core principles: avoiding "counterfactual harm" (preserving correct human judgments) and ensuring "complementarity" (catching errors the human missed).

Finally, Hassani has addressed the computational costs of maintaining high-reliability reasoning systems. In When to Trust the Cheap Check: Weak and Strong Verification for Reasoning, his lab introduced Selective Strong Verification (SSV). This principled online algorithm adaptively manages a two-threshold policy to decide when to rely on a computationally cheap weak verifier and when to defer to an expensive strong verifier, providing distribution-free error guarantees while significantly reducing operational costs.

Continuing this line of work on cost-aware oversight, Hassani's group formulated Edit Discovery Optimization in Edit Discovery in Human-AI Interactions, introducing an online thresholding algorithm that selectively invokes costly editors under strict budget and confirmation constraints without distributional assumptions on the stream. In related policy-level decision work, Hassani contributed to Risk-Controlled Post-Processing of Decision Policies, developing finite-sample calibration methods that minimally alter baseline policies to respect chance constraints on loss. His group has also targeted post-training stability and forgetting in language models: InfoSFT: Learn More and Forget Less with Information-Aware Token Weighting introduces a token-level loss weighting concentrated on medium-confidence tokens to preserve prior capabilities during supervised fine-tuning, while Robust Policy Optimization to Prevent Catastrophic Forgetting proposes Fine-tuning Robust Policy Optimization to ensure reinforcement-learned behaviors like safety withstand subsequent downstream fine-tuning.

Current Directions

The most recent papers in the evidence point to a concentrated focus on uncertainty quantification, conformal prediction, and the safety of large language models. A primary current direction involves designing distribution-free uncertainty guarantees for risk-averse agents, moving beyond average-case safety to provide action-conditional reliability in high-stakes environments. Alongside this, recent work investigates human-AI collaboration, developing formal frameworks to merge human expertise with AI prediction sets in ways that maximize complementarity and avoid counterfactual harm. Finally, ongoing research addresses the security and provenance of generative AI, cost-aware oversight in human-AI interaction, and fine-tuning techniques that prevent catastrophic forgetting of safety and pre-existing model capabilities.

Profile updated

See something wrong? Report a mistake