Inferensys

Glossary

Generalized Likelihood Ratio Test (GLRT)

A sub-optimal hypothesis test that replaces unknown deterministic parameters with their maximum likelihood estimates before constructing the likelihood ratio, avoiding the need for prior distributions.
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.
Composite Hypothesis Testing

What is Generalized Likelihood Ratio Test (GLRT)?

A sub-optimal decision rule for classifying signals when parameters are unknown, replacing them with their maximum likelihood estimates.

The Generalized Likelihood Ratio Test (GLRT) is a composite hypothesis testing method that decides between competing signal models by first estimating unknown deterministic parameters via maximum likelihood estimation (MLE) and then constructing a standard likelihood ratio using these estimates. It provides a practical alternative to the Average Likelihood Ratio Test (ALRT) when prior distributions for parameters like carrier phase or channel gain are unavailable.

By substituting MLEs for the true unknown values, the GLRT produces a test statistic that is asymptotically optimal but sub-optimal for finite samples. It is widely applied in automatic modulation classification to handle nuisance parameters such as timing offset and amplitude, enabling robust decision-making without requiring Bayesian priors.

Composite Hypothesis Testing

Key Characteristics of the GLRT

The Generalized Likelihood Ratio Test (GLRT) is a sub-optimal but highly practical decision rule for composite hypothesis testing. It replaces unknown deterministic parameters with their Maximum Likelihood Estimates (MLEs) before constructing the likelihood ratio, avoiding the need for prior distributions or Bayesian integration.

01

The MLE Plug-In Principle

The GLRT operates by a two-step procedure. First, it computes the Maximum Likelihood Estimate (MLE) of the unknown parameters under each hypothesis. Second, it plugs these estimates back into the likelihood function as if they were the true values. The test statistic is the ratio of the maximized likelihoods:

  • H₀ (Null): Maximize likelihood over unknown parameters assuming H₀ is true.
  • H₁ (Alternative): Maximize likelihood over unknown parameters assuming H₁ is true.
  • Decision Rule: Reject H₀ if the ratio of maximized likelihoods exceeds a threshold.

This avoids the computationally intensive integration required by the Average Likelihood Ratio Test (ALRT).

Sub-Optimal
Optimality Class
02

Asymptotic Performance Guarantees

While the GLRT is not uniformly most powerful for finite samples, it possesses strong asymptotic properties. As the number of independent observations grows large, the GLRT performance converges to optimality. The distribution of the log-GLRT statistic under the null hypothesis asymptotically follows a chi-squared (χ²) distribution:

  • Degrees of Freedom: Equal to the difference in the number of unknown parameters estimated under H₁ versus H₀.
  • Threshold Setting: This asymptotic distribution allows for analytical threshold setting to achieve a desired Constant False Alarm Rate (CFAR) without Monte Carlo simulations.
  • Consistency: The GLRT is a consistent estimator, meaning the probability of error approaches zero as the sample size approaches infinity.
χ²-Distributed
Asymptotic Null Distribution
03

Handling Nuisance Parameters

A primary strength of the GLRT in modulation classification is its ability to handle nuisance parameters—unknown variables like carrier phase offset, timing error, or channel gain that are not of direct interest but affect the likelihood function. The GLRT framework:

  • Joint Maximization: Estimates both the modulation-dependent parameters and the nuisance parameters simultaneously via MLE.
  • Concentrated Likelihood: Often, the likelihood can be concentrated by analytically maximizing over nuisance parameters first, reducing the dimensionality of the numerical search.
  • Practical Example: In classifying between BPSK and QPSK, the GLRT jointly estimates the unknown carrier phase and the modulation type, rather than requiring a separate phase-locked loop.
Joint Estimation
Parameter Handling Strategy
04

GLRT vs. ALRT Trade-Off

The GLRT and Average Likelihood Ratio Test (ALRT) represent a fundamental trade-off in composite hypothesis testing:

  • ALRT Approach: Treats unknown parameters as random variables with known prior distributions. Integrates the likelihood over the parameter space. Computationally intensive but Bayes-optimal for the assumed prior.
  • GLRT Approach: Treats unknown parameters as deterministic but unknown. Maximizes the likelihood. Computationally simpler but lacks a principled way to incorporate prior knowledge.
  • Selection Heuristic: Use ALRT when reliable prior distributions exist and computational budget permits. Use GLRT when parameters are truly deterministic, priors are unknown, or real-time constraints demand a simpler estimator.
Maximization
GLRT Operation
Integration
ALRT Operation
05

Application in Blind Modulation Classification

In Automatic Modulation Classification (AMC) for cognitive radio, the receiver often has no prior knowledge of the transmitter's parameters. The GLRT is a natural fit for this blind scenario:

  • Unknown Signal Parameters: Carrier frequency offset, symbol timing, phase jitter, and channel coefficients are all unknown and must be estimated.
  • Composite Hypotheses: Each modulation candidate (e.g., 16-QAM, 64-QAM) forms a composite hypothesis because the likelihood depends on these unknown continuous parameters.
  • Practical Implementation: A bank of GLRT processors runs in parallel, each computing the maximized likelihood for a candidate modulation. The classifier selects the modulation with the highest maximized likelihood value.
  • Complexity Note: The primary computational burden is the multi-dimensional optimization required to compute the MLEs for each hypothesis.
Parallel Bank
Typical Architecture
06

Relationship to Information Criteria

The GLRT framework is deeply connected to model selection criteria like the Akaike Information Criterion (AIC) and Minimum Description Length (MDL). These criteria extend the GLRT by adding penalty terms for model complexity:

  • GLRT Core: The log-likelihood ratio forms the data-fit term in both AIC and MDL.
  • AIC Penalty: Adds a penalty of 2k, where k is the number of free parameters, to prevent overfitting.
  • MDL Penalty: Adds a penalty of k*log(N)/2, where N is the number of observations, favoring simpler models more strongly as data increases.
  • Unified View: The GLRT, AIC, and MDL can all be seen as threshold tests on the log-likelihood ratio, differing only in how the threshold is determined—fixed by desired false alarm rate (GLRT), or derived from information-theoretic principles (AIC/MDL).
AIC & MDL
Related Criteria
LIKELIHOOD-BASED CLASSIFIER COMPARISON

GLRT vs. ALRT vs. HLRT

Structural and performance comparison of the three primary likelihood ratio test formulations for composite hypothesis testing in automatic modulation classification.

FeatureGLRTALRTHLRT

Unknown Parameter Treatment

Deterministic (MLE substitution)

Random (Bayesian averaging)

Mixed (averaging + MLE)

Prior Distribution Required

Computational Complexity

Moderate

High (multi-dimensional integration)

Moderate-High

Optimality Guarantee

Asymptotic only

Bayes optimal (given true prior)

Near-optimal in practice

Sensitivity to Prior Mismatch

None (no prior used)

High

Moderate

Performance with Small Samples

Degraded (MLE variance high)

Robust (averaging smooths)

Intermediate

Typical Nuisance Parameters

Carrier phase, timing offset

Channel gains, noise variance

Phase (random), amplitude (deterministic)

Test Statistic Form

max_θ L(x|H_i, θ) / max_θ L(x|H_0, θ)

∫ L(x|H_i, θ) p(θ) dθ / ∫ L(x|H_0, θ) p(θ) dθ

∫ L(x|H_i, θ_d, θ_r) p(θ_r) dθ_r / ∫ L(x|H_0, θ_d, θ_r) p(θ_r) dθ_r

GLRT IN MODULATION CLASSIFICATION

Frequently Asked Questions

Clear answers to common questions about the Generalized Likelihood Ratio Test and its role in identifying unknown signal modulation schemes without prior parameter knowledge.

The Generalized Likelihood Ratio Test (GLRT) is a sub-optimal composite hypothesis test that replaces unknown deterministic parameters with their maximum likelihood estimates (MLEs) before constructing the likelihood ratio. It works by first estimating the unknown parameters—such as carrier phase, frequency offset, or timing—under each modulation hypothesis using the observed data, then plugging those estimates into the likelihood functions to form the test statistic. The GLRT decides in favor of the hypothesis that yields the larger maximized likelihood. This approach avoids the need to specify prior distributions over the unknown parameters, making it practical when such priors are unavailable or difficult to justify. In modulation classification, the GLRT computes Λ_G = max_θ₁ p(x|H₁,θ₁) / max_θ₀ p(x|H₀,θ₀), where θ represents the nuisance parameters, and compares this ratio against a threshold to declare the modulation type.

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.