Any-Dimensional Learning by Sampling

📅 2026-07-08
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the poor generalization of machine learning models on variable-sized inputs—such as point clouds, sequences, and graphs—and the high computational cost of evaluating large inputs. To this end, the authors propose a unified framework based on randomized sampling that explicitly links sampling strategies to the symmetry properties of input structures. By integrating function continuity theory, they establish the first generalization and compression theory applicable across diverse structured data types, including sequences, graphs, and tensors, and derive explicit bounds on generalization error and sketching rates. The framework encompasses generalized forms of sampling with replacement, random binning, and species sampling, and is successfully applied to moment polynomials, graph homomorphism densities, permutation-invariant Transformers, and graph neural networks, enabling efficient cross-scale approximation with strong generalization guarantees.
📝 Abstract
Many machine learning models are defined for inputs of different sizes, such as point clouds containing different numbers of points, sequences of tokens of different lengths, and graphs on different numbers of nodes. Such models are trained on finitely-many examples of necessarily limited sizes. How well do these models generalize from inputs of small size to larger inputs of size not seen during training? Furthermore, evaluating such models on large inputs is often expensive. How can we sketch large inputs to obtain smaller ones on which the model takes similar values? At the heart of both questions is the need to compare inputs of different sizes and to approximate large inputs by small ones. We present a unified approach to address these questions by using random sampling maps to compare inputs of different sizes. The sampling maps we consider are generalizations of sampling with replacement, random binning, and species sampling. We characterize the application domains in which each type of sampling is appropriate in terms of the symmetries and relations between problem instances of different sizes in the domain. Our framework yields explicit generalization and sketching rates for function classes continuous with respect to a chosen notion of sampling, encompassing large families of functions defined on sequences, graphs, and tensors of different sizes. Specific examples include moment polynomials on measures, homomorphism densities and numbers of graphs, permutation-invariant transformers, and graph neural networks.
Problem

Research questions and friction points this paper is trying to address.

generalization
sketching
input size
sampling
model evaluation
Innovation

Methods, ideas, or system contributions that make the work stand out.

random sampling maps
generalization across sizes
input sketching
symmetry-aware sampling
size-invariant learning