McDiarmid-Type Inequalities for Graph-Dependent Variables and Stability Bounds

Rui Ray Zhang, Xingwu Liu, Yuyi Wang, Liwei Wang

Machine learning theory often relies on a convenient but pervasive assumption: that training data is independent and identically distributed (i.i.d.). In reality, data points frequently influence one another—whether they are nodes in a social network, sequential time-series sensor readings, or spatial measurements.

This paper develops the first McDiarmid-type concentration inequalities for random variables whose dependencies are modeled by a graph. By introducing a new metric called forest complexity, the authors provide a framework to prove generalization bounds for stable learning algorithms even when training data is not independent.

The Problem with Dependent Data

When data is dependent, standard statistical learning tools like Hoeffding’s or McDiarmid’s inequalities break down, making it difficult to prove that an algorithm will generalize well to unseen data. While previous research has used "mixing conditions" to handle dependency, these are notoriously difficult to measure in practice.

A more intuitive approach describes dependency through a dependency graph, where an edge between two data points signifies potential influence. Prior work offered "Hoeffding-type" bounds for such graphs, but these only apply to simple sums of variables. To analyze algorithmic stability—a powerful framework for understanding how sensitive a model is to small changes in its training set—we need "McDiarmid-type" inequalities that work for general functions. This paper bridges that critical gap.

Methods: Forest Approximation and Complexity

The authors' approach centers on simplifying complex dependency structures:

  1. Dependency Graphs: The relationship between $n$ random variables is modeled as a graph $G$. If two sets of nodes are not connected, the variables in those sets are independent.
  2. Forest Approximation: To handle general graphs, the authors propose "merging" dependent nodes into groups such that the resulting graph of groups forms a forest (a collection of trees).
Forest approximation of a cycle graph
  1. Forest Complexity ($\Lambda(G)$): This is the paper's core innovation. It quantifies how much a graph "looks like" a forest. A simple forest has low complexity, while a dense, highly connected graph has higher complexity.
  2. New Concentration Inequalities: The authors prove that for any "stable" (Lipschitz) function, the probability that it deviates significantly from its expected value depends directly on this forest complexity.
  3. Stability Bounds: By plugging these new inequalities into the framework of uniform stability, they derive generalization error bounds for algorithms training on non-i.i.d. data.

Key Insights and Theoretical Models

As a theoretical paper, the authors validate their framework using mathematical models rather than standard empirical datasets. They analyze spatial Poisson point processes, $m$-dependent sequences, and various graph topologies.

  • Forests are the "Gold Standard": Concentration is easiest to prove on acyclic graphs (trees and forests). The strategy for general graphs is essentially to determine how close the graph can get to being a forest.
Forest approximation of a 2D grid graph
  • Qualitative vs. Quantitative: You don't need to know exactly how much two data points depend on each other. You just need to know if they might be dependent, which is easily mapped as a graph.
  • Recovering the i.i.d. Case: The results are a strict generalization. Applying these graph-based bounds to a set of independent variables (a graph with no edges) perfectly recovers the classic McDiarmid’s inequality.

Key Results

  • The First McDiarmid-type Inequality for Graphs: The authors successfully extended a fundamental tool of probability theory to graph-dependent variables.
  • Generalization Bounds: They proved that for a stable algorithm (like Ridge Regression or SVMs), the generalization error on dependent data is bounded by the empirical error plus a term involving $\sqrt{\Lambda(G)}/n$.
  • Efficiency on $m$-dependent data: For sequences where each point depends on its $m$ nearest neighbors, the generalization bound converges at the same rate as the i.i.d. case as the dataset size $n$ grows, provided $m$ is relatively small.

Limitations and Future Work

While groundbreaking, the framework has limitations. Estimating complexity and finding the optimal forest approximation for an arbitrary, complex graph remains an open algorithmic challenge. Furthermore, for very dense dependency graphs (like high-dimensional grids), the forest complexity $\Lambda(G)$ grows faster than $n$, leading to looser, less informative bounds.

Future directions include extending this work to hypergraphs (where dependencies involve more than two variables at once) and exploring newer dependency models like weighted dependency graphs.

Summary updated

BibTeX
@inproceedings{zhang2019mcdiarmid,
  author = {Rui Ray Zhang and Xingwu Liu and Yuyi Wang and Liwei Wang},
  title = {{McDiarmid-Type Inequalities for Graph-Dependent Variables and Stability Bounds}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=3fD2b5fGQA},
}
Figure