Optimal Single-Class Coding
- Optimal single-class coding is defined as a framework where all messages are treated uniformly, using universal prefix, joint source–channel, and index coding without explicit partitioning.
- Recent constructions, such as the Δδ and ν codes, achieve near-optimal expansion factors, narrowing the bounds in universal integer compression.
- Analytical methods including Gallager’s expurgated bounds and graph-based linear coding reveal fundamental limits and guide further improvements in system performance.
Optimal single-class coding denotes the analytic and design framework for coding systems—particularly universal prefix coding, joint source–channel coding, and network index coding—where all messages or source sequences are treated as a single class, without explicit partitioning. In such codes, parameters governing codebook construction, or codeword assignment, are held independent of individual message probabilities or side information. The optimality of single-class constructions is highly context-dependent, varying across source, channel, and network coding settings. Notably, recent advances sharpen understanding of expansion factors in integer coding and expurgated exponents for discrete memoryless source–channel models.
1. Formal Definitions and System Models
Single-class coding arises in a range of problems:
- Universal Coding of Integers (UCI): For alphabet , a prefix code is universal if there exists a finite constant such that for every decreasing distribution with ,
where is the average codeword length and is the entropy (Yan et al., 31 Jul 2025).
- Joint Source–Channel Coding (JSCC): For a discrete memoryless source (DMS) and discrete memoryless channel (DMC) , messages are mapped to codewords via an encoder, with decoder seeking to minimize . In single-class coding, all codewords are drawn i.i.d. from a fixed (Moeini et al., 21 Jan 2026).
- Index Coding: For a single-class index coding problem (one message/request per receiver), the code does not differentiate among message types; optimal codes may be linear or nonlinear, depending on graph structure (Ong, 2013).
2. Optimal Single-Class Coding in Universal Integer Compression
The optimal expansion factor for universal coding of integers is defined as: where the infimum is over all prefix codes. No prefix code achieves . A construction shows, for with and for , that while for any UCI as (Yan et al., 31 Jul 2025).
Two recent codes sharply approach this lower bound:
- code: Expansion factor .
- code: Expansion factor .
This narrows the known optimal UCI interval to . Neither code achieves expansion below $2.02$ for worst-case ; further improvement would require fundamentally new constructions or code families (Yan et al., 31 Jul 2025).
3. Expurgated Exponents for Single-Class Joint Source–Channel Codes
In the context of joint source-channel coding with i.i.d. ensemble, the optimal single-class expurgated error exponent for a rate is: where
Gallager-style analysis, leveraging two-level expurgation and parameter optimization, yields the above (Moeini et al., 21 Jan 2026).
This exponent provides a fundamental lower bound for achievable reliability in JSCC with i.i.d. codebooks, independent of partitioning or source-dependent codeword assignments.
4. Optimality Regimes, Comparison with Multi-Class and Partitioned Approaches
Integer Coding
The and codes currently constitute the best-known single-class universal integer codes. Improvement to below $2$ is impossible for any UCI; reaching the lower bound remains open only up to (Yan et al., 31 Jul 2025).
JSCC Expurgated Exponents
Two-class partitioning, in which source sequences are grouped into classes with distinct i.i.d. codeword distributions, allows at least as high an exponent: If the maximizing distributions coincide, the single-class exponent is attained. Numerically, optimizing over all code distributions leads to equality of exponents for all tested scenarios, though strict improvement from partitioning can occur if class code distributions are not both optimized. For binary input alphabets (), partitioning never improves the exponent, since the maximizer is always uniform, rendering the single-class function already concave in . Whether for all DMS–DMC pairs is unresolved (Moeini et al., 21 Jan 2026).
Index Coding
For single-class index-coding instances described by directed graphs, the minimum codelength is at least the size of a maximum acyclic induced subgraph (MAIS). For any graph with this number reached by deleting at most two vertices, the MAIS lower bound is attained by a linear code: where is a minimum vertex set whose removal makes acyclic. The existence of a matching linear coding solution for these cases demonstrates optimality of single-class, linear constructions in a broad class of networks (Ong, 2013).
5. Coding Constructions and Analytical Techniques
Integer Coding
The code modifies four codewords of Elias’s code, maintaining prefix-freeness while achieving superior expansion. The code perturbs at finitely many and blocks of indices defined by binary-logarithms. Analytical upper bounds employ piecewise linear inequalities for codeword length and probabilistic concentration over decreasing , culminating in explicit universal bounds (Yan et al., 31 Jul 2025).
JSCC Exponents
The exponent derivation combines Gallager’s expurgated bound for channels with expurgation over source types, leveraging Hölder’s inequality and the Bhattacharyya distance. Specialization to single-class codes (constant , constant ) yields the succinct maximization in (Moeini et al., 21 Jan 2026).
Index Coding
Linear codes are constructed via generator matrices linked to the graph’s acyclic substructures. For vertex removals, row entries are sums of the message and its internal neighbors in the critical subgraph, ensuring recoverability through algebraic cancellation (Ong, 2013).
6. Comparison Table and State of the Art
| Context | Optimal Single-Class Metric | Best Known Value/Expression | Notable Result |
|---|---|---|---|
| Universal Integer Coding | Expansion | code is nearly optimal | |
| JSCC Expurgated Exponent | Supremum formula (see above) | Two-class ≥ single-class; possibly = | |
| Index Coding (MAIS cases) | Codelength | Linear codes attain lower bound for | Linear coding is optimal |
Improvements in single-class constructions are tightly bounded by information-theoretic impossibility results. In all tabulated scenarios, single-class coding achieves, or comes near, the fundamental performance limits, with further gains requiring either problem-specific multi-class techniques or fundamentally new code classes.
7. Open Problems and Future Directions
In universal coding, the existence of a single prefix code achieving remains unresolved; all known codes saturate just above this limit. In JSCC, while two-class partitioning gives no observed numerical advantage under joint optimization, the general equality of exponents is open for broader DMS–DMC combinations and larger alphabets (Moeini et al., 21 Jan 2026). In graph-based network coding, the mathematics of MAIS-based linear-optimality suggests further structure-dependent single-class code optimality criteria (Ong, 2013).
A plausible implication is that, in diverse settings, optimal single-class coding is fundamentally limited by specific combinatorial or convexity constraints, with only marginal gains possible from further fine-tuning unless new insights expose currently hidden structural leverage.