NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FW-NKF: Frequency-Weighted Neural Kalman Filters

Adnan Harun Dogan, Berken Utku Demirel, Christian HolzarXiv 2026

TL;DR

Classical and deep Kalman filters typically assume sensor noise is "white" (spectrally flat), making them highly vulnerable to real-world, frequency-specific disturbances like motor vibrations or sensor drift. This paper introduces the Frequency-Weighted Neural Kalman Filter (FW-NKF), which embeds a learnable, causal Infinite Impulse Response (IIR) filter directly into the Kalman update loop and utilizes a spectral-domain training loss. This frequency-aware approach selectively attenuates noise-dominated frequency bands, leading to substantial accuracy improvements across chaotic and real-world robotic tracking tasks.

What Problem Does This Paper Address?

Whether it's a micro-drone navigating an obstacle course or a VR headset tracking human motion, robust state estimation relies heavily on Kalman filters. However, standard Kalman filtering theory relies on a major assumption: that process and measurement noise are white, Gaussian, and temporally uncorrelated—a condition famously dubbed "fairy tales for undergraduates."

In reality, sensors are plagued by structured, band-specific noise:

  • High-frequency jitter from mechanical vibrations (e.g., drone motors affecting IMUs).
  • Low-frequency bias drift over time.
  • Periodic electromagnetic interference from nearby electronics.

While modern Deep Kalman Filters (DKFs) excel at learning complex, non-linear system transitions, they still treat measurement noise as spectrally uniform. They lack an explicit mechanism to identify and suppress noise concentrated in specific frequency bands, causing estimation errors to rapidly compound over time.

Methods

FW-NKF bridges this gap by introducing spectral awareness into both the training objective and the filter architecture itself.

Fig. 1: Overview of our method with spectral supervision. (a) The observation model H(·) predicts sensor measurements in two ways: one from the ground truth state x (supervised) and one from the estimated state ˜x. This dual prediction enables to explicitly guide the observation model in reconstructing noise-free sensor signals, encouraging frequency-selective denoising. (b) The pole-zero plot of the learnable IIR filter Φ, parameterized by coefficients {aj, bj}, which are optimized during training. This filter is applied causally to the innovation term (the difference between observed sensor data y and predicted observation ˆy), selectively attenuating frequency components associated with measurement noise before the Kalman update.

The framework consists of two key enhancements:

  1. Spectral-Domain Reconstruction Loss ($\mathcal{L}_\Phi$): Instead of relying solely on traditional time-domain mean squared error (which forces strict point-by-point waveform alignment), FW-NKF applies a Fourier Transform to the predicted and ground-truth observations. It minimizes the $\ell_1$ distance between their magnitude spectra. This phase-invariant loss forces the observation network ($H$) to reconstruct clean, noise-free sensor signals.
  2. Learnable IIR Innovation Filtering: During the Kalman correction step, the filter calculates the "innovation" ($\Delta y_t$), which is the difference between the actual sensor reading and the predicted observation. FW-NKF routes this innovation through a learnable, causal Infinite Impulse Response (IIR) filter before scaling it by the Kalman Gain. To ensure system stability, the poles of this filter are mathematically constrained to remain inside the unit circle.

The entire system—including the time-varying dynamics parameterized by a Gated Recurrent Unit (GRU)—is trained end-to-end.

Datasets

The authors evaluated FW-NKF across four distinct, challenging benchmarks:

  • Lorenz-63 Chaotic System: A highly unstable, non-linear 3D system simulated with added process perturbations to test filter robustness against chaotic drift.
  • Damped, Forced Pendulum: A standard non-linear physics benchmark tracking Cartesian tip positions under noisy conditions.
  • UIP-DB Dataset: A real-world human motion capture dataset containing 200 minutes of synchronized IMU and Ultra-Wideband (UWB) range data prone to high-frequency multipath reflections.
  • EuRoC MAV Dataset: Real-world flight data from a hexacopter flying indoors, featuring synchronized 200 Hz IMU data and optical motion-capture ground truth.

Key Insights and Ideas

  • Phase-Invariance is a Virtue: Standard time-domain losses penalize slight temporal misalignments heavily, even if the underlying signal frequency is correct. By supervising in the frequency domain, the model focuses on matching the structural characteristics of the clean signal rather than raw point-by-point waveforms.
  • Theoretical Backing via Cramér-Rao: The authors prove that filtering the innovation sequence structurally increases the Fisher information of the filtered observation. According to the Cramér-Rao bound, maximizing this information inherently lowers the minimum achievable error variance for any unbiased estimator.
  • The "Goldilocks Zone" for Spectral Weighting: Ablation studies revealed that a moderate frequency loss weight ($\lambda_\Phi = 0.01 \text{ to } 0.05$) yields the best results. If $\lambda_\Phi$ is too high, the excessive focus on spectral matching begins to conflict with the temporal tracking objectives of sequential state estimation.

Key Results

FW-NKF consistently outperformed both classical Kalman filters and state-of-the-art deep learning baselines (like KalmanNet and BayesKNet):

  • Chaotic Systems: On the Lorenz dataset, FW-NKF achieved a massive reduction in Mean Absolute Error (MAE), dropping to $0.50 \pm 0.15$ compared to Recursive KNet ($4.24 \pm 0.24$) and Classical KF ($8.77 \pm 0.42$).
Fig. 2: The state estimation performance of our method illustrated in 3-dimensional (x, y, z) Lorenz system where the estimations follow the true state in all dimensions with low mean absolute error. All y-axes are dimensionless.
  • Real-World Robotics: On the UIP-DB dataset, FW-NKF achieved a 19.9% improvement in acceleration estimation RMSE over the closest deep baseline, successfully filtering out high-frequency UWB multipath noise and IMU vibrations.
  • Efficiency: Despite the addition of the IIR filter and GRU components, FW-NKF maintains a highly competitive inference speed of 0.686 ms per step on a single GPU, making it viable for real-time robotics applications.

Limitations and Future Work

While FW-NKF shows remarkable performance, the authors note that its success relies on careful tuning of the spectral loss weight ($\lambda_\Phi$). Setting this parameter too high can degrade performance by interfering with time-domain tracking.

Additionally, the current implementation applies the same scalar IIR filter component-wise across all measurement channels. Future work could explore learning channel-specific or multi-variable IIR filters to handle complex systems where different sensors experience entirely distinct noise profiles.

Summary updated

BibTeX
@misc{dogan2026fw,
  author = {Adnan Harun Dogan and Berken Utku Demirel and Christian Holz},
  title = {{FW-NKF: Frequency-Weighted Neural Kalman Filters}},
  year = {2026},
  eprint = {2606.02251},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.02251},
}
Figure