Calibrating Generative Models

Henry D. Smith, Nathaniel L. Diamant, Brian L. Trippe
10/11/2025
stat.MLcs.LGq-bio.BM

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Generative models frequently suffer miscalibration, wherein class probabilities and other statistics of the sampling distribution deviate from desired values. We frame calibration as a constrained optimization problem and seek the closest model in Kullback-Leibler divergence satisfying calibration constraints. To address the intractability of imposing these constraints exactly, we introduce two surrogate objectives for fine-tuning: (1) the relax loss, which replaces the constraint with a miscalibration penalty, and (2) the reward loss, which converts calibration into a reward fine-tuning problem. We demonstrate that these approaches substantially reduce calibration error across hundreds of simultaneous constraints and models with up to one billion parameters, spanning applications in protein design, image generation, and language modeling.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{smith2025calibrating,
  title  = {Calibrating Generative Models},
  author = {Henry D. Smith and Nathaniel L. Diamant and Brian L. Trippe},
  year   = {2025},
  eprint = {2510.10020},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.10020v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.10020.svg)](https://codeofpaper.com/paper/2510.10020)

Discussion