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

Self-Modulating Quantum Fast-Weight Programmers for Efficient Adaptive Sequential Learning

Samuel Yen-Chi Chen, Yifeng Peng, Kuo-Chung Peng, Jiun-Cheng Jiang, Chun-Hua Lin, Junghoon Justin Park, Huan-Hsin Tseng, Hsin-Yi Lin, Kuan-Cheng Chen, Chen-Yu Liu, Shinjae YooarXiv 2026

TL;DR

Self-Modulating Quantum Fast-Weight Programmers (Self-Modulating QFWP) introduce adaptive, input-dependent modulation to quantum sequence learning. By dynamically regulating how new information is injected and how historical memory is retained, this architecture achieves faster convergence and superior stability over standard quantum recurrent models—all while bypassing the costly computational bottleneck of backpropagation-through-time (BPTT).

What Problem Does This Paper Address?

Processing sequential or time-series data in quantum machine learning (QML) typically relies on architectures like Quantum LSTMs (QLSTMs). While effective, QLSTMs inherit a severe structural drawback from their classical counterparts: their non-linear gated recurrence couples hidden states across all time steps. This forces gradient computation to happen sequentially via Backpropagation-Through-Time (BPTT), a process that becomes prohibitively expensive on quantum hardware due to the need for repeated variational circuit evaluations.

An alternative approach is the Quantum Fast Weight Programmer (QFWP), where a classical "slow" network dynamically generates parameter updates to reprogram a quantum "fast" network. This yields a linear recurrence that can be parallelized across time steps. However, standard QFWPs blindly accumulate updates over time. Without a mechanism to forget or reweight information, parameter evolution becomes unstable, causing performance to degrade drastically on longer sequences.

Methods

The authors introduce Self-Modulating QFWP to bring LSTM-style memory control to the parallelizable QFWP framework.

Instead of a purely additive update rule, the classical controller generates two input-dependent modulation matrices at each time step $t$:

  • $M_t^{\text{new}}$: Regulates how much of the newly generated raw update ($\Delta_t$) is written.
  • $M_t^{\text{old}}$: Regulates how much of the historical fast-weight memory ($\Theta_{t-1}$) is retained, suppressed, or amplified.

The full self-modulating update rule is defined as: $$\Theta_t = \Delta_t \odot M_t^{\text{new}} + \Theta_{t-1} \odot M_t^{\text{old}}$$

Because these modulation coefficients depend solely on the current input, the recurrence remains linear and parallelizable, avoiding the sequential gradient bottleneck of traditional recurrent networks.

Architecture of the proposed Self-Modulating QFWP framework.

To isolate the impacts of these mechanisms, the authors also evaluate two ablation variants: Only-New (modulating only the incoming update) and Only-Old (modulating only the historical memory).

Datasets

The framework was evaluated across 30 different combinations of hidden sizes/qubit counts ($H \in \{4, 6, 8, 10, 12, 14\}$) and input sequence lengths ($N \in \{4, 8, 16, 32, 64\}$) using five time-series benchmarks:

  1. Damped Simple Harmonic Motion (Damped SHM)
  2. Bessel function $J_2$
  3. Delayed Quantum Control
  4. NARMA-5
  5. NARMA-10

Key Insights and Ideas

  • Memory Retention Over Write Scaling: Both mathematical derivation and empirical testing revealed that Only-Old modulation (controlling historical memory) is the primary driver of performance gains. While modulating new updates ($M_t^{\text{new}}$) simply scales instantaneous inputs, old modulation ($M_t^{\text{old}}$) acts as a true temporal memory kernel capable of attenuating past discrepancies.
  • Bypassing the BPTT Bottleneck: By keeping the recurrence relation linear, Self-Modulating QFWP achieves the flexible memory management of an LSTM cell without sacrificing the ability to parallelize computations over the sequence length during training.
  • Robustness to Scale: Standard QFWPs degrade rapidly as sequence lengths scale up. Self-modulation provides a stabilizing effect, keeping final test errors uniformly low regardless of sequence length or qubit count.

Key Results

  • Orders of Magnitude Error Reduction: On challenging oscillatory and delayed-control tasks, Self-Modulating QFWP and the Only-Old variant reduced mean squared error (MSE) by orders of magnitude compared to the standard QFWP baseline.
  • Rapid Convergence: In the bessel_j2 task (sequence length 32), the Self-Modulating variant successfully captured the underlying periodicity, phase, and damping trends by epoch 15, whereas the standard QFWP exhibited severe amplitude mismatches even at epoch 100.
Test MSE convergence curves on the bessel_j2 task across different hidden sizes and sequence lengths.
  • Binary-Like Performance Gaps: For the delayed_quantum_control task at a sequence length of 64, standard QFWP completely failed to learn the temporal structure, while the Self-Modulating models achieved near-perfect tracking almost immediately.

Limitations and Future Work

  • Unbounded Modulation Gates: The modulation matrices are currently generated via linear layers and outer products without any bounding non-linearities (like a sigmoid function in classical LSTMs). The authors note that introducing bounding functions could be an interesting architectural extension.
  • Real-World Scaling: While the benchmarks used are standard for evaluating memory in recurrent models, future work will need to validate this framework on larger, noisier real-world datasets and deploy them on physical quantum processors (NISQ devices).

Summary updated

BibTeX
@misc{chen2026self,
  author = {Samuel Yen-Chi Chen and Yifeng Peng and Kuo-Chung Peng and Jiun-Cheng Jiang and Chun-Hua Lin and Junghoon Justin Park and Huan-Hsin Tseng and Hsin-Yi Lin and Kuan-Cheng Chen and Chen-Yu Liu and Shinjae Yoo},
  title = {{Self-Modulating Quantum Fast-Weight Programmers for Efficient Adaptive Sequential Learning}},
  year = {2026},
  eprint = {2606.24933},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.24933},
}
Figure