# Spikes as Detectors: Phase-Conditioned Spiking Dynamics for Time-Series Anomaly Detection

*Miao Wang, Gangyi Ding, Yunlin Lei, Yu Zhang, chenjingfeng, Xu Yang*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152294) · [OpenReview](https://openreview.net/forum?id=U8hMwVUl0r) · [Open on the map](../papers.html#p152294)

Category: [Brain Signals & Spiking Networks](../pcat/6.md) › [Spiking Neural Networks](../pgroup/466.md) · Type: new method · Keywords: time-series anomaly detection, phase-conditioned spiking dynamics, leaky integrate-and-fire, eventification, periodic time series

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Neural and brain architectures › Spiking Neuron Dynamics

## Summary
SPIRE introduces phase-conditioned spiking dynamics as a primary anomaly signal for periodic time series, achieving state-of-the-art VUS-PR scores on benchmark datasets.

## Explained to a 5-year-old
The paper looks at data that repeats like a clock ticking. It wants to know if something strange happens without just guessing the next tick. It uses a brain-like computer that sends little spikes when something feels off. These spikes become clues that something is wrong, like a sudden burst or silence. This new way helps find problems more accurately than older methods.

## Explained to a 5-year-old, longer
The paper studies data that repeats over and over, like a pendulum swinging. Usually, people try to guess what the next swing will be and see if it matches. The authors ask a new question: can the computer’s own activity tell us if something is weird? They build a system that watches the repeating pattern and makes little electrical pulses when something feels odd. These pulses are called spikes, and they happen when the pattern breaks in a special way. The system looks at how often spikes happen, if there are many in a row or a long silence. It also checks the energy of the pattern, like how strong the swings are. By using these spike clues, the system can spot problems that simple guessing might miss. The new method works especially well when the repeating pattern is very reliable. It also works together with old methods, making them even better. Tests on two known sets of repeating data show it beats other computer methods. In short, the paper shows that spikes can be useful detectors for unusual behavior in repeating data.

## For a technical reader
The paper introduces a new way to detect anomalies in regularly repeating time-series data, such as sensor readings or financial cycles. Instead of only checking prediction errors, it converts unexpected residuals into spikes using leaky integrate-and-fire neurons that are conditioned on the data’s phase. These spikes are then analyzed for patterns like burst frequency, silence length, and energy to produce an anomaly score. Experiments on two benchmark datasets show that this spike-based scoring matches or exceeds traditional neural detectors, especially when combined with classic error-based scores. The approach demonstrates that spiking dynamics can serve as a powerful detection signal.

## Problem
Existing time-series anomaly detectors typically rely on predicting or reconstructing observations to spot anomalies. This leaves open whether a detector’s own internal dynamics can serve as evidence of anomalous behavior, particularly for periodic data.

## Method
The approach uses period-aware current formation to expose phase-aligned cross-period residuals to leaky integrate-and-fire neurons, converting residuals into spike events. It then builds phase-conditioned normal templates of spike states and scores deviations in residual energy, firing-rate patterns, and burst/silence statistics, separating detection protocol from source of evidence.

## Results
SPIRE establishes new best VUS-PR on TSB-AD-U and TSB-AD-M, surpassing other neural detectors, and hybrid scoring consistently improves over error-only approaches. Replacing LIF neurons with continuous activations reduces performance, and gains are strongest when phase recurrence is reliable.

## Contributions
The paper proposes using phase-conditioned spiking dynamics as a first-class anomaly signal for periodic time series, introduces period-aware current formation and eventification to turn residuals into spikes, and demonstrates state-of-the-art detection performance.

## Research questions this paper is counted under

- [How can we achieve reliable unsupervised anomaly detection in time series that generalizes across contexts, noise, and distribution shifts without labeled anomalies?](../q/62.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152294)
