When you save a photograph as a JPEG image, the computer does not store the raw color value of every individual pixel. Instead, it applies a Discrete Cosine Transform (DCT) to map the image into the frequency domain, discards the high-frequency coefficients that contain imperceptible detail, and saves only a fraction of the data. This process works because natural images possess immense structural redundancy, allowing their energy to concentrate into just a few low-frequency coefficients—a property known as energy compaction.
Neural network weights, as well as the updates made to them during fine-tuning, exhibit a remarkably similar form of structural redundancy. Rather than optimizing millions of individual spatial parameters, a powerful and evolving line of research demonstrates that we can parameterize, train, and adapt neural networks directly within a compressed spectral or frequency domain.
The Core Mechanism: Differentiable Decompression
To understand why this approach works, consider how a neural network layer computes its forward pass. In a standard layer, an input vector $x$ is multiplied by a dense spatial weight matrix $W$. In a frequency-parameterized layer, the dense matrix $W$ does not natively exist in memory. Instead, the model stores a small, sparse tensor of frequency coefficients $C$.
During the forward pass, the dense spatial weights are reconstructed on the fly using an inverse spectral transform:
$$W = \text{inverse-transform}(C)$$
Because classical frequency transformations—such as the Inverse Discrete Fourier Transform (iDFT), Inverse Discrete Cosine Transform (iDCT), or Inverse Wavelet Transform (iWT)—are linear operations, they are fully differentiable. This means that during the backward pass, gradients flow from the loss function, through the reconstructed spatial weights, and back into the spectral coefficients via the forward transform:
$$\frac{\partial L}{\partial C} = \text{transform}\left(\frac{\partial L}{\partial W}\right)$$
The network can thus be trained end-to-end using standard gradient descent, optimizing a compact frequency representation that expands into a full-sized weight matrix during execution. Kazuki Irie et al. demonstrated this end-to-end differentiability in Training and Generating Neural Networks in Compressed Weight Space, showing that integrating decompression functions directly into the forward pass allows a network to learn optimal frequency-domain coefficients natively.
[ Trainable Spectral Coefficients (C) ] <-- Small parameter footprint
│
▼ (Differentiable Inverse Transform: iDCT / iDFT)
[ Reconstructed Spatial Weights (W) ] <-- Full-sized dense matrix
│
▼
[ Forward Pass (W · x) ]
From Evolution to Gradient Descent
The utility of frequency-domain parameterization was first realized in gradient-free optimization, where reducing the dimensionality of the search space is a mathematical necessity. In Compressed Network Complexity Search, Faustino J. Gomez et al. introduced a method to evolve both network topology and weight compression ratios by optimizing DCT coefficients rather than individual synaptic connections.
Shortly after, Jürgen Schmidhuber et al. scaled this concept to large-scale reinforcement learning in Evolving large-scale neural networks for vision-based TORCS. The authors successfully evolved a recurrent neural network containing over one million weights to drive a car using raw visual input by optimizing a mere 200 frequency coefficients. This represented a 5,000-fold reduction in search space dimensionality, proving that a tiny spectral subspace can capture the complex features required for high-dimensional visual control.
Spectral Parameter-Efficient Fine-Tuning
In modern deep learning, the paradigm has shifted from training networks from scratch to adapting massive pre-trained foundation models. While Low-Rank Adaptation (LoRA) is the standard method for Parameter-Efficient Fine-Tuning (PEFT), it carries inherent spatial redundancy and can fail to capture intricate weight changes.
Frequency-domain parameterization provides an elegant alternative: instead of approximating a weight update matrix $\Delta W$ as the product of two low-rank spatial matrices ($A \times B$), the update is represented as a sparse set of spectral coefficients.
Several recent architectures leverage this insight to outperform traditional PEFT methods:
- FourierFT: Ziqi Gao et al. proposed representing weight updates as a sparse set of spectral coefficients in the Fourier domain in Parameter-Efficient Fine-Tuning with Discrete Fourier Transform. The authors demonstrated that the expressiveness of the Fourier basis allows a tiny fraction of frequency parameters to capture complex weight changes that low-rank matrix approximations miss, matching or exceeding LoRA's performance while using up to 500 times fewer trainable parameters.
- MaCP: To avoid the complex-valued computations and conjugate symmetry requirements of the Fourier transform, Yixian Shen et al. developed Minimal yet Mighty Adaptation via Hierarchical Cosine Projection in Minimal yet Mighty Adaptation via Hierarchical Cosine Projection and Minimal yet Mighty Adaptation via Hierarchical Cosine Projection. By utilizing the real-valued DCT, they exploited its superior energy compaction properties to concentrate significant weight updates into a highly condensed parameter footprint.
- LoCA: Building on the DCT approach, Zhekai Du et al. introduced Location-Aware Cosine Adaptation in Location-Aware Cosine Adaptation for Parameter-Efficient Fine-Tuning. Instead of keeping the frequency coordinates fixed, LoCA dynamically learns both the spectral coefficients and their optimal locations within the frequency matrix, maximizing the information density of the learned updates.
- SeLoRA: Rather than replacing low-rank structures entirely, Jiashun Cheng et al. proposed re-parameterizing standard LoRA matrices into a sparse spectral subspace using Fourier or Wavelet transforms in Revisiting LoRA through the Lens of Parameter Redundancy: Spectral Encoding Helps, eliminating spatial redundancy within the adapters themselves.
Exploiting Cross-Layer Smoothness
When fine-tuning deep architectures like Transformers, parameter overhead typically scales linearly with model depth because every layer requires its own independent adapter. However, due to residual skip connections, adjacent layers in a deep network often exhibit high correlation and functional smoothness.
In CrossSpectra: Exploiting Cross-Layer Smoothness for Parameter-Efficient Fine-Tuning, Yifei Zhang et al. exploited this cross-layer redundancy by treating the adaptation matrices of all transformer layers as a single, continuous 3D tensor. By applying a 3D Discrete Fourier Transform across both the spatial dimensions of the weights and the depth dimension of the network, the authors were able to truncate high-frequency components along the layer axis. This allows the number of trainable parameters to scale sub-linearly with model depth, enabling the fine-tuning of ultra-deep models without the linear memory overhead typically required by layer-wise methods.
[ Layer 1 ΔW ] ┐
[ Layer 2 ΔW ] ├─► Stacked into a 3D Tensor ─► 3D DFT ─► Truncate Depth Frequencies
[ Layer 3 ΔW ] │ (Sub-linear parameter scaling)
Implicit Regularization and Domain Robustness
Operating in the frequency domain does more than just compress parameters; it fundamentally alters the optimization landscape, acting as an implicit regularizer. By restricting weight updates to a sparse spectral subspace, the network is discouraged from learning high-frequency variations that correspond to memorizing specific training samples.
This regularization manifests as a powerful defense against common fine-tuning failure modes:
- Preventing Distribution Collapse: In generative models like Stable Diffusion, standard fine-tuning often causes the model to lose its creative diversity, producing nearly identical outputs across different random seeds. Kartikeya Bhardwaj et al. demonstrated in FouRA: Fourier Low-Rank Adaptation that applying low-rank updates within a frequency-transformed feature space prevents the model from memorizing specific training samples, successfully mitigating distribution collapse.
- Domain Generalization: In computer vision, high-frequency components often correspond to environmental styles (like lighting or weather), while low-frequency components capture core object geometry. In Learning Frequency-Adapted Vision Foundation Model for Domain Generalized Semantic Segmentation, Qi Bi et al. integrated Haar wavelet transforms directly into the layers of frozen foundation models. This allowed the model to stabilize its understanding of core content while filtering out distracting environmental styles. Similarly, Jintao Tong et al. showed in Lightweight Frequency Masker for Cross-Domain Few-Shot Semantic Segmentation that adding lightweight frequency-domain masking modules can adaptively block harmful, domain-distracting frequencies, yielding massive accuracy gains in cross-domain tasks with negligible parameter overhead.
High-Fidelity Quantization
The structural advantages of the frequency domain also extend to post-training quantization. When compressing Large Language Models down to extreme 1-bit representations, standard spatial quantization causes severe rounding errors because it treats all weight weights uniformly based on magnitude.
Ningning Chen et al. addressed this in HBLLM: Wavelet-Enhanced High-Fidelity 1-Bit Quantization for LLMs by decomposing network weights into distinct frequency bands using Haar wavelet transforms prior to quantization. Because the structural patterns of the weights are preserved within the wavelet sub-bands, dequantization yields a significantly higher variety of representable values and lower reconstruction errors than standard magnitude-based methods, allowing extreme 1-bit compression to maintain high information density.
Summary
Whether the goal is evolving a network without gradients, fine-tuning a multi-billion parameter language model on a single commodity GPU, or compressing a model to 1-bit storage, frequency-domain parameterization works because it aligns with the underlying nature of neural network weights. By shifting optimization from the redundant spatial domain to a compact, expressive spectral subspace, researchers can exploit the mathematical properties of energy compaction, cross-layer smoothness, and frequency-based regularization to build models that are both minimal and mighty.
Key Foundational Work
Evolving large-scale neural networks for vision-based TORCS (2013) — contributed 2 concept elements to this direction.
Compressed Network Complexity Search (2012) — contributed 2 concept elements to this direction.