Skip to main content
← Lab

secularmode

confirmedshipPython · NumPyModel behavior & reasoningJuly 22, 2026

the question

Does RWKV-7's diagonal-plus-rank-1 transition have a real interlacing spectrum making retention safe, with instability entering only through the bottom eigenvalue?

what came out

The spectrum solves an exact secular equation and Cauchy-interlaces the decay values, pinning the top eigenvalue at max(w)<1, so retention can never expand. Instability enters only via the bottom eigenvalue at the exact boundary sum a_i kappa_i^2/(w_i+1)=1. Smaller decay lowers the removal budget needed, so decay worsens instability.

method & receipts

  • Result: confirmed
  • Tested — a correctness/benchmark suite ships alongside the code.

→ read the code and re-run it

github.com/v-code01/secularmode