Standard convolutional neural networks (CNNs) are built on a "one-size-fits-all" philosophy. During training, the network learns a set of static weights—convolutional kernels—that are frozen during inference. Whether the input is a crystal-clear portrait or a grainy, motion-blurred snapshot, a standard CNN applies the exact same filters.
This rigidity is a fundamental bottleneck. Real-world data is characterized by non-uniform degradation, varying scales, and diverse domains. To overcome this, a growing body of research has shifted toward dynamic convolutions, where the kernels themselves are generated or adapted on-the-fly based on the specific characteristics of the input.
The Intuition: From Static Filters to Adaptive Experts
The core idea is to replace a fixed weight matrix $W$ with a function $W(x)$, where $x$ is the input. Instead of learning a single filter to detect an edge, the network learns a "meta-network" or controller that observes the input and synthesizes a custom filter tailored to that specific image.
A landmark approach in this area is CondConv, introduced by Brandon Yang, Quoc V Le, and colleagues in Conditionally Parameterized Convolutions for Efficient Inference. Rather than synthesizing a kernel from scratch, CondConv computes a specialized kernel as a weighted linear combination of several "expert" kernels. This allows the model to increase its capacity and adaptivity with almost no increase in inference cost, as the heavy lifting of the convolution still uses a single merged kernel.
Adapting to Degradation and Noise
One of the most powerful applications of this idea is in image restoration. In real-world scenarios, blur and noise are rarely uniform. Aiqing Fang and Yanning Zhang developed DDRF-Net (Dynamic Image Restoration and Fusion Based on Dynamic Degradation), which uses dynamic convolutions to adapt to varying levels of degradation. By generating kernels based on local noise or blur levels, the model can apply aggressive filtering where noise is high and preserve fine details where the image is clear.
Similarly, Longguang Wang and Yingqian Wang demonstrated in Unsupervised Degradation Representation Learning for Blind Super-Resolution that a network can learn to identify the type of degradation (e.g., specific blur kernels) and use that representation to predict custom kernels. This "degradation-aware" approach prevents the ringing artifacts common in static models that assume a fixed downsampling process.
Solving Domain Conflict and Style Shifts
Dynamic kernels also address the "domain conflict" problem in tasks like person re-identification (ReID). When training on multiple datasets, a static model often struggles to generalize across different camera angles and lighting conditions.
Lingqiao Liu and Lu Yang 0016 proposed the DCSD network (Multi-Domain Joint Training for Person Re-Identification), which uses depthwise dynamic convolutions to generate unique weights for every sample. This allows the model to treat domain-specific variations as parameters to be adjusted rather than noise to be ignored. Building on this, Bingliang Jiao and colleagues introduced DTIN-Net (Dynamically Transformed Instance Normalization Network for Generalizable Person Re-Identification), which uses dynamic convolutions to strip away distracting "style" (like lighting) while preserving identity-critical details.
Geometry and Scale Awareness
Standard convolutions are translation-invariant but struggle with scale and shape variations. Dynamic kernels provide a mechanism for content-aware receptive fields.
- Human Parsing: Xiaomei Zhang and Jinqiao Wang created PCNet (Part-Aware Context Network for Human Parsing), which generates kernels based on the specific geometry of body parts, allowing the network to adapt to diverse poses and scales.
- Infrared Detection: In DRPN: Making CNN Dynamically Handle Scale Variation, Jingchao Peng and Haitao Zhao used dynamic kernel synthesis to merge multiple kernel branches into a single convolution during inference, providing the flexibility of multi-scale architectures without the computational overhead.
Bridging Convolution and Attention
Perhaps the most significant theoretical development is the realization that dynamic convolutions can bridge the gap between CNNs and Vision Transformers (ViTs). While self-attention is highly expressive because it is input-dependent, it is computationally expensive.
Hao Yu 0015 and Haoyu Chen introduced Attentive Convolution (ATConv) in Attentive Convolution: Unifying the Expressivity of Self-Attention with Convolutional Efficiency. ATConv synthesizes kernels from the global context of the input, effectively baking the principles of adaptive routing and lateral inhibition directly into the convolutional operator. This allows purely convolutional models to match the performance of ViTs while maintaining the hardware-friendly efficiency of standard convolutions.
By moving from static weights to input-dependent kernels, these researchers have enabled neural networks to move beyond rigid pattern matching toward a more fluid, adaptive form of visual understanding.