TL;DR
Researchers have developed LVTP (Low-Level Visual Features Guided Progressive Token Pruning), a plug-and-play framework that slashes the computational cost of Vision Transformers (ViTs) by up to 45% with negligible impact on accuracy. By combining high-level semantic analysis with "old school" low-level edge detection, LVTP ensures that the most critical pixels for semantic segmentation are preserved, even on resource-constrained edge devices.
What Problem Does This Paper Address?
Vision Transformers (ViTs) have become the gold standard for semantic segmentation—the task of assigning a category to every single pixel in an image. However, their "global attention" mechanism is a double-edged sword: it provides incredible context but requires massive amounts of computation (GFLOPS), making it nearly impossible to run these models on drones, mobile phones, or autonomous vehicles.
Existing solutions often use "token pruning" to discard redundant parts of an image (like a clear blue sky) to save power. The catch? Most pruning methods focus only on high-level "concepts" and accidentally throw away fine-grained details like object boundaries and edges. For tasks like autonomous driving, losing the edge of a pedestrian or a road sign is a deal-breaker.
Methods
The authors introduce a two-stage, progressive pruning framework called LVTP. Unlike standard methods that require expensive retraining, LVTP is a "plug-and-play" module.
- Dynamic Scoring with Multi-scale Tsallis Entropy: Instead of using standard Shannon entropy (which assumes image parts are independent), the authors use Tsallis entropy. This allows the model to account for long-range correlations between pixels. They use a "multi-scale" approach with two parameters ($q_1$ and $q_2$) to capture both prominent features and subtle details simultaneously.
- Secondary Clustering via Sobel Operator: This is the "Back to Fundamentals" part. After an initial round of semantic pruning, the framework uses a Sobel operator—a classic computer vision tool—to detect edges. This ensures that tokens containing critical boundary information are "bootstrapped" back into the calculation, even if they weren't deemed "semantically important" in the first pass.
- Progressive Strategy: The pruning happens layer-wise. The authors found that the 16th layer (in a large model like ViT-H) is the "sweet spot" where features transition from low-level textures to high-level semantics, making it the ideal place to prune.
Datasets
The authors evaluated LVTP across three diverse domains to prove its generalization:
- Massachusetts Road Remote Sensing Dataset: High-resolution aerial imagery for geographical analysis.
- COCO-Tasks Dataset: A complex dataset featuring 14 different task objectives in dense, multi-class scenarios.
- RIO Dataset: Focused on 3D spatial feature extraction in indoor environments with over 100 diverse tasks.
Key Insights and Ideas
- Edges are the "Anchor" of Segmentation: The biggest "aha" moment is that high-level semantics alone aren't enough for compression in segmentation. By re-integrating low-level visual features (edges), the model maintains structural integrity that purely "smart" pruning loses.
- The Power of Non-Extensive Entropy: Traditional entropy is too rigid. By using Tsallis entropy, the researchers could tune the model's sensitivity to high-probability (obvious) and low-probability (detailed) events separately, creating a much more nuanced "importance score" for image patches.
- Zero Training Required: Perhaps the most practical insight is that this works as an inference-time optimization. You don't need to spend weeks retraining a massive model like SAM (Segment Anything Model) to make it faster.
Key Results
LVTP consistently outperformed state-of-the-art (SOTA) methods like CTS and VLTP:
- Efficiency: Achieved a 46.2% reduction in GFLOPS on the SAM ViT-H model.
- Accuracy: This massive speedup came with only a 5% drop in mIoU (mean Intersection over Union). For comparison, other SOTA methods saw accuracy drops of over 20% for similar computational savings.
- The $\gamma$ Metric: The authors proposed a trade-off metric ($\gamma$) representing GFLOPS reduction divided by accuracy loss. LVTP scored 9.24, nearly double the score of the next best method (4.83), proving it offers the best "bang for your buck."
- Visual Fidelity: Qualitative results show that LVTP successfully preserves small, distant objects (like chairs in a room or cars on a road) that other pruning methods typically "erase."
Limitations and Future Work
While LVTP is robust, the authors acknowledge a few areas for improvement:
- Extreme Conditions: The reliance on low-level features means the model's performance might degrade under extreme lighting, heavy occlusion, or high-noise scenarios where edges are hard to detect.
- Parameter Tuning: The balance between the two entropy scales ($q_1, q_2$) currently requires some manual adjustment; future work could involve making these parameters fully self-adaptive to image content.
- Task Expansion: The researchers plan to expand the framework to handle instance segmentation and panoptic segmentation, as well as optimizing it for specific new hardware architectures.
Summary updated