How to build a consistency model: Learning flow maps via self-distillation

N. Boffi, M. Albergo, Eric Vanden-Eijnden

arXiv:2505.18825 · 2026-09-12 공개 · arXiv · PDF

diffusion-models self-distillation generative-modeling flow-based-models velocity-field consistency-models eulerian-methods lagrangian-methods

Abstract

Flow-based generative models achieve state-of-the-art sample quality, but require the expensive solution of a differential equation at inference time. Flow map models, commonly known as consistency models, encompass many recent efforts to improve inference-time efficiency by learning the solution operator of this differential equation. Yet despite their promise, these models lack a unified description that clearly explains how to learn them efficiently in practice. Here, building on the methodology proposed in Boffi et. al. (2024), we present a systematic algorithmic framework for directly learning the flow map associated with a flow or diffusion model. By exploiting a relationship between the velocity field underlying a continuous-time flow and the instantaneous rate of change of the flow map, we show how to convert any distillation scheme into a direct training algorithm via self-distillation, eliminating the need for pre-trained teachers. We introduce three algorithmic families based on different mathematical characterizations of the flow map: Eulerian, Lagrangian, and Progressive methods, which we show encompass and extend all known distillation and direct training schemes for consistency models. We find that the novel class of Lagrangian methods, which avoid both spatial derivatives and bootstrapping from small steps by design, achieve significantly more stable training and higher performance than more standard Eulerian and Progressive schemes. Our methodology unifies existing training schemes under a single common framework and reveals new design principles for accelerated generative modeling. Associated code is available at https://github.com/nmboffi/flow-maps.

한국어 요약

한 줄 요약

일관성 모델의 흐름 매핑을 직접 학습하는 알고리즘 프레임워크를 제안하며, 라그랑지안 방법이 훈련 안정성과 성능을 크게 개선한다.

핵심 기여도

핵심 아이디어

일관성 모델은 미분 방정식의 해를 직접 추정하여 추론 속도를 높이지만, 기존 방법은 사전 학습된 모델을 필요로 하는 이중 훈련 파이프라인을 사용한다. 본 연구는 흐름 매핑의 수학적 특성과 속도장(velocity field) 간의 관계를 활용하여, **self-distillation**을 통해 흐름 매핑을 직접 학습할 수 있는 방법을 제시한다. 특히, **Lagrangian 방법**은 공간 및 시간 미분 없이 훈련을 수행함으로써 기존의 Eulerian 및 Progressive 방법보다 안정적이고 높은 성능을 보인다. 이는 높은 차원의 이미지 생성 작업에서 특히 유리하며, 낮은 차원의 데이터셋에서는 높은 차수 미분을 사용하는 것이 유리하다는 통찰을 제공한다.

기술적 접근법

주요 결과

의의 및 한계

본 연구는 일관성 모델의 흐름 매핑 학습을 위한 **통일된 프레임워크**를 제시하여, 기존의 복잡한 이중 훈련 파이프라인을 간소화하고, **사전 학습 모델 없이도 훈련 가능한 새로운 접근법**을 제시한다. 특히, **Lagrangian 방법**은 기존 방법들의 한계를 극복하며, **고차원 이미지 생성에서의 실용성**을 증명한다. 그러나, **LSD가 모든 데이터셋에서 최적**이라는 보장은 없으며, **특정 데이터 특성에 따라 고차 미분이 유리할 수 있음**을 명시적으로 언급하고 있다.

실용적 활용

이 연구는 **실시간 이미지 생성**, **대규모 데이터셋에서의 빠른 추론**, **재료 과학**, **단백질 구조 예측** 등에서 **빠른 샘플링이 요구되는 분야**에 적용 가능하다. 특히, **Lagrangian 방법**은 **복잡한 이미지 생성 작업**에서 **높은 안정성과 성능**을 제공하며, **산업용 AI 모델 개발**에 활용될 수 있다.