Mitigating Coordinate Prediction Bias from Positional Encoding Failures

Xingjian Tao, Yiwei Wang, Yujun Cai, Yihong Luo, Jing Tang · Submission to ICLR 2026 · Withdrawn

TL;DR

When multimodal LLMs process high-resolution images, degraded visual positional encodings cause them to fall back on predictable, non-random coordinate biases rather than making random guesses. To fix this, the authors introduce Vision-PE Shuffle Guidance (VPSG), a training-free test-time intervention that shuffles positional embeddings to expose and subtract these spurious numeric priors during decoding.

What Problem Does This Paper Address?

Multimodal Large Language Models (MLLMs) are increasingly deployed as autonomous agents for Graphical User Interface (GUI) automation and visual grounding, where they output discrete coordinate tokens (e.g., [1000, 500]). However, high-resolution screens produce long visual sequence lengths. In these long-context settings, attention diffuses, visual positional encodings (VPEs) degrade, and models experience severe "coordinate drift."

Historically, researchers treated coordinate mispredictions as random noise. This paper investigates what models actually do when their spatial anchors break down, revealing that coordinate errors follow strong, systematic directional biases rooted in unconditioned numeric priors (such as disproportionately predicting numbers like 1024).

Methods

The authors propose Vision-PE Shuffle Guidance (VPSG), a training-free inference technique inspired by classifier-free guidance (CFG):

  • Causal Formulation: Grounding is framed via two pathways: a position-conditioned pathway (grounded visual cues) and a position-unconditioned pathway (spurious priors like preferred digits). When positional cues are degraded, the non-causal path dominates.
  • Negative-Evidence Logit Adjustment: Alongside the normal model forward pass, VPSG runs parallel auxiliary forward passes with randomly shuffled visual positional encodings (VPEs). By subtracting the log-probabilities of these shuffled passes from the main pass, it suppresses the position-unconditioned biases during greedy decoding.
  • Seeds Aggregation: Rather than relying on a single noisy shuffle, VPSG averages log-probabilities across multiple random shuffle seeds ($S$) via geometric mean aggregation.
  • Position-Aware Coefficient Decay & FSM: A lightweight finite-state machine (FSM) tracks coordinate syntax. It leaves brackets, commas, and spaces untouched, applying guidance exclusively to numeric digits. The guidance weight $\alpha_t$ starts high on the most significant digit of $x$, decays geometrically ($\alpha \cdot \text{decay}^{k-1}$), resets at the first digit of $y$, and decays again.

Datasets

  • ScreenSpot-Pro: A rigorous high-resolution GUI grounding benchmark consisting of 1,581 targets (977 text targets and 604 icon targets) across 23 professional desktop applications (e.g., Photoshop, AutoCAD, VSCode) and three OS environments. Targets are extremely fine-grained, averaging just 0.07% of the total screen area.
  • No new benchmark datasets were created; all evaluations used the standard benchmark split.

Key Insights and Ideas

  • Degraded PEs Induce Predictable Clustering, Not Random Dispersion: When VPEs are shuffled, predictions do not spread out uniformly (which would yield a normalized pairwise distance around $\mu_0 \approx 0.521$). Instead, the distance collapses to $\approx 0.16$ across both 3B and 7B models.
  • High-Frequency Hallucinations: Models exhibit strong "token attractors" when spatial grounding fails. For instance, in Qwen2.5-VL-7B with shuffled PEs, the number 1024 was output 902 times across predictions, followed by 1234 and 567.
  • Digit Significance Matters for Guidance: The highest-order digits dominate Euclidean error and exhibit the strongest confidence gaps. Progressively decaying guidance on subsequent digits prevents over-regularizing ambiguous, low-margin trailing digits.

Key Results

Evaluated on ScreenSpot-Pro using Qwen2.5-VL models:

  • Qwen2.5-VL-3B: VPSG boosts overall grounding accuracy from 11.6% to 13.3% (+1.7 points).
  • Massive improvements were observed in text-heavy GUI tasks, such as Development (Text) increasing from 18.8% to 24.7% (+5.9 points) and Creative (Text) rising from 16.7% to 20.2% (+3.5 points).
  • Qwen2.5-VL-7B: Overall accuracy increased from 18.5% to 19.1%, with Development (Text) improving from 37.7% to 40.9% (+3.2 points) and Office (Text) rising from 41.8% to 43.5%.
  • Ablations:
  • Removing the coefficient decay schedule caused the largest drop in accuracy (-1.4 points on 3B, -0.9 on 7B), demonstrating the importance of prioritizing higher-order digits.
  • Removing multi-seed aggregation (using only a single shuffle seed) caused performance to drop by 0.3 to 0.5 points due to noisy Monte-Carlo estimates of the bias prior.

Limitations and Future Work

  • Inference Overhead: Because VPSG evaluates multiple shuffled auxiliary routes ($S$ seeds) alongside the standard decoding route, it increases FLOPs and inference latency.
  • Benchmark Scope: The experimental validation focuses primarily on ScreenSpot-Pro and the Qwen2.5-VL model family. Testing across natural scene grounding (e.g., RefCOCO) and other model architectures is left to future exploration.
  • Resolution Bottlenecks: While VPSG mitigates test-time directional bias, it acts as a corrective filter rather than fundamentally solving the underlying architectural failures of visual positional embeddings at extreme context lengths.

Summary updated

BibTeX
@misc{tao2025mitigating,
  author = {Xingjian Tao and Yiwei Wang and Yujun Cai and Yihong Luo and Jing Tang},
  title = {{Mitigating Coordinate Prediction Bias from Positional Encoding Failures}},
  year = {2025},
  eprint = {2510.22102},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.22102},
}

Loading related content...

Figure