UNITY: Attention Flow Networks for Adaptive Conditioning in Diffusion
About
We introduce UNITY, a Universal-to-Specialized adapter for efficient and scalable composite conditioning in diffusion based image generation. Unlike prior methods that train separate adapters for each conditioning modality, UNITY jointly learns shared semantics across multiple conditioning types and subsequently specializes without modifying the underlying architecture. The proposed two stage training paradigm consists of a Universal Stage that captures cross modal representations across all conditioning modalities using half of the total training steps, followed by a Specialization Stage that refines modality specific features using the remaining training budget. At the core of UNITY are the Morphable Attention Flow (MAF) Network and Morph Wrapper modules, which enable channel aware and spatially adaptive feature alignment through learnable flow fields and attention based fusion. This constant complexity formulation supports flexible operation under both single and composite conditioning settings while significantly reducing inference latency and memory consumption. Extensive experiments across multiple datasets demonstrate that UNITY achieves state of the art image fidelity while maintaining superior memory efficiency. Code: https://github.com/arya-domain/UNITY
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Controllable Image Generation | MS-COCO Canny 2017 | FID20.35 | 13 | |
| Controllable Image Generation | MS-COCO Depth 2017 | FID22.44 | 8 | |
| Controllable Image Generation | MS-COCO Sketch 2017 | FID23.21 | 8 | |
| Controllable Image Generation | MS-COCO Segmentation 2017 | FID23.91 | 8 | |
| Conditional Image Generation | Normal Map Conditioning | FID22.08 | 5 | |
| Conditional Image Generation | Openpose Conditioning | FID23.78 | 5 | |
| Conditional Image Generation | Color Palette Conditioning | FID24.51 | 5 | |
| Conditional Image Generation | Dehaze Conditioning | FID24.18 | 5 | |
| Depth-conditioned Image Generation | MS COCO 2017 | FID21.26 | 5 | |
| Segmentation-conditioned Image Generation | MS COCO 2017 | FID22.67 | 5 |