Mark Lemley

Stanford University · Lex Lumina, PLLC
5 previous affiliations
2Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Mark Lemley focuses on the intersection of generative artificial intelligence, privacy risk, and copyright law. His work investigates how large language models memorize and extract training data, evaluating both the technical mechanisms of data extraction and the legal implications of these capabilities. Recently, he has concentrated on developing efficient methods to quantify near-verbatim extraction risks and assessing the policy limitations of machine unlearning.

Research Trajectory

In 2025, Lemley's research explored the extent to which large language models (LLMs) retain and reproduce copyrighted material from their training datasets. He participated in a study on Extracting memorized pieces of (copyrighted) books from open-weight language models, which introduced a novel methodology for quantifying the memorization of published literature. The research demonstrated that while models do not typically memorize entire books, specific high-capacity models—such as Llama 3.1 70B—can retain texts like Harry Potter and the Sorcerer's Stone with enough fidelity to allow for near-verbatim reconstruction from a single prompt. This work bridges technical evaluation and legal theory, complicating copyright claims for both plaintiffs and defendants by providing empirical evidence of extraction capabilities. This study contributed to broader research areas, including the direction of Shifting from Static Benchmarks to Dynamic Evaluation and the area of Erasing Memorized Data from Large Language Models.

During the same year, Lemley was part of a large-scale collaborative effort examining the policy implications of model editing and erasure techniques. The resulting paper, Machine Unlearning Doesn't Do What You Think: Lessons for Generative AI Policy and Research, critically evaluated the assumption that algorithmic unlearning can serve as a comprehensive solution for privacy and copyright disputes in generative AI. The authors highlighted fundamental mismatches between the technical realities of current unlearning methods and the complex legal objectives they are often expected to fulfill. This work provided a necessary grounding for policymakers, arguing that unlearning is not a general-purpose fix for controlling AI behavior, thereby contributing to the research direction of Selective Knowledge Erasure in Pretrained Models.

Building on these investigations into data retention, Lemley's subsequent work focused on improving the efficiency and accuracy of extraction risk assessments. In 2026, he co-developed a methodology detailed in Estimating near-verbatim extraction risk in language models with decoding-constrained beam search. Traditional methods for quantifying privacy risks are often computationally prohibitive and frequently fail to identify sensitive, near-verbatim instances of training data reproduction. To address this, the research introduced decoding-constrained beam search (k-CBS), a more efficient algorithmic approach to estimate extraction risk. By lowering the computational barrier to auditing models for memorization, this work advances the broader area of How Model Scale Alters Memorization and Privacy Risks, providing researchers and practitioners with better tools to evaluate the privacy guarantees of language models.

Current Directions

The most recent papers in the evidence indicate a continued focus on the technical mechanisms of privacy auditing and data extraction in large language models. Recent work investigates the computational bottlenecks associated with measuring near-verbatim memorization, aiming to develop more efficient search algorithms that can accurately estimate extraction risks. By addressing the limitations of traditional auditing methods, this research seeks to provide more robust frameworks for evaluating how models interact with sensitive or copyrighted training data, ultimately informing both technical safety protocols and AI policy.

Profile updated

See something wrong? Report a mistake