HyperAIHyperAI

Command Palette

Search for a command to run...

DanceOPD: 온-정책 생성 필드 증류

초록

현대 이미지 생성은 텍스트-이미지(T2I), 로컬 편집, 글로벌 편집을 포함한 다양한 기능을 통합하는 단일 모델을 요구합니다. 그러나 이러한 기능들은 자연스럽게 정렬되기 어렵고 종종 충돌합니다. 예를 들어, 편집 작업은 T2I 성능을 저하시키는 경향이 있으며, 글로벌 편집과 로컬 편집은 서로 간섭합니다. 따라서 이러한 기능들을 효과적으로 조합하는 것은 이미지 생성 모델 학습의 핵심 과제가 되었습니다. 이를 해결하기 위해, 우리는 flow-matching 모델을 위한 온-폴리시(on-policy) 생성 필드 증류 프레임워크인 DanceOPD를 제안합니다. 이 프레임워크는 각 샘플을 하나의 기능 필드로 라우팅하고, 하나의 저잡음(student-induced) 상태를 쿼리하며, 간단한 속도 MSE 목적 함수로 학습합니다. 각 기능 소스를 공유 흐름 상태 공간 상의 속도 필드로 정의함으로써, 학생 모델은 자신의 롤아웃 상태에 대해 쿼리된 필드로부터 학습하여 전문가 수준의 기능을 조합합니다. 이러한 수식화는 classifier-free guidance와 같은 연산자 정의 필드도 흡수합니다. T2I, 편집, 현실성 필드 흡수, CFG 흡수에 대한 포괄적인 실험 결과는 우리의 접근법이 다기능 조합을 개선하며, 앵커 생성 품질을 유지하면서 목표 기능을 강화함을 보여줍니다. 본 연구가 flow-matching 모델에서의 생성 필드 증류를 위한 실용적인 경로를 제시한다고 믿습니다.

One-sentence Summary

DanceOPD is an on-policy generative field distillation framework for flow-matching models that routes each sample to a specific capability velocity field, queries student-induced states during rollouts, and trains via a velocity mean squared error objective to unify text-to-image generation with local and global editing while preserving anchor generation quality, as validated across T2I, editing, realism-field, and classifier-free guidance experiments.

Key Contributions

  • This work introduces DanceOPD, an on-policy generative field distillation framework that unifies text-to-image generation, local editing, and global editing within a single flow-matching model by treating each capability as a frozen velocity field over a shared state space.
  • Cross-capability conflicts are resolved through hard field routing and a single semantic-side low-noise query on the student rollout, optimizing with a velocity MSE objective to provide direct supervision without relying on dense reward optimization or parameter merging.
  • Comprehensive experiments on text-to-image generation, editing, realism-field absorption, and classifier-free guidance absorption demonstrate that the framework composes multiple capabilities, strengthening target performance while preserving baseline generation quality and surpassing individual teacher models.

Introduction

Modern image generation increasingly relies on flow-matching models that must handle multiple capabilities like text-to-image synthesis, local editing, and global style transformation within a single deployed system. This unified approach matters because it eliminates the need for specialized tools and streamlines complex creative workflows. However, these tasks are inherently misaligned and frequently interfere with one another. Prior approaches that rely on joint training, parameter merging, or adapter composition often suffer from gradient conflicts, diluted supervision, or compromised generation quality. The authors leverage on-policy generative field distillation to resolve this by routing samples to specialized velocity fields and training a unified student model through a simple velocity mean squared error objective. This framework enables the model to compose expert capabilities, absorb external guidance operators, and maintain strong baseline performance without the interference typical of conventional multi-task training.

Dataset

  • Dataset composition and sources: The authors do not provide dataset composition or source information in the provided excerpt, which only lists author names and institutional affiliations.
  • Key details for each subset: No subset sizes, origins, or filtering rules are described in the text.
  • How the paper uses the data: The authors do not specify training splits, mixture ratios, or processing pipelines in the provided content.
  • Cropping strategy and processing details: The excerpt lacks any mention of cropping strategies, metadata construction, or additional processing steps.

Method

The authors formulate multi-capability image generation as an on-policy generative field distillation framework. Rather than combining frozen capability sources through static parameter interpolation or data-ratio tuning, each source is treated as a deterministic velocity field over a shared generative state space. Capability composition is thus reduced to a field-query problem, requiring coordinated decisions on which field supervises a given sample, where in the state space the field should be queried, and how many trajectory states are utilized for supervision.

As shown in the framework diagram, the training process begins by sampling a capability source and routing the corresponding training data to a specific frozen velocity field. To preserve the semantic identity of each capability and avoid target-field ambiguity, the method employs hard-routed sample-wise field matching. Each sample is dispatched to exactly one capability field, ensuring that the supervision signal corresponds to a well-defined task rather than a potentially conflicting average of multiple fields. This routing strategy maintains clear semantic boundaries between distinct generative behaviors.

Once a field is selected, the framework addresses state-distribution mismatch by querying the frozen field on the current student rollout. Instead of relying on fixed off-policy data states or teacher-induced trajectories, the student generates its own trajectory from initial noise. A specific state along this rollout is selected and passed through a stop-gradient operation to prevent backpropagation through the entire solver. This on-policy querying aligns the supervision distribution with the states the student actually visits during inference, effectively mitigating covariate shift.

To resolve trajectory-query correlation, the method avoids dense supervision across multiple states from the same rollout. States along a single trajectory share identical conditioning, noise seeds, and path history, leading to highly correlated gradient signals that can bias optimization. Instead, the framework samples a single semantic-side query located in the low-noise regime of the trajectory. This region concentrates capability-specific information, such as style or edit attributes, providing a high signal-to-noise supervision signal while maintaining computational efficiency.

The student model is then updated by minimizing a plain velocity mean squared error (MSE) loss between its predicted velocity and the routed frozen field evaluated at the stop-gradient query state:

LDanceOPD=Emπ,(x,c)Dm,zTpT,sqsem[vθ(zˉt,t,c)vm(zˉt,t,c)22],t=t(s).\mathcal{L}_{\text{DanceOPD}} = \mathbb{E}_{m \sim \pi, \, (x, c) \sim \mathcal{D}_m, \, z_T \sim p_T, \, s \sim q_{\text{sem}}} \left[ \| v_{\theta}(\bar{z}_t, t, c) - v_m(\bar{z}_t, t, c) \|_2^2 \right], \quad t = t(s).LDanceOPD=Emπ,(x,c)Dm,zTpT,sqsem[vθ(zˉt,t,c)vm(zˉt,t,c)22],t=t(s).

This local regression objective naturally aligns with the deterministic velocity fields generated by flow-matching models. Under a local Gaussian transition view, KL-style field matching reduces to this weighted MSE form, making it a stable and theoretically grounded choice for velocity distillation. The same formulation can also absorb operator-defined fields, such as classifier-free guidance, by treating the guided velocity as an additional capability field and applying the identical matching objective.

Experiment

The experiments evaluate DanceOPD across text-to-image composition, editing, and field absorption settings to validate whether a single student model can integrate heterogeneous generative capabilities without collapsing into capability interference. Diagnostic and qualitative analyses reveal that hard field routing, single semantic-side trajectory queries, and targeted initialization successfully preserve anchor capabilities while strengthening target skills, whereas soft teacher mixing, dense same-step supervision, and correlated state queries consistently degrade performance. Ultimately, the framework demonstrates that isolating semantic identity at the query level provides a stable and efficient alternative to traditional joint training or weight-merging approaches for multi-capability model distillation.

The authors analyze the effects of query timing and initialization methods on generative capability composition. The data demonstrates that querying teacher fields at lower timesteps consistently produces higher average performance across editing tasks compared to median or high timesteps. Furthermore, utilizing a local edit checkpoint for initialization results in significantly better outcomes than merged or other baseline initialization strategies. Low-timestep querying achieves superior performance compared to median and high-timestep alternatives. Local edit initialization outperforms merged, text-to-image, and global edit initialization baselines. Optimal configurations show robust performance at later training steps, particularly in subject removal and background change.

The the the table categorizes DanceOPD as a flow-based method utilizing a routed velocity field and MSE objective, distinguishing it from LLM-focused approaches and other diffusion techniques. The method is shown to support flow matching on-policy distillation, multi-capability composition, design studies, and functional absorption. Experimental results confirm that DanceOPD successfully composes heterogeneous capabilities and absorbs target fields while preserving the anchor model's original generation behavior. DanceOPD improves target capability performance while maintaining the anchor capability, avoiding the interference seen in joint training or weight merging approaches. Hard routing of teacher fields is necessary to preserve sample-level semantic identity, whereas soft teacher mixing leads to degraded performance. Single semantic-side queries per rollout are more effective than dense trajectory queries, as correlated states in dense queries can amplify conflicting gradients.

The authors evaluate DanceOPD for composing heterogeneous capability fields, specifically combining text-to-image generation with image editing tasks, as well as merging local and global editing capabilities. The results demonstrate that the method effectively strengthens the target capabilities while preserving the anchor capabilities, outperforming baselines such as joint training and weight merging which tend to reintroduce capability interference. DanceOPD demonstrates superior capability composition by strengthening target editing abilities while preserving base generation quality, particularly excelling in categories requiring substantial visual transformations like style and background changes. In composing local and global editing capabilities, the method achieves higher average editing scores compared to competing baselines, indicating effective handling of conflicting editing requirements without sacrificing general generation performance. The experiments highlight that hard routing and single-step querying are essential for stable training, as soft teacher mixing and dense trajectory supervision lead to performance degradation due to capability conflict and correlated query noise.

The experiment analyzes how combining absorbed guidance with external evaluation guidance affects model performance. The results demonstrate that a moderate combination of these scales produces the best overall editing capability, whereas excessively high effective guidance strengths lead to significant performance degradation. Moderate composition of absorbed and external guidance achieves the highest average score. High effective guidance strengths cause substantial drops in performance across editing categories. Training-only absorption underperforms compared to the optimal moderate composition setting.

The authors evaluate the composition of multiple capability fields into a single student model, focusing on how different teacher scheduling, objective functions, and query strategies affect performance. The results indicate that hard routing of teacher signals to specific semantic queries is superior to soft mixing, which tends to blur distinct capability identities. Furthermore, updating the student with a single query per rollout step yields better overall results than accumulating multiple queries or using dense trajectory supervision, which introduces correlated noise and capability interference. Hard routing of teacher fields preserves semantic identity better than soft mixing, leading to higher average performance across editing tasks. Single-query updates per step outperform same-step accumulation, as accumulating multiple capability fields reintroduces interference. Increasing the number of trajectory queries per rollout degrades performance, suggesting that correlated states amplify conflicting gradients rather than stabilizing them.

The experiments validate the DanceOPD framework's ability to compose heterogeneous capability fields by systematically testing query timing, initialization strategies, routing mechanisms, and guidance scaling. Results consistently demonstrate that hard routing of teacher signals and single-step querying per rollout effectively preserve semantic identity and prevent capability interference, whereas soft mixing and dense trajectory supervision degrade performance through conflicting gradients. Additionally, utilizing local edit checkpoints and a moderate combination of absorbed and external guidance yield the most stable editing outcomes, confirming that the method successfully integrates diverse functions while preserving the anchor model's original generation behavior.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp