Poly-OPD: Heterogeneous Multi-Teacher On-Policy Distillation for Capability-Selectable Flow Models

Siming Fu, Haojun Xu, Ruizhe He, Zheming Fu, Hualiang Wang, Jie Huang, Xiaoxiao Ma, Mingchen Zhong, Weihu Huang, Xiaoxuan He, Linjiang Huang, Si Liu

arXiv:2608.04349 · 2026-08-06 공개 · arXiv · PDF

flow-matching on-policy-distillation image-generation geneval lora-adapters flux-1-dev heterogeneous-teachers latent-space-bridging

Abstract

Leading open text-to-image models often carry complementary strengths: one may lead on preference-aligned aesthetics while another follows compositional instructions more faithfully. However, differences in their autoencoders and noise schedules make it difficult to transfer these strengths across models. In this paper, we present Poly-OPD, a framework that can consolidate complementary strengths of heterogeneous teachers into a single compact flow-matching student. To bridge the incompatible latent spaces of different teachers, Poly-OPD performs on-policy distillation through a pixel bridge. Each student-generated image is re-encoded by a selected teacher's encoder and refined from a noise level matched by magnitude under the teacher's noise schedule. The resulting target is further matched to the student in frozen DINOv2 space, enabling supervision across incompatible latent spaces. To retain complementary capabilities without cross-teacher interference, Poly-OPD uses a gradient compatibility diagnostic to organize its adapters: attention LoRA modules are shared across teachers, whereas feed-forward adapters remain teacher-specific. During distillation, a gap-aware curriculum devotes more training to compositional categories where the student still falls short of the teacher. As each gap narrows, training shifts toward categories with larger remaining gaps. By distilling FLUX.1-dev and Z-Image into a 2.5B SD3.5-Medium student, Poly-OPD improves GenEval from 67.3 to 73.3, surpassing both larger teachers, and raises DrawBench HPSv3 from 9.34 to 11.35, consolidating both strengths within a switchable model.

한국어 요약

한 줄 요약

Poly-OPD는 서로 다른 텍스트-이미지 생성 모델의 강점을 하나의 학생 모델로 통합하는 이질적 온-포로시 디스틸레이션 프레임워크이다.

핵심 기여도

핵심 아이디어

기존 디스틸레이션은 동일한 라틴 공간을 가정하지만, Poly-OPD는 이질적 라틴 공간을 가진 교사 모델을 처리한다. 학생이 생성한 이미지를 픽셀 공간으로 디코딩한 뒤, 선택된 교사의 인코더로 재인코딩하고 해당 교사의 노이즈 스케줄에 맞춰 노이즈 레벨을 조정하여 "교사의 수정"을 얻는다. 이는 학생의 실제 샘플에 기반한 온-포로시 감독(on-policy supervision)을 가능하게 한다. 감독은 DINOv2의 고정된 특징 공간에서 이루어져, 라틴 공간 불일치를 극복한다.

또한, attention LoRA는 교사 간 공유되지만, FFN 어댑터는 교사별로 분리되어 간섭을 최소화한다. 이는 gradient compatibility 분석을 통해 결정되며, 학생이 단일 백본에서 여러 능력을 전환할 수 있도록 한다.

기술적 접근법

주요 결과

의의 및 한계

Poly-OPD는 이질적 라틴 공간을 가진 교사 모델을 통합하는 첫 번째 온-포로시 디스틸레이션 프레임워크로, 기존의 라틴-스페이스 기반 디스틸레이션이 적용 불가능한 상황에서 유의미한 성능 향상을 보인다. 또한, 어댑터 기반의 능력 전환은 추론 시 비용을 낮추는 실용적 가치를 제공한다.

그러나, 학생 모델이 교사보다 작기 때문에 일부 복잡한 능력은 완전히 재현되지 않을 수 있으며, 어댑터 기반 전환은 학습 시 교사 간 간섭을 줄이는 데 효과적이지만, 모든 상황에서 최적일 수는 없다는 한계가 있다.

실용적 활용

Poly-OPD는 텍스트-이미지 생성 모델을 활용하는 클라우드 서비스, 디자인 도구, 콘텐츠 생성 플랫폼 등에서 여러 모델의 강점을 하나의 모델로 통합하여 비용과 복잡도를 줄이는 데 활용 가능하다. 특히, 어댑터 기반 전환은 실시간 추론 시 유연한 능력 전환을 가능하게 하며, 모델 관리 및 배포에 유리하다.