← Lab /AI/ML

LLMs fail to reliably verify advanced differential privacy algorithms

LLMs cannot consistently determine whether a given function satisfies a stated DP guarantee for advanced mechanisms

AI/ML arXiv 17 Apr 2026 Benchmark Prototype evidence

Published as “DPrivBench: Benchmarking LLMs' Reasoning for Differential Privacy”

Why it matters

LLMs can reliably check simple DP mechanisms for non-experts, but cannot yet be trusted for verifying complex, research-level privacy guarantees.

Summary

The strongest LLMs (GPT-5-High and Gemini-3-Pro) achieve near-perfect accuracy (0.995) on textbook DP mechanisms but only modest F1 scores (~0.74) on advanced DP algorithms, indicating a substantial gap in expert-level reasoning. While GPT-5-High uniquely solves all Report-Noisy-Max variants, other top models fall to random-guess levels on the same task. The evidence comes from a 720-instance benchmark (588 simple, 132 advanced) evaluated across 11 models, showing both promise for beginner assistance and clear limitations for complex privacy analysis.

What they found 1

  1. GPT-5-High attains near-perfect accuracy on foundational DP mechanisms.

    “GPT-5-High is the only model to achieve near-perfect accuracy (0.995).”

Caveats 3

  • GPT-5-High is the only model that achieves perfect accuracy, while all other models, including Gemini-3-Pro, perform near or below the random-guess baseline of 0.5.
  • Our results show that while leading models perform well on textbook DP mechanisms, they consistently struggle with algorithm-specific analyses ... revealing a substantial gap to expert-level DP reasoning.
  • advanced DP reasoning remains challenging even for the strongest models

What’s new here 4

  • Introduces DPrivBench, the first benchmark specifically targeting LLM reasoning about differential privacy guarantees.
  • Combines textbook sensitivity-based mechanisms with research-level DP algorithms to span a wide difficulty range.
  • Designs instances to resist shortcut reasoning by requiring genuine sensitivity computation and mechanism-specific scaling.
  • Provides detailed failure-mode analysis and evaluates the impact of theorem augmentation and retrieval-augmented generation.