Hi-Token: Hierarchical Coordinate Tokenization for Generative Visual Grounding

Xiuyuan Zhu, Ke Lu, Kun Dong, Siwen Jiao, Hao Wu, Zijin Du, Shun Mao, Dongming Zhang, Jian XuearXiv 2026

TL;DR

Current vision-language models struggle with precise object localization because they treat bounding box coordinates as independent, flat text tokens. This paper introduces Hi-Token, a hierarchical representation that breaks coordinates into axis-specific digits (hundreds, tens, ones), and Hi-GAR, a geometry-aware reinforcement learning reward function. Together, they significantly boost visual grounding accuracy across strict overlap thresholds without adding any inference overhead.

What Problem Does This Paper Address?

Generative Vision-Language Models (VLMs) typically perform visual grounding—drawing a bounding box around an object described in text—by outputting coordinates as a sequence of text tokens. Most existing methods use a "flat" location vocabulary (e.g., tokens from <0> to <999>).

To the model, nearby tokens like <323> and <324> share no inherent representation or numerical proximity. Furthermore, a shared vocabulary across both axes leaves horizontal and vertical roles completely implicit. The model must learn numerical order, scale, and axis semantics entirely from scratch through training examples. This lack of structure frequently leads to poor boundary alignment, where the model identifies the general area of an object but fails to tightly bound it.

Methods

The authors tackle this problem with a two-stage approach:

  1. Hi-Token (Hierarchical Coordinate Tokenization): Instead of representing a coordinate as a single flat token, Hi-Token quantizes each coordinate into a $[0, 999]$ range and decomposes it into three separate tokens representing the hundreds (anchoring), tens (adjusting), and ones (aligning) digits. Crucially, these tokens are axis-specific (e.g., <x_hundreds_4>, <y_tens_7>). A bounding box is thus represented by a structured 12-token sequence. This factorizes coordinate generation into an explicit coarse-to-fine decision process and shrinks the location vocabulary from 1,000 tokens to just 60.
  2. Hi-GAR (Geometry-Aware Reward): Standard supervised fine-tuning (SFT) penalizes all token errors equally, regardless of their geometric impact. To fix this, the authors introduce a post-training reinforcement learning stage using Group Relative Policy Optimization (GRPO). The reward function combines format consistency, continuous box Intersection over Union (IoU), tiered coordinate verification (checking digit-level accuracy at 5%, 1%, and 0.3% tolerances), and strict IoU milestone bonuses. A validity gate disables coordinate-level rewards if the predicted box has zero meaningful overlap with the target, preventing the model from gaming the reward system.

The complete framework is illustrated below in Figure 1:

Overview of Hi-Token and Hi-GAR framework

Datasets

The authors evaluated their approach on three widely used visual grounding benchmarks:

  • RefCOCO
  • RefCOCO+
  • RefCOCOg

All primary experiments were conducted using a Qwen2.5-VL-3B base model trained on an 80k sample split from RefCOCO.

Key Insights and Ideas

  • Supervision Density Boost: By reducing the coordinate vocabulary from 1,000 flat tokens to 60 digit-based tokens, Hi-Token increases the average training observations per token type by roughly 50-fold. This dense token reuse makes spatial patterns substantially easier to learn in data-limited settings.
  • RL as a Broad Geometric Refiner: Analysis of the IoU distributions reveals that the reinforcement learning stage (Hi-GAR) primarily acts by drastically reducing low-overlap predictions (IoU < 0.5) and shifting them into the high-accuracy 0.7–0.95 range, rather than simply pushing ultra-strict boundaries.
  • Axis Decoupling Prevents Confusion: Providing separate token spaces for horizontal and vertical coordinates explicitly encodes spatial roles, preventing dimension-mixing errors common in flat vocabularies.

Key Results

  • Substantial SFT Improvements: Under identical training conditions, simply switching from flat tokens to Hi-Token SFT improved RefCOCO strict accuracy ([email protected]) from 23.0% to 31.7%.
  • State-of-the-Art Performance: The final model, Hi-R1 (combining Hi-Token and Hi-GAR), achieved top-tier performance across the RefCOCO family, outperforming strong specialist baselines like Rex-Omni on most metrics (e.g., reaching 84.3% mIoU on RefCOCO).
  • Zero Inference Overhead: Because the geometric reward architecture (Hi-GAR) is training-only, the final model retains the low inference latency of a standard SFT model.

A qualitative example of how Hi-R1 successfully resolves overlapping targets compared to baseline models is shown in Figure 2:

Qualitative comparison on overlapping targets

Limitations and Future Work

  • Fixed Quantization Scale: Hi-Token operates on a fixed 1000-bin coordinate space. While uniform, this makes ultra-strict localization highly sensitive to errors when dealing with very small objects, motivating future work into adaptive-resolution extensions.
  • Coupled Ablations: The current experiments demonstrate the joint success of the architecture but do not fully isolate the individual mathematical contributions of the numerical hierarchy versus the axis-specific vocabularies.

Summary updated

BibTeX
@misc{zhu2026hi,
  author = {Xiuyuan Zhu and Ke Lu and Kun Dong and Siwen Jiao and Hao Wu and Zijin Du and Shun Mao and Dongming Zhang and Jian Xue},
  title = {{Hi-Token: Hierarchical Coordinate Tokenization for Generative Visual Grounding}},
  year = {2026},
  eprint = {2608.03471},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.03471},
}
Figure