Inferensys

Glossary

Quickest Detection

A statistical framework focused on minimizing the delay in detecting a change in the state of a stochastic process, such as the sudden appearance of a primary user signal.
Developer demonstrating multi-agent tool use, agent tool selection interface on laptop, casual tech demo moment.
SEQUENTIAL CHANGE-POINT DETECTION

What is Quickest Detection?

Quickest detection is a statistical framework for minimizing the delay in identifying a change in the state of a stochastic process, such as the sudden appearance of a primary user signal, subject to a constraint on the false alarm rate.

Quickest detection is a sequential analysis paradigm focused on detecting a change in the statistical properties of an observed process with minimal latency. Unlike fixed-sample-size hypothesis tests, it processes observations in real time, triggering an alarm as soon as sufficient evidence accumulates to declare that a change—such as the transition from a noise-only state to a signal-plus-noise state—has occurred. The objective is to minimize the expected detection delay while strictly controlling the rate of false alarms, making it fundamentally suited for time-sensitive applications like dynamic spectrum access.

The canonical formulation is the Shiryaev-Roberts-Pollak framework, which optimizes the trade-off between detection speed and false alarm frequency. In cognitive radio, quickest detection algorithms like the CUSUM (Cumulative Sum) test continuously monitor a log-likelihood ratio derived from received signal samples. The moment this cumulative statistic exceeds a pre-defined threshold, the system declares the presence of a primary user, triggering immediate spectrum evacuation to avoid harmful interference while maximizing secondary transmission opportunities.

RAPID CHANGE-POINT ANALYSIS

Key Characteristics of Quickest Detection

Quickest detection is a statistical framework that minimizes the delay between the occurrence of a change in a stochastic process and its reliable declaration, subject to a constraint on the false alarm rate. It is the mathematical backbone of agile spectrum sensing, enabling cognitive radios to vacate channels the instant a primary user reappears.

01

The Sequential Probability Ratio Test (SPRT)

The foundational optimal test for distinguishing between two simple hypotheses. In quickest detection, the CUSUM algorithm—a repeated SPRT—monitors the log-likelihood ratio of incoming samples. When the cumulative sum exceeds a pre-defined threshold, a change is declared. This minimizes the worst-case average detection delay for a given mean time between false alarms, as proven by Lorden's optimality theory.

Minimax Optimal
Lorden's Criterion
02

Stopping Time and Decision Rules

A stopping time is a random variable indicating when to terminate sampling and declare a change. The decision rule is defined by a threshold on the test statistic. Key metrics include:

  • Average Detection Delay (ADD): Expected time to detect a real change.
  • Average Run Length to False Alarm (ARL2FA): Expected time between false declarations. The goal is to minimize ADD subject to a lower bound on ARL2FA, ensuring the detector is both fast and reliable.
ADD
Minimization Target
ARL2FA
Constraint
03

CUSUM and Shiryaev-Roberts Procedures

Two dominant non-Bayesian algorithms:

  • CUSUM (Cumulative Sum): Resets to zero upon exceeding a threshold, making it memory-efficient and robust for detecting persistent changes.
  • Shiryaev-Roberts (SR) Procedure: Averages the likelihood ratio over all possible change points, often yielding a lower stationary average detection delay than CUSUM. Both are preferred over simple Shewhart control charts for detecting subtle, persistent shifts in noise floor or signal power.
CUSUM
Memory-Efficient
SR
Stationary Optimal
04

Bayesian Quickest Detection

Assumes a known prior distribution for the change point time. The Shiryaev procedure is strictly optimal in this setting, minimizing the expected detection delay for a fixed probability of false alarm. It computes the posterior probability that a change has occurred. This framework is ideal when historical data provides a statistical model for primary user arrival times, enabling proactive rather than purely reactive sensing.

Posterior Probability
Decision Statistic
05

Application in Spectrum Sensing

In cognitive radio, quickest detection triggers immediate spectrum mobility when a primary user (PU) reappears. The change point is the PU's transmission start. Key adaptations include:

  • Non-parametric methods for unknown signal distributions.
  • Robust statistics to handle impulsive noise.
  • Distributed CUSUM for cooperative sensing networks, where local statistics are fused at a central node to minimize detection delay across the entire network.
< 1 ms
Target Detection Delay
06

Handling Unknown Post-Change Parameters

A practical challenge is that the signal characteristics after a change (e.g., PU modulation type, power) are often unknown. Solutions include:

  • Generalized Likelihood Ratio (GLR): Replaces unknown parameters with their maximum likelihood estimates.
  • Mixture CUSUM: Averages the likelihood ratio over a prior distribution of the unknown parameter.
  • Adaptive Thresholding: Dynamically adjusts the detection threshold based on real-time noise floor estimates to maintain a constant false alarm rate (CFAR).
GLR
Parameter Estimation
CFAR
Adaptive Threshold
QUICKEST DETECTION

Frequently Asked Questions

Explore the statistical framework designed to minimize the delay in identifying changes in stochastic processes, a critical capability for agile spectrum sensing in cognitive radio networks.

Quickest Detection is a statistical framework focused on minimizing the delay in detecting a change in the state of a stochastic process, such as the sudden appearance of a primary user signal in a spectrum band. It operates by taking sequential observations and computing a test statistic, often a cumulative sum (CUSUM) or a Shiryaev-Roberts statistic, that tracks the likelihood ratio between the post-change and pre-change hypotheses. A detection alarm is triggered when this statistic exceeds a predefined threshold, balancing the trade-off between detection delay and the mean time between false alarms. Unlike fixed-sample-size detectors, quickest detection algorithms process samples online, making a decision as soon as sufficient evidence accumulates, which is essential for agile cognitive radio systems that must vacate a channel rapidly to avoid interference.

QUICKEST DETECTION

Applications in Dynamic Spectrum Access

Quickest detection provides the statistical foundation for cognitive radios to abandon a frequency the instant a primary user returns, minimizing harmful interference while maximizing secondary transmission time.

01

Primary User Reappearance Detection

The canonical application of quickest detection in cognitive radio. When a secondary user is actively transmitting on a licensed band, it must continuously monitor for the primary user's return. The CUSUM algorithm detects the abrupt change in received signal energy that signals the primary user has become active again.

  • Goal: Minimize the delay between primary user activation and secondary user evacuation
  • Constraint: Maintain a controlled false alarm rate to prevent unnecessary channel switching
  • Mechanism: Accumulates log-likelihood ratios of sequential samples until a threshold is breached
< 20 ms
Typical Detection Latency
99.9%
Primary User Protection Rate
03

Jamming Attack Identification

In contested electromagnetic environments, quickest detection identifies the onset of intentional jamming. The statistical profile of received interference changes abruptly when a jammer activates, and sequential change-point detection isolates this transition faster than periodic sensing.

  • Reactive jamming: Detects the jammer's response to legitimate transmissions
  • Sweep jamming: Identifies the periodic power spikes as a jammer sweeps across bands
  • Benefit: Enables rapid countermeasure deployment, such as frequency hopping or beam nulling
04

Dynamic Spectrum Access Policy Enforcement

Regulatory monitoring systems use quickest detection to enforce spectrum sharing rules. When a secondary user exceeds its authorized transmission parameters or a rogue transmitter appears, the change-point detector triggers an enforcement action.

  • Unauthorized transmission detection: Identifies signals that violate spectrum access grants
  • Power limit violations: Detects when a secondary user exceeds its allocated power budget
  • Implementation: Deployed at spectrum access system (SAS) sensors in CBRS and similar frameworks
05

Cooperative Sequential Detection

Multiple cognitive radios combine their local CUSUM statistics at a fusion center to achieve faster, more reliable detection. Each node transmits its log-likelihood ratio incrementally, and the fusion center applies a global stopping rule.

  • Parallel CUSUM: Each node runs an independent CUSUM; the fusion center stops when any node's statistic crosses its threshold
  • Censoring: Nodes only transmit updates when their local statistic changes significantly, reducing overhead
  • Advantage: Mitigates the hidden node problem through spatial diversity
06

Adaptive Sensing Duration Control

Quickest detection frameworks dynamically adjust the sensing duration based on accumulated evidence rather than using fixed sensing periods. This optimizes the sensing-throughput tradeoff by stopping the sensing process as soon as a reliable decision is reached.

  • Sequential probability ratio test (SPRT): Stops sensing when the likelihood ratio crosses either an upper or lower boundary
  • Truncated SPRT: Enforces a maximum sensing time to bound worst-case latency
  • Result: Higher spectral efficiency compared to fixed-duration sensing schemes
Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.