Manuscript Offprint

arXiv:2610.19419

WinARDet: Compressed Window Auto-Regression for Long-Horizon Vision-Language Grounding

Chenxu Wang, Hangyi Kuang, Bo-Wen Yin, Yuxuan Li, Quan-Sheng Zeng, Yang Zhang, Xu Guo, Xiang Li, Qibin Hou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

MLLM-based detectors formulate vision-language grounding as autoregressive coordinate generation, yet in dense scenes, they often collapse into a box repetition loop, repeatedly emitting identical boxes until the decoding budget is exhausted. We associate this failure with a historical-answer attention takeover: Under full-history autoregression, repeated coordinate tokens in the growing answer history attract disproportionate attention, crowding out the attention sinks needed to attend to new visual evidence. To break this loop, we propose Compressed Window Auto-Regression (WinAR). This new mechanism partitions a long answer sequence into consecutive generation windows and restricts full token-level autoregression to the current window only while compressing each previous window into a fixed set of latent tokens that condition subsequent decoding. This design reduces the repeated exposure to raw historical coordinates that triggers the attention takeover, yet preserves cross-window dependencies essential for coherent multi-object generation. On RSDense, which contains 200-2,000 objects per image, our model WinARDet improves RexOmni F1-score (IoU=0.5) from 32.16 to 39.36 over the baseline, while reducing the redundancy rate from 35.48% to 13.00%. WinARDet also generalizes across decoding strategies and output formats, including parallel box decoding and polygon generation, providing a practical paradigm for long-horizon vision-language grounding across scene densities. Code: https://github.com/facias914/WinARDet

1 INTRODUCTION

Modern MLLM-based detectors, such as RexOmni (Jiang et al., 2026) and LocateAnything (Wang et al., 2026b), formulate object detection as autoregressive next-token prediction, enabling flexible vision-language grounding under complex instructions beyond the fixed prediction interfaces of conventional detectors (Liu et al., 2024; Cheng et al., 2024; Wang et al., 2026a). However, extending this autoregressive formulation to dense visual scenes introduces a fundamental long-horizon grounding challenge (Xia et al., 2018; Goldman et al., 2019). When hundreds or even thousands of objects must be generated within a single response, the model must continuously discover previously uncovered objects while keeping track of those already localized. Since autoregressive inference operates under a finite and costly decoding budget, every redundant prediction consumes generation steps that could otherwise be used to recover new objects. Sustaining new-object discovery throughout a long decoding horizon is therefore critical to both detection accuracy and inference efficiency.

Our empirical investigation reveals that MLLM-based detectors under the Full-History Auto-Regression (FHAR) paradigm, where each prediction conditions on the complete history of generated answer tokens, progressively lose their ability to sustain new-object discovery over extended decoding horizons. In dense configurations, we observe that a supervised fine-tuned RexOmni model (Jiang et al., 2026) under the FHAR paradigm initially yields valid detections, yet eventually deteriorates into a pathological box repetition loop, wherein identical or nearly identical bounding boxes are emitted repeatedly (Fig. 1(middle, top)). This decoding collapse is quantitatively characterized in Fig. 2(a): Over the initial 400 box predictions, the redundancy rate escalates from ap-

∗^{*}Corresponding author. Email: houqb@nankai.edu.cn.

Figure

Figure 1: WinARDet overview. Grounding Performance across Densities(Left): WinARDet outperforms the baseline across benchmarks of varying scene densities(Lin et al. (2014); Xia et al. (2018); Cheng et al. (2023); Goldman et al. (2019)), with increasingly pronounced gains in denser scenes. Breaking Box Repetition Loop(Middle): WinARDet breaks the box repetition loop, suppressing repeated predictions and recovering substantially more distinct objects. Beyond Bounding Boxes(Right): WinARDet generalizes to polygon detection, extending beyond bounding-box.

proximately 10% to near 100%, while the rate of discovering novel objects concomitantly plummets from roughly 16% to nearly zero. Consequently, a substantial portion of the remaining decoding budget is expended on redundant box predictions rather than on unaccounted objects, causing recall to saturate while inference latency continues to accumulate. Ultimately, this degenerative process substantially undermines both the detection accuracy and the overall inference efficiency.

Our attention analysis links this degeneration to a progressive historical-answer attention takeover. Specifically, we partition the conditioning context into system, visual, prompt, and historical-answer regions, and track the softmax-normalized attention mass assigned to each region by coordinate-token queries throughout decoding. As shown in Fig. 2(b), attention to the historical answer grows steadily with the decoding horizon and rises sharply near the onset of the repetition loop, accompanied by a pronounced reduction in attention to the initial system tokens. This redistribution is particularly revealing because prior studies (Xiao et al., 2024; Qiu et al., 2026) have shown that a small set of initial system tokens often serves as attention sinks, absorbing excess attention during autoregressive decoding. In dense grounding, however, the expanding raw answer history progressively displaces this sink allocation with explicit and increasingly repetitive coordinate patterns. Once these raw coordinates dominate the conditioning context, the decoder becomes increasingly biased toward previously generated locations. Each duplicated box is then appended back to the history, further strengthening this bias and ultimately forming a self-reinforcing box repetition loop.

To break this loop, we propose Compressed Window Auto-Regression (WinAR), an alternative autoregressive paradigm for long-horizon structured generation. WinAR follows a simple principle: remember compactly and generate locally. In contrast to FHAR, which retains every previous coordinate token, WinAR preserves exact token-level history only within the current window and represents each previous completed window with a fixed number of latent tokens by a Window History Compressor. During training, preceding windows appear only through their compact latent tokens, and cross-entropy supervision is applied to the current window. During inference, each completed window is compressed before generation proceeds to the next. WinAR therefore changes how autoregressive context is carried across a long answer: local generation remains exact, while cross-window dependencies pass through a compact history. By limiting repeated exposure to raw coordinate patterns without eliminating historical conditioning, WinAR mitigates historical-answer attention takeover and preserves the decoding budget for discovering new objects.

Experiments show that the benefit of WinAR becomes increasingly pronounced as scene density grows (Xia et al., 2018; Cheng et al., 2023). On RSDense benchmark, which contains 200–2,000 objects per image, integrating WinAR into RexOmni reduces the mean prediction redundancy rate from 35.48% to 13.00% and improves F1@IoU= 0.5 from 32.16 to 39.36. It also generalizes to the parallel box decoding framework of LocateAnything (Wang et al., 2026b) and improves F1 from 26.15 to 27.54 and reduces mean redundancy from 14.89% to 2.13% on RSDense. WinAR also extends to structured outputs such as polygons and substantially reduces peak training memory. When training LocateAnything, WinAR reduces peak GPU memory consumption by 34.1%,

Figure

(a) Redundancy and New-Object Discovery over Decoding

(b) Attention Dynamics over Decoding

Figure 2: (a) Metrics are averaged over intervals of 100 predicted boxes on RSDense(Section 4). FHAR(left) rapidly accumulates redundant predictions as new-object discovery collapses, whereas WinAR(right) suppresses redundancy and sustains the discovery of new objects. (b) The onset of the box repetition loop coincides with historical-answer attention takeover and reduced system-token attention in FHAR(left), while WinAR(right) maintains a more stable attention allocation.

enabling training on 8 NVIDIA A40 GPUs(48 GB) without MagiAttention (Zewei & Yunpeng, 2025). These results establish WinAR as a general and practical paradigm for accurate and efficient vision-language grounding across varying scene densities. Our contributions are threefold:

• We identify a long-horizon failure mode in MLLM-based detectors, where Full-History Auto-Regression progressively triggers historical-answer attention takeover and a self-reinforcing box repetition loop.

• We propose Compressed Window Auto-Regression (WinAR), which preserves exact autoregression within local windows while compressing completed windows into compact latent tokens, mitigating repetition without discarding cross-window dependencies.

• Extensive experiments across scene densities, decoding strategies, and structured output formats demonstrate that WinAR consistently improves detection accuracy, substantially reduces prediction redundancy, and lowers training memory for long-sequence grounding.

References (34)