Get the newsletter
Adobe · AI / ML · Filed Nov 18, 2024 · USPTO published May 21, 2026 · May 21 release

Adobe Patents a Fix for AI Images That Mix Up Objects and Locations

Ask an AI image generator to put 'a red ball on the left and a blue cube on the right' and you'll often get the ball on the right, the cube on the left, or both crammed into the same corner. Adobe's new patent targets exactly that failure mode.

Adobe Patent: Fixing AI Image Layout With Attention Contrast, figure from US 2026/0141572 A1
Figure from the official USPTO publication.
Publication number
US 2026/0141572 A1(US20260141572A1)
Applicant
ADOBE INC.
Filed · Published
Nov 18, 2024 · May 21, 2026
Inventors
Aravindan Kamatchi Sundaram, Ujjayan Pal, Abhimanyu Chauhan, Aishwarya Agarwal, Srikrishna Karanam
Status when we published
Waiting for an examiner
Document
20 claims
US classification
345/418
Examiner
BROWN, SHEREE N (Art Unit 2612)

Why Adobe's AI image fix matters for text prompts

Imagine you type a prompt like 'a cat sitting on a chair next to a dog lying on a rug' into an AI image tool. The AI understands the words, but when it renders the image, the cat and dog end up overlapping, or the chair and rug swap positions. It's one of the most frustrating limitations of today's text-to-image tools.

Adobe's patent describes a process that catches this problem before the final image is drawn. Instead of just running the prompt through the model and hoping for the best, the system generates a rough intermediate version first, then checks whether each object is landing in the right place. If something is off, it adjusts that intermediate output — a kind of structured noise — until the layout matches the prompt.

Only after that corrected layout is confirmed does the model render the final synthetic image. Think of it like a director blocking actors on a stage before the cameras roll, rather than fixing it in post-production.

How attention contrast loss guides the noise optimization

Text-to-image diffusion models (the kind that power tools like Adobe Firefly, Midjourney, and DALL·E) work by starting from random noise and gradually refining it into a coherent image. The attention mechanism inside these models — the part that decides which pixels 'belong to' which words in your prompt — often struggles to keep distinct objects spatially separated, especially when the prompt describes two or more elements at specific locations.

Adobe's approach introduces an attention contrast loss — a mathematical penalty score that measures how well the model's internal attention maps separate the first described element from the second. A high loss means the model is confusing where things should go; a low loss means the layout is correct. This loss is calculated on an intermediate output, which in diffusion model terms is the partially-denoised latent (a compressed numerical representation of the image in progress, not yet a visible picture).

The system then runs an optimization loop on that intermediate output:

  • Generate an intermediate noisy latent from the input prompt
  • Measure the attention contrast loss to see if elements are spatially separated
  • Adjust the latent to reduce the loss (push each element toward its intended location)
  • Feed the corrected latent back into the image generation model to produce the final image

The key insight is that fixing the layout at the noise/latent stage is cheaper and more reliable than trying to fix a fully rendered image after the fact. The final image then inherits the corrected spatial structure.

What this means for Firefly's prompt-following accuracy

For anyone who uses Adobe Firefly or similar generative tools professionally — designers, marketers, content teams — the inability to reliably place objects where you ask for them is a real workflow bottleneck. Right now, getting a correctly composed image often means iterating through dozens of generations or falling back to manual editing in Photoshop. A system that bakes spatial fidelity into the generation process could meaningfully cut that iteration time.

More broadly, this points to a wider problem the industry is still working through: text-to-image models are fluent at style and texture but clumsy at spatial reasoning. Adobe's patent takes a targeted, optimization-based approach rather than retraining a new model from scratch — which suggests it could be layered on top of existing Firefly infrastructure without a full model overhaul.

Source: US 2026/0141572 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.

Get our take in your Top Stories

Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time Adobe patent news breaks.

There are more where this came from

We read the new patents from Big Tech, carmakers and more and send you the ones worth knowing. Plain English, free, every week.

More in AI image & video

All 226 AI image & video patents →

Watchlists this filing belongs to

All watchlists →