Nicholas Carlini

Anthropic (United States)
3 previous affiliations
135Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Nicholas Carlini focuses on the intersection of machine learning and computer security, specifically analyzing the vulnerabilities, privacy risks, and adversarial robustness of neural networks. His trajectory spans early work on adversarial examples in computer vision and audio to foundational measurements of data memorization in large language models. Currently, his research investigates the security of language models, including adaptive attacks, side-channel vulnerabilities, and the evaluation of autonomous agents.

Research Trajectory

Early in his trajectory, he explored audio vulnerabilities in Hidden Voice Commands before shifting his focus to the foundational vulnerabilities of neural networks. With Towards Evaluating the Robustness of Neural Networks, he demonstrated that defensive distillation fails to provide significant robustness against targeted adversarial examples. This led to a broader investigation into the systemic failure of proposed defenses, culminating in Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examples. By identifying gradient masking as a flawed defensive strategy that merely breaks the optimization process rather than securing the model, this foundational critique established key principles in the broader area of Robustness Against Adaptive White-Box Adversaries and the specific research direction of The False Security of Obfuscated Gradients.

Expanding his focus to data privacy, he introduced the "exposure" metric in The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks, showing that generative models unintentionally memorize rare training data. This highlighted how outliers are particularly vulnerable, advancing the research direction of Non-Uniform Privacy Risk and Outlier Vulnerability and informing subsequent work in Differentially Private Training for Deep Learning. Parallel to his security research, he participated in developing simplified methods for semi-supervised learning. The algorithm introduced in FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence generated pseudo-labels using weak augmentation to train on strongly augmented images, contributing to the broader direction of Weak to Strong Consistency in Semi-Supervised Learning.

Returning to the mechanics of memorization, his focus shifted to the emerging scale of large language models. Extracting Training Data from Large Language Models demonstrated a practical black-box attack to recover verbatim training examples from GPT-2, a key result in the area of How Model Scale Alters Memorization and Privacy Risks. To mitigate these risks and improve model quality, he and his collaborators explored data curation in Deduplicating Training Data Makes Language Models Better, which informed the direction of Data Duplication and the Mechanics of Model Memorization. He also formalized the rigorous evaluation of privacy attacks in Membership Inference Attacks From First Principles, arguing for the use of true-positive rates at low false-positive rates and introducing the Likelihood Ratio Attack (LiRA).

By 2024, his research expanded to encompass novel attack vectors and structural privacy tradeoffs in deployed AI systems. He investigated timing side-channels introduced by performance optimizations like speculative decoding in Remote Timing Attacks on Efficient Language Model Inference, advancing the area of Timing Side Channels in Performance Optimized Systems. He also explored supply chain vulnerabilities, showing in Privacy Backdoors: Enhancing Membership Inference through Poisoning Pre-trained Models that poisoning foundation models can exacerbate data leakage during downstream fine-tuning, contributing to the direction of Backdoor Vulnerabilities in the Machine Learning Supply Chain. Continuing his long-standing critique of flawed defenses, Cutting through buggy adversarial example defenses: fixing 1 line of code breaks Sabre revisited gradient masking, tying into the area of Adaptive Robustness in Adversarial Machine Learning. Additionally, he examined the theoretical limits of privacy in Position: Considerations for Differentially Private Learning with Large-Scale Public Pretraining, challenging the reliance on web-scraped data for private fine-tuning and exploring the intersection with Public Pretraining for Private Fine-Tuning.

Most recently, his work has scrutinized the security, evaluation, and alignment of autonomous LLM agents. He explored using agents for software verification in Agentic Property-Based Testing: Finding Bugs Across the Python Ecosystem, where an LLM agent infers properties and synthesizes tests to find bugs. Conversely, he evaluated the offensive capabilities of these agents in AutoAdvExBench: Benchmarking Autonomous Exploitation of Adversarial Example Defenses, revealing a significant gap between performance on simplified puzzles and real-world research implementations, contributing to the direction of Bridging the Inferential Gap in AI Software Engineering. In the context of model alignment, The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injections demonstrated that adaptive attacks can bypass the majority of recent jailbreak defenses, advancing work in the area of Optimization in Discrete Text Input Spaces. Finally, he addressed the alignment problem of "reward hacking" in ImpossibleBench: Measuring LLMs' Propensity of Exploiting Test Cases, creating contradictory tasks to quantify an agent's tendency to cheat, which informs the area of Mitigating Reward Hacking in Large Reasoning Models.

Current Directions

Recent work investigates the security, evaluation, and alignment of autonomous large language model (LLM) agents. The most recent papers in the evidence address the gap between theoretical defenses and real-world vulnerabilities, demonstrating that adaptive attacks can reliably bypass jailbreak defenses and prompt injections. Additionally, this work explores the phenomenon of "reward hacking" in LLM agents, developing frameworks with intentionally contradictory instructions to quantify an agent's propensity to exploit test cases rather than follow intended specifications. This direction also extends to using LLM agents constructively, such as deploying them for automated property-based testing across software ecosystems to identify bugs and enforce invariants.

Profile updated

See something wrong? Report a mistake