Learnable Spectral Activations

Tamir Shor, Or Litany, Alex M. BronsteinNeurIPS 2026

TL;DR

Implicit neural representations (INRs) store complex signals—like audio, images, or 3D scenes—inside the weights of a neural network, much like teaching an equation to paint a picture. Historically, improving INRs meant feeding them richer frequencies, yet individual neurons were stuck playing pure, fixed "notes" (like simple sine waves). Learnable Spectral Activations (LSA) swap out those rigid activations for trainable mini-Fourier series, letting each neuron learn its own custom "timbre" and dramatically improving both optimization speed and reconstruction fidelity across modalities.

What Problem Does This Paper Address?

Instead of storing an image on a discrete grid of pixels, an Implicit Neural Representation (INR) trains a standard Multi-Layer Perceptron (MLP) to map continuous coordinates—say, $(x, y)$—directly to color values $(R, G, B)$. Standard ReLU networks are notoriously bad at this because of spectral bias: they naturally prefer smooth, low-frequency blobs and struggle with sharp details.

To fix this, prior methods like Fourier Features, SIREN, and FINER inject high frequencies at the input or use periodic sine-wave activations. Think of this like giving an orchestra access to higher-pitched notes. However, a subtle bottleneck remains: in these architectures, the shape of each neuron's waveform is prescribed and fixed.

Imagine trying to draw a sharp edge in a photograph or a sudden drum transient in an audio clip. Doing so requires coordinating many harmonic frequencies with precise relative amplitudes. In a network like SIREN, a neuron's frequency content is rigidly locked to the linear weights that select its spatial features. You cannot tweak a neuron's harmonic profile without simultaneously altering what feature it is looking at. Feature selection and spectral shaping are tangled together.

Methods

The authors untangle these two roles by introducing Learnable Spectral Activations (LSA). Instead of passing a neuron's pre-activation $u$ through a fixed nonlinearity like $\sin(\omega_0 u)$, LSA passes it through a learnable, residual truncated Fourier series:

$$\phi^{(\ell)}(u) = u + \sum_{k=1}^{K} a_k^{(\ell)} \sin(2\pi k u)$$

Here is what is standard versus what is new:

  • Standard: The overall coordinate-MLP pipeline, optional Fourier-feature input encodings, and standard linear weight matrices ($W$ and $b$) remain untouched.
  • New: At each layer $\ell$, a tiny set of $K$ harmonic amplitude coefficients $a_k^{(\ell)}$ (shared across neurons in that layer) is learned alongside the network weights.

Initialized near zero, the activation starts out acting almost like an identity function ($\phi(u) \approx u$) and gradually sculpts a custom multi-harmonic waveform during training. Crucially, the linear weights $W$ decide which features to compute, while the coefficients $a_k$ decide how to spectrally shape them—updated via separate gradients. Furthermore, because LSA is built from smooth sinusoids, it retains clean analytic derivatives for physics and gradient-based tasks.

Figure 1: (a) Operator families and parameter efficiency. Dashed curves show individual atoms and solid curves show the fitted signal. SIREN and FINER use prescribed single-unit responses, whereas LSA synthesizes multi-harmonic waveforms and reaches accurate fits with fewer atoms. (b) Target energy concentration in leading empirical NTK modes. LSA places more target energy in the top modes than SIREN or FINER, indicating better alignment between the induced dictionary and the target.

Datasets

No new datasets are introduced; the authors evaluate LSA across established benchmarks spanning four distinct domains:

  • Audio (1D): LibriSpeech (read English speech with sharp transients) and NSynth (monophonic musical notes with rich harmonic structure), resampled to 48 kHz.
  • Images (2D): The Kodak dataset (24 natural true-color images at $768 \times 512$ resolution).
  • Visual Neural Fields (3D): The Blender synthetic dataset (8 object scenes for NeRF novel view synthesis).
  • Acoustic Neural Fields (Spatial Audio): Benchmark multi-room scenes from Neural Acoustic Fields (NAF), predicting room impulse responses from listener-emitter coordinates.

Key Insights and Ideas

  • It’s about optimization, not theoretical capacity: An infinitely wide SIREN can already approximate the same functions as LSA. LSA's magic is a factorization change. Because the activation output is affine (linear) in the coefficients $a_k$, tuning the harmonic spectrum becomes an easy, direct subproblem for gradient descent.
  • Aligning the Neural Tangent Kernel (NTK): The NTK describes which signal patterns a network learns fastest during gradient descent. Empirically, LSA packs substantially more of the target signal's energy into the top eigenmodes of the NTK than SIREN or FINER, explaining why it converges so cleanly.
  • Taming off-grid aliasing: Pumping high-bandwidth Fourier features into standard INRs helps them memorize training points, but often causes wild, noisy oscillations between sampled points (aliasing). Because LSA composes harmonics internally in a structured way, it interpolates smoothly on unseen grids even at high input bandwidths.
Figure 3: On-grid vs. off-grid reconstruction under increasing Fourier-feature bandwidth. SIREN exhibits a large on-grid/off-grid gap already at σ = 0 and severe interpolation artifacts for σ = 100. Our method remains stable under inference of interpolated, unseen grid points.

Key Results

Across controlled backbone comparisons, LSA consistently outperforms fixed-activation baselines (SIREN, FINER) and learnable-activation competitors (STAF, $\text{SL}^2\text{A}$):

  • Audio Fitting: With high-bandwidth Fourier features, LSA reaches 86.72 dB PSNR on NSynth and 90.78 dB on LibriSpeech—leaps ahead of FINER (which saturates in the mid-60 dB range) and STAF (68.79 / 68.40 dB). Off-grid interpolation stays rock-solid (79.2 dB unseen vs. 79.6 dB seen at $\sigma=100$), whereas SIREN collapses from 118.7 dB on-grid to 22.5 dB off-grid.
  • Image Reconstruction: On Kodak, fixed-configuration LSA averages 38.11 dB PSNR, beating FINER (37.32 dB), STAF (35.37 dB), and SIREN (34.99 dB), and outperforming $\text{SL}^2\text{A}$ on held-out images while using ~40% fewer parameters. In gradient-only Poisson reconstruction, LSA integrates clean global images (19.95 dB) while FINER (13.48 dB) and SIREN (15.25 dB) suffer from severe low-frequency drift.
  • 3D & Acoustic Fields: Plugged into an InstantNGP-style NeRF, LSA achieves the best PSNR on 5/8 Blender scenes and best SSIM on 7/8. In NAF room acoustics, swapping in LSA ($K=8$) slashes log-spectral $L_1$ error on frl_apartment_2 more than twofold, from 3.92 to 1.68.

Limitations and Future Work

There is no free lunch in compute: while LSA adds almost zero parameter bloat (just 64 parameters in a typical audio network), evaluating $K$ sine terms at every neuron is expensive. In full-grid audio experiments, LSA incurred roughly a $7\times$ training-time and $9\times$ peak-memory overhead compared to FINER.

To remedy this, the authors point toward custom fused GPU kernels or activation checkpointing. For future modeling directions, they suggest exploring neuron-specific, channel-grouped, or input-conditioned harmonic coefficients, alongside spectral regularization to further guide what waveforms the network learns.

Summary updated

Abstract

Implicit neural representations (INRs) are shaped by the spectral structure induced by their input encodings and activation functions. Existing methods improve fitting primarily by modifying which frequencies are available to the network, through coordinate encodings or periodic nonlinearities. However, frequency access is not the only bottleneck: signals with localized or spatially varying structure require the network to efficiently compose frequencies into multi-harmonic internal responses. We introduce learnable spectral activations (LSA), which replace fixed neuron-level nonlinearities with a residual truncated Fourier series whose harmonic amplitudes are learned during training. LSA does not expand the asymptotic function class. Instead, it changes the factorization of the representation: linear weights select features while activation coefficients control spectral shaping, and the two are updated by separate gradients. Because the activation output is affine in the coefficients given fixed pre-activations, spectral tuning becomes a more direct subproblem compared to architectures where it is entangled with feature selection. Empirically, this factorization concentrates more target-signal energy in the leading eigenmodes of the neural tangent kernel, consistent with improved optimization behavior. Across audio, image, neural radiance field, and neural acoustic field tasks, LSA also improves reconstruction quality.
BibTeX
@inproceedings{shor2026learnable,
  author = {Tamir Shor and Or Litany and Alex M. Bronstein},
  title = {{Learnable Spectral Activations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=X6lgq8Q6sS},
}
Figure