Abstract
PLADIS is a novel "plug-and-play" inference-time method designed to enhance text-to-image alignment and image quality in diffusion models. By replacing standard dense attention with a weighted combination of dense and sparse attention, PLADIS achieves significant performance gains without requiring additional training or increasing the number of neural function evaluations (NFEs). This makes it uniquely compatible with high-speed, guidance-distilled models like SDXL-Turbo where traditional methods like Classifier-Free Guidance (CFG) often fail.
Introduction
To generate images that accurately follow complex prompts, diffusion models typically rely on Classifier-Free Guidance (CFG). However, CFG imposes a heavy computational burden, effectively doubling inference time by requiring two model passes per denoising step. Furthermore, many modern "distilled" models, optimized for 1-4 step generation, are inherently incompatible with CFG as they skip the unconditional branch to save time.
PLADIS addresses these challenges by introducing a universal boosting method that works across various architectures without increasing the computational footprint. By leveraging the inherent benefits of sparsity, PLADIS provides a robust alternative to existing guidance techniques.
Methodology
The core of PLADIS is the transition from standard Dense Attention (Softmax) to Sparse Attention ($\alpha$-Entmax). Unlike Softmax, which assigns non-zero probability to every token, $\alpha$-Entmax can assign exactly zero, forcing the model to focus exclusively on the most relevant text tokens for specific image regions.
The authors define the PLADIS attention output using an extrapolation formula:
$$At_{Ours} = At_{dense} + \lambda(At_{sparse} - At_{dense})$$
By setting the scale factor $\lambda > 1$, the model's attention is pushed further into the sparse regime, emphasizing critical text-image correlations. Theoretically, this approach is linked to Sparse Hopfield Networks (SHN), with mathematical proofs showing that sparse attention is significantly more robust to noise than dense attention—a critical advantage during the early, noisy stages of the diffusion process.
Key Insights
- Sparsity as Robustness: Sparsity acts as a denoising tool. In early diffusion stages, dense attention can be distracted by noise; sparse attention naturally filters this out.
- Cross-Attention Focus: The method is most effective when applied to cross-attention (text-to-image) rather than self-attention. Applying sparsity to self-attention can actually hinder performance by limiting necessary pixel-to-pixel interactions.
- Universal Compatibility: Since PLADIS modifies the internal attention mechanism rather than the sampling loop, it can be used in conjunction with other methods like CFG, PAG, or SEG to further enhance results.
Experimental Results
PLADIS was evaluated across major benchmarks including MS-COCO, Drawbench, and the Human Preference Dataset (HPD). On MS-COCO with SDXL, PLADIS improved the FID score from 23.39 to 19.01 and increased the CLIPScore from 25.91 to 26.61.
In human preference trials, images generated with PLADIS were preferred over baseline generations more than 70% of the time for both quality and alignment. Crucially, the method adds negligible overhead, typically adding only 0.3–0.5 seconds to the total generation time per prompt.
Conclusion and Future Work
While PLADIS offers a powerful and efficient way to boost diffusion model performance, it introduces sensitivity to hyperparameters like $\alpha$ (sparsity degree) and $\lambda$ (extrapolation scale). Future research may explore adaptive layer selection or dynamic scaling during the denoising process to further refine the balance between prompt alignment and visual texture.
Summary updated