Efficient Text-Guided Convolutional Adapter for the Diffusion Model

Aryan Das, Koushik Biswas, Swalpa Kumar Roy, Badri Narayana Patro, Vinay Kumar Verma

TL;DR

This paper introduces Nexus Adapters, a novel approach to improve text-guided image generation with diffusion models. By jointly conditioning on both text prompts and structural inputs (like sketches or depth maps) within a lightweight adapter, Nexus Adapters achieve better semantic alignment and structural fidelity with significantly fewer parameters than existing methods.

What Problem Does This Paper Address?

Recent advancements in text-to-image (T2I) generation, particularly with diffusion models like Stable Diffusion, have enabled impressive visual synthesis. However, these models often struggle to precisely follow user-specified layouts, structures, or fine-grained details. While methods like ControlNet and T2I-Adapter have emerged to inject structural control, they often come with a substantial parameter overhead, sometimes doubling the size of the base model. Furthermore, these existing adapters typically operate independently of the text prompt, meaning they are optimized for structural input but don't leverage the semantic context of the prompt for better guidance. This paper aims to bridge this gap by proposing efficient, prompt-aware adapters that enhance controllability without sacrificing performance or efficiency.

Methods

The core contribution is the Nexus Adapter, a lightweight, prompt-guided convolutional adapter designed to work with frozen diffusion backbones. The Nexus Adapter has two key components:

  • Prompt-Driven Conditional Guidance: Unlike previous methods that treat structural and textual inputs separately, Nexus Adapters integrate both. A frozen CLIP text encoder processes the text prompt, and this embedding is then used within the adapter's cross-attention mechanisms. This allows the adapter to dynamically modulate spatial features based on the semantic content of the prompt, leading to better alignment between visual and textual cues.
  • Efficient Architecture: The paper proposes two variants:
  • Nexus Prime: Uses high-capacity convolutional blocks for strong performance.
  • Nexus Slim: Employs grouped and 1x1 convolutions for parameter efficiency, achieving significant computational savings.

Both variants inject guidance signals through additive feature fusion into the diffusion UNet. The adapter processes structural inputs (like edge maps or segmentation masks) through a series of hierarchical transformation blocks, extracting multi-scale features. These features, along with the prompt embedding, are then fused with the UNet's intermediate activations.

Datasets

The proposed architecture was evaluated on four conditioning modalities: Canny edges, Depth, Sketch, and Segmentation. The experiments utilized the COCO 2017 dataset (approximately 164k training images). For specific modalities:

  • Segmentation: COCO-Stuff annotations were used.
  • Depth: Maps were generated using MiDaS.
  • Sketch: Edge maps were extracted using an edge prediction model.
  • Canny: Standard Canny edge detection was applied.

Key Insights and Ideas

  • Prompt-Awareness is Crucial: The paper strongly advocates for integrating prompt semantics directly into the adapter. This "prompt-driven conditional guidance" is shown to be key for achieving superior semantic alignment and structural coherence, moving beyond adapters that only focus on structural inputs.
  • Efficiency Without Compromise: The Nexus Slim adapter demonstrates that significant parameter reduction (achieving the lowest complexity among compared methods) is possible without a drastic drop in performance, offering a compelling efficiency-performance trade-off.
  • Global Guidance vs. Step-wise: The authors argue that Nexus Adapters provide "global, constant guidance" throughout the generation process, contrasting with methods that might rely on "step-wise adapter predictions." This global approach is posited to prevent cascading errors and ensure more consistent structural and semantic alignment.
  • Unified Embedding: Nexus adapters fuse conditions with textual embeddings once, unlike some methods that repeatedly denoise. This unified approach is claimed to enable better global guidance and improve semantic-structural consistency while reducing computational cost.

Key Results

  • Parameter Efficiency: Nexus Slim Adapter achieves the lowest complexity with 23.77 GFlops and 59.29M parameters, significantly outperforming baselines like ControlNet (361.28M parameters) and T2I-Adapter (77.37M parameters). Nexus Prime is also competitive with 33.32 GFlops and 85.82M parameters.
  • Quantitative Performance:
    • CLIP Scores: Nexus Prime Adapter consistently ranks among the top performers, achieving the highest scores on Canny, Depth, and Sketch tasks, indicating strong text-structure fusion. Nexus Slim also performs competitively, often surpassing T2I-Adapter.
  • FID Scores: Nexus Prime attains the lowest FID in three tasks (Canny, Depth, Sketch), highlighting superior visual fidelity and consistency. Nexus Slim also shows strong results, particularly on Depth.
  • Qualitative Results: Visual comparisons show Nexus Prime consistently yielding the most accurate and semantically aligned outputs, preserving fine details and structure. Nexus Slim offers competitive performance with reduced complexity, while other methods sometimes struggle with realism, detail, or semantic consistency. The paper also demonstrates that Nexus adapters are more robust when operating without explicit text prompts compared to other methods.

Limitations and Future Work

  • Limitations: The paper acknowledges that while Nexus Slim offers excellent efficiency, its CLIP scores are slightly lower than Nexus Prime. The authors also note that CtrLoRA, despite its efficiency, can underperform due to low-rank updates biasing it heavily toward conditional inputs, limiting semantic alignment.
  • Future Work: The paper's focus on efficient, prompt-aware adapters suggests future work could explore further optimizations, broader applications of this adapter design, and potentially more complex multimodal conditioning scenarios. The success in no-text prompt scenarios also opens avenues for exploring adapter robustness in even more challenging conditions.

Summary updated

BibTeX
@inproceedings{das2026efficient,
  author = {Aryan Das and Koushik Biswas and Swalpa Kumar Roy and Badri Narayana Patro and Vinay Kumar Verma},
  title = {{Efficient Text-Guided Convolutional Adapter for the Diffusion Model}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2026},
}
Figure