Random features speed up machine learning on sets and distributions
Scalable and Adaptive Distribution Regression via Random Features
Machine Learning
Summary
Many machine learning tasks need to learn from groups of data points, like predicting an outcome from a collection of examples. Traditional methods that use kernels can be slow and hard to tune. The authors introduce a faster way using random features that approximate kernels, making the process more scalable and adaptive. They show mathematically and experimentally that their method keeps accuracy while saving computing time on many real datasets.
What this means in practice
- •For data science teams: Train predictive models on collections of data points much faster by using random-feature approximations without losing accuracy.
- •For machine learning engineers: Implement efficient adaptive allocation of model resources to improve prediction accuracy in tasks involving learning from sets or distributions.
Authors
Yinsong Wang, Xiao Liu, Yu Ding
Abstract
Distribution regression seeks to learn mappings from probability distributions to response variables and has emerged as a unifying framework for kernel methods, multi-instance learning, and set-valued learning. Despite its success, kernel-based distribution regression remains computationally expensive and sensitive to kernel choice, motivating scalable and adaptive representations. Building on random feature approximations, we develop a finite-sample analysis of Random Feature Distribution Regression (RaDR) under two-stage sampling. Our perturbation analysis separates the effects of distribution-level sampling, finite within-bag sampling, and random feature approximation. We establish sufficient feature-budget conditions under which RaDR preserves the order of our excess-risk upper bound for exact two-stage kernel distribution regression while maintaining computational efficiency. We further propose Adaptive Random Feature Distribution Regression (A-RaDR), a unified score-guided framework that adaptively allocates random features according to downstream learning objectives. Experiments on synthetic benchmarks and 41 real-world datasets demonstrate that RaDR delivers substantial computational savings while maintaining competitive predictive performance, whereas A-RaDR further improves learning accuracy in distribution regression while retaining the computational speed up. Together, these results establish a practical and theoretically grounded framework for adaptive, scalable distribution learning