Abstract
The visual world is vast and varied, but its variations divide into structured and unstructured factors. We compose free-form filters and structured Gaussian filters, optimized end-to-end, to factorize deep representations and learn both local features and their degree of locality. Our semi-structured composition is strictly more expressive than free-form filtering, and changes in its structured parameters would require changes in free-form architecture. In effect this optimizes over receptive field size and shape, tuning locality to the data and task. Dynamic inference, in which the Gaussian structure varies with the input, adapts receptive field size to compensate for local scale variation. Optimizing receptive field size improves semantic segmentation accuracy on Cityscapes by 1-2 points for strong dilated and skip architectures and by up to 10 points for suboptimal designs. Adapting receptive fields by dynamic Gaussian structure further improves results, equaling the accuracy of free-form deformation while improving efficiency.
Introduction
In computer vision, the receptive field—the specific area of an input image that a neuron "sees"—is a critical design choice. If the receptive field is too small, the network misses global context; if it is too large, it loses fine details. Traditionally, these sizes are set manually via kernel sizes or dilated convolutions, requiring tedious trial-and-error. Furthermore, standard networks use fixed receptive fields, failing to adapt to objects appearing at different scales. This paper introduces a method to automatically learn the optimal size, shape, and orientation of receptive fields by combining standard filters with structured Gaussian blurs, making these spatial properties differentiable and adaptive.
Methods: Semi-Structured Compositional Filtering
The core innovation is the composition of a small "free-form" filter ($f_\theta$) with a structured Gaussian filter ($g_\Sigma$). The resulting composite filter is defined as the convolution of the two:
The Gaussian is controlled by a covariance matrix ($\Sigma$) determining its scale, aspect ratio, and orientation. Using a "log-Cholesky" parameterization, these geometric properties become differentiable, allowing the network to optimize its locality via backpropagation. In dynamic inference, the Gaussian parameters are predicted per-input by a small sub-network, allowing the receptive field to expand for large objects and shrink for small ones on the fly.
Key Insights
- Factorizing "What" from "Where": Separating feature learning (free-form) from locality learning (Gaussian) improves parameter efficiency. You don't need a massive 21x21 filter to see a large area; you just need a small filter and a learned blur.
- Anti-Aliasing: Unlike dilated convolutions that skip pixels and cause "gridding" artifacts, Gaussian composition acts as a low-pass filter ("blur before sample"), respecting the sampling theorem and improving stability.
- Continuous Optimization: The method enables continuous optimization over receptive field size, replacing discrete architectural choices (like 3x3 vs 5x5 kernels).
Evaluation and Results
Evaluation on the Cityscapes dataset demonstrates that this approach improves already highly-tuned architectures like ResNet-34, DRN-A, and DLA-34.
- Accuracy Boost: Adding composition improved semantic segmentation by 1–2 points (mIoU) on strong baselines and by up to 10 points on suboptimal designs, effectively "fixing" the architecture during training.
- Efficiency: The dynamic version matched the accuracy of complex free-form deformation methods while using significantly fewer parameters (only 1 to 3 per layer).
- Qualitative Adaptation: Visual evidence shows the network learns larger receptive fields for amorphous categories (e.g., "road") and sharper ones for distinct objects (e.g., "traffic signs").
Conclusion
While Gaussians are effective for scale and orientation, they remain spatially symmetric and cannot capture highly irregular shapes. Future work may explore non-Gaussian structured bases or extend this logic to temporal dimensions in video and 3D data like LiDAR, where scale variation is a primary challenge.
Summary updated