ReGround: Improving Textual and Spatial Grounding at No Cost

Yuseung Lee, Minhyuk Sung
2/14/2026

No official code found. Best implementation: liuch37/reground (4 stars, Apache-2.0, last commit 2024-07-23).

Abstract

When an image generation process is guided by both a text prompt and spatial cues, such as a set of bounding boxes, do these elements work in harmony, or does one dominate the other? Our analysis of a pretrained image diffusion model that integrates gated self-attention into the U-Net reveals that spatial grounding often outweighs textual grounding due to the sequential flow from gated self-attention to cross-attention. We demonstrate that such bias can be significantly mitigated without sacrificing accuracy in either grounding by simply rewiring the network architecture, changing from sequential to parallel for gated self-attention and cross-attention. This surprisingly simple yet effective solution does not require any fine-tuning of the network but significantly reduces the trade-off between the two groundings. Our experiments demonstrate significant improvements from the original GLIGEN to the rewired version in the trade-off between textual grounding and spatial grounding.

View on arXivView PDF

Code Implementations(1)

liuch37/regroundCommunity65%
Apache-2.0

This is an unofficial re-implementation of paper "ReGround: Improving Textual and Spatial Grounding at No Cost" published in ECCV 2024.

40PythonJul 20, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{lee2026reground,
  title  = {ReGround: Improving Textual and Spatial Grounding at No Cost},
  author = {Yuseung Lee and Minhyuk Sung},
  year   = {2026},
  eprint = {2403.13589},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2403.13589},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.13589.svg)](https://codeofpaper.com/paper/2403.13589)

Discussion