Abstract
Dense change detection in remote sensing requires vision-language models (VLMs) to compare bi-temporal images and generate accurate pixel-level masks. Existing VLMs are largely confined to change captioning outputs, and the few that produce pixel-level masks still rely on external decoders or flat text-as-mask serialization, which are less effective for small and fragmented changes. We introduce QUAKE-CD, a framework that recasts dense change prediction as syntax-verifiable structured generation. QUAKE-CD represents binary change masks as grammar-constrained quadtree token sequences, making the masks compact, syntactically checkable, and deterministically decodable within an autoregressive generation space. We further construct QUAKE-CoT, which pairs these sequences with chain-of-thought traces grounded in visual evidence, and jointly optimizes textual reasoning and spatial dense prediction through a progressive curriculum followed by grammar-gated dual-reward reinforcement learning. On QUAKE-CoT, QUAKE-CD achieves 78.31% accumulated F1, outperforming decoder-based and flat text-as-mask VLMs while producing more faithful bi-temporal reasoning.
Method
The model is initialized from Qwen3-VL-8B-Instruct and fine-tuned with a two-stage curriculum: first learning the QUAKE mask syntax, then integrating bi-temporal reasoning and summaries. Grammar-gated reinforcement learning combines a spatial reward for valid, accurate decoded masks with a learned reward for the reasoning and answer.
The QUAKE representation divides a mask into 32 × 32 tiles. Uniform tiles use <BG> or <FG>; mixed tiles are serialized as preorder quadtree tokens. The sequence can be deterministically decoded to a binary mask.
Intended use
Research on bi-temporal remote-sensing change detection, structured mask generation, and visually grounded change descriptions.
For dataset splits, annotation details, and loading instructions, see the QUAKE-CoT dataset card. For training and evaluation code, see the QUAKE-CD repository.
Citation
@misc{an2026pixelshierarchicalsequencesquadtree, title = {From Pixels to Hierarchical Sequences: Quadtree Mask Encoding for Vision-Language Binary Change Detection}, author = {Xiao An and Ruikang Zhang and Chen Zhong and Xuli Shen and Jiaxing Sun and Jiang Wu and Wei He}, year = {2026}, eprint = {2609.09876}, archivePrefix = {arXiv}, primaryClass = {cs.CV}, url = {https://arxiv.org/abs/2609.09876}}
License
This model repository is marked Apache-2.0. The code repository uses MIT for project-specific code; the included ms-swift source retains its separate Apache-2.0 license. Check the original dataset and base-model terms before reuse.