In multiclass classification, theoretical "consistency" usually requires a prediction space as large as the number of possible labels ($n$). For large-scale problems with thousands or millions of classes—such as information retrieval or structured prediction—this requirement is computationally crushing.
To cope, practitioners often use low-dimensional embeddings ($d \ll n$), like binary encoding. However, the theoretical "cost" of this compression has remained poorly understood. This paper bridges that gap, proving that while low-dimensional embeddings always risk "hallucinations" (predicting impossible labels), they can still be perfectly consistent under low-noise conditions or by cleverly combining multiple low-dimensional models in parallel.
The Dimensionality Bottleneck
When training a machine learning model for multiclass classification, we don't optimize the discontinuous "0-1 loss" directly. Instead, we use a smooth, convex surrogate loss, such as cross-entropy.
To guarantee that minimizing this surrogate actually leads to the correct classification—a property called consistency—statistical learning theory dictates that the dimension of your prediction space ($d$) must be at least $n-1$. If you have a million classes, you theoretically need a million-dimensional output layer.
The Cost of Compression: Hallucinations
To understand what happens when we break this rule and use $d < n-1$, the authors utilize the framework of property elicitation and polytope embeddings. They generalize common encoding schemes into geometric shapes (polytopes) in $\mathbb{R}^d$, where continuous model predictions are projected back onto the nearest vertex to make a final discrete prediction.
The paper's first major insight is the "Hallucination" Guarantee (Theorem 3). The authors mathematically prove that if your prediction dimension $d$ is less than $n-1$, there is always some data distribution where your model will "hallucinate." A hallucination occurs when the model predicts a label that has exactly zero probability in the true underlying distribution.
Because the geometry of the low-dimensional space forces classes to share boundaries and overlap in complex ways, the model is sometimes forced to guess a "mixed" or entirely incorrect class when faced with uncertainty.
Restoring Consistency: Low Noise and Parallelism
If hallucinations are mathematically guaranteed, how do low-dimensional embeddings ever work in practice? The authors offer two primary solutions:
1. The Low-Noise Assumption
While hallucinations are possible in theory, they might not happen on real-world datasets. The paper introduces the concept of partial consistency—consistency that holds only on a specific subset of data distributions.
Specifically, if the data exhibits "low noise" (e.g., Massart noise, where the most likely label has a probability significantly higher than all others), low-dimensional embeddings can become perfectly consistent. Under these conditions, the model's predictions are pushed safely into "strict calibration regions" at the corners of the polytope, avoiding the ambiguous hallucination regions in the center.
The authors show that:
- Binary encoding (the unit cube, $d = \log n$) is consistent if the top label has $>50\%$ probability.
- Ranking-based embeddings (the permutahedron) require much stricter noise bounds that shrink exponentially as dimensionality increases.
2. Parallel Elicitation
The most surprising insight is that you don't necessarily need one giant $n$-dimensional model to achieve full consistency. The authors propose a novel method to recover full consistency by training multiple low-dimensional models in parallel.
By using $O(n^2)$ parallel problem instances—each operating in a much lower-dimensional space (using "cross-polytopes")—you can aggregate their results to correctly elicit the most likely class. This effectively sidesteps the $d \approx n$ lower bound, detangling the complexity of gradient computation and offering a highly parallelizable alternative to massive output layers.
Limitations and Future Directions
While this theoretical framework provides deep insights into surrogate losses, it relies on asymptotic assumptions—namely, infinite data and a perfectly expressive model. In the real world of finite data, these trade-offs might behave differently. Furthermore, calculating the exact "strict calibration regions" for arbitrary embeddings is a computationally hard "collision detection" problem.
Future work will likely extend these geometric insights to cost-sensitive classification (where certain errors carry heavier penalties) and investigate exactly how frequently these theoretical "hallucinations" occur in practical, large-scale deep learning models.
Summary updated