English

Inverse Design for Conditional Distribution Matching

Machine Learning 2026-05-12 v1 Machine Learning

Abstract

Generative models are powerful tools for sampling from a learned distribution P(YX)\mathcal{P}(Y \mid X), and inverse-design methods invert this map to find an input xx that produces a desired point output yy^*. However, many design goals are naturally distributional rather than pointwise, incorporating the inherent uncertainty of YY and targeting a specific form for it, a task not addressed by standard inverse design. To address this issue we introduce Conditional Distribution Matching (CDM), a new inverse-design problem class in generative modeling: given a joint distribution P(X,Y)\mathcal{P}(X, Y) and a target distribution G(Y)\mathcal{G}(Y), find an input xx^* whose induced conditional distribution P(YX=x)\mathcal{P}(Y \mid X = x^*) matches G\mathcal{G}. We formally define two variants: Conditional Distribution Matching Sampling (CDMS) and Conditional Distribution Matching Optimization (CDMO). To solve these problems, we propose MLGD-F (Matching-Loss Guided Diffusion with a Fast inner sampler), a plug-and-play inference-time algorithm that combines a pretrained score-based diffusion model with a pretrained fast conditional sampler, requiring no additional training or fine-tuning. By leveraging single-step conditional sampling, MLGD-F enables tractable gradient computation, making the estimation of P(YX)\mathcal{P}(Y \mid X) both memory-efficient and computationally lightweight. We validate MLGD-F on synthetic benchmarks, structured image transformations, and generative editing optimization, demonstrating reliable recovery of inputs whose conditional distributions match diverse user-specified targets, including discrete mixtures and continuous low-rank supports.

Keywords

Cite

@article{arxiv.2605.09439,
  title  = {Inverse Design for Conditional Distribution Matching},
  author = {Ori Meidler and Shaul Tolkovsky and Or Zuk},
  journal= {arXiv preprint arXiv:2605.09439},
  year   = {2026}
}
R2 v1 2026-07-01T13:01:33.589Z