[Paper Review] Fast End-to-End Trainable Guided Filter
This paper proposes a learnable, end-to-end trainable guided filtering layer that enhances Fully Convolutional Networks (FCNs) for efficient joint upsampling in dense pixel-wise image prediction. By reformulating the guided filter as a differentiable module with learnable parameters and a trainable guidance map, the method achieves state-of-the-art performance in image retouching, dehazing, depth estimation, and semantic segmentation while running 10–100× faster than prior methods.
Dense pixel-wise image prediction has been advanced by harnessing the capabilities of Fully Convolutional Networks (FCNs). One central issue of FCNs is the limited capacity to handle joint upsampling. To address the problem, we present a novel building block for FCNs, namely guided filtering layer, which is designed for efficiently generating a high-resolution output given the corresponding low-resolution one and a high-resolution guidance map. Such a layer contains learnable parameters, which can be integrated with FCNs and jointly optimized through end-to-end training. To further take advantage of end-to-end training, we plug in a trainable transformation function for generating the task-specific guidance map. Based on the proposed layer, we present a general framework for pixel-wise image prediction, named deep guided filtering network (DGF). The proposed network is evaluated on five image processing tasks. Experiments on MIT-Adobe FiveK Dataset demonstrate that DGF runs 10-100 times faster and achieves the state-of-the-art performance. We also show that DGF helps to improve the performance of multiple computer vision tasks.
Motivation & Objective
- To address the limited joint upsampling capability of standard FCNs in high-resolution dense prediction tasks.
- To develop a fully differentiable, learnable guided filtering layer that can be integrated into FCNs for end-to-end training.
- To enable task-specific guidance map generation via a trainable transformation function for improved performance across diverse vision tasks.
- To significantly reduce computational cost and memory usage while maintaining or improving prediction quality.
- To demonstrate generalization and superiority across multiple image processing and computer vision tasks.
Proposed method
- Reformulate the original guided filter as a computational graph using dilated and pointwise convolutions with learnable kernels, enabling backpropagation.
- Introduce a trainable transformation function that generates task-specific guidance maps from low-resolution features.
- Integrate the guided filtering layer into FCNs as a differentiable building block, allowing joint optimization with the main network.
- Apply the guided filtering layer in a coarse-to-fine pipeline: downsample input, process at low resolution, then upsample using the guided filter with learned parameters.
- Use standard training procedures with ground-truth supervision at high resolution to optimize all parameters end-to-end.
- Apply a second guided filtering layer in saliency detection to further improve performance.
![Figure 2: Computation Graph of Guided Filtering Layer. Guided filtering layer takes low-resolution image $I_{l}$ , high-resolution image $I_{h}$ and low-resolution output $O_{l}$ as inputs, generating the high-resolution output $O_{h}$ . Compared to guided filter [ 25 ] , the proposed layer is refor](https://ar5iv.labs.arxiv.org/html/1803.05619/assets/x1.png)
Experimental results
Research questions
- RQ1Can the guided filter be reformulated as a fully differentiable, learnable layer compatible with end-to-end training in deep networks?
- RQ2Does introducing a learnable guidance map generation function improve performance across diverse pixel-wise prediction tasks?
- RQ3Can the proposed guided filtering layer reduce computational cost and memory usage while maintaining or improving accuracy?
- RQ4How does the method compare to existing post-processing methods like DenseCRF in terms of speed and performance?
- RQ5To what extent does the framework generalize across different image processing and computer vision tasks?
Key findings
- The proposed Deep Guided Filtering Network (DGF) achieves state-of-the-art performance on five image processing tasks, including image retouching, non-local dehazing, and depth estimation.
- On the MIT-Adobe FiveK Dataset, DGF runs 10–100× faster than baseline methods while achieving SOTA results.
- For depth estimation, DGF reduces RMS error from 6.081 (baseline) to 5.887, a 0.194 improvement.
- In saliency detection, Fβ increases from 90.61% (baseline) to 91.75% with DGF, outperforming DenseCRF (91.87% Fβ) in segmentation and being 10× faster.
- In semantic segmentation, DGF achieves 73.58% mean IOU, a 1.79% improvement over the baseline (71.79%).
- The method processes a 512² image in 34ms on average, compared to 432ms for DenseCRF, demonstrating a 12.7× speedup.

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.