atlas

Research map / Image generation / Text-to-image diffusion

Stylus: Automatic Adapter Selection for Diffusion Models

NeurIPS 2024 · Image generation › Text-to-image diffusion · approach: Inference-time T2I improvement · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Stylus refines adapter descriptions with a VLM, retrieves top-150 LoRAs via embeddings, and uses an LLM composer to assign adapters to prompt keywords, then masks and composes them into Stable Diffusion 1.5, releasing the 75K-LoRA StylusDocs dataset.

Problem

Automatically selecting and composing relevant LoRA-style adapters for a text-to-image prompt from a huge, poorly documented adapter database (100K+ on Civitai), where prompts imply multiple tasks and composing adapters can degrade images.

Approach

A three-stage Refine-Retrieve-Compose pipeline: a VLM rewrites adapter descriptions from sample images, embeddings retrieve candidates against the full prompt, and a long-context LLM segments the prompt into keyword tasks and assigns adapters per task, followed by random binary masking and weight normalization across tasks.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use Stylus adapter selection and composition instead of the SD v1.5 baselineStable Diffusion image generation · COCO 2014 validationCLIP: 27.22 -> 27.25 (+0.03)Helped
use Stylus adapter selection and composition instead of the SD v1.5 baselineStable Diffusion image generation · COCO 2014 validationFID: 23.96 -> 22.05 (-1.91)Helped
remove the composer stage (ablation)Stylus · COCO 2014 validationCLIP: 27.25 -> 24.93Hurt
remove the composer stage (ablation)Stylus · COCO 2014 validationFID: 22.05 -> 24.68Hurt
replace the composer with a cross-encoder reranker (ablation)Stylus · COCO 2014 validationCLIP: 27.25 -> 25.48Hurt
replace the composer with a cross-encoder reranker (ablation)Stylus · COCO 2014 validationFID: 22.05 -> 22.81Hurt
select adapters randomly instead of using Stylus retrieval and composition (ablation)Stable Diffusion image generation · COCO 2014 validationCLIP: 27.25 -> 26.34Hurt
select adapters randomly instead of using Stylus retrieval and composition (ablation)Stable Diffusion image generation · COCO 2014 validationFID: 22.05 -> 24.39Hurt
use Stylus instead of the Stable Diffusion realistic checkpointStable Diffusion image generation · PartiPromptsvisual fidelity preference: 60%Helped
use Stylus instead of the Stable Diffusion checkpointStable Diffusion image generation · PartiPromptstextual alignmentNo clear effect
use Stylus instead of SD v1.5Stable Diffusion image generation · PartiPrompts, 200 promptsdFID win rate: approximately 60%Helped
use Stylus instead of SD v1.5Stable Diffusion image generation · PartiPrompts, 200 promptsGPT-4V diversity win rate: 58%Helped

Surprising findings

Limitations

Experimental setup

Datasets: StylusDocs (75K LoRAs from Civitai and HuggingFace) MS-COCO 2014 validation PartiPrompts

Benchmarks: MS-COCO 2014 validation (CLIP, FID) PartiPrompts (human and VLM preference)

Metrics: CLIP score FID human preference win rate VLM win rate for visual fidelity and textual alignment dFID (per-prompt diversity) GPT-4V diversity score

Baselines: Stable Diffusion v1.5 Random adapter selection Retriever-only (RAG) Cohere rerank-english-v2.0 reranker

Builds on: retrieval-augmented generation LoRA Stable Diffusion chain-of-thought prompting

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy