Patrick Chao
· 2 previous affiliations
- OpenAI (United States)Since 2024
- Researcher · Since 2024
- University of Pennsylvania2020–2024
- PhD student · 2020–2024
Research Overview
Patrick Chao focuses on the safety, robustness, and evaluation of large-scale generative models, with a particular emphasis on adversarial prompting, jailbreaking, and causal inference. His work bridges statistical theory and machine learning practice to develop automated red-teaming methods and robust evaluation frameworks for foundation models. Currently a researcher at OpenAI, his trajectory reflects a shift from foundational statistical modeling and diffusion-based causality toward the empirical security and alignment of large language models (LLMs).
Research Trajectory
Chao’s research career is characterized by a rapid evolution from the study of generative model vulnerabilities to the creation of standardized defensive and evaluative infrastructures. In the early stages of his doctoral work at the University of Pennsylvania, his research addressed the inherent fragility of foundation models. This period was marked by an investigation into how small, often nonsensical perturbations in input prompts could systematically hijack the behavior of both text and image generators. This work established a baseline for understanding foundation models as black-box systems that are highly sensitive to distributional shifts in prompting.
Parallel to his security-focused work, Chao explored the intersection of generative modeling and causal inference. He investigated how diffusion models could be repurposed to solve complex causal queries, moving beyond simple observations to interventional and counterfactual reasoning. By framing diffusion models as structural causal models (SCMs), he developed methods to encode variables into latent spaces that serve as proxies for exogenous noise, thereby enabling more accurate sampling under hypothetical scenarios.
By 2023 and 2024, Chao’s focus shifted more heavily toward the "jailbreaking" of LLMs—the process of bypassing safety guardrails designed to prevent the generation of harmful content. He moved from identifying vulnerabilities to automating their discovery. This culminated in the development of Prompt Automatic Iterative Refinement (PAIR), a method that uses an attacker LLM to automatically generate semantic jailbreaks through an iterative refinement process. This work highlighted the efficiency of semantic attacks over traditional gradient-based methods, demonstrating that safety filters could be bypassed with significantly fewer queries than previously thought.
Recognizing the lack of standardization in the burgeoning field of AI safety, Chao led efforts to formalize the evaluation of these attacks. This resulted in the creation of JailbreakBench, an open-source benchmark designed to provide a reproducible and transparent leaderboard for jailbreaking attacks and defenses. His most recent work extends into the domain of AI provenance and broader socio-technical evaluation. He has developed robust watermarking frameworks that utilize error-correcting codes to ensure the detectability of machine-generated text, even after significant editing. Furthermore, his participation in multi-institutional projects regarding "safe harbors" for AI researchers and real-world economic benchmarks indicates a growing interest in the legal and economic implications of AI deployment.
Representative Work
Adversarial Prompting and Vulnerability Discovery
Chao’s early contributions to AI safety focused on the susceptibility of foundation models to adversarial manipulation. In Adversarial Prompting for Black Box Foundation Models, he explored how both large language models and image generators like Stable Diffusion can be manipulated through automatically generated prompts. This research demonstrated that these models are not only sensitive to human-readable instructions but can also be "hijacked" by nonsensical strings that induce specific, often unintended, behaviors. This work was critical in establishing that the security of foundation models cannot be guaranteed solely through manual prompt engineering or simple keyword filtering, as the space of adversarial prompts is vast and computationally accessible.
Causal Inference with Diffusion Models
In the domain of statistical modeling, Chao addressed the "ladder of causation" by integrating diffusion models with causal frameworks. In Modeling Causal Mechanisms with Diffusion Models for Interventional and Counterfactual Queries, he introduced Diffusion-based Causal Models (DCM). The core innovation of this work is the use of diffusion processes to learn causal mechanisms that generate unique latent encodings. These encodings act as proxies for the exogenous noise variables required in structural causal models, allowing researchers to perform abduction—a necessary step for counterfactual reasoning. This approach showed significant empirical improvements over existing methods in answering "what if" questions using only observational data and a known causal graph.
Automated Jailbreaking and Red Teaming
Chao’s most prominent work in LLM security involves the automation of red-teaming processes. In Jailbreaking Black Box Large Language Models in Twenty Queries, he introduced the Prompt Automatic Iterative Refinement (PAIR) framework. Unlike previous adversarial attacks that relied on computationally expensive gradient-based optimizations or manual "social engineering" prompts, PAIR utilizes a separate LLM to act as an attacker. This attacker model iteratively refines a candidate jailbreak prompt based on the target model's responses. The method is highly efficient, often requiring fewer than twenty queries to bypass the safety guardrails of frontier models. This research underscored the fragility of current alignment techniques and the need for more robust, automated testing during the model development lifecycle.
Standardizing Robustness Benchmarks
To address the fragmentation in the AI safety community, Chao led the development of JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models. Before this initiative, the evaluation of jailbreak attacks was often inconsistent, with researchers using different success metrics, withholding adversarial prompts, or relying on non-reproducible proprietary APIs. JailbreakBench established a standardized, open-source pipeline for evaluating both attacks and defenses. By providing a clear leaderboard and a common evaluation protocol, this work has facilitated more rigorous comparisons between different safety interventions and has become a central resource for the red-teaming community.
Provenance and Watermarking
As the proliferation of machine-generated content increased, Chao turned his attention to the problem of AI provenance. In Watermarking Language Models with Error Correcting Codes, he proposed the Robust Binary Code (RBC) watermark. This framework embeds statistical signals into the text generation process using error-correcting codes, a technique borrowed from information theory. The RBC watermark is designed to be undetectable to human readers while remaining robust to common post-generation edits, such as deletions, word substitutions, or translations. This work provides a mathematically grounded approach to distinguishing machine-generated prose from human writing, which is increasingly vital for maintaining the integrity of digital information ecosystems.
Policy and Economic Evaluation
Chao has also participated in broader collaborative efforts to define the legal and practical boundaries of AI research. He was a contributor to A Safe Harbor for AI Evaluation and Red Teaming, which advocates for legal and technical protections for independent researchers conducting good-faith safety audits. This work addresses the "chilling effect" of potential legal reprisals or account suspensions that often deter public-interest auditing of proprietary models. Additionally, his involvement in GDPval: Evaluating AI Model Performance on Real-World Economically Valuable Tasks signals a shift toward evaluating AI not just on academic puzzles, but on its capacity to perform professional tasks across dozens of occupations. This participation reflects a comprehensive view of AI evaluation that encompasses security, policy, and economic utility.
Profile updated
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