Entropy-Controlled Flow Matching (ECFM)
- Entropy-Controlled Flow Matching (ECFM) is a variational framework that integrates an entropy-rate constraint into flow matching, effectively preventing transient mode collapse and ensuring comprehensive semantic mode coverage.
- It employs convex minimization in Wasserstein space along with KKT conditions and the Pontryagin framework to regulate drift fields and the evolution of differential entropy.
- ECFM bridges optimal transport, Schrödinger bridge problems, and KL-control, offering practical guarantees such as certified lower bounds on mode masses and Lipschitz stability under perturbations.
Entropy-Controlled Flow Matching (ECFM) is a constrained variational framework for transporting probability measures in generative modeling, with a strict control on the entropy evolution along the induced path. ECFM introduces a global entropy-rate constraint to conventional flow matching, directly regulating information geometry during the transformation between distributions. This prevents transient mode collapse and ensures robust coverage over semantic modes, in contrast to standard unconstrained flow matching formulations, which may induce pathological low-entropy bottlenecks. ECFM is formulated as a convex minimization in Wasserstein space, with rigorous links to optimal transport, Schrödinger bridge problems, and stochastic control theory (Maduabuchi, 25 Feb 2026).
1. Variational Principle and Entropy Constraint in Wasserstein Space
Let , be probability measures corresponding to the initial and terminal distributions. Let denote a reference drift field (teacher). The class of admissible continuity-equation curves is: With differential entropy for absolutely continuous , the entropy rate evolves as . ECFM introduces a uniform lower bound: The primal ECFM problem is: where denotes flows satisfying both the continuity equation and the entropy-rate budget.
2. KKT Conditions, Pontryagin System, and Convexity
Enforcement of the entropy-rate constraint leads to additional dual variables. The Lagrange multiplier handles the entropy constraint, and the adjoint costate potential is conjugate to the continuity equation. The resulting KKT (Karush-Kuhn-Tucker) system (Theorem 4.1) comprises:
- Primal feasibility:
- Stationarity in :
- Complementarity conditions:
- Weak-form adjoint (costate) equation:
for all test functions .
In flux variables (), this also realizes the Pontryagin Maximum Principle. The Hamiltonian density is
The system is convex in due to the quadratic kinetic energy term.
3. Stochastic Control and Schrödinger Bridge Connections
The stochastic control formulation introduces a reference path law for the process . The dynamic Schrödinger bridge problem minimizes the relative entropy: Using Girsanov's theorem, a controlled law with drift yields
Defining current velocity as for , minimization of the ECFM functional reduces, up to an explicit entropy/Fisher correction, to minimizing KL-control in this setup. In the pure transport regime ( or ), this correction vanishes and ECFM exactly recovers the Schrödinger bridge/KL-control problem (Maduabuchi, 25 Feb 2026).
4. Entropic Optimal Transport and -Convergence
With vanishing reference drift (), ECFM specializes to a constrained kinetic action: which, via correspondence, matches the entropic optimal transport (entropic-OT) geodesic at an implicit regularization . There is a one-to-one mapping between the entropy budget and the entropic regularization parameter .
As , the ECFM functional -converges to the classic Benamou–Brenier optimal transport action: demonstrating that ECFM interpolations converge to classical OT geodesics as the entropy constraint is relaxed.
5. Mode Coverage, Density Floors, and Lipschitz Stability
ECFM provides explicit, certified lower bounds for mode masses and density floors along the entire transport trajectory. For disjoint sets in (semantic modes), with mode masses , ECFM guarantees under the entropy-rate constraint (Theorem 7.1): If each mode contains a compact core where initial and final densities are positive, then for and : The framework is Lipschitz-stable: under small perturbations of endpoints, reference drift, entropy budget, or additive noise, all lower floors degrade at most linearly in the perturbation size, and the path evolves Lipschitz-continuously in .
6. Collapse Counterexamples and Limitations of Unconstrained Flow Matching
Constructed examples in one dimension define flow maps that compress mixture-distributed endpoints into a transient bottleneck, holding the mass near a point before re-expanding it to the target . These flows fulfill the continuity equation and match endpoints, with near-zero flow-matching loss, yet the path densities collapse to a Dirac at intermediate times, causing semantic mode loss. The entropy rate during contraction, violating any finite ECFM budget. No uniform lower bounds for mode masses or densities exist in standard, unconstrained flow matching, highlighting the necessity of controlled entropy.
7. Practical Algorithm and Certification Procedure
Algorithm 1 (primal–dual with augmented Lagrangian) operationalizes ECFM for training parameterized flows:
1 2 3 4 5 6 7 8 9 10 11 12 |
Algorithm: ECFM Primal–Dual Training Input: time grid {t_n}, budgets {λ_n}, penalty ρ>0, step‐sizes α,β Initialize θ⁰, multipliers η⁰_n←0 for k=0,1,2,… do Sample minibatches {x_{i,n}∼μ^{θ^k}_{t_n} Estimate entropy‐rate: Ĥ̇_n = (1/B)∑ₙ div v_{θ^k}(x_{i,n},t_n) (or FP form) Residual g_n = −Ĥ̇_n − λ_n Aug‐Lagrangian loss L_AL(θ,η) = L_FM(θ) + ∑_n[η_n g_n + (ρ/2)(g_n)₊²] θ^{k+1} ← θ^k − α ∇_θ L_AL(θ^k,η^k) η_n^{k+1} ← [η_n^k + β g_n(θ^{k+1})]_+ end for |
Here, . Divergences may be estimated using automatic differentiation (JVPs/Hutchinson trace) or via Fokker-Planck score identities. The entropy budget can be uniform or adapted online. At test time, certification involves estimating the empirical entropy rate and its lower confidence bound to verify compliance with the entropy constraint, and computing mode masses with statistical confidence. These combine to provide a verifiable, architecture-agnostic anti-collapse mechanism.
For theorems, technical proofs, and further implementation specifics, see (Maduabuchi, 25 Feb 2026).