[Paper Review] Learnable Tree Filter for Structure-preserving Feature Transform
This paper proposes a learnable tree filter module that models long-range dependencies in semantic segmentation while preserving object structure by leveraging minimum spanning trees (MSTs) built from feature dissimilarities. The method uses a linear-time algorithm for efficient inference and achieves state-of-the-art performance with minimal computational overhead compared to PSP and non-local blocks.
Learning discriminative global features plays a vital role in semantic segmentation. And most of the existing methods adopt stacks of local convolutions or non-local blocks to capture long-range context. However, due to the absence of spatial structure preservation, these operators ignore the object details when enlarging receptive fields. In this paper, we propose the learnable tree filter to form a generic tree filtering module that leverages the structural property of minimal spanning tree to model long-range dependencies while preserving the details. Furthermore, we propose a highly efficient linear-time algorithm to reduce resource consumption. Thus, the designed modules can be plugged into existing deep neural networks conveniently. To this end, tree filtering modules are embedded to formulate a unified framework for semantic segmentation. We conduct extensive ablation studies to elaborate on the effectiveness and efficiency of the proposed method. Specifically, it attains better performance with much less overhead compared with the classic PSP block and Non-local operation under the same backbone. Our approach is proved to achieve consistent improvements on several benchmarks without bells-and-whistles. Code and models are available at https://github.com/StevenGrove/TreeFilter-Torch.
Motivation & Objective
- To address the limitation of existing global context aggregation methods in ignoring object details during long-range feature modeling.
- To develop a differentiable, structure-preserving module that maintains spatial and semantic structure during feature transformation.
- To design an efficient, linear-time algorithm to make tree-based filtering practical for deep networks.
- To integrate the module into a unified framework for semantic segmentation with consistent performance gains.
- To demonstrate state-of-the-art results on PASCAL VOC 2012 and Cityscapes without bells-and-whistles.
Proposed method
- The method constructs a low-level guided minimum spanning tree (MST) from a feature map, where vertices represent pixels and edges are weighted by high-level semantic dissimilarity.
- Edge weights are learned via backpropagation, enabling end-to-end optimization of the tree structure based on feature embeddings.
- A novel linear-time algorithm reduces the computational complexity from O(N²) to O(N), making the module suitable for real-time deployment.
- The tree filtering module is plugged into deep neural networks as a generic, differentiable component for multi-scale feature aggregation.
- The framework uses the tree filter as a replacement or complement to PSP and non-local blocks in the backbone.
- The module preserves object details by encoding both spatial proximity and feature dissimilarity into the MST topology.
Experimental results
Research questions
- RQ1Can a learnable tree-structured graph effectively model long-range dependencies while preserving fine-grained object details in semantic segmentation?
- RQ2Can a differentiable, efficient tree filtering module be designed to scale to large feature maps with minimal computational cost?
- RQ3Does the proposed module outperform standard global context modules like PSP and non-local blocks in both accuracy and efficiency?
- RQ4Can the tree filter be effectively integrated into existing segmentation architectures without architectural modifications?
- RQ5Does the method generalize across benchmarks and achieve state-of-the-art performance without data augmentation or pre-training?
Key findings
- The proposed Tree Filter (TF) achieves 74.9% mIoU on PASCAL VOC 2012 with ResNet-50 and 8FLOPs overhead, outperforming PSP (74.3%) and NL (74.2%) with less than 1.5% FLOP increase.
- With ResNet-101 and multi-stage TF, the method reaches 75.6% mIoU on PASCAL VOC 2012 val set, surpassing the baseline by 8.3 percentage points.
- On Cityscapes, the method achieves 80.8% mIoU using only fine-annotation data and vanilla ResNet-101, outperforming prior state-of-the-art methods.
- With MS-COCO pretraining, the method achieves 86.3% mIoU on PASCAL VOC 2012, setting a new state-of-the-art result.
- The linear-time implementation reduces FLOPs by over 30% compared to standard non-local operations, while maintaining or improving accuracy.
- Ablation studies confirm that the tree filter consistently improves performance across different backbones and settings with minimal computational cost.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.