1 of 27

Dogyun Park, Sojin Lee, Sihyeon Kim, Taehoon Lee, Youngjoon Hong, Hyunwoo J. Kim†

Constant Acceleration Flow

Machine Learning and Vision Lab

Computer Science and Engineering

Korea University

1

Korea University

MLV Lab

NeurIPS 2024

2 of 27

Preliminary: Rectified Flow

 

 

 

 

 

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

3 of 27

Preliminary: Rectified Flow

 

 

 

 

 

 

Single-step generation!

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

4 of 27

Preliminary: Rectified Flow

✔︎ Simulation-free training framework.

 

 

 

 

 

 

 

 

 

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

5 of 27

 

Preliminary: Rectified Flow

✔︎ Simulation-free training framework.

 

 

 

 

 

 

 

 

 

 

 

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

6 of 27

Preliminary: Rectified Flow

✔︎ Flow crossing

 

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

7 of 27

Preliminary: Rectified Flow

✔︎ Flow crossing

✔︎ Reflow procedure

  • Use a pre-trained model (e.g., 1-Rectified Flow) to generate deterministic coupling.

  • Train 2-Rectified Flow on the generated deterministic coupling.

  • The reflow procedure has been shown to straighten trajectories, improving single-step generation.

 

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

8 of 27

Preliminary: Rectified Flow

✔︎ Limitations

  • Problem 1. Relying solely on velocity to estimate complex transformations between distributions may restrict expressivity and limit the model’s performance.

  • Problem 2. Despite reflow, flow crossings can still occur, resulting in suboptimal outcomes for single-step sampling.

Results of 2-Rectified Flow (N=2) on 2D synthetic data.

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

9 of 27

Method: Constant Acceleration Flow

✔︎ Constant Acceleration Flow Ordinary Differential Equation (ODE)

 

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

10 of 27

Method: Constant Acceleration Flow

✔︎ Constant Acceleration Flow Ordinary Differential Equation (ODE)

 

Single-step sampling!

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

11 of 27

Method: Constant Acceleration Flow

✔︎ Constant Acceleration Flow Ordinary Differential Equation (ODE)

 

Single-step sampling!

 

Rectified flow sampling

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

12 of 27

Method: Constant Acceleration Flow

✔︎ Constant Acceleration Flow Ordinary Differential Equation (ODE)

 

 

Single-step sampling!

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

13 of 27

Method: Constant Acceleration Flow

✔︎ Constant Acceleration Flow Ordinary Differential Equation (ODE)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

14 of 27

Method: Constant Acceleration Flow

 

 

 

 

 

 

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

15 of 27

Method: Constant Acceleration Flow

✔︎ Flow dynamics of CAF ODE

 

(A)

(B)

(C)

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

16 of 27

Method: Constant Acceleration Flow

✔︎ Addressing flow crossing problem

  • Initial Velocity Conditioning (IVC)

 

< Without IVC >

< With IVC >

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

17 of 27

Method: Constant Acceleration Flow

✔︎ Overall training pipeline

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

18 of 27

Method: Constant Acceleration Flow

✔︎ Sampling

✔︎ Inversion

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

19 of 27

Experiments: 2D-Toy

2-Rectified Flow (N=2)

CAF (ours) h=2

CAF (ours) h=1

CAF (ours) h=0.5

✔︎ Results on 2D Gaussian mixture distribution

  • CAF clearly demonstrate more accurate single-step generation compared to Rectified Flow.

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

20 of 27

Experiments: Real-data Experiments

✔︎ Results on Cifar-10 and ImageNet 64x64

  • Achieves better or comparable performance compared to state-of-the-art models.

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

21 of 27

Experiments: Qualitative results

✔︎ Qualitative results on Cifar-10

  • CAF clearly generates more vivid and realistic images compared to Rectified Flow.

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

22 of 27

Analysis: Ablation study

✔︎ Ablation study on Cifar-10

  • Config (B) vs. Config (C) demonstrates effectiveness of constant acceleration modeling.

  • Config (C) vs. Config (D) demonstrates effectiveness of IVC.

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

23 of 27

Analysis: Coupling Preservation

✔︎ Property of CAF

 

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

24 of 27

Analysis: Few-step Inversion

✔︎ Property of CAF

Ground Truth

Reconstruction (N=1)

  • CAF also demonstrates accurate single-step reconstruction using inversion, making it highly efficient for real-world applications such as image editing.

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

25 of 27

Analysis: Zero-shot box Inpainting

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

26 of 27

Conclusion

  • Constant Acceleration Flow (CAF) introduces a novel ODE framework, enhancing Rectified Flow with a constant acceleration term for improved accuracy.

  • We introduce two additional techniques, Initial Velocity Conditioning (IVC) and reflow for initial velocity, effectively addressing the flow-crossing problem.

  • CAF demonstrates superior performance in single-step generation, highlighting its efficacy and efficiency.

  • With excellent coupling preservation and efficient few-step inversion, CAF is highly suitable for practical applications, such as image editing, where precision and speed are essential.

MLV Lab

Korea University

MLV Lab

NeurIPS 2024

27 of 27

Thank you.

Github

Paper

27

Korea University

MLV Lab

NeurIPS 2024