Text-to-image diffusion models, which generate images by gradually removing noise under the guidance of a text prompt, edit "dog → cat" well. They edit "make this street feel melancholy" poorly. One reason is that concrete words have a place in the image and abstract words do not. A diffusion model decides where a word acts through cross-attention, the layer where each image location looks up the prompt's words and pulls in information from them. For "cat" the attention lands on one blob. For "melancholy" it smears, or it lands on nothing. We propose to treat an abstract concept the way psycholinguistics suggests people do: as a weighted neighborhood of concrete attributes (grey light, empty space, a lowered head, rain). We then let the source image decide which members of that neighborhood it can actually express. Concretely, the edit is vector arithmetic on the keys and values the cross-attention layers read from the prompt. The arithmetic is restricted to a subspace shared by images and text, so it does not produce vectors the model has never seen. The weights on the concrete attributes are chosen by how strongly the source image's own spatial features attend to each one.
The payoff is a real-image editor for abstract concepts. It changes an image diffusely rather than inside a mask, keeps layout and identity through deterministic inversion, and can be dialed continuously. It also gives a measuring instrument. If the method works for words rated abstract and fails for others, the failure pattern tells us which abstract concepts have usable concrete neighborhoods inside a generative model and which do not.
Core Claim
Editing an image toward an abstract concept works better if the concept's direction is built image by image from concrete neighbors inside cross-attention than if it comes from the abstract word itself or from a text rewrite. Specifically, the direction is a sum of concrete-attribute directions. Each direction is filtered to the image–text shared subspace, and each is weighted by how much attention the source image gives it. The claim makes three separable predictions, each with its own ablation. First, raw key/value arithmetic with the abstract word will push the model off its usual inputs and either break the image or do nothing. Second, subspace filtering fixes that. Third, image-conditioned weighting beats a fixed, image-independent neighborhood, most clearly when the same concept is applied to very different scenes.
Where This Sits
The mechanism borrows from three places and differs from each.
Prompt-to-Prompt showed that cross-attention maps act as a layout blueprint and that injecting them preserves the scene. Its edits are discrete word swaps or scalar re-weighting of a token's map, and its examples are concrete. We reuse its attention-map injection to hold layout fixed. What we change is the values an image location receives, not which word it attends to.
Cross-Modal Redundancy and the Geometry of Vision–Language Embeddings supplies the constraint. It trains an aligned sparse autoencoder that splits CLIP embeddings into "bimodal" atoms shared across images and text and "unimodal" atoms that encode modality bias. It shows that arithmetic restricted to the bimodal atoms stays in-distribution: the out-of-distribution score on FashionIQ falls from 0.97 to 0.63. That work operates on pooled dual-encoder embeddings and concrete attributes such as ruby versus sapphire. We move the idea to the token-level text features that feed a diffusion model's cross-attention, and we test it on abstract concepts.
Vector Arithmetic in Concept and Token Subspaces gives independent evidence that arithmetic works in a concept subspace and not in raw hidden states: 80% versus 47% analogy accuracy in Llama-2. It is text-only.
Two further papers motivate the neighborhood construction. Iosif et al. find that abstract nouns are best modeled by attributional similarity across a semantic neighborhood, not by a single literal sense. EVA shows that a state word like "old" looks different on a person than on a building, which is why a single static offset vector should fail. EVA handles this with routed experts for discriminative zero-shot classification. We handle it with image-conditioned weights inside a generative edit.
Two papers are closest in spirit but act outside the model. ViPE rewrites abstract text into concrete prompts. It never sees the image, and it inherits biases from English song lyrics. DiffusionCLIP steers generation with a CLIP text-direction loss by fine-tuning the model per edit. Neither touches cross-attention internals.
Finally, DiffEdit is a constraint on the design. Its authors report that contrastive masks fail for diffuse or smooth-region changes, which rules out mask-based designs for this problem.
Mechanism
The source image is first inverted with deterministic DDIM inversion, following Denoising Diffusion Implicit Models, under a neutral caption. For an abstract concept $c$, we build a candidate neighborhood $N(c)$ of 30–50 concrete attribute phrases. Candidates are drawn from human concept explanations in AbsVis where available, and otherwise from nearest neighbors in the bimodal subspace.
Each attribute $a \in N(c)$ gets a direction $d_a = P_B\big(e(a) - e(\varnothing)\big)$. Here $e(\cdot)$ is the text-encoder token feature that the diffusion model projects into keys and values, and $P_B$ projects onto the bimodal atoms of an aligned sparse autoencoder trained on the same encoder's image and text features.
The weights come from the source image. At each cross-attention layer, the image's spatial queries $Q$ from the inverted trajectory score each attribute's key $W_K d_a$. The weight $w_a(x)$ at location $x$ is a sparsemax over these scores, restricted to the neighborhood. Sparsemax keeps only a few attributes, and the weighting is taken from the gated cross-attention work. The edited value read at location $x$ is then
$$v'(x) = v(x) + g(x)\,\lambda \sum_{a \in N(c)} w_a(x)\, W_V d_a ,$$
where $v(x)$ is the original attended value, $W_V$ is the layer's value projection, $\lambda$ is a user-set strength, and $g(x)\in[0,1]$ is a gate. The gate is computed training-free from how much the source image already attends to the neighborhood relative to its own caption tokens. It borrows the anti-washout gating of the same drug–target paper. Attention maps from the source trajectory are injected during early steps as in Prompt-to-Prompt, so layout is kept. The value edit then changes appearance diffusely across whichever locations select each attribute.
No model weights are trained. The only learned component is the sparse autoencoder, trained once per text encoder.
Research Program
The work proceeds in three stages.
The first stage is diagnostic. We measure how cross-attention maps for abstract versus concrete tokens differ in entropy and spatial spread, bucketed by Brysbaert concreteness ratings over the AbsVis vocabulary. We also measure how far raw abstract-token arithmetic pushes keys and values off the distribution of natural prompt features. This tests the premise directly. If abstract tokens already attend as sharply as concrete ones, the motivation weakens.
The second stage builds the editor and checks whether the aligned autoencoder's bimodal split holds for token-level features. It was only shown on pooled embeddings, and it may not transfer. If it does not, we fall back to a subspace estimated from paired attention statistics and report the gap honestly.
The third stage runs the evaluations and ablations below.
Baselines
Naive reference points. The first is plain DDIM reconstruction with no edit, which sets the preservation ceiling and the concept-evocation floor. The second appends the abstract word to the caption and regenerates from the inverted noise, which is the naive text edit.
Prompt-to-Prompt with re-weighting. This baseline appends the abstract word and uses the paper's attention re-weighting and prompt-refinement modes to raise the word's influence while keeping layout. It is the most direct existing competitor inside cross-attention. Its reported user-study numbers are for concrete edits: 4.64/5 background preservation (versus 3.38 for baselines) and 4.55/5 text alignment on its 20-sample set. There is no reported result on Lacuna for abstract-concept edits with this method.
ViPE rewrite plus Prompt-to-Prompt refinement. This is the strongest competitor. The abstract concept is rewritten into concrete visual phrases by ViPE, and those phrases are fed through Prompt-to-Prompt refinement on the same inverted image. We add a stronger variant in which a vision–language model sees the source image and writes the concrete rewrite, which removes our "image-blind" advantage. There is no reported result on Lacuna for this pipeline on real-image abstract edits. ViPE's own number, 33.6% human preference for generated images versus 38.7% for expert prompts, is from text-to-image generation, not editing.
DiffusionCLIP. Per-image fine-tuning with a CLIP directional loss toward the abstract prompt.
Fairness and the bar to clear. All methods use the same Stable Diffusion checkpoint, the same inversion, the same number of steps, and the same random seeds. Each method gets an equal hyperparameter sweep of 20 settings on a held-out tuning split. Each method is also scored at matched preservation levels, so no method wins by editing less. Beating a baseline means a higher concept-evocation score at equal or better preservation on AbsVis, with a paired significance test.
Ablations. The ablations isolate each ingredient: raw arithmetic with no subspace projection; the abstract word's own direction with no neighborhood; a fixed global neighborhood weighting in place of image-conditioned weighting; softmax in place of sparsemax; and no gate.
Why not just…?
Why not just rewrite the concept into concrete words and use prompt-based editing? This is the real threat. A vision–language-model rewrite fed into Prompt-to-Prompt refinement is essentially a discrete, text-side version of our neighborhood. It could match us on single-strength edits. Our method can only win on three things. One is graded control, measured as the monotonicity of evocation in $\lambda$. Another is scene-specific selection of attributes. The third is avoiding the layout drift that new words cause. Prompt-to-Prompt itself documents that prompt changes disturb composition, and its refinement mode only partly contains this. If the image-aware rewrite baseline ties us at matched preservation, we will report the method as a continuous-control tool rather than a better grounding method.
Why not just add the CLIP difference vector for the abstract word? The aligned-autoencoder paper reports that unconstrained arithmetic leaves the data distribution (0.97 out-of-distribution score on FashionIQ), and the concept-lens paper shows raw arithmetic degrades from 80% to 47% analogy accuracy. Our raw-arithmetic ablation tests whether this carries over to cross-attention values for abstract words.
Why not just re-weight the abstract token's attention map? If the diagnostic stage shows abstract tokens have diffuse, low-mass maps, amplifying them amplifies noise. The Prompt-to-Prompt re-weighting baseline measures this directly.
Why not just mask and inpaint? DiffEdit's authors report failure on diffuse changes. Abstract meaning also often lives in relations between objects and background, as RDAN argues for verbs and scene adjectives. We include DiffEdit only as a sanity baseline.
Proposed Experiments
Abstract edits. The main test uses the 675 AbsVis images, paired with abstract concepts from its vocabulary that carry Brysbaert ratings. Concept evocation is measured two ways. Human raters pick the intended concept among four distractors matched for concreteness. Separately, a held-out vision–language judge, different from any model used to build neighborhoods, does the same forced choice. Preservation is measured by LPIPS and by structural similarity to the source.
The decisive plot is evocation gain over the strongest baseline as a function of concreteness rating. The hypothesis predicts the gain is largest for mid-abstract concepts. It should shrink for highly concrete words, where every method works, and for words with no visual neighborhood, where nothing should work. The main failure to watch for is a flat gain curve, which would suggest the method is simply a stronger edit rather than better grounding.
Polysemy. We apply state edits such as "old" and "wet" from MIT-States and C-GQA across disparate object categories. Success is scored with a compositional zero-shot classifier. EVA reports 23.2% open-world unseen accuracy on MIT-States, which indicates how hard state recognition is for the judge itself. The prediction is that image-conditioned weighting beats fixed weighting most when the object category changes.
No regression on concrete edits. On EditBench and MagicBrush concrete instructions, the method should be no worse than Prompt-to-Prompt.
Kill criteria. The project is falsified if either of two things happens. One is that subspace projection gives no benefit over raw arithmetic in cross-attention. The other is that image-conditioned weighting gives no benefit over a fixed neighborhood on the cross-category polysemy test. Either result would mean the proposed ingredients are not doing the work.
References
- Prompt-to-Prompt Image Editing with Cross-Attention Control
- Cross-Modal Redundancy and the Geometry of Vision–Language Embeddings
- Vector Arithmetic in Concept and Token Subspaces
- Semantic Similarity Computation for Abstract and Concrete Nouns Using Network-based Distributional Semantic Models
- Decoupling Primitive with Experts: Dynamic Feature Alignment for Compositional Zero-Shot Learning
- ViPE: Visualise Pretty-much Everything
- DiffusionCLIP: Text-Guided Diffusion Models for Robust Image Manipulation
- DiffEdit: Diffusion-based semantic image editing with mask guidance
- Denoising Diffusion Implicit Models
- AbsVis – Benchmarking How Humans and Vision-Language Models “See” Abstract Concepts in Images
- An Interpretable Framework for Drug-Target Interaction with Gated Cross Attention
- Multi-Level Visual-Semantic Alignments with Relation-Wise Dual Attention Network for Image and Text Matching