Binary Hypothesis Testing with Deterministic Finite-Memory Decision Rules

Tomer Berg, Ofer Shayevitz, Or Ordentlich

Abstract

In this paper, we consider the problem of binary hypothesis testing with finite memory systems. Let $X_1, X_2, \dots$ be a sequence of independent identically distributed Bernoulli random variables, with expectation $p$ under $H_0$ and $q$ under $H_1$. Consider a finite-memory deterministic machine with $S$ states that updates its state $M_n \in \{1, 2, \dots, S\}$ at each time according to the rule $M_n = f(M_{n-1}, X_n)$, where $f$ is a deterministic time-invariant function. Assume that we let the process run for a very long time ($n \to \infty$), and then make our decision according to some mapping from the state space to the hypothesis space. The main contribution of this paper is a lower bound on the Bayes error probability $P_e$ of any such machine. In particular, our findings show that the ratio between the maximal exponential decay rate of $P_e$ with $S$ for a deterministic machine and for a randomized one can become unbounded, complementing a result by Hellman.

Introduction

Binary hypothesis testing under memory constraints is a fundamental problem in information theory and signal processing. When a decision-making agent has limited memory—represented by $S$ internal states—the goal is to minimize the probability of error $P_e$ as data is collected. Classical results by Hellman and Cover established that if randomized transitions are permitted, the error probability decays exponentially with the number of states $S$. However, in many practical hardware implementations, generating high-quality randomness is computationally expensive or impossible. This research investigates the performance penalty incurred when the decision rule is restricted to be deterministic and time-invariant.

Methodology

The problem is modeled using a sequence of Bernoulli trials with parameters $p$ and $q$ under hypotheses $H_0$ and $H_1$, respectively. The decision-making process is represented as a finite-state machine where transitions are governed by a deterministic function $f$. This induces a Markov chain on the state space.

Figure 1: State transition diagram for a deterministic finite-memory machine. The transitions are determined by the input bits, with probabilities $p$ or $1-p$ depending on the underlying hypothesis.

The authors employ two primary analytical strategies:

  1. Achievability: They propose a "Detecting Discriminating Sequences" algorithm. Instead of simple counting, the machine transitions between states only upon observing rare, highly informative sequences of bits.
  2. Converse: Information-theoretic techniques are used to derive lower bounds on $P_e$, analyzing the stationary distributions of the Markov chains to show that deterministic rules cannot "slow down" transitions as effectively as randomized ones.

Key Insights

A central finding is that randomness acts as a "buffer." Randomized machines can utilize arbitrarily small transition probabilities to maintain a "correct" state for extended periods. Deterministic machines, conversely, are limited by the inherent probabilities of the data ($p, 1-p, q, 1-q$), which restricts state stability.

The most effective deterministic strategy involves "waiting" for specific sequences that strongly favor one hypothesis. This leads to the most striking result: the performance gap between randomized and deterministic machines can become unbounded. Specifically, as $p \to 1$, the randomized machine's error rate improves infinitely faster than the deterministic counterpart as memory $S$ increases.

Results

The paper establishes tight bounds on the error exponent—the rate at which $P_e$ decreases as $S$ grows.

  • Theorems 1 & 2: These define a value $d(p, q)$ that serves as a fundamental limit for the learning rate of any deterministic machine.
  • Corollary 1: In the limit where one hypothesis is nearly "pure" (e.g., $p \to 1$), the deterministic error exponent converges to $-\log q$.
  • Performance Comparison: While randomized machines can achieve error exponents that scale indefinitely with the distance between distributions, deterministic machines are strictly capped by the most likely individual transitions.

Conclusion and Future Work

This work highlights a significant trade-off between hardware simplicity (determinism) and statistical efficiency. While deterministic machines are easier to implement, they face a fundamental performance ceiling that randomized machines do not. Future research may explore tightening these bounds for symmetric cases ($p = 1-q$), investigating time-varying rules, or extending the analysis to non-Bernoulli distributions.

Summary updated

BibTeX
@inproceedings{berg2020binary,
  author = {Tomer Berg and Ofer Shayevitz and Or Ordentlich},
  title = {{Binary Hypothesis Testing with Deterministic Finite-Memory Decision Rules}},
  booktitle = {ISIT},
  year = {2020},
  doi = {10.1109/isit44484.2020.9174505},
}
Figure