△ Mechanism confirmed, baseline not beaten 2026

OT-Sufficient Bottleneck Flow Matching

Implementation & benchmark of arXiv:2607.18861 — Learning sufficient low-dimensional structures through conditional optimal transport

Usefulness7/10
Difficulty6/10
Novelty6/10

Source paper: Learning sufficient low-dimensional structures through conditional optimal transport arXiv:2607.18861 ⓘ · analyzed Aug 30, 2026

AI-generated research hypothesis, automatically tested. Not peer-reviewed.

Idea description

Replace a conventional regression bottleneck with an encoder whose representation is trained to preserve the conditional law of the target through conditional optimal transport. The encoder produces a low-dimensional z, while a conditional velocity field transports a fixed reference distribution into the observed target distribution given z; minimizing flow-matching error forces z to retain multimodality, conditional variance, and other distributional information.

Formulas

$$Y\mathrel{\perp\!\!\!\perp}X\mid B^{T}X$$
$$\pi_z^*\in\arg\min_{\pi\in\Pi(\mu_0,\mu_{1\mid z})}\mathbb{E}_{(Y_0,Y_1)\sim\pi}\left[\|Y_1-Y_0\|^2\right]$$
$$Y_t=(1-t)Y_0+tY_1,\qquad U_t=\frac{dY_t}{dt}=Y_1-Y_0$$
$$\mathcal{L}_{\mathrm{OT\text{-}FM}}(\theta,\phi)=\mathbb{E}\left[\left\|v_\theta\!\left(t,(1-t)Y_0+tY_1,r_\phi(X)\right)-(Y_1-Y_0)\right\|^2\right]+\beta\mathcal{L}_{\mathrm{res}}$$

Mathematical statement

The paper's sufficient-reduction target is conditional independence, $Y\mathrel{\perp\!\!\!\perp}X\mid B^{T}X$, where $X$ is the covariate, $Y$ is the response, and $B^{T}X$ is a low-dimensional representation. Let $r_\phi(X)=Z\in\mathbb{R}^d$ be a learned reduction, let $\mu_0$ be a fixed reference law for an auxiliary variable $Y_0$, and let $\mu_{1\mid z}=\mathcal{L}(Y\mid Z=z)$ be the conditional target law. For quadratic cost, the conditional optimal coupling is $\pi_z^*\in\arg\min_{\pi\in\Pi(\mu_0,\mu_{1\mid z})}\mathbb{E}\|Y_1-Y_0\|^2$, where $\Pi(\mu_0,\mu_{1\mid z})$ is the set of couplings with those marginals. Its displacement interpolation is $Y_t=(1-t)Y_0+tY_1$, with velocity $U_t=Y_1-Y_0$. The paper's factorization result says the current-state velocity can depend on $Y_t,t,z$ rather than the full $X$. Train $v_\theta$ with $\mathbb{E}\|v_\theta(t,Y_t,r_\phi(X))-(Y_1-Y_0)\|^2$. For minibatches, approximate conditional couplings with entropic OT: $P^*=\arg\min_{P\in\mathcal{U}(a,b)}\langle P,C+\lambda R,P\rangle-\varepsilon H(P)$, where $P$ is a nonnegative transport matrix, $a,b$ are source and target marginals, $C_{ij}=\|y^1_j-y^0_i\|^2$, $R_{ij}=\rho(z_j,z_i)$ is a representation-locality cost, $\lambda$ controls conditional locality, $\varepsilon>0$ is Sinkhorn entropy regularization, and $H(P)=-\sum_{ij}P_{ij}\log P_{ij}$. The coupling and flow objective are used to preserve the full conditional law rather than only the conditional mean.

Implementation notes

1. Integration point: replace a standard supervised regression head, or add this objective to an encoder-decoder model. For each minibatch of covariates X and targets Y, compute a low-dimensional representation Z=r_phi(X) with dimension d much smaller than the input dimension. A conditional flow network v_theta receives (t,Y_t,Z) and predicts the transport velocity. At inference, draw Y_0 from a reference distribution such as N(0,I), then solve dY/dt=v_theta(t,Y,Z) using Euler or Heun steps. 2. Pseudocode: sample {(x_j,y_j)}; calculate z_j=r_phi(x_j); draw reference points y0_i; calculate C_ij=||y_j-y0_i||^2 and R_ij=||z_j-z_i||^2/(mean pairwise z-distance+delta); run Sinkhorn on exp(-(C+lambda R)/epsilon) to obtain P; sample or weight pairs (i,j) according to P; draw t uniformly from [0,1]; set yt=(1-t)y0_i+t y_j and u=y_j-y0_i; minimize ||v_theta(t,yt,z_j)-u||^2 and backpropagate through the encoder, optionally stopping gradients through P for stability. 3. The interpolation, quadratic cost, and Sinkhorn coupling come from the mathematical construction; epsilon, lambda, beta, bottleneck dimension d, and integration steps are estimated or selected empirically. 4. First experiment: construct a two-dimensional synthetic X with one true sufficient coordinate, an independent nuisance coordinate, and a bimodal or heteroscedastic Y conditional on the sufficient coordinate. Compare against a linear SDR bottleneck and an MLP trained with MSE at equal bottleneck size. Evaluate held-out conditional sliced Wasserstein distance, distributional log likelihood, mode coverage, and sensitivity to nuisance perturbations. Success means lower conditional Wasserstein error, preserved bimodality, and unchanged predictions when nuisance coordinates are randomized, without sacrificing training speed by more than the Sinkhorn overhead.

Verification

Mechanism confirmed, baseline not beaten

Stage 1 · Toy mechanism gate: Passed ✓

Stage 2 · Mechanism transferred to benchmark: Confirmed ✓

Stage 2 · Practical benchmark result: Significantly worse ✗

Methodology: 8 paired seeds, permutation test (p<0.05) against a learning-rate-tuned baseline. How verification works

Stage 1 — Mechanism check agent confidence 8/10

Built and ran a compact OT flow-matching MVP on a synthetic bimodal conditional target. The core math checks passed: sorted 1D OT cost was 0.1475 versus 2.1125 for a random coupling, and the interpolation velocity derivative error was 6.8e-4. The required mechanism sweeps were confirmed: at epsilon=0.16, paired representation cost decreased from 0.8315 to 0.0048 as lambda increased from 0 to 8; at lambda=8, it increased from 0.00082 to 0.0173 as epsilon increased from 0.06 to 0.4. Flow matching improved held-out W1 from 0.443 at lambda=0 to 0.172 at lambda=8, versus about 1.00 for deterministic MSE, with mode coverage 0.908.

Agent confidence
8/10
Baseline
Deterministic MSE bottleneck: held-out W1 1.0061 with lambda=0 comparison and 1.0033 with lambda=8 comparison; it cannot represent the bimodal conditional law.
Idea
OT flow matching: held-out W1 0.4430 with lambda=0 and 0.1716 with lambda=8; mode coverage 0.8511 and 0.9082 respectively. Sinkhorn paired-R at epsilon=0.16 for lambda 0, 0.5, 2, 8 was 0.8315, 0.1029, 0.0239, 0.0048. At lambda=8, paired-R for epsilon 0.06, 0.16, 0.4 was 0.00082, 0.00480, 0.01733.

Limitations: This toy experiment uses the true sufficient coordinate as the flow representation rather than jointly learning an encoder, so it verifies the OT/locality and conditional-law mechanism but not end-to-end sufficient-reduction discovery. Multiple random seeds, likelihood, FLOP-normalized timing, real data, and differentiating through Sinkhorn were not tested.

How to run: python3 ot_sufficient_flow.py

Stage 2 — Benchmark vs. tuned baseline (arXiv:2607.18861)

Significantly WORSE than the tuned baseline (+109.3%, p=0.0081, wins 0 / 8 paired seeds).

Benchmark
Conditional multi-token diffusion
Model
shared_encoder_mlp
Paired seeds
8
Baseline mean
0.3607
Idea mean
0.7549
Effect (Δ)
0.3942 (+109.3%; negative = idea better)
Wins
0 / 8 paired seeds
p-value
0.0081 (permutation test, 20 000 shuffles)
Smallest detectable effect
±13.0%
Mechanism
Confirmed ✓
Practical effect
Hurts
Baseline tuning
swept over 3 configs
Limitations:

Used 400 training and 400 test examples, 12 epochs, batch size 64, a 1-D bottleneck, 25 Euler steps, and three lambda values. Larger models, longer training, alternate flow parameterizations, likelihood/Wasserstein secondary metrics, and real-world data were not tested.

How to run: python3 ot_registered_bench.py

Verdict computed by deterministic test code from paired-seed statistics — not by the language model.

Stage 2 — Benchmark latest Failed ✗

Agent confidence: 10/10

The registered conditional_multitoken_diffusion benchmark was rerun with 8 paired seeds, a tuned baseline sweep, and three idea locality settings. The mechanism signature was confirmed, but OT flow matching was significantly worse on the standard test MSE: 0.7549 versus 0.3607, paired delta +0.3942, permutation p=0.0081. The protocol therefore requires worked=false.

Baseline
Mean test MSE 0.3607390486 over 8 seeds; tuned lr=0.01 after sweep [0.001, 0.003, 0.01].
Idea
Mean test MSE 0.7549030110 over 8 seeds; best lambda=8.0 at lr=0.01. Paired delta +0.3941639625, p=0.0081; idea worse significantly.

Benchmark result

Significantly WORSE than the tuned baseline (+109.3%, p=0.0081, wins 0 / 8 paired seeds).

Benchmark
Conditional multi-token diffusion
Model
shared_encoder_mlp
Paired seeds
8
Baseline mean
0.3607
Idea mean
0.7549
Effect (Δ)
0.3942 (+109.3%; negative = idea better)
Wins
0 / 8 paired seeds
p-value
0.0081 (permutation test, 20 000 shuffles)
Smallest detectable effect
±13.0%
Mechanism
Confirmed ✓
Practical effect
Hurts
Baseline tuning
swept over 3 configs
Limitations:

Used 400 training and 400 test examples, 12 epochs, batch size 64, a 1-D bottleneck, 25 Euler steps, and three lambda values. Larger models, longer training, alternate flow parameterizations, likelihood/Wasserstein secondary metrics, and real-world data were not tested.

How to run: python3 ot_registered_bench.py

Artifacts

Implementation overview ⬇ Download all as ZIP 7 files · code, reports and structured results