arXiv:2611.12058cs.LGNov 2026

Manuscript Offprint

arXiv:2611.12058

Exact Natarajan Dimension of Homogeneous Multiclass Linear Predictors

Jiahua Liu, Benchong Li

Exact Natarajan Dimension of Homogeneous Multiclass Linear Predictors

Jiahua Liu a^{a}, Benchong Li a,∗^{a,*}

a^{a}School of Mathematics and Statistics, Xidian University, Xi'an, China

Abstract

The Natarajan dimension is a fundamental measure of the capacity of multiclass hypothesis classes and plays an important role in analyzing their generalization ability. In this paper, by establishing lower and upper bounds, we show that the exact Natarajan dimension of homogeneous multiclass linear predictors with pairwise distinct class weights is n(k−1)−1n(k-1)-1, where nn is the dimension of the feature space and kk is the number of classes, for n,k≥3n, k \geq 3, n,k∈Nn, k \in \mathbb{N}.

Keywords: Natarajan dimension, Multiclass classification, Homogeneous linear predictors, Shattering

1. Introduction

In this paper, we consider multiclass classification. In this setting, a predictor assigns each feature vector a label from a finite set. Understanding the capacity of multiclass hypothesis classes is a basic question in learning theory. For binary classes, this capacity is described by the Vapnik–Chervonenkis dimension (Vapnik and Chervonenkis, 1971; Blumer et al., 1989). To extend this notion to multiclass prediction, Natarajan (1989) introduced the Natarajan dimension, defined via shattering with two distinct candidate labels fixed at each point. Its role in multiclass learnability and empirical risk minimization has been studied in Ben-David et al. (1995); Daniely et al. (2015).

Daniely et al. (2012) analyzed the sample complexity of several multiclass hypothesis classes using lower bounds for the Natarajan dimension and upper bounds for the graph dimension. Daniely and Shalev-Shwartz (2014) established an upper bound on the Natarajan dimension of their generalized linear hypothesis class in terms of the dimension of the class-specific feature representation. Related bounds are also available for decision trees, random forests, and neural networks (Jin, 2023).

A standard approach associates a linear score with each label and predicts a label of maximum score (Shalev-Shwartz and Ben-David, 2014). Let nn denote the dimension of the feature space and kk the number of classes. For x∈Rnx \in \mathbb{R}^n and c∈[k]c \in [k], where [k]={1,…,k}[k] = \{1, \ldots, k\}, the block feature map Ψ(x,c)∈Rnk\Psi(x, c) \in \mathbb{R}^{nk} places xx in the cc-th nn-dimensional block and zeros in all other blocks. Predictors in the homogeneous multi-vector construction use scores W⋅Ψ(x,c)=wc⋅xW \cdot \Psi(x, c) = w_c \cdot x, with arbitrary W=(w1,…,wk)∈RnkW = (w_1, \ldots, w_k) \in \mathbb{R}^{nk}, and select the smallest maximizing label. For the unrestricted multi-vector class, Shalev-Shwartz and Ben-David (2014) gave the lower bound (n−1)(k−1)(n-1)(k-1) and the upper bound nknk on the Natarajan dimension for n,k≥2n, k \geq 2. In addition, Pan and Li (2026) established the improved upper bound n(k−1)n(k-1) for the class considered in their paper when n,k≥2n, k \geq 2, and determined its exact dimension to be kk when n=2n = 2 and k≥3k \geq 3. The bound n(k−1)n(k-1) equals the number of free parameters after translating all class weights so that w1=0w_1 = 0. We investigate whether this bound can be attained when the class weights are pairwise distinct.

In this paper, we denote by HΨ\mathcal{H}_{\Psi} the class of homogeneous multiclass linear predictors with pairwise distinct class weights and show that its Natarajan dimension is n(k−1)−1n(k-1)-1 when n,k≥3n, k \geq 3. For the lower bound, we choose class weights as vertices of a polytope and use its exposed edges to select feature vectors with exactly two maximizing labels. We select n(k−1)−1n(k-1)-1 vectors whose comparison rows are linearly independent, allowing the score differences within their candidate pairs to be adjusted independently. Sufficiently small weight perturbations then realize every candidate labeling while preserving both candidates' strict score advantage over other labels. For the upper bound, we assume that n(k−1)n(k-1) feature vectors can be shattered and interpolate the weights realizing their candidate labelings over a cube. Induction on the dimension of the feature space shows that the resulting comparison map is nonzero on the cube boundary. The associated sphere self-map has degree zero because it omits a point, but degree one because it is homotopic to the identity. This contradiction establishes the upper bound.

Section 2 introduces the necessary preliminaries and states the main theorem. We then prove the lower and upper bounds in Sections 3 and 4, respectively, and conclude the paper in Section 5.

References (12)