NeurIPS 2026

HiLoc.

A Hierarchical Representation Method for Spatial Localization in Multimodal Large Language Models

Find the region. Refine the position.
Precise localization through shared Grid–Cell tokens.

1Tencent Youtu Lab2The Hong Kong University of Science and Technology3The Hong Kong Polytechnic University4The University of Hong Kong5The Chinese University of Hong Kong, Shenzhen

* Co-corresponding author
† This work was completed during Evelyn Zhang’s internship at Tencent Youtu Lab.

64shared coordinate tokens
4,096positions per axis
Grid → Cellcoarse-to-fine prediction
FIGURE 1Flat and hierarchical coordinate representations, the original design comparison, and benchmark results.Full size ↗

THE IDEA

A small vocabulary.
A finer spatial representation.

Multimodal large language models often express object locations as sequences of text or flat coordinate tokens. Increasing the resolution of a flat token representation requires a larger coordinate vocabulary.

HiLoc factorizes each coordinate into two levels. A Grid index selects a coarse region, and a Cell index refines the position within it. Both levels share the same index-token vocabulary. With 64 tokens per level, the representation encodes 4,096 discrete positions along each axis.

Built on Qwen3-VL-4B-Instruct, HiLoc combines supervised fine-tuning and GRPO post-training. HiRef-500K adds complex referring expressions and non-existence queries to support description grounding and rejection.

At equal resolution and with the same decoder, flat and hierarchical encodings have the same quantization error. HiLoc’s vocabulary advantage is representational; learned accuracy and optimization behavior are evaluated experimentally.

01 / REPRESENTATION

From a region to a point.

Coarse Grid indices locate the region.
Fine Cell indices refine the position within it.

FIGURE 2The original Grid–Cell representation and four design motivations. Cell-error locality assumes a correct Grid; optimization behavior is evaluated empirically.Full size ↗

Try the Grid–Cell encoding

Play a moving-point example, or use the sliders to explore.

Image coordinate space64 × 64 coarse grid

Use the sliders to move the point. Each coarse grid contains 64 × 64 fine cells.

1

Select the Grid

Predict the coarse x and y indices.

<grid> <20> <35> </grid>
2

Refine with the Cell

Reuse the same 64 tokens for the local position.

<cell> <0> <0> </cell>
q = 64 × Grid + Cellq ∈ {0, …, 4095}

Interactive illustration of the encoding. Coordinates range from 0 to 4095 on each axis; q = 64 × Grid + Cell.

From coordinates to structured predictions.

HiLoc pairs phrase and box tags with Grid–Cell coordinates, allowing a single response to ground multiple queries and instances. Supervised fine-tuning teaches the output structure; GRPO then refines localization with task-specific rewards.

FIGURE 3Original input image, structured output tokens, HiLoc vocabulary, supervised fine-tuning, and GRPO training workflow.Full size ↗

02 / SUPPORTING DATA

HiRef-500K

Complex descriptions. Multiple instances.
And knowing when there is no match.

Built from LVIS training annotations and COCO train2017 images, HiRef-500K connects generated referring expressions to annotated instances. Five expression types support complex grounding and explicit rejection.

AttributeStateRelationSet logicNon-existence
ANIMATED WALKTHROUGH

Follow the HiRef data engine

01 / 04

Start with annotated objects in COCO train2017 images.

Illustrative workflow. Pause the animation or select a step to inspect it.

Schematic scene · not a dataset sample
ATTRIBUTE
“The blue circle.”
1 target instance
FIGURE 4 · INTERACTIVEThe HiRef data engine redrawn as an animated workflow. The interactive schematic illustrates how expressions map to one or more targets—or to no target.
View the original paper figure
FIGURE 4Annotation-linked expression generation and parsing for HiRef-500K. The example image is from LVIS.Full size ↗
Explore HiRef-500K examples
03 / HIREF-500K Only non-existence expressions have zero targets. Other expression types refer to one or more instances.

03 / EVIDENCE

Measured across localization tasks.

Six benchmarks, from objects to descriptions.
Scores are percentages; higher is better.

COCO · F1 @ IoU 0.95

21.3Rex-Omni: 15.9

RefCOCOg test · F1 @ IoU 0.95

53.9Rex-Omni: 36.6

D³ · Full AP

53.1Rex-Omni: 21.5

These are complete-system comparisons. Backbones, data, and training recipes differ. The controlled studies in the analysis section examine specific factors.

OBJECT DETECTION

Common categories and the long tail.

COCO and LVIS evaluate localization across common and long-tailed object categories. The full comparisons below report recall, precision, and F1 at both loose and strict overlap thresholds.

Bold and underlined values follow the paper. On smaller screens, swipe tables horizontally to view every metric.

TABLE 1 COCO · Common object detection
MethodIoU 0.5IoU 0.95Mean IoU
RecallPrecisionF1RecallPrecisionF1RecallPrecisionF1
Closed-set
Faster RCNN-R5060.460.760.64.912.67.143.254.248.1
DETR-R5059.673.965.910.619.013.642.955.348.3
DyHead-R5058.176.666.111.920.615.044.860.151.3
DAB-DETR-R5059.277.467.110.518.513.443.858.850.2
Deformable-DETR-R5062.678.569.714.817.717.748.762.454.7
DINO-R5062.676.568.817.825.821.150.062.455.6
DINO-Swin-L69.882.575.622.229.725.457.068.262.1
Open-set
Grounding DINO-Swin-T62.878.469.820.526.223.054.658.856.6
MLLM
DeepSeek-VL2-Tiny29.455.038.25.913.08.120.038.626.3
OVIS2.5-9B60.045.351.68.48.08.239.331.034.6
Mimo-VL-7B56.256.956.56.17.46.735.336.435.9
OVIS2.5-2B63.150.756.210.410.110.342.635.438.7
DeepSeek-VL2-Small52.173.360.912.518.514.939.155.445.9
Qwen2.5-VL-7B55.475.864.010.615.512.639.554.245.7
Qwen2.5-VL-3B55.777.264.712.718.315.041.056.847.6
SEED1.5-VL65.378.671.312.716.414.346.856.951.4
Qwen3-VL-4B58.670.563.713.716.114.843.452.047.1
Qwen3-VL-8B58.471.464.214.119.116.243.453.848.1
Rex-Omni68.176.372.014.517.515.949.856.552.9
HiLoc69.677.073.120.122.821.353.459.656.3
TABLE 2 LVIS · Long-tailed object detection
MethodIoU 0.5IoU 0.95Mean IoU
RecallPrecisionF1RecallPrecisionF1RecallPrecisionF1
Open-set
Grounding DINO-Swin-T39.161.247.716.934.822.731.949.638.8
MLLM
DeepSeek-VL2-Tiny22.455.732.07.225.711.214.241.921.2
MiMo-VL-7B43.357.849.56.513.78.825.441.131.4
OVIS2.5-2B53.255.654.413.319.415.834.041.637.4
OVIS2.5-9B52.254.153.111.219.914.432.240.135.8
Qwen2.5-VL-7B47.174.357.712.729.017.632.054.340.2
Qwen2.5-VL-3B44.873.955.814.329.819.331.954.640.3
DeepSeek-VL2-Small46.172.256.215.831.221.033.755.041.8
SEED1.5-VL54.782.065.615.028.119.538.559.346.7
Qwen3-VL-4B49.381.461.415.732.821.235.761.745.3
Qwen3-VL-8B46.580.358.914.732.320.233.460.243.0
Rex-Omni54.778.164.316.527.620.739.657.546.9
HiLoc58.380.567.619.334.824.842.961.150.4

What changes as localization gets stricter?

The IoU curves and object-size breakdown complement the aggregate scores, showing how the relative gains vary with overlap threshold and target size.

FIGURE 6Relative F1 gains on COCO and LVIS as the IoU threshold increases, and LVIS results by object size. These comparisons evaluate complete systems.Full size ↗

SMALL OBJECTS & REFERRING EXPRESSIONS

From aerial scenes to language-guided grounding.

VisDrone tests small-object localization; RefCOCOg tests whether a natural-language expression can be matched to the correct region. Qualitative examples connect these measurements to predicted boxes.

TABLE 3 VisDrone and RefCOCOg
MethodVisDroneRefCOCOg valRefCOCOg test
F1 @ 0.5F1 @ 0.95Mean F1F1 @ 0.5F1 @ 0.95Mean F1F1 @ 0.5F1 @ 0.95Mean F1
Open-set
Grounding DINO-Swin-T28.016.525.252.920.945.953.822.946.8
MLLM
DeepSeek-VL2-Tiny4.30.11.867.416.150.569.316.952.1
OVIS2.5-2B21.00.19.287.429.373.487.630.573.8
OVIS2.5-9B15.80.16.588.823.572.188.724.272.6
Qwen2.5-VL-3B31.51.920.483.530.769.283.831.870.1
MiMo-VL-7B27.70.314.384.914.465.384.614.965.5
Qwen2.5-VL-7B34.51.621.786.227.270.085.728.470.4
DeepSeek-VL2-Small35.81.723.392.445.681.491.847.081.6
SEED1.5-VL55.90.627.484.730.971.985.232.173.2
Qwen3VL-4B26.81.117.387.535.374.288.336.775.6
Qwen3VL-8B25.51.116.388.336.775.687.535.574.8
Rex-Omni61.61.535.886.635.373.686.836.674.3
HiLoc59.93.937.989.055.681.588.853.980.6
FIGURE 5Examples from LVIS, VisDrone, RefCOCOg, and D³, reproduced from the paper.Full size ↗

DESCRIPTION-CONDITIONED DETECTION

Find the match—or recognize its absence.

OmniLabel and D³ include descriptions without a corresponding object. The evaluation therefore tests both grounding and rejection. AP-d denotes average precision for descriptions; dashes indicate unreported values.

TABLE 4 OmniLabel and D³ · Description-conditioned detection
MethodOmniLabel · AP-dD³ · AP
AllPositiveSmallMediumLargeFullPresenceAbsence
Specialists
RegionCLIP2.63.23.62.72.3———
OFA-DOD—————21.623.715.4
Grounding DINO-Swin-T—————20.720.122.5
OWLv221.926.932.920.514.422.822.124.7
GLIP-T16.425.829.414.88.219.118.321.5
FIBER-B22.334.838.619.512.422.721.526.0
Generalists
InternVL2-76B15.319.321.915.211.325.325.723.5
InternVL2-8B4.55.26.24.23.99.811.06.2
InternVL3-8B4.015.14.84.04.214.314.314.3
Griffon(13B)7.212.712.56.34.512.312.412.2
Groma(7B)15.627.221.415.611.316.015.916.3
ROD-MLLM(7B)25.330.931.824.521.029.730.028.7
Qwen3VL-4B12.627.621.111.910.028.829.925.4
Qwen3VL-8B9.2419.5910.909.1210.7130.631.527.9
Rex-Omni (3B)12.933.620.012.211.021.522.119.8
HiLoc (4B)23.041.438.521.416.853.155.346.6

04 / ANALYSIS

Understanding the gains.

Representation, resolution, and post-training each play a role.

The ablations examine GRPO, coordinate formats, and training dynamics. Two controlled comparisons then separate the coordinate vocabulary from resolution and compare representations under shared data and reward settings.

FIGURE 7Original three-panel ablation figure. The coordinate-format comparison uses different resolutions; the gradient curves are empirical optimization diagnostics.Full size ↗

Resolution and vocabulary, disentangled.

TABLE 5 COCO validation · shared Qwen3-VL-4B backbone and training settings
RepresentationTokens LResolution KF1 @ 0.5F1 @ 0.95Mean F1
Flat-64646454.58.637.7
Flat-10241,0241,02456.213.441.8
Grid32 × Cell32321,02466.514.648.6
Grid64 × Cell64644,09672.318.754.8

+6.8 mean F1 at matched resolution. Grid32 × Cell32 improves over Flat-1024 at K = 1,024 with 32 coordinate tokens instead of 1,024. These detection-only experiments use a different training mixture from the full model.

Shared data. Shared reward. Different representations.

TABLE 6 D³ Full AP · matched backbone, HiRef data, output grammar, and stage-specific training settings
RepresentationResolution KSFTSFT + GRPO
Flat-10001,00025.842.6
HiLoc · Grid64 × Cell644,09634.253.1

+10.5 AP after GRPO. Data and reward are controlled, but resolution differs. GRPO improves both representations, so the gains cannot be attributed to representation alone.

REFERENCE

Cite HiLoc.

If you find this work useful, please cite our paper.

View the paper on OpenReview ↗
BibTeX
@inproceedings{zhang2026hiloc,
  title = {HiLoc: A Hierarchical Representation Method for
           Spatial Localization in Multimodal Large Language Models},
  author = {Zhang, Evelyn and Yu, Fufu and Li, Hanjun and Wu, Aoqi
            and Yan, Ke and Ding, Shouhong and Ren, Tianhe
            and Hu, Xinting and Qi, Xiaojuan and Jiang, Li and Jia, Jiaya},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=V5T2vPmvxO}
}

Enlarged paper figure