The Unreasonable Effectiveness of Text Embedding Interpolation for Continuous Image Steering

Yiğit Ekin, Yossi Gandelsman

TL;DR

Want a smooth "slider" to gradually increase a smile, dial up photorealism, or age a subject in an AI-generated image? Instead of training specialized adapters or hacking into a diffusion model's internal layers, this paper shows you can get competitive, continuous control just by walking along a straight line in the frozen text-encoder space. Better yet, the authors completely automate the finicky human guesswork—building a model-agnostic pipeline that constructs calibrated editing sliders on the fly from just a prompt and a concept.

What Problem Does This Paper Address?

Text-to-image models are great at giving you what you ask for, but terrible at letting you dial in how much of it you want. Words are discrete: there is no natural-language knob to turn a smile up by 17%.

To build continuous "sliders," researchers usually train custom low-rank adapters (LoRAs) per concept, run expensive test-time optimizations per image, or engineer interventions tied to a specific model's internal denoiser architecture. In an ecosystem where a shiny new generative backbone drops every few weeks, retraining or re-engineering your sliders from scratch for every new model is a massive headache.

Meanwhile, the simplest possible control space—interpolating embeddings in the frozen text encoder that feeds the generator—was largely overlooked as too crude or finicky, requiring humans to manually curate prompts, isolate tokens, and guess the slider's min/max bounds before the image degrades into soup. The authors ask: can we automate text-space steering so well that we don't need custom training or architecture hacks at all?

Methods

The authors introduce a training-free, three-step pipeline that operates exclusively on the frozen text-encoder representations:

Overview of the automated slider construction framework
  1. Debiased Direction Finding: Given a concept (e.g., smile or age), an LLM (GPT-4.1-mini) generates $K=100$ balanced contrastive prompt pairs (e.g., "smiling person" vs. "neutral face person"). Crucially, instead of averaging whole sentences—which can accidentally entangle biases like correlating "old" with "men"—the method pools hidden states only over the style-relevant tokens and takes the normalized difference-of-means to form a clean linear steering vector.
  2. LLM-Assisted Token Selection: You can't just add that vector to every word in a user's prompt (which causes massive scene drift) or just the first word (which barely changes anything). A small reasoning LLM (Qwen3-8B) classifies the edit (local, global, or stylization) and applies simple rules to select only the relevant subject nouns or attribute tokens to steer.
  3. Adaptive Elastic Range Search: Every prompt and concept tolerates a different steering magnitude before under-editing or breaking the image. Inspired by nudged elastic band methods from physics, the authors place control points along the steering direction connected by "virtual springs" whose tension is measured by DreamSim (a perceptual similarity metric). By iteratively shifting and expanding points across parallel image generations, the algorithm automatically finds the sweet-spot [min, max] slider bounds where visual changes happen smoothly.

Datasets

Because the method is training-free, there is no training dataset. Instead:

  • On-the-fly Concept Pools: For each concept, GPT-4.1-mini generates $K=100$ debiased contrastive prompt pairs (cached once per concept).
  • Evaluation Suites: The authors evaluate across 15 diverse concepts spanning local (smile, age, frostiness, wet texture, rusty surface), global (winter, nighttime, rainy weather, sitting, crowded scene, zoom-out), and stylization (cartoon, ghibli, anime, photorealistic) edits, alongside a 300-example controlled Flux-Kontext benchmark.
  • Token-Selection Benchmark: They introduce a held-out set of 200 human-annotated prompts (with ground-truth "gold" target tokens) across local, global, and stylization modes to test LLM token-selection accuracy.

Key Insights and Ideas

  • Stronger generators unlock simpler controls: As text-conditioned backbones get better at following nuanced representations, simple linear directions in their frozen text encoders become surprisingly expressive—narrowing the gap with heavy, trained controllers.
  • Bias lives in the context tokens: Naive contrastive prompt pairs easily entangle attributes (e.g., aging a woman turns her into an old man). Pooling strictly over concept-specific token spans cleanly disentangles the steering axis.
  • Measuring true "slider-ness" (MID): A slider shouldn't jump from 0% to 100% edit at step three and stall. The authors propose Magnitude Increment Deviation (MID), a new metric checking whether semantic change ($\Delta$VQA) progresses evenly in proportion to perceptual change (LPIPS) across the slider.
  • Plug-and-play portability: Because denoiser internals are untouched, the exact same pipeline transfers effortlessly across completely different text-encoder families and backbones (Flux.dev, Flux-Kontext, Flux2, Qwen-Image-Edit, and preliminary Wan2.1 video tests).

Key Results

  • Outperforming training-free baselines: On Flux.dev, the method hits an edit strength ($\Delta\text{VQA}\uparrow$) of 0.38 (vs. 0.18 for SAEdit and 0.15 for FluxSpace) while maintaining smooth continuity ($\text{MID}\downarrow$ 0.39) and winning 60% human preference in a user study against Flux-based models.
  • Scaling with better backbones: Dropping the exact same text-space pipeline onto the stronger Qwen-Image-Edit backbone jumps $\Delta\text{VQA}$ to 0.63 ($\text{MID}$ 0.42), outperforming trained Kontinuous Kontext (0.48) and approaching trained SliderEdit (0.75)—with zero training.
  • Ablations validate every step: Steering LLM-selected tokens balances edit compliance and preservation far better than steering the first token ($\Delta\text{VQA}$ 0.15) or all tokens (severe drift, MID 0.51). Similarly, elastic range search boosts $\Delta\text{VQA}$ from 0.30 (fixed range) to 0.51, with 72.1% monotonic trajectories.
  • Setup speed: Generating and caching a concept vector takes ~69 seconds once; calibrating a new prompt takes ~29 seconds (~14 parallel image generations).

Limitations and Future Work

  • Generator bias ceilings: You can't steer where the generator refuses to go. If a backbone's prior strongly resists generating six-fingered hands under direct prompting, text-space interpolation won't magically unlock it either.
  • Per-prompt calibration latency: Spending ~26 seconds and ~14 generations per new prompt for elastic range search isn't quite real-time. Cheaper optimizers (binary search cuts this to 6 generations with a minor quality dip), distilled few-step generators, or predicting bounds directly from prompt features could speed this up.
  • Perceptual vs. semantic calibration: Elastic search relies on DreamSim (perceptual distance), not semantic verification, meaning tricky thresholds can still occasionally under- or over-steer. Integrating a fast vision-language or VQA signal into the search loop—and extending calibration metrics to video diffusion—are prime targets for future work.

Summary updated

Abstract

Continuous image editing requires fine-grained control over semantic attributes in text-conditioned generative models. Recent methods obtain such control through trainable adapters, test-time optimization, or architecture-specific design choices. In this work, we revisit steering the text-encoder space as a simpler alternative for open-vocabulary slider construction. We show that, as text-conditioned generative models become increasingly capable, linear directions in their frozen text-encoder spaces can provide a competitive interface for continuous control when carefully constructed. To make this interface practical, we introduce an automated pipeline that constructs continuous sliders from just a prompt and a concept, eliminating manual data curation and coefficient tuning. First, a language model generates balanced contrastive prompt pairs. Then, difference-of-means over the frozen text encoder estimates a concept direction, and an LLM-assisted process selects the prompt tokens to steer. Finally, an elastic range search adaptively calibrates the slider coefficient interval. As the process includes only changing the text encoder hidden states, the same pipeline can be applied across different text-conditioned generative backbones without denoiser-specific modifications. Across diverse set of edit types, our method outperforms prior training-free baselines and approaches the edit compliance of trained controllers while avoiding per-concept and per-backbone training. Our results suggest that a carefully designed text-space steering is a surprisingly strong practical baseline for open-vocabulary continuous editing. Especially in a rapidly evolving generative model ecosystem, where repeatedly adapting specialized controllers to new backbones can be a substantial burden. Code is available at https://github.com/YigitEkin/diffusion-sliders.
BibTeX
@inproceedings{ekin2026unreasonable,
  author = {Yiğit Ekin and Yossi Gandelsman},
  title = {{The Unreasonable Effectiveness of Text Embedding Interpolation for Continuous Image Steering}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=654S7hINSk},
}
Figure