Left to Solve
Problems / MathOverflow (not formalized)

Equivalence of score function expressions in SDE-based generative modeling

Open, not yet stated in LeanMathOverflow (not formalized)Probabilitydifficulty55/100

Statement

I am studying the paper "Score-Based Generative Modeling through Stochastic Differential Equations" (arXiv:2011.13456) by Yang et al. The authors use the following loss function (Equation 7 in the paper):

\begin{equation} \mathbb{E}_{\mathbf{x}(0)} \mathbb{E}_{\mathbf{x}(t)\mid \mathbf{x}(0)}\left[ \lVert \mathbf{s}_\theta(\mathbf{x}(t), t) - \nabla_{\mathbf{x}(t)} \log p_{0t}\left(\mathbf{x}(t) \mid \mathbf{x}(0)\right) \rVert_2^2 \right] \end{equation}

If the score function is trained to be an unbiased estimator, it should satisfy the following condition:

\begin{equation}\label{loss} \hat{\mathbf{s}}_\theta(\mathbf{x}(t), t) = \mathbb{E}_{\mathbf{x}(0)\mid \mathbf{x}(t)} \left[\nabla_{\mathbf{x}(t)} \log p_{0t}\left(\mathbf{x}(t) \mid \mathbf{x}(0)\right)\right]. \end{equation}

However, the paper also presents the estimator as:

\begin{equation}\label{score} \hat{\mathbf{s}}_\theta(\mathbf{x}(t), t) = \nabla_{\mathbf{x}(t)} \log p_t(\mathbf{x}(t)) = \nabla_{\mathbf{x}(t)} \log \mathbb{E}_{\mathbf{x}(0)} \left[ p_{0t}\left(\mathbf{x}(t) \mid \mathbf{x}(0)\right)\right] \end{equation}

I am trying to understand why these two expressions for the estimator are equivalent. Can …

Posed by Po-Hung Yeh · pr.probability, probability-distributions, st.statistics, stochastic-differential-equations

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-451877.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-451877.lean

import Mathlib

/-!
# Equivalence of score function expressions in SDE-based generative modeling

Source: https://mathoverflow.net/questions/451877
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_451877

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_451877