[Paper Review] Mixing Complexity and its Applications to Neural Networks
This paper introduces mixing complexity as a new measure to analyze the learnability of hypothesis classes under memory constraints, particularly in neural networks. It proves that classes with high mixing complexity (MC(H) = Ω(√|H|)) cannot be learned by bounded-memory algorithms, explaining why most classes are unlearnable by neural networks. The framework also shows that natural, structured classes—such as those with r-sufficient partitions—have low mixing complexity and are thus learnable, reconciling theoretical limits with empirical success in practice.
A line of recent works showed that for a large class of learning problems, any learning algorithm requires either super-linear memory size or a super-polynomial number of samples [Raz, 2016; Kol et al., 2017; Raz, 2017; Moshkovitz and Moshkovitz, 2018; Beame et al., 2018; Garg et al., 2018]. For example, any algorithm for learning parities of size n requires either a memory of size Omega(n^{2}) or an exponential number of samples [Raz, 2016]. All these works modeled the learner as a one-pass branching program, allowing only one pass over the stream of samples. In this work, we prove the first memory-samples lower bounds (with a super-linear lower bound on the memory size and super-polynomial lower bound on the number of samples) when the learner is allowed two passes over the stream of samples. For example, we prove that any two-pass algorithm for learning parities of size n requires either a memory of size Omega(n^{1.5}) or at least 2^{Omega(sqrt{n})} samples. More generally, a matrix M: A x X - > {-1,1} corresponds to the following learning problem: An unknown element x in X is chosen uniformly at random. A learner tries to learn x from a stream of samples, (a_1, b_1), (a_2, b_2) ..., where for every i, a_i in A is chosen uniformly at random and b_i = M(a_i,x). Assume that k,l, r are such that any submatrix of M of at least 2^{-k} * |A| rows and at least 2^{-l} * |X| columns, has a bias of at most 2^{-r}. We show that any two-pass learning algorithm for the learning problem corresponding to M requires either a memory of size at least Omega (k * min{k,sqrt{l}}), or at least 2^{Omega(min{k,sqrt{l},r})} samples.
Motivation & Objective
- To address the gap between theoretical unlearnability of most hypothesis classes and empirical success of neural networks.
- To formalize the notion of 'structure' in natural data classes using r-sufficient partitions.
- To show that mixing complexity provides a better complexity measure than VC-dimension for explaining generalization in neural networks.
- To demonstrate that mixing complexity is robust under small label perturbations.
- To reconcile the empirical success of neural networks with theoretical limits under bounded memory.
Proposed method
- Introduces mixing complexity (MC(H)) as a measure of how close a hypothesis class H is to a random class, based on edge distribution in a bipartite graph representation.
- Uses the d-mixing property to model classes where edges are distributed nearly uniformly across all vertex pairs.
- Applies graph-theoretic tools, including edge concentration bounds (Claim 10), to analyze the distribution of hypotheses across examples.
- Proves that d-mixing classes have VC-dimension Ω(log |H|), showing they are the hardest to learn without memory constraints.
- Demonstrates robustness of mixing complexity under label perturbations: changing b labels increases mixing complexity by at most √b.
- Uses shell decomposition and hypothesis partitioning to show that mixing classes have large shell sizes, reinforcing their hardness.
Experimental results
Research questions
- RQ1Why do neural networks succeed in practice despite theoretical limits on learnability under bounded memory?
- RQ2What structural properties of real-world data classes make them learnable by neural networks despite high complexity?
- RQ3Can mixing complexity serve as a better complexity measure than VC-dimension for explaining generalization in neural networks?
- RQ4How does mixing complexity behave under small changes to labels or data?
- RQ5Are hypothesis classes with r-sufficient partitions (i.e., structured classes) inherently less complex and thus learnable under memory constraints?
Key findings
- Classes with mixing complexity MC(H) = Ω(√|H|) cannot be learned by bounded-memory algorithms, implying most hypothesis classes are unlearnable under memory constraints.
- Hypothesis classes with high mixing complexity have VC-dimension Ω(log |H|), which is the maximum possible, confirming they are the hardest to learn without memory.
- Natural, structured classes—formalized via r-sufficient partitions—have low mixing complexity and are thus potentially learnable with bounded memory.
- Mixing complexity is robust: changing the labels of at most b examples increases the mixing complexity by at most √b.
- Mixing complexity distinguishes natural image data from random labels, explaining the generalization gap observed in Zhang et al. (2017).
- The framework reconciles empirical success of neural networks with theoretical unlearnability by showing that real-world data classes are not mixing due to underlying structure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.