Abstract
Temporal/spatial receptive fields of models play an important role in sequential/spatial tasks. Large receptive fields facilitate long-term relations, while small receptive fields help to capture the local details. Existing methods construct models with hand-designed receptive fields in layers. Can we effectively search for receptive field combinations to replace hand-designed patterns? To answer this question, we propose to find better receptive field combinations through a global-to-local search scheme. Our search scheme exploits both global search to find the coarse combinations and local search to get the refined receptive field combinations further. The global search finds possible coarse combinations other than human-designed patterns. On top of the global search, we propose an expectation-guided iterative local search scheme to refine combinations effectively. Our RF-Next models, plugging receptive field search to various models, boost the performance on many tasks, e.g., temporal action segmentation, object detection, instance segmentation, and speech synthesis.
Introduction
In deep learning, the "receptive field" (RF)—the area of input data a single neuron perceives—is a critical hyperparameter. Large receptive fields are essential for capturing long-range dependencies, such as the context of a whole video, while small ones are better for fine-grained local details. Traditionally, researchers have relied on human intuition to design these patterns, often using simple heuristics like doubling dilation rates in successive layers.
However, the search space for an optimal combination is astronomical. For instance, a 40-layer network with 1024 possible dilation rates per layer has $1024^{40}$ possible configurations. Standard Neural Architecture Search (NAS) methods are often too computationally expensive to handle such a massive, discrete search space. RF-Next addresses this by automating the search for optimal RF combinations, moving beyond sub-optimal, hand-designed patterns.
Global-to-Local Search Methodology
The framework employs a two-stage Global-to-Local Search scheme to efficiently navigate the vast search space of operators and dilations.
1. Genetic-Based Global Search
To identify effective "coarse" patterns, RF-Next uses a genetic algorithm. To make this feasible, the authors implement gradually sparse sampling to prune the search space and early stopping (training candidates for only a few epochs) to estimate performance quickly. This stage identifies promising "neighborhoods" in the search space.
2. Expectation-Guided Iterative (EGI) Local Search
Once a coarse pattern is found, EGI refines it. It utilizes a multi-branch layer where each branch has a different dilation rate but shares the same convolutional weights. The model learns "importance coefficients" for each branch, creating a probability distribution over dilation rates. The "expected" dilation rate is then calculated and used to update the architecture for the next iteration. This weight-sharing approach allows the search to be differentiable and extremely efficient.
Experimental Evaluation
RF-Next was evaluated across a diverse set of benchmarks, demonstrating significant performance gains:
- Temporal Action Segmentation: On the Breakfast dataset, RF-Next improved the [email protected] score of the MS-TCN baseline from 52.6% to 74.9%.
- Object Detection & Instance Segmentation: Adding RF-Next to a ResNet-50 Faster R-CNN on COCO provided a +1.4% mAP boost. Even on modern backbones like ConvNeXt-T, it managed an additional +0.5% mAP.
- Speech Synthesis: RF-WaveGlow significantly improved voice quality on the LJ Speech dataset, raising the PESQ score from 1.52 to 1.84.
- Semantic Segmentation: Improvements were noted across PASCAL VOC, ADE20k, and Cityscapes using DeepLabV3 and Auto-deeplab.
Key Insights and Discussion
Analysis of the searched architectures reveals that human intuition is often sub-optimal. The discovered patterns are frequently irregular and vary significantly between network stages. Interestingly, the search often finds "reversed hierarchies," where early layers benefit from larger receptive fields to establish global context, while later layers use smaller ones to refine local predictions—the opposite of many common hand-designed architectures.
Furthermore, architectures searched on one dataset (e.g., 50Salads) generalize remarkably well to others in the same domain (e.g., GTEA), suggesting that the optimal receptive field logic is tied to the nature of the task itself.
Conclusion and Future Work
RF-Next provides a powerful, plug-and-play module for existing CNN backbones. While the global search stage still requires significant GPU time (e.g., 144 hours for the Breakfast dataset), it is far more efficient than brute-force NAS. Future work may expand the search to include kernel sizes, strides, and pooling parameters, or explore "Dynamic RF-Next," where the receptive field adjusts on-the-fly based on specific input data.
Summary updated