Aug 28, 2024 · 1h 7m · latent-space
Personal benchmarks vs HumanEval - with Nicholas Carlini of DeepMind
gold bands on the timeline = statements, start to end. Hover to read, click to jump. CC turns on captions
DeepMind research scientist Nicholas Carlini joins the Latent Space podcast to discuss pragmatic LLM workflows for developers, the necessity of personalized AI benchmarks over public leaderboards, and his groundbreaking adversarial security research.
How this conversation actually went
Every chapter scored 0–10 on four independent dynamics. Hover any point for the reasoning behind the score. How this is scored →
speaking balance: gold is the hosts, purple is the guest (3 minute bins)
When Swix questions how LLMs can memorize training data given parameter limits, Carlini forcefully counters with concrete empirical evidence of 50-to-100+ word verbatim text extractions from the internet.
Hardest push from the hosts ▶ 1:03:56 Alessio confronts Carlini with his boss's challenge on defense workAlessio directly channels DeepMind CISO Vijay to challenge Carlini on why he exclusively focuses on breaking systems rather than constructing defenses.
Biggest teaching moment ▶ 3:42 Carlini schools Swix on Turing completeness in printfWhen Swix assumes printf cannot have control flow, Carlini educates him on how the %n specifier and loop indexing enable loops, conditionals, and Turing complete execution in C.
The host holds their own ▶ 50:57 Swix devises benchmark canary tests that match cutting-edge dataset inference researchSwix formulates an adversarial canary evaluation method to catch overtraining on benchmarks, which Carlini validates by connecting it directly to Stanford dataset inference papers.
the scores for every segment, with the reasoning behind each
| Chapter | Topic | The hosts as informed peer | Guest teaching | Guest disagreement | The hosts pushing back | Why |
|---|---|---|---|---|---|---|
| Turing Completeness in Game of Life and Printf | 4 | 7 | 3 | 4 | Alessio and Swix ask about Carlini's obsession with Turing completeness in Conway's Game of Life. When Swix challenges whether printf can handle control flow, Carlini educates him in detail on how the %n specifier allows arbitrary memory writes, loops, and conditionals. | |
| Motivations Behind the 'How I Use AI' Blog Post | 3 | 3 | 2 | 1 | The hosts ask Carlini about his viral blog post on AI usage. Carlini explains his neutral motivation to ground practical reality between extreme AI hype and complete dismissal. | |
| Building Applications and Practical Agentic Workflows with LLMs | 4 | 4 | 1 | 2 | Alessio asks about building web apps and where ChatGPT stands relative to full agents. Carlini explains how he treats simple copy-paste error loops as an effective agent workflow for frontend boilerplate. | |
| Accelerating Unfamiliar Technologies and Grounded Use Cases | 4 | 4 | 1 | 2 | Carlini discusses using LLMs to learn targeted tools like Docker without studying first principles. Alessio asks about knowledge cutoff limitations, and Carlini clarifies his scope as an independent researcher on small projects. | |
| Ephemeral Software and Pushing LLM Capability Limits | 5 | 4 | 2 | 2 | Swix and Alessio discuss ephemeral software, with Alessio sharing a practical example of repairing an irrigation system. Carlini notes that if an LLM always gives you the right answer, you are not asking hard enough questions. | |
| Underrated LLM Workflows: Debugging and Offloading Mundane Tasks | 3 | 6 | 2 | 1 | Carlini shares underrated workflows, specifically having LLMs write routine helper algorithms to avoid breaking mental flow. He refutes the claim that LLMs cannot help research by explaining that 90% of cutting-edge research relies on established methods. | |
| Expert vs. Non-Expert Adoption and Trusting AI Systems | 5 | 6 | 3 | 3 | Swix asks about expert versus non-expert gains and questions whether papers showing LLMs produce insecure code have an agenda. Carlini defends Dan Boneh's research while admitting his own past mistake in writing off early LLMs and RLHF. | |
| Code Analysis, API Navigation, and Binary Decompilation | 4 | 5 | 1 | 1 | Alessio prompts best practices for learning and code analysis. Carlini details using LLMs for cryptic CLI flags like FFmpeg and decompiling reverse-engineered binary assemblies into readable Python. | |
| Nuanced AI Forecasting and Authentic Online Distribution | 4 | 4 | 2 | 2 | Swix inquires about Carlini's upcoming writing and forecasting. Alessio asks about his unconventional distribution strategy, and Carlini explains maintaining only an RSS feed and email list to avoid toxic social media arguments. | |
| Non-AI Passion Projects: Paper Data Storage and IOCCC | 5 | 6 | 2 | 3 | Carlini quizzes the hosts on data density per printed page (achieving 1.44MB) and explains why standardized benchmarks fail individual needs. Swix notes that publishing a personal benchmark risks contamination, prompting Carlini to clarify his goal was inspiring others to build bespoke evals. | |
| The Limits of Prompt Engineering and Lazy Prompting | 5 | 5 | 4 | 3 | Alessio brings up prompt engineering and Carlini's lazy prompting stance. Carlini rejects being told he is 'holding it wrong' and argues that needing elaborate prompt incantations defeats the time-saving purpose of using LLMs. | |
| Multi-Turn Evals and Detecting Benchmark Contamination | 6 | 6 | 2 | 4 | Swix highlights the limitation of single-turn evals in chat-centric workflows. Swix proposes inserting deliberate adversarial errors to detect benchmark memorization, and Carlini connects this to formal dataset inference research. | |
| Practical Security Research and LAION-400M Dataset Poisoning | 6 | 5 | 2 | 2 | Alessio brings up Carlini's security background and the LAION-400M poisoning attack. Carlini explains the transition from unrealistic academic ML threat models to practical real-world vulnerabilities like buying expired dataset domains. | |
| Model Stealing Attacks on Production LLM APIs | 6 | 6 | 3 | 3 | Alessio and Carlini discuss extracting projection layers from production APIs like OpenAI. Carlini details coordinating with corporate lawyers to steal layers and forcing API providers to patch logit bias disclosures. | |
| Training Data Extraction and Memorization in LLMs | 5 | 8 | 4 | 4 | Carlini mentions eliciting training data by prompting ChatGPT to repeat a single word indefinitely. When Swix pushes back that models lack parameter capacity to memorize training data, Carlini decisively proves memorization by citing 50-to-100+ word verbatim document extractions. | |
| Why Nicholas Carlini Attacks: Passion and Impact | 5 | 5 | 3 | 4 | Alessio delivers a direct question from DeepMind CISO Vijay asking why Carlini refuses to build defenses. Carlini defends attacking over defending based on genuine passion, asserting that forcing people into unfulfilling work leads to lower overall output. |