SSQA: Sibling-Selective Quadtree Attention for Hierarchical Modeling in Perception Tasks

Yufan Chen, Arnav Bali, Angela Liu, Laura Zheng, Ming C. LinarXiv 2026 · DOI

TL;DR

SSQA (Sibling-Selective Quadtree Attention) is a novel hierarchical attention mechanism that scales linearly with image size by organizing tokens into a structured quadtree. By employing a unique bottom-up gating strategy, it captures fine-grained details more reliably than previous top-down approaches, outperforming standard Vision Transformers in robotics perception tasks while using up to 8x fewer FLOPs and 3x fewer parameters.

What Problem Does This Paper Address?

Vision Transformers (ViTs) have revolutionized computer vision, but they suffer from a major bottleneck: the computational cost grows quadratically ($O(N^2)$) with the number of image patches. This makes high-resolution processing—essential for identifying small obstacles or distant lane markings in robotics—prohibitively expensive on edge devices like drones or autonomous vehicle controllers.

While "efficient" transformer alternatives exist (like Linear Transformers or Mamba), they often trade off modeling capacity for speed or require highly specialized, hardware-specific optimizations to actually run fast. Furthermore, many hierarchical models use a "top-down" approach that can accidentally discard small but critical details (like a single pedestrian in a large patch) if they aren't deemed "salient" at a coarse level.

Methods

The authors introduce Sibling-Selective Quadtree Attention (SSQA), which leverages the fact that robotics data (aerial and driving) is inherently structured and axis-aligned.

Key components include:

  • Quadtree Hierarchy: The image is recursively split into $2 \times 2$ sibling groups. Attention is restricted to these small, constant-sized groups, ensuring the cost per level remains linear.
  • Bottom-Up Gating: Unlike prior work that starts at the top and decides where to "zoom in," SSQA starts at the bottom and aggregates features upward. This ensures that every part of the image has an opportunity to be represented in the final hierarchy.
  • Cross-Injection Fusion (CIF): A gated residual mechanism that allows information to flow bidirectionally between parents and children, preserving details that might otherwise be suppressed during aggregation.
  • Global Gating: A final "consensus" vector is formed by weighting information from all levels of the quadtree based on learned importance scores.
  • Plug-in Guidance: The model can optionally incorporate external "agentness" signals, such as bounding boxes from a YOLO detector or high-frequency signals from a Fourier transform, to bias attention toward important regions.
Fig. 2: Top-Down vs. Bottom-Up Gating; Squares indicate leaf nodes. Our work has a key difference from previous work in hierarchical quadtree-based attention approaches: bottom-up gating. Previous works (a) avoid subdivisions into tokens with smaller granularity if possible by selecting top-k tokens with highest saliency during training. As a result, tokens on the same level outside of top-k saliency neglect hierarchical reasoning, even if there agents present in those patches. For example, in a driving scene, one patch may have a higher density of pedestrians, but it shouldn’t imply less attention on the single agent falling outside of the same patch. In our approach, we model features from bottom-up, ensuring that features are modeled hierarchically across the entire image. Doing so not only improves performance on various benchmarked tasks, but also maintains linear complexity with respect to number of tokens (shown in §III-G).

Datasets

The model was evaluated across three diverse perception tasks:

  1. IllusionAnimals: A binary classification dataset featuring animals under heavy camouflage and clutter.
  2. LoveDA: A land-cover semantic segmentation dataset for remote sensing, critical for identifying safe landing zones for drones.
  3. CARLA Simulator: An end-to-end autonomous driving benchmark used to evaluate navigation performance across 14 challenging scenarios.

Key Insights and Ideas

  • Bottom-Up is Safer for Robotics: In a driving scene, a small object (like a child or a traffic cone) might occupy very few pixels. Top-down models might ignore the patch containing that object at a coarse level. SSQA’s bottom-up approach ensures these "sparse details" are captured.
  • Structure as a Prior: By forcing the model to process information in an axis-aligned quadtree, the authors bake in a "spatial prior" that matches the structured nature of navigation data (e.g., sky at the top, road at the bottom).
  • Efficiency Without Complexity: SSQA achieves linear-time complexity using standard deep learning operations. It doesn't require custom CUDA kernels, making it much easier for engineers to integrate into existing pipelines compared to models like Mamba.

Key Results

SSQA demonstrates a superior accuracy-to-compute trade-off across all benchmarks:

  • Speed & Efficiency: On an A100 GPU, SSQA reduced mean epoch time by 2.08x compared to a baseline ViT. It used ~8x fewer FLOPs and ~3x fewer parameters while actually improving classification accuracy on IllusionAnimals (98.65% vs 98.25%).
  • Segmentation: On the LoveDA dataset, SSQA achieved the lowest FLOP count (1.54x lower than the next best) while maintaining near-top mIoU performance.
  • Autonomous Driving: In the CARLA simulator, SSQA achieved the highest average score (23.83), outperforming both the standard baseline and previous quadtree-based attention methods.
Comparison of Mean Epoch Wall Times

Limitations and Future Work

The authors noted that while external guidance (like YOLO boxes or SAM masks) is a powerful concept, it provided negligible benefits in their specific training protocol. This suggests that the base SSQA model is already highly effective at localizing important features on its own.

Additionally, the Fourier-guided variant, while efficient, slightly degraded accuracy by over-emphasizing low-frequency structures. Future research could explore more sophisticated ways to fuse these external priors or investigate dynamic tree depths that adapt more aggressively to scene complexity.

Summary updated

Abstract

Perception tasks for navigation in robotics, including aerial platforms such as drones and autonomous driving systems, are inherently structured. Drone-mounted cameras typically capture sky above, terrain below, and obstacles or man-made structures in between, while driving data often contains organized road layouts, lane markings, and surrounding agents. Motivated by these axis-aligned structural priors, we note that such information is typically more structured than in generic image tasks. We hypothesize that processing information in a quadtree-esque manner can not only model features effectively in a hierarchical manner, but also offers an efficient linear-time alternative to vanilla attention mechanisms, which run in quadratic time. In this paper, we propose Sibling-Selective Quadtree Attention (SSQA), which models image tokens hierarchically as a structured, full quadtree. We show analytical complexity analysis that guarantees linear-time feature modeling, in addition to empirical experiments comparing inference speeds with other popular modeling approaches, such as Mamba 2 and Quadtree Attention. Our results, benchmarked across several tasks, show that we achieve results at least as good, if not notably better, as others at a fraction of the computational costs.
BibTeX
@misc{chen2026ssqa,
  author = {Yufan Chen and Arnav Bali and Angela Liu and Laura Zheng and Ming C. Lin},
  title = {{SSQA: Sibling-Selective Quadtree Attention for Hierarchical Modeling in Perception Tasks}},
  year = {2026},
  eprint = {2610.38320},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.38320},
}
Figure