In traditional deep learning architectures, a trained model is fundamentally rigid. Whether an image is crisp or blurry, whether a scene is a bright sunny day or a dark rainy night, a standard convolutional neural network (CNN) applies the exact same learned filter weights to every single input.
To handle the immense diversity of the real world, traditional networks must scale up their capacity by becoming wider or deeper. However, this introduces a harsh trade-off: adding more channels or layers increases both the parameter count and the computational cost (FLOPs) during inference.
A rapidly growing paradigm shifts away from this "one-size-fits-all" approach by making the weights themselves a dynamic function of the input. By generating or aggregating network parameters on the fly, models can dramatically increase their representational capacity and adapt to specific contexts with virtually zero computational overhead during inference.
The Core Mechanism: Conditional Parameterization
Directly generating a high-dimensional weight matrix from an input vector using a hypernetwork is computationally expensive. Early frameworks like Dynamic Filter Networks, introduced by Xu Jia et al., demonstrated the power of custom, input-dependent filters for spatial transformations but faced scaling challenges due to the cost of direct weight generation.
The breakthrough that made input-adaptive weights highly efficient was the concept of conditional parameterization, independently proposed in frameworks like CondConv by Brandon Yang et al. and Dynamic Convolution by Yinpeng Chen et al..
Instead of generating a brand-new convolutional kernel from scratch, these architectures maintain a bank of $K$ static "expert" kernels, $\{W_1, W_2, \dots, W_K\}$, within a single layer.
Input (x) ---> Global Average Pooling ---> Light Linear Layer ---> Softmax Coefficients α(x)
|
Static Kernels: [ W_1 ] [ W_2 ] ... [ W_K ] -------------------------------+
|
v
Dynamic Kernel W(x) = Σ α_i(x) * W_i
|
v
Input (x) ---------------> [ Convolution ] ---------------> Output
When an input $x$ passes through the layer, a highly lightweight attention mechanism (such as global average pooling followed by a small fully-connected layer) computes a set of scalar routing coefficients $\alpha(x)$:
$$W(x) = \sum_{i=1}^{K} \alpha_i(x) W_i$$
The final convolution is then executed exactly once using this combined kernel $W(x)$.
This design completely decouples model capacity from computational cost. The expensive operation—the convolution itself—is performed only once per layer, meaning the inference-time FLOPs remain nearly identical to a standard static layer. Yet, the network gains the capacity of $K$ distinct layers, choosing how to blend them based on the semantic content of the specific image.
Expanding the Dimensions of Adaptivity
While early dynamic convolutions applied a single scalar weight to an entire kernel, subsequent research revealed that this coarse-grained adaptation leaves significant performance on the table.
To maximize flexibility, Chao Li et al. proposed Omni-Dimensional Dynamic Convolution (ODConv). Instead of a single attention scalar per kernel, ODConv introduces a multi-dimensional attention mechanism that computes distinct weights along all four dimensions of the convolutional kernel space:
- Spatial size (adapting to local pixel variations)
- Input channels (selective feature filtering)
- Output channels (customizing downstream representations)
- Kernel index (the ensemble mixture)
This fine-grained control allows a single dynamic kernel to achieve better performance than massive multi-kernel ensembles. To unify these disparate approaches, Ningning Ma et al. developed WeightNet, a generalized framework that treats channel attention (like SENet) and kernel attention (like CondConv) as two points on a single structural continuum, optimized via grouped fully-connected layers.
Overcoming the Parameter Explosion
While conditional convolutions keep inference FLOPs low, they introduce a new problem: parameter bloat. Storing $K$ expert kernels at every layer causes the model's storage footprint to skyrocket, making it impractical for edge devices or mobile applications.
To resolve this bottleneck, researchers have focused on compressing the latent space of dynamic weights. Yinpeng Chen et al. introduced Dynamic Convolution Decomposition (DCD), which reframes kernel aggregation as a matrix decomposition problem. By focusing adaptivity on a low-dimensional dynamic channel fusion step, they cut parameter overhead while maintaining high accuracy.
Taking parameter efficiency a step further, Chao Li et al. designed KernelWarehouse. Instead of assigning independent sets of expert kernels to each layer, KernelWarehouse breaks kernels down into smaller, primitive "cells" and shares them across different layers of the network. Layers then dynamically assemble their unique kernels from this shared warehouse on the fly, achieving a massive increase in kernel diversity while actually reducing the total parameter count of the network.
Other domains achieve efficiency by moving out of the spatial domain entirely. For instance, Linwei Chen proposed Frequency Dynamic Convolution (FDConv), which learns dynamic weights within the Fourier domain. By partitioning the parameter budget into disjoint frequency groups, it eliminates structural redundancy and optimizes dense image prediction tasks.
Beyond Convolutions: A Universal Paradigm
The intuition behind input-dependent weights extends far beyond standard CNNs, transforming MLPs, Graph Networks, and State-Space Models.
Dynamic MLPs and Sequence Modeling
In sequence generation, non-autoregressive models often suffer from a quadratic computational bottleneck due to standard softmax attention. To bypass this, Shuyang Jiang et al. developed the Attentive Multi-Layer Perceptron, which replaces static MLP matrices with input-dependent weights to facilitate token communication linearly.
Furthermore, input-adaptive MLPs excel at integrating non-visual metadata. Lingfeng Yang et al. demonstrated this in fine-grained image classification with Dynamic MLP. By using geographical and temporal metadata (where and when a photo was taken) to dynamically generate the weights of an MLP layer, the network performs instance-specific transformations that easily separate visually identical but geographically isolated species.
Graph and State-Space Architectures
In graph neural networks, spatial message passing often relies on fixed weights that ignore node context. Li Zhang et al. bypassed this limitation with Dynamic Graph Message Passing Networks, predicting custom, content-dependent weights for message passing across dynamically sampled nodes.
Even modern alternatives to the Transformer, such as selective State-Space Models (SSMs) like Mamba, owe their success to this paradigm. As analyzed by Nicola Muca Cirone et al. in their work on the Theoretical Foundations of Deep Selective State-Space Models, transitioning from static linear convolutions to data-dependent selection mechanisms is precisely what allows these models to perform complex context-aware reasoning while maintaining linear scaling.
Why It Works: Contextual Conditioning
The ultimate power of input-adaptive weights lies in their ability to inject high-level context back into low-level feature extraction. This mimics biological feedback loops, where top-down context refines bottom-up perception.
For example, in multi-task learning, Xuecheng Nie et al. developed the Mutual Learning to Adapt (MuLA) framework, where a human parsing network and a pose estimation network dynamically predict model parameters for one another, allowing the model to instantly resolve ambiguities caused by baggy clothing or unusual poses. Similarly, the authors of Semantics-Aware Dynamic Localization and Refinement use cross-modal text queries to dynamically alter convolutional weights, isolating target objects from complex backgrounds.
By treating network weights not as static constants fixed during training, but as fluid, context-aware processors generated during inference, dynamic parameterization provides a scalable path toward highly efficient, adaptive, and generalized deep learning models.
Key Foundational Work
Dynamic Filter Networks (2016) — contributed 1 concept elements to this direction.
Learning with Rethinking: Recurrently Improving Convolutional Neural Networks through Feedback (2017) — contributed 1 concept elements to this direction.
Non-linear Convolution Filters for CNN-Based Learning (2017) — contributed 1 concept elements to this direction.