AI
New AI method improves spatial understanding in image generation from non-standard perspectives
Researchers introduce FoR-SALE, a technique that helps text-to-image models better handle spatial descriptions from viewpoints other than the camera's position.
Current text-to-image generation systems struggle when users describe spatial arrangements from perspectives other than a camera's direct viewpoint. A new approach called Frame of Reference-guided Spatial Adjustment in LLM-based Diffusion Editing (FoR-SALE) aims to close this gap.
How the system works#
FoR-SALE builds on Self-correcting LLM-controlled Diffusion (SLD), an existing image editing framework. The technique operates through a cycle of detection and refinement:
- Alignment assessment: It first checks how well the generated image matches the spatial descriptions in the original text
- Perspective mapping: Vision modules extract the spatial layout of the image while the system converts spatial language into a unified camera-based perspective
- Correction: When misalignment is found, the system generates and applies targeted editing operations
- Novel adjustments: FoR-SALE introduces latent-space operations—computational adjustments made at the model's internal level—to modify the facing direction and perceived depth of objects in generated images
Performance gains#
Testing across three purpose-built benchmarks—FoR-LMD, FoREST, and FoREST-G—the framework significantly improved results. The most advanced text-to-image models gained up to 7 percentage points in performance using just a single correction round. The FoREST-G benchmark includes specialized subsets for multi-object scenes, varied spatial relationships, and natural language prompts, allowing researchers to assess how well the approach generalizes.
Why it matters#
Many spatial expressions in natural language reflect non-camera perspectives. Someone might describe an object's position "from the viewer's left" or relative to another object rather than the camera's position directly. Building AI systems that understand and respect these different frames of reference moves text-to-image generation closer to human-like spatial reasoning.

