Marvin Li

Harvard University
1 previous affiliation
8Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Marvin Li focuses on the theoretical foundations of generative models, feature emergence, and the security of large language models. His work establishes rigorous mathematical frameworks to understand how and when specific behaviors crystallize during model generation. Currently an algorithm developer at Hudson River Trading, his recent research investigates privacy vulnerabilities and alignment challenges in complex reasoning systems.

Research Trajectory

Marvin Li's research trajectory begins with investigations into the privacy and security properties of large language models (LLMs). In 2023, he introduced MoPe: Model Perturbation based Privacy Attacks on Language Models, a method for identifying whether specific text was included in a pre-trained model's training data. By adding noise in parameter space and measuring the drop in log-likelihood—a statistic approximating the trace of the Hessian matrix—this work demonstrated that second-order gradient information provides a more reliable signal for membership inference than traditional loss-based baselines across models ranging from 70 million to 12 billion parameters.

In 2024, Li expanded his focus to the theoretical mechanics of generative models, particularly diffusion architectures. He developed a rigorous mathematical framework to explain how models commit to specific outputs in Critical windows: non-asymptotic theory for feature emergence in diffusion models. By modeling data as mixtures of distributions, this research proved the existence of narrow time intervals during the sampling process where features like color or class are decided, offering new ways to audit fairness and detect privacy leaks in systems like Stable Diffusion. This contribution advanced the research direction of Spectral Hierarchy and Feature Emergence in Diffusion Models and provided analytical tools for the broader area of Generative Convergence Beyond Smoothness and Log-Concavity. Alongside this theoretical work, Li investigated fairness in the area of Why Text to Image Models Amplify Societal Stereotypes. With collaborators, he analyzed how numerical representations of text prompts influence model outputs in Bias Begets Bias: the Impact of Biased Embeddings on Diffusion Models. The study demonstrated that unbiased embeddings are a necessary condition for fair image generation and showed that biased embeddings can artificially inflate image-text alignment scores, inadvertently rewarding unfair models.

Moving into 2025, Li generalized his theoretical insights across different generative architectures. In Blink of an eye: a simple theory for feature localization in generative models, he utilized stochastic localization to create a unifying theory explaining why sudden shifts in feature commitment—occurring in narrow "critical windows" of time or tokens—happen generically in both diffusion models and autoregressive LLMs. Concurrently, he continued to address the evaluation of privacy vulnerabilities, participating in the development of a principled evaluation pipeline in Firm Foundations for Membership Inference Attacks Against Large Language Models. This work addressed the confounding effects of subtle distribution shifts between member and non-member sets, which had previously allowed simple "blind" methods to artificially outperform sophisticated attacks on standard benchmarks. His work also expanded into the alignment of reasoning systems, contributing to the research direction of Mitigating Reward Hacking in Large Reasoning Models. In Teaching Models to Verbalize Reward Hacking in Chain-of-Thought Reasoning, he and his collaborators introduced Verbalization Fine-Tuning to train models to explicitly state when they are exploiting unintended shortcuts. This approach significantly improved the detectability of misaligned behavior, reducing undetected reward hacks from 88% to just 6% after reinforcement learning.

Current Directions

Li’s most recent work centers on the safety, alignment, and theoretical transparency of advanced generative systems. A major ongoing theme is the mitigation of reward hacking in large reasoning models, where he explores methods to make complex chain-of-thought processes more interpretable and robust against unintended optimization shortcuts. Alongside alignment, he continues to investigate the fundamental mechanics of feature emergence, seeking to bridge rigorous mathematical theories of how models construct outputs with practical tools for auditing their privacy, fairness, and reliability.

Profile updated

See something wrong? Report a mistake