LiG-DETR: Local-in-Global Reassembly in Latent Space for Aerial Object Detection

Yupeng Zhang, Fangzhuo Gao, Juntao Cheng, Ziyi Zhao, Liang Wan, Ruize HanarXiv 2026

TL;DR

LiG-DETR bridges the gap between image slicing and end-to-end object detection by reassembling high-fidelity local features into a unified global latent space. By acquiring fine-grained evidence before feature degradation occurs, it achieves state-of-the-art performance on aerial datasets, particularly for tiny objects, while maintaining a clean, post-processing-free inference pipeline.

What Problem Does This Paper Address?

Aerial object detection is a unique challenge because of extreme variations in object scale and density. A single drone image might contain a massive parking lot and a few tiny pedestrians simultaneously.

Current methods generally fall into two camps:

  1. Image Slicing: Methods like SAHI crop the image into overlapping patches and run detection on each. This preserves fine details but requires messy, redundant post-processing like NMS or box fusion to stitch results back together.
  2. Feature/Query Refinement: These methods (like Deformable DETR) stay end-to-end but operate on features that have already been downsampled and compressed. Once the visual cues for a 10-pixel object are lost during encoding, no amount of "refinement" can fully recover them.

LiG-DETR asks: Can we acquire high-fidelity local evidence before degradation and integrate it into a unified end-to-end framework?

Methods

The authors propose an Efficient Global-Local Reassembly framework. Instead of treating image slices as independent detection units, LiG-DETR treats them as feature acquisition units.

Figure 2: Overview of LiG-DETR. Black and red arrows denote the full-image global branch and the zoomed-in local branch, respectively. The full image is encoded into the encoder-native Global G1, from which the higher-resolution Global G0 is generated through projection. CPSR selects informa- tive fine-grained patches for high-fidelity local evidence acquisition. The projected local features are spatially reassembled, while unselected regions are filled with the corresponding Global G0 features, forming the context-preserved dense local feature L. The resulting feature set {G0, G1, L} is used for proposal generation and unified decoding by a single DETR decoder. DA-AQA determines an image-specific query budget Kq from encoder proposal scores and uses the top-Kq proposal boxes to initialize decoder reference points.

Key components include:

  • Shared Encoder: A single visual encoder (DINOv2) processes both the resized global image and magnified local patches.
  • Context-Preserved Selective Reassembly (CPSR): To avoid the massive computational cost of processing every possible patch at high resolution, LiG-DETR uses a Laplacian-based high-frequency score to identify "informative" regions in the raw image. These patches are packed for efficient encoding and then "scattered" back into their original spatial locations. Crucially, unselected regions are filled with global features, ensuring the decoder receives a dense, spatially aligned feature map.
  • Density-Aware Adaptive Query Allocation (DA-AQA): Standard DETR models use a fixed number of object queries. LiG-DETR dynamically adjusts the query budget based on the scene's complexity. It calculates a "cumulative proposal score mass" from the encoder to decide if a scene needs 300 queries or 900, reducing redundant computation in sparse scenes.

Datasets

The model was evaluated on three major benchmarks:

  1. VisDrone-DET2019: A standard UAV-view dataset with 10 categories and diverse environments.
  2. AI-TOD-v2: A dataset dominated by extremely small objects (average size of 12.7 pixels).
  3. DGDet-VisDrone: A new cross-domain protocol introduced by the authors. It uses one domain (e.g., "Cloudy") for training and tests on five unseen domains (Sunny, Dusk, Foggy, Night, Rainy) to evaluate how well the model generalizes to new environments.

Key Insights and Ideas

  • Slicing as Feature Acquisition: The most significant shift is moving away from "detect-then-merge" to "acquire-then-decode." By reassembling local features in the latent space, the model avoids the "fragmented inference" problem of traditional slicing.
  • Image-Space Selection is Vital: The authors argue that region selection must happen in the raw image space. If you wait until the feature map stage to select regions, the "weak signals" of tiny objects might already be suppressed by background clutter or downsampling.
  • High-Fidelity Evidence vs. Upscaling: As shown in Figure 1, simply projecting a global feature to a higher resolution (Global $G_0$) doesn't recover the same level of detail as encoding a magnified local patch (Local Reassembled $L$).
Comparison of small-object evidence under global and local encoding.

Key Results

LiG-DETR demonstrates a superior accuracy-efficiency trade-off compared to both standard detectors and full-image upscaling.

  • VisDrone-DET2019: LiG-DETR achieved 37.1% AP, outperforming the RF-DETR baseline by 7.7 points. Notably, it significantly boosted performance on small objects ($AP_s$ rose from 18.6% to 27.6%).
  • AI-TOD-v2: The model reached 31.8% AP, surpassing specialized tiny-object detectors like Dome-DETR.
  • Efficiency: Compared to simply doubling the input resolution of the baseline (which hits 11.8 FPS), LiG-DETR achieves similar accuracy while running at 18.0 FPS.
  • Generalization: On the new DGDet-VisDrone benchmark, LiG-DETR showed a 5.0-point gain in average AP across unseen domains, suggesting that high-fidelity local evidence makes the model more robust to domain shifts like weather or lighting changes.

Limitations and Future Work

While LiG-DETR is more efficient than full-image upscaling, it is still computationally heavier than the base detector due to the additional local branch. The authors note that the $B=4$ configuration (processing 16 patches packed into 4 observations) is noticeably slower than the baseline.

Additionally, the Laplacian-based selection strategy is a "low-level" heuristic. While fast and effective, it doesn't always align perfectly with semantic importance. A car in a blurry, low-contrast area might have a low Laplacian score but high semantic value. The authors suggest that exploring more sophisticated, semantically-aware region selection mechanisms is a promising direction for future research.

Summary updated

BibTeX
@misc{zhang2026lig,
  author = {Yupeng Zhang and Fangzhuo Gao and Juntao Cheng and Ziyi Zhao and Liang Wan and Ruize Han},
  title = {{LiG-DETR: Local-in-Global Reassembly in Latent Space for Aerial Object Detection}},
  year = {2026},
  eprint = {2610.09511},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.09511},
}
Figure