← Latest papers
🤖 machine learning

Curriculum Sampling: A Two-Phase Curriculum for Efficient Training of Flow Matching

This paper introduces Curriculum Sampling, a two-phase training strategy for Flow Matching models that initially employs middle-biased timestep sampling for rapid structure learning and subsequently switches to Uniform sampling for boundary refinement, thereby achieving superior image quality and faster convergence on CIFAR-10 compared to static sampling methods.

Original authors: Pengwei Sun

Published 2026-03-16
📖 4 min read☕ Coffee break read

Original authors: Pengwei Sun

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are teaching a robot to paint a masterpiece, but you can only show it one brushstroke at a time. The robot has to learn how to turn a blank canvas (noise) into a perfect picture (data) by following a specific path of instructions.

This paper is about how to schedule those instructions to teach the robot the fastest and best way possible.

Here is the story of the paper, broken down into simple concepts:

1. The Problem: The "Middle-Heavy" Trap

In the world of AI image generation (specifically "Flow Matching"), the robot learns by looking at the painting process at different stages, from the very beginning (pure noise) to the very end (the finished image).

For a long time, researchers thought the best way to teach the robot was to focus heavily on the middle of the process.

  • The Analogy: Imagine you are teaching someone to drive a car. You spend 90% of the lesson driving on a straight, empty highway (the middle). It feels easy, the car handles well, and the student learns quickly how to steer and accelerate.
  • The Flaw: But you never practice the hard parts: the very first moment of starting the engine (the noise) or the very last moment of parking the car perfectly in a tight spot (the final details).
  • The Result: The robot learns the "flow" of the image quickly, but the final picture looks a bit blurry or has weird artifacts because it never practiced the tricky start and finish.

2. The Discovery: The "U-Shaped" Difficulty

The authors looked closely at where the robot made mistakes. They found a pattern they call a "U-shaped difficulty profile."

  • The Middle: The middle of the painting process is easy. The robot gets it right almost immediately.
  • The Ends: The beginning (turning noise into a shape) and the end (sharpening the final details) are incredibly hard. The robot keeps making mistakes there.
  • The Insight: If you keep focusing on the easy middle part, you waste time. If you focus only on the hard ends, you never learn the big picture. You need both.

3. The Solution: "Curriculum Sampling"

The authors propose a new teaching strategy called Curriculum Sampling. Think of this as a two-phase training camp for the robot.

Phase 1: The "Big Picture" Sprint

  • The Strategy: Start by focusing on the middle (the highway driving).
  • Why: This helps the robot learn the general structure of the image very quickly. It's like learning the rules of the road and how to steer. The robot gets good at the "flow" fast.
  • The Analogy: This is the "sprint" phase where you build speed and confidence.

Phase 2: The "Detail" Refinement

  • The Strategy: Once the robot understands the big picture, switch gears. Now, focus equally on everything, especially the hard start and finish lines.
  • Why: This forces the robot to go back and fix those blurry edges and weird noises it ignored earlier. It's like practicing parallel parking and starting from a stop sign until you can do it perfectly.
  • The Analogy: This is the "polishing" phase where you fix the tiny details that make the difference between a "good" painting and a "great" one.

4. The Results: Faster and Better

By using this two-step plan, the authors achieved two amazing things on a standard test (CIFAR-10 images):

  1. Higher Quality: The final images were much sharper and more realistic. They improved the quality score by 16% compared to the old standard method.
  2. Faster Training: The robot reached its peak performance in 33% less time. It didn't need to practice as long to get good at the details because it learned the structure first.

The Takeaway

The main lesson of this paper is that how you schedule your practice matters just as much as what you practice.

You shouldn't treat the training schedule as a fixed rule (like "always focus on the middle"). Instead, you should treat it like a curriculum:

  1. Start with what's easy to build a foundation.
  2. Switch to what's hard to perfect the details.

It's the difference between a student who just reads the middle chapters of a textbook and one who reads the whole book, starting with the easy chapters to get the gist, and then re-reading the difficult chapters to master the subject.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →