RSGen: Enhancing Layout-Driven Remote Sensing Image Generation with Diverse Edge Guidance

Xianbao Hou, Yonghao He, Zeyd Boukhers, John See, Hu Su, Wei Sui, Cong YangarXiv 2026

TL;DR

RSGen is a plug-and-play framework that introduces fine-grained edge guidance to layout-to-image (L2I) generation for remote sensing imagery. By ensuring generated objects strictly adhere to specified bounding boxes, it resolves the common problem of spatial misalignment and significantly improves the quality of synthetic data used for training downstream object detectors.

What Problem Does This Paper Address?

Using diffusion models for generative data augmentation has become a popular way to combat data scarcity in remote sensing (RS). Layout-to-Image (L2I) synthesis allows users to control object generation by specifying bounding boxes and class labels.

However, current L2I models suffer from a critical flaw: spatial misalignment. Generated objects often bleed outside their bounding boxes or fail to fill them properly. In remote sensing, where precise orientation and boundary definition are paramount, this misalignment means the original bounding boxes become inaccurate labels for the newly generated images. Consequently, training downstream object detectors on this "noisy" synthetic data yields suboptimal results.

Methods

RSGen addresses this by introducing a two-module, plug-and-play framework that injects precise, pixel-level edge guidance into existing L2I models without freezing out generation diversity.

Overview of the RSGen framework, showcasing the Edge2Edge and L2I FGControl modules.
  1. Edge2Edge Module: Instead of relying on static, rigid edge maps that limit generation diversity, this module generates diverse edge priors. It retrieves reference edge maps from a database based on class and aspect ratio, composites them, and uses a fine-tuned SDXL model via LoRA to generate varied edge maps. To keep these edges strictly bounded, it introduces Scale-Balanced Region Attention, which uses a specialized region loss to penalize background leakage and a masking matrix to block unrelated information flow.
  2. L2I FGControl Module: Standard edge controllers (like ControlNet) often introduce background chaos because they entangle structure with global semantics. FGControl solves this via Frequency-Gated Structure Decoupling. It applies a high-pass filter to extract only the high-frequency structural residuals (the sharp edges) while discarding low-frequency semantic data. A Spatially Gated Injection mechanism then ensures these structural features are only injected inside the target bounding boxes, leaving the background completely untouched.

Datasets

The authors evaluated RSGen across two primary remote sensing benchmarks:

  • DIOR-RSVG: Used for evaluating Horizontal Bounding Box (HBB) annotations.
  • DOTA-v1.0: A challenging dataset featuring dense scenes and small objects, used for both HBB and Oriented Bounding Box (OBB) detection tasks.
  • HRSC2016: (Evaluated in the supplementary material) A dataset focused on ship detection in highly complex maritime backgrounds.

Key Insights and Ideas

  • Decoupling Structure from Semantics: Traditional spatial control mechanisms inadvertently alter the background context. By isolating edge guidance to high frequencies and gating it spatially, the model can dictate local object structure without causing global background chaos.
  • Generative Edge Diversity: Strong pixel-level control usually kills generation diversity. By using a generative model (Edge2Edge) to synthesize the edge maps first (using varied text prompts and random seeds), the framework maintains high structural variety before the final image is even rendered.
  • Countering Scale Imbalance: Standard attention mechanisms naturally bias toward larger bounding boxes. RSGen's region loss dynamically scales background leakage penalties by the total number of bounding boxes, ensuring small objects receive accurate structural definition.

Key Results

The authors integrated RSGen into three prominent L2I baselines: MIGC, CC-Diff, and FICGen.

Visualization of controllability improvements when integrating RSGen into existing L2I methods.
  • Layout Consistency: On the DOTA dataset (OBB setting) using the CC-Diff baseline, RSGen achieved massive improvements in YOLOScore, boosting $mAP_{50}$ by +9.8 and $mAP_{50-95}$ by +12.0.
  • Downstream Performance: When synthetic images were mixed 1:1 with real data to train an Oriented Faster R-CNN on DOTA, the model equipped with RSGen outperformed the baseline by +1.6 mAP overall, with a +1.54 boost specifically at the stricter $mAP_{75}$ metric.
  • Purely Synthetic Training: In an extreme test where detectors were trained only on synthetic data (0:1 real-to-synthetic ratio), adding RSGen to CC-Diff boosted HBB object detection performance from 16.2 to 21.9 mAP.

Limitations and Future Work

While RSGen is highly effective, it operates as an auxiliary plug-and-play module. This means it cannot overcome the fundamental generative limits of the base model it attaches to; if a base model inherently struggles to render minute visual details for extremely small objects, RSGen can only partially mitigate the issue.

Additionally, RSGen is currently optimized for standard U-Net architectures within the diffusers library. It demonstrates suboptimal performance when paired with models like GLIGEN, which insert custom attention layers that interfere with RSGen's feature injection mechanism. Future work will likely target broader architectural compatibility.

Summary updated

BibTeX
@misc{hou2026rsgen,
  author = {Xianbao Hou and Yonghao He and Zeyd Boukhers and John See and Hu Su and Wei Sui and Cong Yang},
  title = {{RSGen: Enhancing Layout-Driven Remote Sensing Image Generation with Diverse Edge Guidance}},
  year = {2026},
  eprint = {2603.15484},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.15484},
}
Figure