Inferensys

Glossary

Likelihood Ratio Test (LRT)

The Likelihood Ratio Test (LRT) is the optimal statistical hypothesis test for signal detection that compares the ratio of probability density functions under the signal-present and signal-absent hypotheses to minimize missed detections for a given false alarm rate.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
OPTIMAL DETECTION THEORY

What is Likelihood Ratio Test (LRT)?

The Likelihood Ratio Test is the statistically optimal binary hypothesis test for signal detection, forming the theoretical performance upper bound for spectrum sensing algorithms.

The Likelihood Ratio Test (LRT) is a statistical hypothesis test that decides between a null hypothesis (signal absent) and an alternative hypothesis (signal present) by computing the ratio of their probability density functions. The resulting test statistic is compared against a threshold derived from the Neyman-Pearson Criterion to maximize the probability of detection for a given probability of false alarm.

In cognitive radio, the LRT requires full knowledge of the primary user's signal structure, channel state information, and noise statistics—parameters rarely available in practice. This impracticality motivates suboptimal but realizable alternatives like energy detection and cyclostationary feature detection, though the LRT remains the benchmark against which all cooperative sensing fusion rules are measured.

OPTIMAL DETECTION THEORY

Key Characteristics of the Likelihood Ratio Test

The Likelihood Ratio Test (LRT) is the theoretical gold standard for binary hypothesis testing in spectrum sensing, providing the maximum probability of detection for a given false alarm constraint under the Neyman-Pearson criterion.

01

Neyman-Pearson Optimality

The LRT is proven to be the uniformly most powerful test under the Neyman-Pearson criterion. This means for any chosen constraint on the probability of false alarm, no other statistical test can achieve a higher probability of detection. The test statistic is formed by the ratio:

Λ(x) = p(x|H₁) / p(x|H₀)

  • H₁: Signal-present hypothesis
  • H₀: Signal-absent hypothesis
  • p(x|H): Probability density function of the observation x under each hypothesis
UMP
Optimality Class
P_D → 1.0
Asymptotic Performance
02

Requirement for Complete Channel Knowledge

The primary practical limitation of the LRT is its dependence on perfect a priori knowledge. The test requires exact probability density functions for both hypotheses, which implies:

  • Channel State Information (CSI): Instantaneous channel gain and phase must be known
  • Noise Power: Exact noise variance at the receiver
  • Signal Parameters: Modulation type, symbol rate, and pulse shaping of the primary user

In real-world cognitive radio deployments, this information is rarely available, motivating the use of suboptimal but practical alternatives like energy detection.

Full CSI
Required Knowledge
Impractical
Real-World Feasibility
03

Log-Likelihood Ratio Form

For mathematical convenience and numerical stability, the LRT is often expressed in its logarithmic form. Taking the natural logarithm of the ratio converts the product of independent sample likelihoods into a sum:

log Λ(x) = Σ log[ p(xᵢ|H₁) / p(xᵢ|H₀) ]

  • Simplifies computation for i.i.d. observations
  • The decision rule becomes: log Λ(x) > γ (declare H₁)
  • The threshold γ is derived from the false alarm constraint
  • Forms the basis for soft decision fusion in cooperative sensing
Summation
Computational Form
γ = f(P_FA)
Threshold Derivation
04

Relationship to Soft Decision Fusion

In cooperative spectrum sensing, the LRT provides the optimal fusion rule at the fusion center. When sensing nodes transmit their raw test statistics (soft decisions) rather than binary decisions, the fusion center can construct a global LRT:

  • Each node's observation is weighted by its instantaneous SNR
  • The optimal combining scheme is weighted gain combining
  • Outperforms hard decision fusion (K-out-of-N rule) by preserving amplitude information
  • Requires high-bandwidth, error-free reporting channels to realize the theoretical gain
Optimal
Fusion Rule Class
SNR-Weighted
Combining Strategy
05

Generalized Likelihood Ratio Test (GLRT)

When unknown parameters exist in the signal model, the standard LRT cannot be directly applied. The Generalized Likelihood Ratio Test (GLRT) addresses this by substituting maximum likelihood estimates of the unknown parameters into the likelihood functions:

Λ_GLRT(x) = max_θ₁ p(x|θ₁, H₁) / max_θ₀ p(x|θ₀, H₀)

  • Used for blind sensing when signal parameters are unknown
  • Estimates parameters like noise variance or signal amplitude from the data
  • Suboptimal compared to the clairvoyant LRT but implementable in practice
  • Common in automatic modulation classification and radio frequency fingerprinting
MLE
Parameter Estimation
Suboptimal
Performance Relative to LRT
06

Detection Performance and ROC Analysis

The performance of the LRT is characterized by its Receiver Operating Characteristic (ROC) curve, which plots P_D against P_FA. Under the LRT:

  • The ROC curve is concave and lies above all other detector ROCs
  • The area under the ROC curve (AUC) approaches 1.0 as SNR increases
  • The deflection coefficient quantifies the separability of the two hypotheses
  • Performance degrades gracefully with noise uncertainty but remains optimal for the given information state

In cooperative sensing, the LRT's ROC improves with the number of independent sensing nodes due to spatial diversity gains.

AUC → 1.0
High SNR Performance
Concave
ROC Curve Shape
LIKELIHOOD RATIO TEST

Frequently Asked Questions

Explore the foundational statistical mechanism for optimal signal detection in cognitive radio, addressing its mathematical formulation, practical limitations, and role in cooperative sensing architectures.

The Likelihood Ratio Test (LRT) is the optimal statistical hypothesis test for binary signal detection that decides between a signal-present hypothesis (H1) and a signal-absent hypothesis (H0) by comparing the ratio of their probability density functions against a threshold. Specifically, it computes the test statistic Λ(x) = P(x|H1) / P(x|H0), where x is the received observation vector. If this ratio exceeds a predetermined threshold λ, the detector declares a signal present. The LRT is derived directly from the Neyman-Pearson criterion, which maximizes the probability of detection for a given constraint on the probability of false alarm. In the context of cognitive radio, the LRT represents the theoretical gold standard for primary user detection, providing the upper bound on achievable sensing performance. However, its practical implementation is severely limited because it requires exact knowledge of the primary user's signal structure, channel state information, and noise statistics—parameters that are rarely available in real-world spectrum sensing scenarios.

DETECTION PERFORMANCE COMPARISON

LRT vs. Practical Spectrum Sensing Methods

A comparison of the optimal Likelihood Ratio Test against commonly deployed practical sensing algorithms across key performance and implementation metrics.

FeatureLikelihood Ratio Test (LRT)Energy DetectionCyclostationary Feature Detection

Optimality (Neyman-Pearson)

Prior Knowledge Required

Full Channel State Information & Signal Distribution

None (Blind)

Cyclic Frequencies of Modulation Scheme

Computational Complexity

Very High

Low

High

Robustness to Noise Uncertainty

Optimal (Theoretical)

Poor (SNR Wall Exists)

Excellent

Sensing Time for Equivalent Pd

Baseline (Minimum)

2-5x Longer

1.5-3x Longer

Ability to Distinguish Signal Types

Practical Deployability

Impractical (Requires Unobtainable Priors)

Widely Deployed

Deployed in High-End Receivers

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.