In recent work, it has been shown that maintaining reliability in analog vector--matrix multipliers can be modeled as the following coding problem. Vectors in
Rk are encoded into codewords of a linear
[n,k,d] code
C over
R. For prescribed positive reals
δ<Δ, additive errors of magnitude at most
δ are tolerable and need no handling, yet outlying errors of magnitude greater than
Δ are to be located or detected. The trade-off between the ratio
Δ/δ and the number of outlying errors that can be handled is determined by the height profile of
C; as such, the height profile provides a finer description of the error handling capability of
C, compared to the minimum distance
d, which only determines the number of correctable errors. This work contains a further study of the notion of the height profile. Several characterizations of the height profile are presented, thereby yielding methods for computing it. The starting point is formulating this computation as an optimization problem that is solved by a set of linear programs. This, in turn, leads to a combinatorial characterization of the height profile as a maximum (or max--min) over a certain finite set of codewords of
C. Moreover, this characterization is shown to have a simple geometric interpretation when the columns of the generator matrix of
C all have the same
L2 norm. Through examples of several code families, it is demonstrated how the results herein can be used to compute the height profile explicitly.
Analog error-correcting codes (Analog ECCs) for approximate vector-matrix multiplication have been extensively studied as means to achieve fault-tolerant in-memory computation. The theoretical foundations for such coding schemes, particularly the characterization of their correction capabilities via the height profile, have been well established in recent literature. In this paper, we focus on the case of single-error detection Analog ECCs. Among several open problems related to this case proposed by Ron M. Roth in [1], Problem 1 asks: "Identify the values of
k and
n for which every linear
[n,k] code
C over
R satisfies:
h1(C):=maxc∈C∖{0}h1(c)≥⌈n−kk⌉." Here, for any
x∈Rn,
h1(x) represents the ratio between the largest and second largest absolute values of
x's entries. As the simplest special case of Problem 1 (with
n−k=2), the following problem was posed as Problem 2 in [1]: "Must every
(n−2)-dimensional subspace of
Rn,
n even, contain a nonzero vector in which the ratio between the largest and second largest absolute values of its entries is at least
(n/2)−1?" These problems directly pertain to the lower bounds on the single-error detection threshold for Analog ECCs: Problem 1 corresponds to arbitrary
n−k and Problem 2 corresponds to
n−k=2. In this paper, we provide an affirmative answer to Problem 2 and a rigorous proof using theories related to convex optimization. Furthermore, we extend our analytical method to show that the lower bound in Problem 1 is tight for the case where
n−k divides
k. Our results fill the gap in the lower bound theory of thresholds for single-error detection in Analog ECCs.