Convex Optimization 2026, 28 - Optimal Detector Design
A random variable X with values in {1, ..., n} with distribution depending on a parameter θ in {1, ..., m} is distributed for the m possible values of θ and as such represented by a matrix P ∈ ℝn × m; pkj prob(X = k | θ = j). The values of θ are hypotheses, and guessing which of them is correct is hypothesis testing (or detection) (p. 364) A deterministic detector is a function ψ from {1, ..., n} to {1, ..., m}. If X has value k, then the guess would be θ' = ψ(k). A generalization is a randomized detector, mapping onto a random variable in the target set, with a distribution depending on the observed value of X. A randomized detector is defined in terms of a matrix T with tik = prob(θ' = i | X = k). If X = k, then θ' = i with probability tik (7.3.1). The randomized detector defined by T, the detection probability matrix is D = TP, Dij = (TP)ij = prob(θ' = i | θ = j). The vector Pd containing Dii are the detection probabilities and their complements 1 - Dii form the error probabilities Pe (7.3.2). A wide variety of objectives for detector design are linear, affine or convex piecewise-linear functions of D, and hence of T. Some LPs emerging from the optimal detector design problems have simple solutions. A lower bound can be imposed on the probability of correctly detecting the j-th hypothesis Pdj = Djj ≥ Lj. Similar for upper bounds. A minimax error probability maxjPje is piecewise-linear convex w.r.t. D. Minimizing it expressible as an LP (p. 367). A Bayes detector requires a prior distribution for the hypotheses q ∈ ℝm; qi = prob(θ = i). It solves the LP minimizing qTPe (p. 367). Assuming the order of values θ is significant, the solution θ = i can be interpreted as a larger value of the parameter than θ = j; i > j. Given prob(θ' > θ | θ = i) which is the probability that we overestimate θ = i; which is an affine function of D prob(θ' > θ | θ = i) = ∑j > iDji. Maximum allowable values for it can be expressed as a linear inequality on D (p. 368). The optimal detector design problem can be considered a multicriterion problem with linear equality and inequality constraints of T, and the m(m - 1) objectives given by the off-diagonal entries of D, with probabilities of the different types of detection error minimizing Dij. Each objective Dij is a linear function of the variables, which is a multicriterion linear program. We can scalarize the multicriterion problem through the weighted sum objective ∑mi, j = 1WijDij = tr(WTD) with weight matrix W; given Wii = 0. It's also referred to as the loss matrix. Pareto optimal point for the multicriterion problem forms the scalar optimization problem minimizing tr(WTD) under tk ⪰ 0, which is an LP, separable in its variables tk. The objective is expressed as a sum of linear functions of tk (p. 369). The Bayes detector design with prior distribution q has a mean probability of error qTPe = ∑mi, j = 1WijDij. The Bayes optimal detector is given by the deterministic detector (p. 370, 7.3.4).
Considering the case where the distribution of X is unknown, but prior information is known, defining a set of possible distributions. With a randomized detector, the detection probability matrix D depends on the particular value of P, which judges the error probabilities by their worst-case values over any distribution of ℙ. The worst case detection probability matrix is Dwcij = supP ∈ ℙ Dij and Dwcii = infP ∈ ℙ Dii. The off-diagonal gives the smallest possible probability of detection over P. The largest probability of error Pwcei is equal to 1 - Dwcii. With these quantities one can define robust minimax detectors, such as the robust minimax detector maxi Piwce = 1 - mini infP ∈ ℙ(TP)ii, which minimizes the worst possible probability of error over all hypotheses (p. 372). If the set of possible distributions is finite, this problem can be solved with a piecewise linear and concave objective. Alternatively, the robust minimax detector can be written as an LP if ℙ is a polyhedron with linear equality and inequality constraints (7.3.6).