Abstract
Text-to-image (T2I) diffusion models frequently encounter "misalignment" issues, where generated images either ignore specific prompt attributes or lack aesthetic appeal. While training-based alignment techniques like RLHF or DPO offer solutions, they are computationally expensive and data-intensive. We introduce DyMO (Dynamic Multi-Objective Scheduling), a training-free framework that aligns T2I models during the inference stage. DyMO employs a multi-stage approach: using Large Language Models (LLMs) to provide semantic structural guidance in early diffusion steps and transitioning to preference-based optimization for late-stage aesthetic refinement. Experimental results demonstrate that DyMO significantly enhances prompt fidelity and visual quality across multiple architectures, including SDXL and FLUX.1.
Introduction: The Challenge of Alignment
Despite the impressive capabilities of modern text-to-image models, achieving perfect alignment between user prompts and visual outputs remains a challenge. Misalignment typically manifests as "attribute neglect"—where the model ignores parts of a prompt—or poor aesthetic quality. Existing training-free alignment methods often struggle with the "noisy latent" problem: they attempt to apply preference scoring models (trained on clean images) to the highly noisy early stages of the diffusion process. This mismatch often leads to inaccurate guidance and degraded image layouts.
Methodology: Dynamic Multi-Objective Scheduling
DyMO addresses these challenges by treating the diffusion process as a multi-stage journey, applying different optimization objectives at different timesteps.
1. Semantic Alignment and Knowledge Graph Construction
In the early stages of diffusion, where pixel-level information is absent, DyMO focuses on semantic structure. It utilizes an LLM (such as GPT-4) to parse the input prompt into a structured Knowledge Graph. This graph explicitly defines entities and their associated attributes, preventing "attribute bleeding" (e.g., ensuring "pink" applies to "sunglasses" and not the "bear").
By optimizing the cross-attention maps based on this graph, DyMO ensures that entities are correctly positioned and bound to their specific descriptors before the image details are formed.
2. Dynamic Scheduling and Time-Travel
The framework employs a time-varying weight to transition between objectives. The Early Stage focuses on the semantic graph for layout; the Middle Stage blends semantic guidance with human preference scores (e.g., PickScore); and the Late Stage prioritizes "Detail Refinement" to polish textures and aesthetics.
Furthermore, DyMO introduces a Dynamic Time-Travel Strategy. This recurrent mechanism calculates the necessary iterations at each diffusion step based on the gradient magnitude. By spending more "thinking time" on the most challenging alignment steps, the model optimizes compute efficiency without sacrificing quality.
Experimental Results
DyMO was evaluated against high-standard benchmarks including Pick-a-Pic (v2), HPSv2, and PartiPrompts, using backbones like Stable Diffusion V1.5, SDXL, and FLUX.1-schnell.
Quantitative Performance
On SD V1.5, DyMO achieved a significant jump in performance, raising the PickScore from 20.73 to 23.07 and the ImageReward from 0.1697 to 0.7170. When applied to SDXL, it outperformed specialized training-based methods such as Diffusion-DPO and SPO across all primary metrics.
Qualitative Excellence and User Preference
Visual analysis confirms that DyMO excels at complex attribute binding. In a user study with 100 participants, images generated via DyMO were preferred significantly more often than those from baseline models or competing alignment techniques.
Conclusion and Future Work
DyMO provides a robust, training-free solution for aligning diffusion models with human preferences. While it introduces some inference latency due to the iterative nature of the optimization and the initial LLM call, its ability to improve prompt fidelity across diverse models makes it a powerful "plug-and-play" tool. Future research may focus on reducing latency or extending this dynamic scheduling framework to the domain of video generation.
Summary updated