Sequential Classification With Empirically Observed Statistics

Mahdi Haghifam, Vincent Y. F. Tan, Ashish Khisti · DOI

Introduction

In classical statistical classification, the probability distributions of different classes are typically assumed to be known. However, real-world applications rarely afford this luxury. Instead, we often rely on "training data"—sequences of samples known to belong to specific categories.

The standard approach, pioneered by Gutman in 1989, involves taking a fixed-length batch of "test" data and comparing its empirical statistics to the training data. This method is often inefficient for real-time applications like medical diagnosis or fraud detection, where data arrives sequentially. If a case is "obvious," it should be classified quickly; if it is "ambiguous," the system should wait for more data. This paper addresses the challenge of sequential classification using only empirical statistics, seeking an optimal trade-off between the number of samples required and the probability of error.

Proposed Methodology

The authors propose a sequential test based on the Generalized Jensen-Shannon (GJS) divergence. The setup involves a decision-maker with fixed-length training sequences from unknown distributions. Test samples arrive one by one, and the algorithm proceeds as follows:

  1. Score Calculation: At each step, the algorithm calculates a "closeness" score between the current test sequence and each training sequence using the GJS divergence.
  2. Stopping Rule: The test continues until the GJS score for one of the classes exceeds a specific threshold (scaled by the training data length $N$).
  3. Decision Rule: Once the threshold is hit, the algorithm declares the hypothesis corresponding to the "closest" training sequence.
Sequential scores for a two-class problem. The test stops when a score for Class 1 crosses the threshold.

The key innovation is the transition from Gutman’s fixed-length "batch" processing to a variable-length sequential approach. Using tools from information theory, specifically the Method of Types and Sanov’s Theorem, the authors analyze how error probabilities decay as the training data size increases.

Key Results and Insights

The primary finding of this research is that variable length is a superpower. By allowing the test length to be a random variable (a stopping time), the system achieves a strictly better error exponent than any fixed-length test. For the same average number of samples, the sequential test is significantly less likely to produce an incorrect classification.

Comparison of Bayesian error exponents between the proposed sequential test and Gutman's fixed-length test.

Key results include:

  • Strict Superiority: Theorem 3 proves that the Bayesian error exponent of the sequential scheme is strictly greater than that of Gutman’s optimal fixed-length test.
  • Quantifiable Gain: Numerical simulations using synthetic ternary source distributions validate that the sequential test improves the rate at which error probability vanishes as training size $N$ grows.
  • Eliminating the "Rejection" Region: In multi-class classification, fixed-length tests often require a "rejection" option to maintain low error rates. The authors demonstrate that a sequential test can achieve equivalent performance without ever needing to reject—it simply waits for more data when uncertain.

Limitations and Future Directions

While the theoretical results are robust, several areas remain for future exploration:

  • I.I.D. Assumption: The current framework assumes independent and identically distributed (i.i.d.) samples. Extending this to dependent sources, such as Markov processes, is a necessary step for real-world temporal data.
  • Fixed Training Size: The training sequences are currently assumed to be fixed. A fully adaptive system might allow training sets to grow alongside test sequences.
  • Computational Complexity: Calculating GJS divergence at every time step may be expensive for large alphabets or many classes. Developing efficient recursive updates would enhance hardware implementation feasibility.

Summary updated

BibTeX
@article{haghifam2019sequential,
  author = {Mahdi Haghifam and Vincent Y. F. Tan and Ashish Khisti},
  title = {{Sequential Classification With Empirically Observed Statistics}},
  journal = {IEEE Trans. Information Theory},
  year = {2019},
  doi = {10.1109/itw44776.2019.8988993},
}
Figure