{
 "artifacts": [
  {
   "name": "README.md",
   "url": "https://synthcore.org/code/1042/README.md"
  },
  {
   "name": "experiment.py",
   "url": "https://synthcore.org/code/1042/experiment.py"
  },
  {
   "name": "report.md",
   "url": "https://synthcore.org/code/1042/report.md"
  },
  {
   "name": "results.json",
   "url": "https://synthcore.org/code/1042/results.json"
  }
 ],
 "category": "dynamics",
 "description": "Replace an unconstrained recurrent transition with a two-dimensional damped rotation whose parameters are induced by a learnable circular reorientation distribution. The first Fourier mode controls both memory persistence and phase rotation, giving the network an interpretable oscillatory memory while guaranteeing contraction when the effective decay rate is positive.",
 "download_zip": "https://synthcore.org/download/1042",
 "formulas_latex": [
  "$$\\Pi_1=\\int_{-\\pi}^{\\pi}q(\\Delta\\theta)e^{i\\Delta\\theta}\\,d\\Delta\\theta,\\qquad |\\Pi_1|\\leq1.$$",
  "$$C(t)=e^{-\\alpha(1-\\operatorname{Re}\\Pi_1)t}\\cos\\!\\left(\\alpha\\operatorname{Im}(\\Pi_1)t\\right)=e^{-\\gamma t}\\cos(\\Omega t).$$",
  "$$h_t=e^{-\\gamma\\Delta t}R(\\Omega\\Delta t)h_{t-1}+Bx_t,\\qquad R(\\phi)=\\begin{bmatrix}\\cos\\phi\u0026-\\sin\\phi\\\\\\sin\\phi\u0026\\cos\\phi\\end{bmatrix}.$$",
  "$$\\left\\|e^{-\\gamma\\Delta t}R(\\Omega\\Delta t)\\right\\|_2=e^{-\\gamma\\Delta t}\u003c1\\quad\\Longleftrightarrow\\quad\\gamma\u003e0.$$"
 ],
 "id": 2703,
 "implementation": "Integrate this as a parallel recurrent channel inside an RNN, SSM, or transformer residual stream. Allocate several independent two-dimensional channels, each with its own circular distribution and therefore its own decay and frequency; concatenate their states with ordinary feed-forward features. Parameterize q with either a wrapped Gaussian, whose mean and concentration determine Pi_1, or a small softmax over discretized angles. At every update compute Pi_1, set gamma equal to alpha times one minus the real part of Pi_1, set Omega equal to alpha times the imaginary part, and apply the exact matrix exponential rather than Euler integration. Pseudocode is: `Pi = sum(q_bins * exp(1j*angles)); gamma = alpha*(1-Pi.real); Omega = alpha*Pi.imag; rho = exp(-gamma*dt); h = rho*rot(Omega*dt)@h + B@x`. The paper supplies the Fourier reduction and correlation law; training estimates q, alpha, B, and output parameters by backpropagation. First test on sequential-MNIST or the adding problem against tanh-RNN, GRU, and a diagonal SSM with matched parameter counts. Initialize one channel with Pi_1 approximately equal to 0.95 exp(0.2 i). The predicted hidden-state autocorrelation must have envelope slope minus gamma and oscillation frequency Omega, each within 20 percent of fitted traces. Sweeping the real part of Pi_1 toward one should increase the memory time as 1/gamma, while the recurrent Jacobian norm should remain at most one.",
 "math_summary": "Let q(\\Delta\\theta) be a probability density over reorientation angles and define its first Fourier coefficient by \\(\\Pi_1=\\int_{-\\pi}^{\\pi}q(\\Delta\\theta)e^{i\\Delta\\theta}\\,d\\Delta\\theta\\), where \\(|\\Pi_1|\\leq1\\). For tumble rate \\(\\alpha\\), the paper predicts the orientation correlation \\(C(t)=\\exp[-\\alpha(1-\\operatorname{Re}\\Pi_1)t]\\cos[\\alpha\\operatorname{Im}(\\Pi_1)t]\\). Define effective damping \\(\\gamma=\\alpha(1-\\operatorname{Re}\\Pi_1)\\geq0\\) and angular frequency \\(\\Omega=\\alpha\\operatorname{Im}(\\Pi_1)\\). A recurrent state \\(h_t\\in\\mathbb{R}^2\\) uses the transition \\(h_t=\\rho R(\\phi)h_{t-1}+Bx_t\\), with \\(\\rho=e^{-\\gamma\\Delta t}\\leq1\\), \\(\\phi=\\Omega\\Delta t\\), and planar rotation matrix \\(R\\). The homogeneous transition is contractive iff \\(\\rho\u003c1\\), marginal at \\(\\rho=1\\), and unstable if \\(\\rho\u003e1\\).",
 "math_tags": [
  "dynamical-systems",
  "statistical-mechanics",
  "spectral-theory",
  "probability"
 ],
 "ml_areas": [
  "rnn",
  "ssm",
  "training-dynamics",
  "initialization"
 ],
 "paper": {
  "arxiv_id": "2608.23519",
  "arxiv_url": "https://arxiv.org/abs/2608.23519",
  "summary_what_math_gives_to_ml": "The paper provides a constructive reduction of arbitrary non-uniform reorientation dynamics to an effective persistence-and-chirality process controlled by the first Fourier coefficient of the tumble distribution. Its transferable asset is a principled way to parameterize recurrent state transitions as damped rotations, rather than learning unconstrained recurrent dynamics. This suggests a stable oscillatory RNN or state-space layer with interpretable, learnable memory and an explicit spectral stability condition.",
  "title": "Run-and-tumble particles with preferred reorientation",
  "year": "2026"
 },
 "ratings": {
  "difficulty": 5,
  "novelty": 7,
  "usefulness": 7
 },
 "solves": [
  "stability",
  "accuracy",
  "memory"
 ],
 "title": "Fourier-Tumble Oscillatory Memory",
 "url": "https://synthcore.org/idea/2703/fourier-tumble-oscillatory-memory",
 "verification": {
  "peer_reviewed": false,
  "stage1_mechanism_check": {
   "worked": true,
   "confidence": 8,
   "verdict": "Built a Fourier-tumble recurrent channel using a discretized circular distribution and exact damped rotations. The mechanism manifested: sampled |Pi_1| stayed below 1, the Jacobian norm stayed below 1, the fitted correlation law matched predicted damping and frequency, and memory time increased as 1/gamma from 1.0 to 25.29 steps. The secondary fixed-parameter delayed-recall comparison did not show a baseline win, so this supports the mathematical mechanism rather than task-level superiority.",
   "metrics": {
    "baseline": "Fixed-radius scalar retention delayed-recall MSE at delays 1,5,10,20,40,80: 0.0025, 0.0512, 0.1610, 0.4115, 0.7595, 0.9672.",
    "idea": "Fourier channel delayed-recall MSE at delays 1,5,10,20,40,80: 0.0069, 0.3414, 1.3369, 1.4474, 0.9623, 1.0066. Maximum sampled |Pi_1|=0.9352, maximum Jacobian norm=0.9373, correlation-fit relative errors were zero, and memory 1/e time increased from 1.0 to 25.29."
   },
   "how_to_run": "python3 experiment.py",
   "files": [
    "experiment.py",
    "results.json",
    "README.md"
   ],
   "limitations": "The correlation fit and memory check use the exact constructed transition, verifying implementation and numerical consistency rather than independently estimating a learned model. No backpropagation training, sequential-MNIST, GRU comparison, FLOP matching, noise robustness, or learned multi-channel task experiment was run."
  },
  "status": "unverified",
  "status_label": "Unverified",
  "updated_at": "2026-09-01T20:48:35",
  "verdict_source": "deterministic test code (paired-seed permutation statistics)"
 }
}
