Introduction
Modern machine learning frequently involves predicting vector-valued outputs, such as in multi-class classification (MCC), multi-label classification (MLC), and multi-task learning (MTL). A critical theoretical question is how the generalization gap—the difference between training and test performance—scales with the number of output dimensions $c$. Traditional bounds often exhibit a $\sqrt{c}$ dependency, which becomes prohibitive in "extreme classification" scenarios where $c$ can reach millions. This paper introduces a fine-grained analysis that achieves a logarithmic dependency on $c$, providing meaningful guarantees for large-scale problems.
Theoretical Framework: The Logarithmic Breakthrough
The authors' primary innovation lies in shifting the analysis from standard Euclidean norms to the infinity norm ($L_\infty$). By assuming the loss function is Lipschitz continuous with respect to the $L_\infty$-norm, they demonstrate that the dependency on the output dimension $c$ drops from $\sqrt{c}$ to $\log c$. This shift is justified as many common loss functions, including hinge loss and softmax, naturally satisfy this property.
Furthermore, the framework utilizes the strong convexity of regularizers (e.g., the Frobenius norm or Schatten $p$-norm). This allows for the derivation of "fast" generalization rates of $O(1/n)$, where $n$ is the sample size, significantly improving upon the "slow" $O(1/\sqrt{n})$ rates found in previous literature.
Generalization in Stochastic Gradient Descent (SGD)
A significant gap in existing theory is the focus on Empirical Risk Minimization (ERM) in constrained spaces, whereas practitioners typically use Regularized Risk Minimization (RRM) optimized via SGD. This paper bridges this gap by providing the first generalization bounds for vector-valued learning that explicitly account for the number of optimization passes. The analysis reveals an optimal point for early stopping: after approximately $n$ passes, further iterations may reduce training error but do not necessarily improve generalization.
Experimental Validation
The theoretical findings were validated using four diverse datasets: ALOI, CIFAR10, RCV1, and SECTOR. The experiments tracked testing error against the number of SGD passes and analyzed the evolution of training and testing errors relative to the training data size.
As illustrated in the figures above, the generalization error (the gap between training and testing curves) decreases rapidly as the sample size increases, consistent with the predicted $O(1/n)$ fast rate. The plots also confirm that testing error stabilizes after a certain number of passes, supporting the theoretical insights into SGD's behavior and the effectiveness of early stopping.
Conclusion and Future Directions
This work provides a unified framework for understanding generalization in vector-valued learning across MCC, MLC, and MTL. By establishing logarithmic bounds on the output dimension, it offers a theoretical foundation for extreme classification. Future research could extend this analysis to non-strongly convex regularizers, such as $L_1$ regularization for sparse models, or explore its application in deep neural networks and distributed learning environments.
Summary updated