Fat-Shattering Dimension of $k$-fold Aggregations

Idan Attias, Aryeh Kontorovich

TL;DR

This paper provides new, tighter mathematical bounds on the fat-shattering dimension—a key measure of model complexity—for "aggregated" real-valued functions. By analyzing how complexity grows when we combine $k$ different models (using rules like the maximum, mean, or median), the authors establish optimal dependencies on $k$, particularly for affine functions, and correct several long-standing errors in the machine learning theory literature.

What Problem Does This Paper Address?

In machine learning theory, we want to know how many samples are needed to learn a specific type of model. For simple binary classifiers, we use the VC dimension. However, for real-valued functions (like those used in regression or robust learning), we use the fat-shattering dimension. This measure is "scale-sensitive," meaning it looks at how well a model can "shatter" data points at a specific margin of error ($\gamma$).

The challenge arises when we use ensemble methods or aggregations. If you have $k$ different base learners and you combine their predictions—perhaps by taking the average (mean), the middle value (median), or the most extreme value (maximum)—how much more complex does the resulting "aggregate" model become?

While this was well-understood for binary classification, the behavior for real-valued aggregations remained largely uninvestigated or was plagued by incorrect proofs in previous research. This paper fills that gap, providing the theoretical "speed limit" for how complex these ensembles can get.

Methods

The authors employ several sophisticated tools from combinatorial geometry and functional analysis:

  1. Discretization and $r$-shifting: To handle real-valued functions, they "shift" the functions and discretize them into partial concept classes (where some outputs are "don't cares" or $\star$). They then apply a specialized version of the Sauer-Shelah-Perles Lemma for these partial classes to count how many distinct patterns the aggregate model can produce.
  2. Covering Numbers: For Lipschitz aggregations (rules where a small change in input leads to a small change in output, like the mean), the authors bound the "covering number"—essentially the number of "balls" needed to cover the function space at a certain resolution.
  3. Dudley’s Chaining: They use this classic technique to translate their fat-shattering bounds into bounds for Rademacher complexity, which directly controls how well a model generalizes from training data to unseen data.

Datasets

Not discussed in the paper. This is a purely theoretical work focused on proving mathematical theorems; it does not use empirical datasets or benchmarks.

Key Insights and Ideas

  • The Power of Logarithms: A major finding is that for many common aggregations of affine functions (like the $k$-fold maximum), the complexity doesn't grow linearly with the number of models ($k$). Instead, it grows as $k \log k$. This suggests that ensembles are more "efficient" in terms of complexity than one might intuitively expect.
  • Shift-Invariance Matters: The authors identify a "natural" class of aggregation rules that "commute with shifts" (e.g., $G(x) - r = G(x - r)$). This property allows for general bounds that don't depend on the specific range of the functions, making the results applicable to a wider variety of problems.
  • Correcting the Record: One of the most important contributions is the "Discussion" section, where the authors point out and explain errors in several previous high-profile papers (including some of their own past work). They show that "disambiguating" partial functions is much trickier than previously thought, and they provide the correct path forward.
  • Dimension-Free vs. Dimension-Dependent: The paper provides two types of bounds. One is "dimension-free" (it doesn't care about the Euclidean dimension $d$ of the input), which is useful for high-dimensional data. The other is "dimension-dependent" and shown to be mathematically tight (optimal) for affine functions.

Key Results

  • General Aggregations: For rules that commute with shifts, they prove the fat-shattering dimension is $O(dk \log^2(dk))$, where $d$ is the base complexity.
  • Affine Functions: For the $k$-fold maximum of affine functions, they prove a tight bound of $\Theta(dk \log k)$. This confirms that the logarithmic dependence on $k$ is the best possible result.
  • Rademacher Complexity: They improve the bound for the $k$-fold maximum of affine functions from a linear dependence on $k$ to a much better $\sqrt{k \log k}$ dependence.
  • Max-Min Improvement: They improve upon a 2016 result by Fefferman et al. regarding the "max-min" aggregation of linear functions, shaving off a logarithmic factor to provide a sharper estimate.

Limitations and Future Work

  • The $\log^2$ Gap: For general shift-commuting aggregations, the authors' upper bound has a $\log^2$ factor. They pose an Open Problem: can this be improved to a simple $\log k$ to match the specific results found for affine functions?
  • Tightness of Dimension-Free Bounds: While they provide a dimension-free bound for Lipschitz aggregations (Theorem 3), they leave it as a Conjecture (Conjecture 11) that this bound is actually tight.
  • Constant Optimization: The authors note they made no attempt to optimize the universal constants ($C, c$) in their formulas, focusing instead on the asymptotic growth rates. Future work could refine these constants for more practical applications.

Summary updated

BibTeX
@article{attias2024fat,
  author = {Idan Attias and Aryeh Kontorovich},
  title = {{Fat-Shattering Dimension of $k$-fold Aggregations}},
  journal = {J. Mach. Learn. Res.},
  year = {2024},
}
Figure