An algorithm for detecting oscillatory behavior in discretized data: the\n damped-oscillator oscillator detector

David Hsu, Murielle Hsu, He Huang, Jr MontgomeryarXiv 2007 · DOI · arXiv

TL;DR

The paper introduces the Damped-Oscillator Oscillator Detector (DOOD), a novel algorithm designed to find hidden rhythms in discrete "point-process" data, such as neuronal firing times. By treating data as a driving force for simulated harmonic oscillators, DOOD achieves a supralinear response that can identify subtle oscillations—like the 20 Hz and 70 Hz rhythms in the basal ganglia—that traditional Fourier transforms and circular statistics often miss.

What Problem Does This Paper Address?

In fields like neuroscience, data often arrives as a list of discrete events (e.g., the exact millisecond a neuron fires). To the naked eye, these "spikes" often look like a random Poisson process with no discernible pattern. However, these sequences frequently contain "hidden" oscillations that are vital for understanding biological functions or pathologies.

Standard tools like the Fast Fourier Transform (FFT) and Circular Statistics (CS) are the go-to methods for frequency analysis. However, they have a major weakness: they scale linearly with the signal-to-noise ratio. If an oscillation is transient or buried under heavy noise, these linear methods often produce a flat spectrum, failing to detect the signal entirely. The authors sought a more sensitive method to "tease out" these rhythms from noisy, discretized datasets.

Methods

The core innovation of DOOD is shifting the perspective from pure signal processing to physical simulation.

  1. The Mathematical Oscillator: The researchers simulate a bank of damped harmonic oscillators, each tuned to a specific frequency (e.g., 1 to 500 Hz).
  2. Data as a Driving Force: The discrete data (the spike train) is converted into a driving force, $h(t)$. When a spike occurs, $h(t)$ is set to 1 for a brief window (1 ms); otherwise, it is 0.
  3. Resonance and Energy: If the data contains a hidden frequency that matches a simulated oscillator, that oscillator will begin to resonate. The algorithm monitors the time rate of change of energy ($S$) of these oscillators.
  4. Damping as a Filter: By introducing a friction constant ($g$), the authors can filter out noise. Artifactual "hits" from random noise die out quickly, while consistent, persistent oscillations provide enough energy to overcome the friction.
  5. $\Delta T$ Randomization: To ensure an oscillator at, say, 20 Hz can detect signals in the 19.5–20.5 Hz range, the authors implement a randomization step for event times to improve statistical robustness.

Datasets

The authors validated DOOD using two primary sources:

  • In Vivo Recordings: Real-world data consisting of 1,364 neuronal discharges recorded over 275 seconds from the basal ganglia of a non-human primate.
  • Synthetic Model Data: Computer-generated data featuring a 70.231 Hz oscillator mixed with Poisson noise. This allowed the authors to precisely control the "transmission probability" (how often the oscillator actually fires) to benchmark DOOD against FFT and CS.

Key Insights and Ideas

  • Supralinear Interaction: This is the "aha moment." In DOOD, the energy change depends on both the input force and the oscillator's current velocity. Because velocity increases as the oscillator is driven on-resonance, the system responds supralinearly. This makes it significantly more sensitive to weak but consistent signals than linear methods.
  • Cumulative Memory: Even if an oscillation disappears and reappears (transient behavior), the oscillator retains a "memory" of the rhythm through its motion, provided the friction isn't too high.
  • Harmonic Suppression: While FFT often shows many confusing higher harmonics, DOOD naturally damps these higher-frequency components, resulting in a cleaner, more interpretable fundamental frequency peak.

Key Results

  • Superior Sensitivity: In the primate basal ganglia data, both FFT and CS produced completely flat spectra. DOOD, however, identified two sharp, distinct peaks at 20 Hz and 70 Hz. These correspond to the "anti-kinetic" and "prokinetic" rhythms known in movement disorder literature.
  • Benchmarking: In synthetic tests, DOOD (specifically with a friction constant $g_0 = 10^{-3}$) consistently outperformed FFT and CS. Circular Statistics (CS) performed the worst of the three.
  • Temporal Tracking: By looking at energy change over time, the authors showed that the 20 Hz and 70 Hz brain oscillations aren't constant; they fluctuate on a timescale of 30 to 60 seconds.

Limitations and Future Work

  • Parameter Tuning: The effectiveness of the algorithm relies on choosing the right friction constant ($g_0$). If $g_0$ is too high, it kills real signals; if it's too low, the spectrum becomes cluttered with artifacts. The authors suggest starting with zero friction and slowly "turning it up" to see which peaks persist.
  • Scope of Data: While highly effective for point processes (spikes), the authors note that further testing is needed on other types of data, such as extracellular local field potentials.
  • Computational Intensity: Simulating hundreds of oscillators is likely more computationally demanding than a standard FFT, though the paper does not explicitly discuss processing time.

Summary updated

Abstract

We present a simple algorithm for detecting oscillatory behavior in discrete\ndata. The data is used as an input driving force acting on a set of simulated\ndamped oscillators. By monitoring the energy of the simulated oscillators, we\ncan detect oscillatory behavior in data. In application to in vivo deep brain\nbasal ganglia recordings, we found sharp peaks in the spectrum at 20 and 70 Hz.\nThe algorithm is also compared to the conventional fast Fourier transform and\ncircular statistics techniques using computer generated model data, and is\nfound to be comparable to or better than fast Fourier transform in test cases.\nCircular statistics performed poorly in our tests.\n
BibTeX
@misc{hsu2007algorithm,
  author = {David Hsu and Murielle Hsu and He Huang and Jr Montgomery},
  title = {{An algorithm for detecting oscillatory behavior in discretized data: the\textbackslash\{\}n damped-oscillator oscillator detector}},
  year = {2007},
  eprint = {0708.1341},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/0708.1341},
}
Figure