Skip to main content
QUICK REVIEW

[Paper Review] Training Neural Networks for Likelihood/Density Ratio Estimation

George V. Moustakides, Kalliopi Basioti|arXiv (Cornell University)|Nov 1, 2019
Anomaly Detection Techniques and ApplicationsComputer Science19 references15 citations
TL;DR

This paper proposes a unified, data-driven methodology for training neural networks to estimate likelihood ratios and their transformations—such as log-likelihood ratios—directly from samples, without requiring parametric density assumptions. By formulating optimization problems that guarantee the neural network solution converges to the desired function, the approach enables accurate estimation in detection and hypothesis testing, with simulations showing near-optimal performance using only 2,500 training samples.

ABSTRACT

Various problems in Engineering and Statistics require the computation of the likelihood ratio function of two probability densities. In classical approaches the two densities are assumed known or to belong to some known parametric family. In a data-driven version we replace this requirement with the availability of data sampled from the densities of interest. For most well known problems in Detection and Hypothesis testing we develop solutions by providing neural network based estimates of the likelihood ratio or its transformations. This task necessitates the definition of proper optimizations which can be used for the training of the network. The main purpose of this work is to offer a simple and unified methodology for defining such optimization problems with guarantees that the solution is indeed the desired function. Our results are extended to cover estimates for likelihood ratios of conditional densities and estimates for statistics encountered in local approaches.

Motivation & Objective

  • To develop a data-driven alternative to classical likelihood ratio estimation that bypasses parametric density assumptions.
  • To unify the training of neural networks for estimating likelihood ratios, log-likelihood ratios, and other statistics used in detection theory.
  • To ensure that the neural network solution of the optimization problem converges to the true desired function (e.g., likelihood ratio or its transformation).
  • To improve performance in sequential change detection and classification by directly estimating log-likelihood ratios instead of likelihood ratios.
  • To address the challenge of non-negative likelihood ratio estimates, which are difficult to enforce with existing methods.

Proposed method

  • Formulates a general optimization problem where the objective function is designed so that the optimal solution is the desired transformation of the likelihood ratio.
  • Uses a cost function involving expectation under the null density, with functions ϕ(u) and ψ(u) chosen to enforce the solution as the target function (e.g., log-likelihood ratio).
  • Applies exponential loss in the optimization to enable stable training and ensure the network learns the correct functional form.
  • Employs two separate neural networks: one for estimating the first-order log-likelihood ratio and another for the second-order conditional log-likelihood ratio in Markovian models.
  • Trains networks using stochastic gradient descent with fixed hyperparameters (step size μ=2×10⁻⁴, smoothing λ=0.99) over 10,000 iterations.
  • Validates the approach by comparing approximate CUSUM statistics (based on estimated log-likelihood ratios) against exact CUSUM using synthetic data.

Experimental results

Research questions

  • RQ1Can neural networks be trained to directly estimate the log-likelihood ratio from data, without estimating individual densities?
  • RQ2Does direct estimation of the log-likelihood ratio outperform traditional likelihood ratio estimation in detection tasks?
  • RQ3How does the number of training samples affect the performance of the estimated log-likelihood ratio in sequential change detection?
  • RQ4Can the proposed optimization framework guarantee that the neural network solution converges to the true likelihood ratio function?
  • RQ5What is the impact of rare events in training data on the robustness of the estimated log-likelihood ratio in long-term detection?

Key findings

  • With 2,500 training samples per distribution, the neural network-based approximate CUSUM achieves detection performance nearly indistinguishable from the exact CUSUM using known densities.
  • Performance degrades significantly with only 500 training samples due to insufficient representation of rare events, which are critical during testing with long false alarm periods.
  • Estimating the log-likelihood ratio instead of the likelihood ratio leads to a noticeable performance improvement in detection tasks.
  • The proposed optimization framework ensures that the neural network solution converges to the desired function, providing theoretical guarantees for the estimation.
  • The method naturally enforces non-negative likelihood ratio estimates, a property that is difficult to achieve with standard density ratio estimation techniques.
  • The improvement from 500 to 2,500 samples is not due to optimization failure but to better coverage of rare events, highlighting the importance of data diversity in training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.