← Latest papers
💻 computer science

RoPEMover: Depth-Aware Object Relocation via Positional Embeddings

RoPEMover introduces a depth-aware object relocation method that manipulates rotary positional embeddings within diffusion transformers to achieve geometry-consistent spatial rearrangement, including realistic occlusion handling and shadow updates, with state-of-the-art performance despite minimal real-world supervision.

Original authors: Ipek Oztas, Duygu Ceylan, Aybars Bugra Aksoy, Aysegul Dundar

Published 2026-06-26
📖 5 min read🧠 Deep dive

Original authors: Ipek Oztas, Duygu Ceylan, Aybars Bugra Aksoy, Aysegul Dundar

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a photograph of a living room with a coffee table in the middle. You want to move that table to the corner of the room. If you just cut the table out of the picture and paste it into the corner, it looks fake. It might be floating in mid-air, it won't cast a shadow on the new floor, and it won't look like it's sitting behind a lamp that was previously in the corner.

RoPEMover is a new tool that solves this problem. Instead of just cutting and pasting pixels, it acts like a "digital architect" that understands the 3D shape of the room, even though it's only looking at a flat 2D picture.

Here is how it works, broken down into simple concepts:

1. The "GPS" Inside the Brain (RoPE)

Modern AI image generators (like the ones that make art from text) have a built-in "GPS" system inside their brain. In technical terms, this is called Rotary Positional Embeddings (RoPE). Think of this GPS as a map that tells the AI exactly where every single pixel is located relative to everything else.

Usually, this map is fixed. But the authors of this paper realized: What if we could physically move the coordinates on this map?

If you tell the AI, "Move the coffee table 2 feet to the left," RoPEMover doesn't just drag the pixels. It warps the GPS coordinates of the table. It tells the AI's brain, "Pretend the table is now in this new spot." Because the AI is following its own internal map, it automatically redraws the table in the new spot, making it look like it was always there.

2. The "Depth Goggles" (Depth-Awareness)

The tricky part of moving things is knowing what is in front and what is behind. If you move a chair in front of a painting, the chair should block the painting. If you move it behind, the painting should cover the chair.

Old methods often get this wrong, making objects look like they are floating or ignoring other items. RoPEMover puts on a pair of "Depth Goggles."

  • It looks at the original photo and guesses how deep every part of the scene is (how far away it is from the camera).
  • When you move an object, it calculates the new depth.
  • It then tells the AI: "This object is now closer than the wall, so draw the wall behind it," or "This object is further away, so draw the wall in front of it."

This allows the AI to handle occlusions (hiding things) perfectly. It can even "invent" the parts of the background that were previously hidden by the object, filling them in realistically.

3. The "Shadow and Light" Magic

When you move a physical object, the shadows move with it. If you move a lamp, the light it casts changes.

RoPEMover doesn't just move the object; it moves the relationship the object has with the light. Because it understands the 3D geometry, it knows where the light is coming from and redraws the shadows and reflections in the new location. It ensures the object looks "grounded" and part of the scene, not like a sticker.

4. How It Learned (The Training)

You might think an AI needs to watch millions of hours of video to learn how to move things. Surprisingly, RoPEMover learned with very little data.

  • The Synthetic Playground: First, the researchers taught it using simple, computer-generated blocks (like a digital Lego set). This taught the AI the rules of moving things (how shadows work, how depth changes).
  • The Real-World Polish: Then, they showed it a tiny number of real photos (about 165 pairs) where objects were actually moved. This was just enough to teach the AI how to handle the messy, complex details of real life, like textures and specific lighting.

What Can It Do?

According to the paper, this method allows for:

  • Moving Objects: Dragging an object to a new spot while keeping it looking real.
  • Removing Objects: Taking an object away and filling in the background perfectly (including revealing what was behind it).
  • Adding Objects: Pasting a new object into a scene so it casts the right shadow and fits the depth.
  • Fixing Depth: Placing an object behind a glass vase or in front of a tree, handling the complex layering correctly.

The Bottom Line

RoPEMover is like giving the AI a "3D understanding" of a flat photo. Instead of treating the image as a flat sheet of paper to be cut and pasted, it treats the image as a 3D world where objects have depth, shadows, and relationships with their surroundings. By tweaking the AI's internal "GPS" and "Depth Goggles," it can move things around with a level of realism that previous tools struggled to achieve.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →