Papers
Topics
Authors
Recent
Search
2000 character limit reached

Bezier Distillation

Updated 20 March 2026
  • Bezier Distillation is a knowledge distillation framework that uses Bezier-curve interpolation to integrate multi-teacher guidance in flow-based generative models.
  • It replaces straight-line ODE flows with multi-step Bezier trajectories, mitigating error accumulation and improving convergence.
  • The method enables efficient, high-fidelity mappings in tasks like image synthesis by reducing overall distillation error with fewer model iterations.

Bezier Distillation is a knowledge distillation framework for flow-based generative modeling that leverages Bezier-curve interpolation through intermediate “teacher” distributions to mitigate error accumulation in rectified flows. The method extends conventional rectified flow distillation—where straight-line ODE flows between a base distribution and a target are repeatedly composed and then distilled—by replacing the straight-line coupling with multi-step Bezier trajectories anchored by intermediate rectified flows. This approach allows the student model to efficiently acquire more accurate mappings between source and target distributions with reduced cumulative error, and supports multi-teacher guidance for improved convergence and sample quality (Feng et al., 20 Mar 2025).

1. Foundational Concepts and Motivation

Rectified Flow (Liu et al. 2022) is a family of continuous-time generative models that learn a transport ODE from a base noise distribution T0T_0 (e.g., Gaussian) to a target data distribution T1T_1. The goal is to learn a coupling (transport map) T:RdRdT:\mathbb{R}^d \to \mathbb{R}^d such that T(X0)T1T(X_0)\sim T_1 given X0T0X_0\sim T_0. The ODE is parameterized as

dXtdt=v(Xt,t),Xt=tX1+(1t)X0,t[0,1]\frac{dX_t}{dt} = v(X_t, t), \quad X_t = t X_1 + (1-t) X_0, \quad t\in[0,1]

where vv is a neural “drift” network. The model is trained to minimize

minvt=01EX0,X1[X1X0v(Xt,t)2]dt\min_v \int_{t=0}^1 \mathbb{E}_{X_0,X_1}\Big[\|X_1 - X_0 - v(X_t, t)\|^2\Big] dt

constraining the flow’s tangent to match the straight-line difference X1X0X_1-X_0 along interpolated segments. Models can be further refined by applying kk sequential rectified flows, progressively straightening the induced coupling.

Rectified-flow distillation compresses multiple such rectifications into a single “student” network through supervised regression

T1T_10

allowing direct prediction from T1T_11 to T1T_12 in one pass.

However, iterative rectification leads to error accumulation: the local ODE integration error (T1T_13 per step) and model approximation error compound as T1T_14 increases, often degrading overall mapping fidelity. This motivates methods for reducing distillation error while retaining fast inference (Feng et al., 20 Mar 2025).

2. Bezier-Curve Guided Distillation Framework

Bezier Distillation addresses error compounding by formulating the target flow as an T1T_15th-degree Bezier curve in state space, parameterized by a series of control points T1T_16 corresponding to: the initial sample (T1T_17), one or more intermediate “teacher” distributions (T1T_18), and the final data sample (T1T_19).

The general Bezier curve is given by

T:RdRdT:\mathbb{R}^d \to \mathbb{R}^d0

ensuring smooth, convex-hull-bounded paths between endpoints. The tangent at T:RdRdT:\mathbb{R}^d \to \mathbb{R}^d1 is T:RdRdT:\mathbb{R}^d \to \mathbb{R}^d2—the time derivative of T:RdRdT:\mathbb{R}^d \to \mathbb{R}^d3. The control points T:RdRdT:\mathbb{R}^d \to \mathbb{R}^d4 are generated using teacher rectified flows at specific intermediate times (T:RdRdT:\mathbb{R}^d \to \mathbb{R}^d5): T:RdRdT:\mathbb{R}^d \to \mathbb{R}^d6 where T:RdRdT:\mathbb{R}^d \to \mathbb{R}^d7 is the rectified flow map at time T:RdRdT:\mathbb{R}^d \to \mathbb{R}^d8.

The student network T:RdRdT:\mathbb{R}^d \to \mathbb{R}^d9 is trained to match the velocity of the Bezier curve: T(X0)T1T(X_0)\sim T_10 The loss reduces to earlier rectified-flow objectives when T(X0)T1T(X_0)\sim T_11, and admits quadratic (one teacher) and cubic (two teachers) specializations detailed below.

Quadratic (Degree-2) Path

  • Control points: T(X0)T1T(X_0)\sim T_12, T(X0)T1T(X_0)\sim T_13, T(X0)T1T(X_0)\sim T_14
  • Bezier trajectory: T(X0)T1T(X_0)\sim T_15
  • Tangent: T(X0)T1T(X_0)\sim T_16
  • Loss: T(X0)T1T(X_0)\sim T_17

Cubic (Degree-3) Path, Multi-Teacher

  • Control points: T(X0)T1T(X_0)\sim T_18, T(X0)T1T(X_0)\sim T_19, X0T0X_0\sim T_00, X0T0X_0\sim T_01
  • Cubic curve and tangent as in Eqs. (8)-(9) of (Feng et al., 20 Mar 2025) with corresponding multi-teacher loss.

The framework generalizes to arbitrary degree X0T0X_0\sim T_02, with teachers and control points at associated times X0T0X_0\sim T_03.

3. Multi-Teacher Distillation Design

Bezier Distillation is inherently a multi-teacher knowledge distillation method. Each teacher consists of a (possibly multi-step) rectified flow map X0T0X_0\sim T_04 producing a distribution X0T0X_0\sim T_05. Teacher guidance is realized by providing intermediate couplings, allowing the Bezier student to interpolate along more accurate and smooth paths compared to piecewise straight line or high-step rectified-flow distillation.

The student network is a parameterized vector field X0T0X_0\sim T_06. At inference, trajectories are produced by numerically solving the ODE: X0T0X_0\sim T_07 from X0T0X_0\sim T_08 (X0T0X_0\sim T_09) towards dXtdt=v(Xt,t),Xt=tX1+(1t)X0,t[0,1]\frac{dX_t}{dt} = v(X_t, t), \quad X_t = t X_1 + (1-t) X_0, \quad t\in[0,1]0 (dXtdt=v(Xt,t),Xt=tX1+(1t)X0,t[0,1]\frac{dX_t}{dt} = v(X_t, t), \quad X_t = t X_1 + (1-t) X_0, \quad t\in[0,1]1), requiring only a single (or few) function calls for fast sampling.

The objective can incorporate additional regularization or teacher-consistency terms: dXtdt=v(Xt,t),Xt=tX1+(1t)X0,t[0,1]\frac{dX_t}{dt} = v(X_t, t), \quad X_t = t X_1 + (1-t) X_0, \quad t\in[0,1]2 This provides a direct route for integrating multiple knowledge sources and controlling the tradeoff between teacher fidelity and student generalization.

4. Error Accumulation and Numerical Analysis

Standard rectified-flow distillation is sensitive to numerical errors accrued across repeated ODE solutions. Given integrator step size dXtdt=v(Xt,t),Xt=tX1+(1t)X0,t[0,1]\frac{dX_t}{dt} = v(X_t, t), \quad X_t = t X_1 + (1-t) X_0, \quad t\in[0,1]3 and order dXtdt=v(Xt,t),Xt=tX1+(1t)X0,t[0,1]\frac{dX_t}{dt} = v(X_t, t), \quad X_t = t X_1 + (1-t) X_0, \quad t\in[0,1]4, the per-step discretization error is dXtdt=v(Xt,t),Xt=tX1+(1t)X0,t[0,1]\frac{dX_t}{dt} = v(X_t, t), \quad X_t = t X_1 + (1-t) X_0, \quad t\in[0,1]5, and with dXtdt=v(Xt,t),Xt=tX1+(1t)X0,t[0,1]\frac{dX_t}{dt} = v(X_t, t), \quad X_t = t X_1 + (1-t) X_0, \quad t\in[0,1]6 rectifications, the cumulative deviation scales as dXtdt=v(Xt,t),Xt=tX1+(1t)X0,t[0,1]\frac{dX_t}{dt} = v(X_t, t), \quad X_t = t X_1 + (1-t) X_0, \quad t\in[0,1]7: dXtdt=v(Xt,t),Xt=tX1+(1t)X0,t[0,1]\frac{dX_t}{dt} = v(X_t, t), \quad X_t = t X_1 + (1-t) X_0, \quad t\in[0,1]8 The student’s final error inherits this accumulation in expectation: dXtdt=v(Xt,t),Xt=tX1+(1t)X0,t[0,1]\frac{dX_t}{dt} = v(X_t, t), \quad X_t = t X_1 + (1-t) X_0, \quad t\in[0,1]9 with model fitting error vv0. As vv1 increases (for more accurate straightening), the effect of accumulated error outweighs the benefits of more “rectified” couplings, leading to suboptimal student performance.

Bezier Distillation alleviates this by interpolating through intermediate distributions generated by finite (limited) application of teacher flows, avoiding direct dependence on repeatedly composed, error-prone mappings. This results in a more robust student with reduced total error.

5. Training Procedure and Pseudocode

Training proceeds by constructing batches of Bezier-curve paths through control points generated by teacher flows. At each iteration:

  1. Sample noise vectors vv2 from vv3.
  2. For each teacher vv4, compute vv5.
  3. Sample vv6 uniformly in vv7, and construct Bezier point vv8 with control points vv9, minvt=01EX0,X1[X1X0v(Xt,t)2]dt\min_v \int_{t=0}^1 \mathbb{E}_{X_0,X_1}\Big[\|X_1 - X_0 - v(X_t, t)\|^2\Big] dt0, ..., minvt=01EX0,X1[X1X0v(Xt,t)2]dt\min_v \int_{t=0}^1 \mathbb{E}_{X_0,X_1}\Big[\|X_1 - X_0 - v(X_t, t)\|^2\Big] dt1.
  4. Compute tangent minvt=01EX0,X1[X1X0v(Xt,t)2]dt\min_v \int_{t=0}^1 \mathbb{E}_{X_0,X_1}\Big[\|X_1 - X_0 - v(X_t, t)\|^2\Big] dt2 at minvt=01EX0,X1[X1X0v(Xt,t)2]dt\min_v \int_{t=0}^1 \mathbb{E}_{X_0,X_1}\Big[\|X_1 - X_0 - v(X_t, t)\|^2\Big] dt3.
  5. Compute network output minvt=01EX0,X1[X1X0v(Xt,t)2]dt\min_v \int_{t=0}^1 \mathbb{E}_{X_0,X_1}\Big[\|X_1 - X_0 - v(X_t, t)\|^2\Big] dt4 and loss minvt=01EX0,X1[X1X0v(Xt,t)2]dt\min_v \int_{t=0}^1 \mathbb{E}_{X_0,X_1}\Big[\|X_1 - X_0 - v(X_t, t)\|^2\Big] dt5.
  6. Update parameters: minvt=01EX0,X1[X1X0v(Xt,t)2]dt\min_v \int_{t=0}^1 \mathbb{E}_{X_0,X_1}\Big[\|X_1 - X_0 - v(X_t, t)\|^2\Big] dt6.

At test time, minvt=01EX0,X1[X1X0v(Xt,t)2]dt\min_v \int_{t=0}^1 \mathbb{E}_{X_0,X_1}\Big[\|X_1 - X_0 - v(X_t, t)\|^2\Big] dt7 is integrated from minvt=01EX0,X1[X1X0v(Xt,t)2]dt\min_v \int_{t=0}^1 \mathbb{E}_{X_0,X_1}\Big[\|X_1 - X_0 - v(X_t, t)\|^2\Big] dt8 to minvt=01EX0,X1[X1X0v(Xt,t)2]dt\min_v \int_{t=0}^1 \mathbb{E}_{X_0,X_1}\Big[\|X_1 - X_0 - v(X_t, t)\|^2\Big] dt9 starting at X1X0X_1-X_00. The complete pseudocode is verbatim in (Feng et al., 20 Mar 2025).

6. Reported Empirical Observations and Open Issues

The available draft states that Bezier Distillation outperforms standard rectified-flow distillation with fewer iterations, achieves improved sample quality versus single- or two-step baselines, and exhibits strong performance in image-to-image translation tasks. The manuscript, however, does not specify:

  • Benchmark datasets (e.g., ImageNet, CIFAR-10, CelebA).
  • Quantitative performance metrics (e.g., FID, IS, PSNR, SSIM).
  • Detailed comparative results (baseline scores, number of function calls).
  • Ablation over curve degree (X1X0X_1-X_01) and number of teachers.

The mathematical and algorithmic formulation provided facilitates reproducibility and independent benchmarking on standard image synthesis and translation datasets, allowing direct comparison with both classical rectified-flow models and alternative distillation or acceleration approaches.

7. Context and Significance

Bezier Distillation generalizes the distillation paradigm in ODE-based generative modeling by integrating multi-teacher supervision through Bezier-curve interpolation, providing a smoother and more robust framework for compressing deep generative flows. The formulation admits straightforward generalization to arbitrary interpolation paths and arbitrarily many teachers, and can be combined with existing consistency regularizers. A plausible implication is improved efficiency in sample synthesis and accelerated convergence for high-fidelity generative modeling, especially as multi-teacher and geometric guidance techniques gain prominence in diffusion and flow-based generative learning (Feng et al., 20 Mar 2025). Experimental completion and independent evaluation remain open for further confirmation and quantitative assessment.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)
1.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Bezier Distillation.