Manuscript Offprint
arXiv:2610.24892Scalable and Adaptive Distribution Regression via Random Features
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
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.
Contents
1 Introduction 4
2 Problem Setup and State-of-the-Art 6
2.1 Notation used throughout the paper 6
2.2 Distribution regression as learning over probability measures 6
2.3 Kernel mean embeddings of distributions 7
2.4 Kernels on embedded distributions 7
2.5 Two-stage distribution regression 8
2.6 Computational bottlenecks of exact kernel distribution regression 9
3 Random Feature Distribution Regression 9
3.1 Random features for distribution embeddings 10
3.2 RaDR for kernel ridge regression 11
3.3 Computation and scalability 12
3.4 Risk analysis for RaDR 13
3.5 Order-wise No-loss regimes 14
3.6 Extension to binary classification 15
4 Enable Adaptivity with Score-based Random Features 16
4.1 The two-stage random feature sampling formulation 17
4.2 A general trace-based score 18
4.3 Adaptive RaDR algorithm 19
4.4 Kernel alignment score 20
4.5 Leverage score 20
4.6 Distribution variance score 21
4.7 Unified view of adaptive RaDR 22
4.8 Computational complexity 22
5 Empirical Results 22
5.1 A taxonomy of benchmark algorithms 23
5.2 Experimental Settings 23
5.3 RaDR and A-RaDR ablation studies 25
5.3.1 RaDR and A-RaDR versus exact kernel distribution regression 26
5.3.2 Effect of candidate feature pool size 27
5.4 The role of train and test bag sizes 28
5.5 Real-world experiments 30
6 Discussion and Conclusion 34
A Technical Details 35
A.1 Assumptions and auxiliary objects 35
A.2 One-stage exact-kernel baseline 36
A.3 Uniform random feature approximation 37
A.4 Concentration of empirical mean embeddings 38
A.5 Kernel perturbation at the bag level ..... 38
A.6 Matrix perturbation bounds ..... 40
A.7 Predictor perturbation ..... 41
A.8 Proofs of the exact two-stage and RF risk bounds ..... 43
A.9 Population excess risk versus deployed empirical test bags ..... 44
A.10 Proof of the no-loss result (Corollary 1) ..... 46
A.11 SVM perturbation details ..... 47
A.12 Proof of Proposition 4 ..... 51
Yet many real-world learning problems are fundamentally not vector-valued. In numerous scientific and engineering domains, each observation is more naturally represented as a collection, set, bag, or probability distribution rather than a single feature vector (Dietterich et al., 1997; Maron and Lozano-Pérez, 1997). A medical diagnosis may rely on an entire collection of pathology images or patient measurements (Campanella et al., 2019; Ilse et al., 2018); a manufacturing process may be characterized by particle size distributions evolving over time (Van Hauwermeiren et al., 2020); a sensor network may generate streams of stochastic observations (Dennis et al., 2018); and modern language models themselves process increasingly long contexts that are intrinsically set- or sequence-valued. In such settings, the statistical object of interest is no longer an individual sample, but the underlying distribution generating those samples. This shift has fueled growing interest in learning paradigms capable of operating directly on distributions, where the input to the learning system is itself a probability measure estimated through finite observations (Smola et al., 2007; Foulds and Frank, 2010; Muandet et al., 2017).
Existing approaches to learning from bags, sets, and distributions can be broadly organized into two major paradigms. The first is the multi-instance learning (MIL) paradigm, which treats each input as a finite unordered bag of instances (Dietterich et al., 1997; Maron and Lozano-Pérez, 1997; Foulds and Frank, 2010), is increasingly dominated by deep neural architectures (Ilse et al., 2018; Zaheer et al., 2017; Lee et al., 2019). The second is distribution regression, which explicitly formulates the problem as supervised learning from probability distributions to responses (Póczos et al., 2013; Szabó et al., 2016; Muandet et al., 2017). MIL is algorithmically flexible but often statistically opaque and data hungry, whereas distribution regression is principled, stable, and theoretically well understood, but limited by computation.
Distribution regression formulates the set-valued learning problems as supervised learning problems in which each input is an underlying probability distribution observed through a finite bag of samples. Early nonparametric formulations treated the problem directly as regression on probability measures and established consistency under distribution-free assumptions, often through density-based or kernel-kernel constructions (Póczos et al., 2013). A more influential line of work later represented distributions through kernel mean embeddings (KME), which map probability measures into a reproducing kernel Hilbert space (RKHS) (Smola et al., 2007; Sriperumbudur et al., 2010, 2011; Muandet et al., 2017; Meunier et al., 2022). This embedding viewpoint provides a natural way to compare distributions through inner products, distances, and kernels on embedded measures, and has become the dominant foundation for kernel-based distribution regression. Within this framework, support measure machines introduced a discriminative learning formulation over probability measures (Muandet et al., 2012), while subsequent two-stage learning theory established consistency and convergence guarantees when both the distributions and the samples from each distribution are random (Szabó et al., 2015, 2016; Bachoc et al., 2025). These developments make kernel mean embedding-based distribution regression especially attractive in scientific and safety-critical settings.
Despite these theoretical guarantee, computation remains a major obstacle in large scale applications. Kernel mean embedding-based distribution regression typically requires constructing and manipulating large kernel matrices over both instances and bags, so the cost grows rapidly with the number of distributions and the number of samples per distribution. As a result, the very framework that is arguably the most principled default for distributional supervised learning becomes difficult to deploy in large-scale settings. Moreover, as in conventional kernel learning, performance remains tightly coupled to the choice of kernel (Gönen and Alpaydin, 2011; Cortes et al., 2012, 2010). A poorly chosen kernel may yield a representation that is statistically ineffective, while adaptive kernel selection or learning procedures can introduce additional optimization overhead.
Previous studies on kernel approximations for distribution regression have primarily emphasized computational efficiency and practical implementation (Flaxman et al., 2015; Mitrovic et al., 2016; Wang et al., 2020; Adsuara et al., 2019), while recent work on adaptive distribution kernels has focused on learning representations suited to downstream tasks (Kachaiev and Recanatesi, 2024). These developments have largely pursued efficiency and adaptivity along separate lines, the integration of both scalability and adaptivity into a common framework receives much less attention. Building on these efforts, we develop a finite-sample analysis of random feature distribution regression to theoretically justify its computation and performance trade-off and extend the framework through score-guided feature selection to address scalability and adaptivity together. The paper is organized around three main contributions.
-
In Section 3, we develop a finite-sample analysis of Random Feature Distribution Regression (RaDR) in the classical two-stage sampling setting. Our perturbation analysis separates the effects of distribution-level sampling, finite within-bag sampling, and random feature approximation. For kernel ridge regression with a linear distribution kernel, we establish sufficient feature-budget conditions under which RaDR preserves the order of the excess-risk upper bound of exact two-stage kernel distribution regression, while reducing the computational cost.
-
In Section 4, we propose Adaptive Random Feature Distribution Regression (A-RaDR), a unified score-guided framework for achieving adaptive kernels in distribution regression. Our formulation encompasses several important adaptive sampling strategies, including kernel alignment, leverage scores, and distribution variance, within a single framework.
-
In Section 5, we conduct extensive experiments on synthetic benchmarks and 41 real-world datasets. The results demonstrate that RaDR substantially improves computational efficiency while maintaining competitive predictive performance, and that A-RaDR further improves prediction accuracy in the low-feature regime through adaptive feature selection.
2 Problem Setup and State-of-the-Art
In this section, we review the mathematical foundations of kernel mean embeddings and two-stage kernel distribution regression. After introducing their definitions and formulations, we highlight the computational bottlenecks that motivate the scalable approach introduced in the following sections.
2.1 Notation used throughout the paper
Before proceeding, we summarize the main notation used in the remainder of the paper. Scalars or functions are denoted by non-bold letters such as x, y, and k. Vectors are denoted by bold lower-case letters such as x and y, and matrices by bold upper-case letters such as X and K. Calligraphic letters such as X, Y, and denote spaces, sets, or function classes. Probability measures on a space X are written as , , while empirical bags are written as . We denote inner product with , norm with , expectation with , with appropriate subscripts specifying their associated space or measure.
We use for the number of bags or distributions in the training set. The quantity denotes the size of the th training bag, and denotes the test bag size. The embedding kernel is written as , with RKHS , and the distribution kernel is written as . The population embedding of is , while its empirical embedding from bag is .
2.2 Distribution regression as learning over probability measures
Distribution regression considers a supervised learning problem with inputs drawn from a collection of probability measures on an instance space and outputs taking values in for regression, or in a finite label space for classification. Let
denote the population-level training pairs, where is a suitable class of Borel probability measures on . The target is to learn a function
from the observed training data and then predict the response associated with a new input distribution P.
In practice, however, the distributions are not directly observed. Instead, for each i, one only observes a bag of samples
where is the bag size for the ith distribution. The actual training data therefore take the form
As mentioned in the beginning of this Section, we reserve n for the number of distributions, and for the number of instances in bag i, since the distinction between these two sampling levels becomes important both computationally and statistically. In particular, later theoretical results will separately track the effect of finite bag sampling and finite random feature approximation.
Distribution regression formulation can therefore be stated as follows: given finitely many bags and corresponding responses , estimate a predictor such that approximates the response associated with the underlying distribution that generated the bag . In a nutshell, the covariates are latent probability measures, and the observed bags are noisy finite-sample surrogates for those measures.
2.3 Kernel mean embeddings of distributions
A standard nonparametric way to represent probability distributions is through kernel mean embeddings (Smola et al., 2007; Muandet et al., 2017). Let be a positive definite kernel with associated RKHS . For a distribution satisfying the usual integrability condition, its kernel mean embedding is defined as
The embedding is the RKHS element that averages the feature map under . Equivalently, for any ,
where denotes the inner product in RKHS , so the mean embedding acts as a linear functional encoding expectations of RKHS test functions. When is characteristic (Sriperumbudur et al., 2011; Simon-Gabriel and Schölkopf, 2018), the map is injective, meaning that the embedding uniquely determines the distribution. In another word, kernel mean embedding is lossless. This lossless embedding property is one of the key reasons behind the popularity of KME in distribution regression.
Since the population distributions are often not directly available in practice, one replaces by its empirical counterpart
This is simply the average feature map over the bag . The empirical embedding is unbiased for the population embedding and converges in RKHS norm under standard assumptions. Accordingly, the first stage of kernel distribution regression consists of replacing each latent distribution by the empirical element .
2.4 Kernels on embedded distributions
It is worth noting that in the distribution regression pipeline, there are usually two kernels involved. In the previous subsection, we have introduced the embedding kernel acting on instances to represent distributions in . A second kernel, defined on these embedded objects, is then used for the downstream supervised task, we term the downstream supervised learning kernel as distribution kernel to differentiate it from embedding kernel . Let be a positive definite kernel on the embedding space. Then the induced distribution kernel is . In practice one uses the empirical approximation . A common and important example is the Gaussian kernel on the RKHS:
where is a bandwidth parameter. Since
the induced kernel depends on pairwise embedding kernel evaluations across and within bags. Its empirical version is obtained by replacing expectations with bag averages:
This expression already reveals the main computational difficulty, that even a single distribution kernel evaluation requires summing over all cross-bag instance pairs.
More generally, the second-stage kernel may be chosen according to the downstream task. Linear kernels, radial kernels, and others are all possible. In this paper, we will focus on the linear kernel , for theoretical analysis, and include Gaussian distribution kernel for numerical studies.
2.5 Two-stage distribution regression
The preceding construction leads to a natural two-stage learning paradigm (Szabó et al., 2016). In the first stage, each input distribution is estimated from a finite bag through its empirical embedding, and transformed into an potentially infinite-dimensional RKHS representation via the embedding kernel k. In the second stage, a supervised kernel learning method is applied to the resulting embeddings via the distribution kernel K. For kernel ridge regression, this yields the predictor
where the coefficient vector solves
with
and denotes the regularization parameter. For prediction from a test bag
one first forms the empirical embedding
and then evaluates
Although we focus on kernel ridge regression for concreteness, the same representation can be coupled with other second-stage learners, including support vector machines (Vapnik, 1997) and other kernel methods.
2.6 Computational bottlenecks of exact kernel distribution regression
The exact KME-based formulation is statistically appealing due to its lossless embedding property (Sriperumbudur et al., 2011), but its computational cost can be even more prohibitive than instance-level kernel learning. To see this, consider first the construction of the distribution-level Gram matrix . For each pair , evaluating generally requires computing quantities of the form
together with corresponding within-bag sums. If the average bag size is of order , then a single entry of may cost operations, so forming the full matrix costs roughly in the balanced case. After this, solving the kernel ridge regression system requires time and memory in the standard implementation. Thus, unlike ordinary kernel regression on vector-valued inputs, distribution regression incurs a nested computational burden: a kernel method at the bag level built on top of kernel operations at the instance level.
3 Random Feature Distribution Regression
The computational challenge of kernel distribution regression is shared by kernel methods more broadly and has motivated a substantial literature on scalable kernel approximation (Hofmann et al., 2008). Existing approaches include Nyström methods, randomized sketching techniques, and random feature approximations (Williams and Seeger, 2001; Zhang et al., 2008; Li et al., 2014; Mahoney, 2011; Drineas et al., 2012; Zhang and Liao, 2019; Rahimi and Recht, 2007). Among these, random Fourier features are particularly attractive for shift-invariant kernels because they approximate the kernel function itself through an explicit finite-dimensional feature map rather than a low-rank approximation of the kernel matrix. This explicit representation naturally removes the need to store infinite-dimensional embeddings while preserving the favorable statistical properties of kernel learning (Rudi and Rosasco, 2017; Sun et al., 2018; Avron et al., 2017; Li et al., 2021).
For distribution regression, random feature approximations replace implicit kernel mean embeddings with explicit finite-dimensional vectors. Each bag is represented by the average of its instances' random features, and a supervised learner is fitted to the resulting bag representations. This construction has been used in earlier work on distribution regression, including ecological inference, approximate Bayesian computation, conformal prediction, and remote sensing (Flaxman et al., 2015; Mitrovic et al., 2016; Wang et al., 2020; Adsuara et al., 2019). We refer to this common construction as Random Feature Distribution Regression (RaDR) and develop its theoretical analysis under two-stage sampling.
We first introduce random feature approximations for the embedding kernel and construct explicit distribution embeddings. We then formulate RaDR for kernel ridge regression, analyze its computational complexity, and establish a perturbation-based excess-risk bound that separates three sources of error: finite distribution-level sampling, finite within-bag sampling, and random feature approximation. Based on this decomposition, we identify sufficient conditions under which RaDR achieves order-wise lossless approximation relative to exact kernel distribution regression. Finally, we extend the same perturbation framework to binary classification with soft-margin support vector machines (SVMs). Proofs are deferred to Appendix A.
3.1 Random features for distribution embeddings
Recall from Section 2 that exact kernel distribution regression represents a distribution P by its kernel mean embedding and then applies a distribution kernel to these embeddings. We focus on the linear outer kernel
which is already expressive when the base kernel k is characteristic, and it isolates the role of random feature approximation, since all approximation error enters through the mean embedding itself.
We focus on shift-invariant kernels of the form
normalized so that . By Bochner's theorem (Rudin, 2017), there exists a probability measure on such that
In practice, the random feature distribution admits analytical forms for popular kernel choices, such as normal distribution for Gaussian kernel, and exponential distribution for Cauchy kernel. We refer the audience to (Rahimi and Recht, 2007) for more details. The expression in Eq. (2) reveals that a kernel function can be approximated via sampling random vectors from the probability measure . Let
independently. Define
We then construct the corresponding random feature kernel as
The approximation holds by noticing the random-bias construction is unbiased through
and hence
For a distribution P, we can define its random feature distribution embedding by
If is observed only through a bag
then the empirical RF embedding is
Accordingly, the RF approximation to the linear distribution kernel is
and its empirical version is
The above construction converts the distribution representation from an RKHS-valued object to a finite-dimensional vector. Next, we construct RaDR under kernel ridge regression.
3.2 RaDR for kernel ridge regression
We now formulate RaDR for kernel ridge regression. For simplicity, this subsection assumes a common training bag size ; the implementation and the empirical studies do not pertain to this restriction.
Let
The RF Gram matrix over distributions is
For a test distribution P, define
The RaDR kernel ridge predictor is
If the test distribution is observed only through a test bag
then is replaced by
The finite-dimensional representation also gives a primal form. Since
where
we may equivalently compute
via the Woodbury inversion lemma (push-through identity). This primal representation is one of the key computational advantages of RaDR, as exact kernel distribution regression must work with an Gram matrix whose entries require pairwise within-bag kernel computations. RaDR instead constructs a D-dimensional mean embedding vector for each bag and then performs ordinary finite-dimensional ridge regression. Next, we provide a brief discussion on the computational advantage of RaDR.
3.3 Computation and scalability
The computational difference between exact kernel distribution regression and RaDR can be seen directly from the construction of the Gram matrix. In the balanced case , evaluating one exact linear distribution-kernel entry requires
and therefore costs kernel evaluations. Constructing the full Gram matrix costs embedding kernel evaluations, followed by an inversion computation induced by Eq. (12).
By contrast, RaDR first constructs the bag embeddings
which costs random feature evaluations. Once these embeddings are computed, forming the RF Gram matrix costs if done explicitly, while the primal ridge formulation in Eq. (13) costs when , and the dual formulation costs for , where denotes less/greater than or similar to in order.
In a nutshell, in the regime where and , RaDR replaces the nested pairwise computation of exact kernel distribution regression by a linear pass through the instances followed by finite-dimensional supervised learning. This un-nesting property reduces computational complexity from to , which is even more drastic than the speed up of random features for vector kernel ridge regression.
Moreover, RaDR also supports incremental computation. If a new instance is added to bag , the empirical RF embedding can be updated as
Thus the distribution representation can be maintained online without recomputing all pairwise kernel values. This property becomes especially relevant when distribution-valued inputs are generated from streaming systems or large collections of instances.
3.4 Risk analysis for RaDR
We next state the main risk bound for RaDR. The proof is given in Appendix A. Let denote the squared-loss population risk and let
be the excess risk, where denotes the optimal population predictor. We use for the ideal one-stage KRR estimator that observes the true population embeddings, for the exact two-stage estimator that uses finite training bags but no random features, and for the RaDR estimator. The analysis is built on the following decomposition
The first term is the ordinary one-stage KRR statistical error. The second term is the finite-bag perturbation already present in exact kernel distribution regression. The third term is the new RF approximation perturbation introduced by RaDR.
We first state the one-stage exact-kernel bound abstractly. We assume there exists a function such that, with probability at least ,
the assumption is formally stated in the Appendix. The quantity is an abstraction that represents a standard one-stage excess-risk bound for kernel ridge regression (KRR). Such bounds are well studied in the classical source-capacity framework for nonparametric regression; see, for example, Zhang (2005) and Caponnetto and De Vito (2007). This abstraction allows the RaDR perturbation analysis to be combined with any valid one-stage KRR theorem under the desired source and capacity conditions. We provide a concrete example for in the Appendix. With this abstraction, we now state the following theorem.
Theorem 1. Under the boundedness, source, and one-stage baseline conditions stated in Appendix A, there exists a constant , independent of , such that, with probability at least ,
Theorem 1 provides a rate bound baseline for the exact kernel distribution regression problem. Our bound is a self-contained alternative to Szabó et al. (2016)'s result, where we separate the one-stage learning and the finite sample effect for clarity. Next, we present the excess-risk bound for RaDR.
Theorem 2. Under the boundedness, spectral moment, source, and one-stage baseline conditions stated in Appendix A, let denote the uniform random feature approximation radius defined in Appendix A. Then there exists a constant , independent of , such that, with probability at least ,
(15)
Theorem 2 folds the random feature approximation effect into the exact kernel distribution regression excess-risk bound in Theorem 1. The first term is the one-stage learning error over true distribution embeddings. The second and third terms are the price of observing each distribution through only N samples. The last two terms are the price of replacing the exact RKHS embedding by D random feature basis. The regularization term plays an important role in interpreting the results. A smaller improves approximation bias in kernel ridge regression, but it amplifies both the finite-bag perturbation and the random-feature perturbation.
Based on the above two Theorem statements, we further provide an additional result on test distribution finite sample effect in the Appendix.
Remark 1. Theorems 1 and 2 are population excess-risk statements that evaluate predictors on true test distributions. In deployment, a fresh test distribution is typically observed only through a test bag of size . Appendix A.9 shows that this creates an additional pointwise perturbation of order with a single factor .
3.5 Order-wise No-loss regimes
From Theorems 1 and 2, one can observe that RaDR is able to achieve the same order wise excess-risk upper bound when the finite sample terms are order wise equal to the random feature approximation terms. Specifically, RaDR is in a no-loss regime whenever
(16) where denotes asymptotic equivalence. Therefore, one can show that a sufficient condition for Eq. (16) to hold is
Proposition 2 of Sutherland and Schneider (2015) gives a uniform kernel-approximation bound on a compact instance domain under a finite second spectral moment. Consequently, for fixed and fixed kernel parameters, there exists a constant such that
for all sufficiently large D. e here is the base of natural logarithm. The derivation is included in the Appendix. Hence a convenient sufficient feature-budget condition is
which is true when . Based on the above observation, we next state the following Corollary.
Corollary 1. Under the assumptions of Theorem 2, fix . Suppose that as , for some fixed , and . Let satisfy the chosen one-stage baseline conditions at confidence level . Then RaDR preserves the exact two-stage upper-bound order with probability at least for all sufficiently large .
Moreover, denoting the computational complexity of RaDR with , and exact kernel distribution regression with , choosing the less expensive primal or dual formulation gives
therefore,
The proof of Corollary 1 is given in Appendix A.10. Corollary 1 provides an important insight that RaDR can achieve a significant speed up while provably preserving the exact order-wise excess-risk upper bound of two-stage kernel distribution regression. At the same number of bags and instances per bag, the training cost decreases at the rate of . This result is true regardless of whether is true or not. Moreover, the above Corollary is a conservative characterization of the computational speed up for RaDR. As we will show later on in the empirical results, RaDR training time remains significantly shorter than that of exact kernel distribution regression when D is larger than both N and n, while the performance gap vanishes.
3.6 Extension to binary classification
Theoretical properties of kernel distribution regression are predominantly presented in terms of kernel ridge regression, yet one of the most common usages of kernel distribution regression is for classification Kachaiev and Recanatesi (2024). Therefore, in this subsection, we briefly discuss how the RaDR construction extends to binary classification with soft-margin SVM. Let and consider the hinge loss
We investigate RaDR SVM under a linear SVM on the RF distribution embeddings:
In this case, the same finite-dimensional representation used for RaDR regression also provides a scalable distribution classifier. For the RF approximation, it is useful to compare the exact and RF SVM objectives through their duals. Let
The exact two-stage SVM dual is
where is the exact empirical distribution-kernel matrix. The RF dual replaces by :
Proposition 3. Suppose the element wise RF approximation error satisfies
the exact and RF SVM dual objectives satisfy
Consequently, the corresponding optimal dual objective values differ by at most .
Proposition 3 establishes that, under uniform kernel approximation, the RF SVM dual objective remains close to the exact two-stage SVM dual objective. As for a complete excess-risk theorem mirroring Theorem 2, we leave it to future extensions.
4 Enable Adaptivity with Score-based Random Features
In Section 3, we analyzed RaDR under two-stage sampling and characterized the relationship between its feature budget, excess-risk upper bound, and computational cost. Beyond their computational advantages, random features possess another important property that distinguishes them from other kernel approximation methods. Unlike Nyström approximations or randomized sketching methods, whose approximations are largely determined by sampled columns or matrix structure, random features are generated directly from an explicit sampling distribution over the kernel's spectral measure. This explicit representation naturally permits the feature distribution to be modified, reweighted, or selectively sampled while maintaining a finite-dimensional embedding, making random features particularly well suited for adaptive kernel learning (Rahimi and Recht, 2007; Rudi and Rosasco, 2017; Sun et al., 2018; Avron et al., 2017; Li et al., 2021; Yang et al., 2012).
The importance of adaptivity stems from a fundamental characteristic of kernel methods: their statistical performance is closely tied to the choice of kernel (Smola and Schölkopf, 1998; Hofmann et al., 2008). Consequently, a substantial body of work has studied kernel learning and multiple kernel learning to better align kernel representations with the underlying data geometry or downstream prediction task (Cristianini et al., 2001; Lanckriet et al., 2004; Bach et al., 2004; Sonnenburg et al., 2006; Cortes et al., 2010). While effective, these approaches often require repeated kernel construction or additional optimization procedures, potentially diminishing the computational benefits offered by scalable kernel approximations.
A particularly relevant direction is score-based random feature sampling. Instead of drawing random features solely from the original spectral measure, these methods modify the feature distribution according to task-specific information such as prediction objectives, kernel leverage, or alignment criteria (Sinha and Duchi, 2016; Shahrampour et al., 2018; Avron et al., 2017). This viewpoint bridges kernel approximation and kernel learning: the same finite-dimensional representation that enables scalability can also be adapted to allocate computational resources toward features that are most informative for prediction.
Motivated by this perspective, we propose Adaptive Random Feature Distribution Regression (A-RaDR), a score-guided extension of RaDR that incorporates adaptive feature selection into distribution regression. The framework expresses established criteria—including kernel alignment Sinha and Duchi (2016), leverage scores (Li et al., 2021), and distribution variance (Kachaiev and Recanatesi, 2024)—through a common score-matrix formulation applied to distribution embeddings. These scores guide the selection of a feature subset from a candidate pool, allowing the representation to adapt to the chosen criterion within the same finite-dimensional RaDR framework.
4.1 The two-stage random feature sampling formulation
We continue with the random-bias cosine features introduced in Section 3.1. For simplicity, we denote a frequency–bias pair by and its sampling distribution by . To examine the contribution of an individual feature, we further denote its population and empirical averages by
Here , and estimates using the observed bag . By the random-bias cosine identity, the linear distribution kernel satisfies
To connect this notation with Section 3, notice that the th coordinate of is .
Collecting the empirical averages of one feature across all bags therefore gives
Thus, each vector represents one column of the existing RF embedding matrix, up to the factor . This arrangement allows us to evaluate and select features individually.
The first stage of A-RaDR starts by drawing a candidate pool , independently of the training data, where . For convenience, we use and . The corresponding pool embedding matrix and Gram matrix are
In the second stage, we score the candidates and select a subset . The selected embedding of bag becomes
Accordingly, the selected training matrix is , whose ith row is . Its Gram matrix satisfies
The th entry is therefore the selected RF distribution kernel .
The same selected features are used for prediction. For a test distribution P, its embedding is
When P is observed through a test bag , we replace the population averages by their empirical counterparts in (24), using samples, and denote the resulting embedding by .
4.2 A general trace-based score
Adaptive random feature methods select features according to different objectives, such as response alignment, kernel geometry, or variation across inputs (Li et al., 2019; Wang and Shahrampour, 2021). We next show that these objectives can be expressed through a common trace formulation, which leads to a simple feature selection rule.
Specifically, for a score matrix and a distribution-level Gram matrix , consider
Since each candidate contributes a rank-one matrix to (29), its contribution to the objective is determined by
For computation, we form the score vector
where diag represents the diagonal operator.
The following proposition establishes the selection rule and its comparison with vanilla random features.
Proposition 4. Fix the training data and a realized candidate pool. Let be a score matrix held fixed across all candidate subsets. Then, for every with ,
Consequently, a maximizing subset
is obtained by selecting the D largest scores.
Moreover, let be the vanilla RaDR Gram matrix constructed from the first D candidates, we have the following identity,
where denote the Gram matrix formed with features selected via . If is also fixed conditional on the training data and independent of the candidate pool, then
where is the exact finite-bag Gram matrix. The expectations are conditional on the training data and taken over the i.i.d. candidate pool drawn from .
The proof is given in Appendix A.12. Proposition 4 shows that a trace objective reduces feature selection to ranking scalar scores. Once B has been constructed, retaining the top-D candidates maximizes that objective over all subsets of the pool. This gives a direct way to incorporate different learning objectives into RaDR through the choice of B.
4.3 Adaptive RaDR algorithm
With the selected features, A-RaDR proceeds through the same ridge regression formulation as in Section 3.2. In particular, the predictor has the equivalent dual and primal expressions
(37)
For prediction from , we use in place of . Algorithm 1 summarizes the procedure.
The score matrix determines how the feature budget is allocated. We next describe three choices corresponding to kernel alignment, leverage scores, and distribution variance.
Algorithm 1 Adaptive Random Feature Distribution Regression
Require: Training bags ; candidate pool size ; random features count ; ridge parameter ; score matrix .
1: Draw .
2: Compute the candidate vectors using (24) and (26).
3: Evaluate the scores in (32) and retain the top- subset (bottom if trace objective is minimization).
4: Assemble the selected embedding matrix .
5: Fit the ridge predictor in (37) using the primal or dual form.
6: return .
4.4 Kernel alignment score
Kernel alignment aims to construct kernels whose similarity structure agrees with the responses of the learning task (Cristianini et al., 2001; Sinha and Duchi, 2016; Shahrampour et al., 2018). For distribution regression, this suggests selecting features whose bag-level averages align with the observed responses.
For scalar responses, the response similarity matrix is . Accordingly, choosing gives the trace objective
Substituting this choice into (32) yields
Thus, the score favors features with a large absolute inner product with the response vector across bags. For binary classification, the same formulation applies with . For multiclass classification, one may use , where contains one-hot or contrast-coded labels for classes. The corresponding score is then .
4.5 Leverage score
Leverage scores measure contributions relative to the geometry of a linear system and have been widely used in randomized linear algebra and kernel approximation (Mahoney, 2011; Drineas et al., 2012; Bach, 2017; Avron et al., 2017; Li et al., 2021). In random feature setting, the same idea gives larger weights to feature components along directions with smaller regularized kernel eigenvalues.
More specifically, let be the regularization parameter used for feature scoring. Using the exact finite-bag Gram matrix would give the ideal score matrix and scores
The parameter controls the geometry used for selection, while in (37) controls the subsequent ridge fit.
Since forming requires exact kernel evaluations across bags, we use the pool approximation from (27) for computation. The practical score matrix is therefore , giving
All scores can be evaluated through (33), using .
This construction uses the full candidate pool to estimate the kernel geometry before selecting features. Once is formed, it remains fixed across subsets, so the realized-pool optimality result in Proposition 4 applies. For the ideal matrix , the conditional expectation identity in (36) also applies.
4.6 Distribution variance score
Adaptive kernel learning for distribution regression has also been studied from a geometric perspective (Kachaiev and Recanatesi, 2024). A natural objective is to obtain representations that separate the observed distributions. Within A-RaDR, this leads to selecting features whose empirical averages vary substantially across bags.
To formalize this idea, we first recall the distribution variance of kernel mean embeddings (Muandet et al., 2013).
Definition 1. For a collection , let . The distribution variance is
(42)
where and is the all-ones vector.
Notice that with the centering matrix , the variance becomes , akin to the variance formulation in kernel PCA (Wang and Shahrampour, 2021). Since the factor does not affect the maximizing subset, we choose , which gives
The same identity applies to the selected empirical embeddings:
Thus, maximizing the trace objective maximizes the empirical variance of the selected bag representations.
For convenience, denote the average of candidate across bags by . Its score can then be written as
Consequently, this criterion retains features that maximizes the cross-bag embedding variation.
4.7 Unified view of adaptive RaDR
The three criteria fit into the same selection procedure through the following choices of score matrix:
| Variant | Score matrix | Candidate score |
|---|---|---|
| Kernel alignment | ||
| Leverage score | ||
| Distribution variance |
(45)
In each case, the selected subset follows (35), and the predictor follows (37). Kernel alignment adapts to the responses, leverage scores adapt to the regularized kernel geometry, and distribution variance adapts to the spread of the bag representations.
Through these choices, A-RaDR uses the observed training data to allocate a finite feature budget toward the chosen objective. The selected features then define the kernel used for both training and prediction.
4.8 Computational complexity
The additional computation in A-RaDR comes from scoring the candidate pool, followed by feature selection. For instances in , constructing all candidate bag averages costs using direct inner products. Once these averages are available, kernel alignment and distribution variance each require operations to evaluate all scores.
Leverage scores require a regularized linear system involving the candidate-pool kernel. Working in the bag space gives a cost of for forming the kernel and evaluating all scores. When , the Woodbury inversion lemma can reduce the score computational complexity to operations. Therefore, leverage score cost is .
The subsequent ridge fit has the same computational cost as RaDR with features, in the primal form or in the dual form.
5 Empirical Results
In this section, we evaluate RaDR and A-RaDR variants across a broad collection of synthetic and real-world distribution regression tasks. We carry out three sets of simulations. The first set of simulations is designed to examine the behavior of RaDR/A-RaDR vs vanilla kernel distribution regression under a controlled synthetic setting. The second set of simulations is designed to investigate the impact of training and testing bag sizes on kernel distribution regression and RaDR framework. The last set of simulations is the large scale real-world dataset benchmark, where we will compare the RaDR and A-RaDR frameworks to state-of-the-art distribution regression methods in both kernel and deep learning regime. All simulations carried out in this section focus on classification, which is the predominant distribution regression target problem in the literature (Kachaiev and Recanatesi, 2024) and across our 41 real-world examples.
5.1 A taxonomy of benchmark algorithms
To provide a comprehensive evaluation of RaDR and A-RaDR, we benchmark against a diverse collection of distribution regression algorithms spanning classical kernel methods, deep learning architectures for set-valued inputs, and the random feature based approaches. The benchmark methods represent the major paradigms currently used for learning from distributions and sets.
The first group consists of kernel mean embedding (KME) based distribution regression methods. We include the standard two-stage kernel distribution regression framework of (Szabó et al., 2016). Specifically, KME_Gaussian employs Gaussian kernels for both the embedding and distribution regression stages, while KME_Linear uses a Gaussian embedding kernel together with a linear distribution kernel. We further include two adaptive kernel learning approaches proposed in Kachaiev and Recanatesi (2024). The first, denoted by AKME_MDKE, learns the embedding kernel using the Maximum Distribution Kernel Entropy (MDKE) criterion (Kachaiev and Recanatesi, 2024). The second, denoted by AKME_DV, learns the embedding kernel using the Distribution Variance (DV) criterion. For both adaptive approaches, we consider linear and Gaussian distribution kernels, resulting in the variants AKME_MDKE_Linear, AKME_MDKE_Gaussian, AKME_DV_Linear, and AKME_DV_Gaussian.
The second group consists of deep learning architectures designed for set-valued inputs. We consider Deep Sets (DeS) (Zaheer et al., 2017), a permutation-invariant neural architecture that aggregates instance-level representations through a symmetric pooling operation. We also consider the Set Transformer (SeT) (Lee et al., 2019), which leverages self-attention mechanisms to capture interactions among instances within a bag. Two Set Transformer variants are included: SeT_SAB, which employs Self-Attention Blocks (SAB), and SeT_ISAB, which utilizes Induced Self-Attention Blocks (ISAB) to improve scalability on larger sets.
The final group consists of the random feature based methods. RaDR denotes the vanilla random feature approximation of kernel distribution regression introduced in Section 3. We further consider three adaptive variants developed in Section 4: A-RaDR_KA, which performs kernel-alignment-based feature selection; A-RaDR_LS, which utilizes leverage-score-based feature selection; and A-RaDR_DV, which employs the distribution variance criterion. Similar to the KME-based methods, each RaDR and A-RaDR algorithm is evaluated using both linear and Gaussian second-stage distribution kernels.
Table 1 summarizes the complete benchmark suite used throughout the synthetic and real-data experiments. Note that the kernel column describes the distribution kernel, embedding kernel is always chosen to be Gaussian kernel.
5.2 Experimental Settings
Synthetic Dataset The synthetic benchmark is designed as a distribution-level binary classification problem, where each observation is a bag of exchangeable samples. For bag i, we first draw a latent class variable . We then draw a bag-specific nuisance vector
from an isotropic Gaussian distribution of dimension 8 with noise scale , which induces random between-bag variation unrelated to the class signal. Conditioned on and , the informative
Table 1: Summary of benchmark algorithms used throughout the empirical study.
| Algorithm | KME | RF | Deep | Kernel | Reference |
|---|---|---|---|---|---|
| KME_Linear | ✓ | Linear | (Szabó et al., 2016) | ||
| KME_Gaussian | ✓ | Gaussian | (Szabó et al., 2016) | ||
| AKME_DV_Linear | ✓ | Linear | (Kachaiev and Recanatesi, 2024) | ||
| AKME_DV_Gaussian | ✓ | Gaussian | (Kachaiev and Recanatesi, 2024) | ||
| AKME_MDKE_Linear | ✓ | Linear | (Kachaiev and Recanatesi, 2024) | ||
| AKME_MDKE_Gaussian | ✓ | Gaussian | (Kachaiev and Recanatesi, 2024) | ||
| DeS | ✓ | N/A | (Zaheer et al., 2017) | ||
| SeT_SAB | ✓ | N/A | (Lee et al., 2019) | ||
| SeT_ISAB | ✓ | N/A | (Lee et al., 2019) | ||
| RaDR_Linear | ✓ | Linear | This paper | ||
| RaDR_Gaussian | ✓ | Gaussian | This paper | ||
| A-RaDR_KA_Linear | ✓ | Linear | This paper | ||
| A-RaDR_KA_Gaussian | ✓ | Gaussian | This paper | ||
| A-RaDR_LS_Linear | ✓ | Linear | This paper | ||
| A-RaDR_LS_Gaussian | ✓ | Gaussian | This paper | ||
| A-RaDR_DV_Linear | ✓ | Linear | This paper | ||
| A-RaDR_DV_Gaussian | ✓ | Gaussian | This paper |
coordinates of the bag distribution are shifted according to
where are coordinate basis vectors pointing to the first and second elements which are the informative elements, and controls the strength of the class-dependent mean shift. The instances in bag are sampled independently as
where is the bag size specified by the corresponding experimental setting, and represents the within group sample noise level. To make the problem less separable from simple sample means, additional independent noise with standard deviation 1 is injected into the non-informative coordinates, i.e., element #3 to #8. Finally, the observed bag label is generated from a noisy nonlinear functional of the empirical distribution,
with independently, and denotes the indicator function. denotes the first element in vector . Training and test bags are generated independently from the same data-generating process. In all synthetic simulations, the true labels are first generated with 500 vectors by default, and the actual training and testing bags are down-sampled from these 500 vectors if a smaller bag size is required. The total number of training bags is set to 500 by default.
General Experimental Settings The KME and RaDR algorithms tune the hyperparameters including the embedding and distribution kernel bandwidth, and the SVM cost parameter with 3-fold cross validation on the training sets. For both embedding kernel and distribution kernel bandwidth, the CV list is set to [0.25, 0.5, 1, 2, 4]. The SVM cost parameter CV list is set to [0.1, 1, 10, 100]. For A-RaDR, the embedding and distribution kernel bandwidth is set to 1 by default, and only the SVM cost parameter is cross-validated with the same precision.
The AKME methods adopt the kernel optimization approach proposed in Kachaiev and Recanatesi (2024). The kernel trajectory is altered via a neural network encoder , a one-hidden-layer ReLU neural network with fixed hidden dimensions throughout all the simulations. The encoder network is trained via an Adam optimizer (Kingma and Ba, 2014), a learning rate of , a bag size of 16, and a total of 150 training epochs.
The DeS model uses a neural network encoder with one hidden layer and ELU activation as recommended by the original paper (Zaheer et al., 2017). The classifier is a two hidden layer ELU neural network. For the real-world dataset simulation, there are roughly 30k trainable parameters for each dataset (small variations depending on the input dimension). The whole network (encoder + classifier) is trained via an Adam optimizer, a learning rate of , a bag size of 16, and a total of 150 training epochs.
The SeT methods use a Transformer architecture with 128 hidden dimensions, 4 attention heads, 2 encoder layers and 2 decoder layers, and layer norm is disabled. The classifier is a linear classification layer. For the real-world dataset simulation, there are around 300k trainable parameters for the SAB variant and 450k trainable parameters for the ISAB variant for each dataset with small variations. The whole network (encoder + classifier) is trained via an Adam optimizer, a learning rate of , a bag size of 16, and a total of 150 training epochs.
All the simulations included in this section are repeated over 10 Monte-Carlo runs to create error bars. The Des (Zaheer et al., 2017) and SeT (Lee et al., 2019) implementations follow the open access repositories published by the authors. When recording training time, we include the tuning time for KME, RaDR, and A-RaDR algorithms as well for fair comparison against the deep learning counterparts. We use classification accuracy as the primary performance metric throughout the experiments, defined as
We omit the F1 score, as it exhibits the same overall trends as accuracy across all our simulations.
5.3 RaDR and A-RaDR ablation studies
In this subsection, we investigate the empirical behavior of RaDR and A-RaDR on synthetic distribution regression problems. The goal of these experiments is twofold. First, we examine whether random feature based distribution regression can recover the predictive performance of exact kernel distribution regression while substantially reducing computational cost. Second, we study the effectiveness of adaptive random feature selection and quantify how the candidate feature pool size influences the resulting performance gains.
Throughout this subsection, we focus on the comparison between RaDR, A-RaDR, and the corresponding exact kernel mean embedding (KME) methods. Unless otherwise stated, all results are reported over both linear and Gaussian second-stage distribution kernels.
5.3.1 RaDR and A-RaDR versus exact kernel distribution regression

Figure 1: Accuracy and training time of RaDR and A-RaDR as the number of random features varies. The dashed horizontal line denotes exact KME-based distribution regression.
Figure 1 compares the predictive accuracy and training time of RaDR and A-RaDR as the number of random features increases. The dashed horizontal line corresponds to the performance of exact kernel distribution regression, while the remaining curves represent random feature approximations with varying feature budgets.
Several observations can be made. First, RaDR exhibits a clear approximation-improvement pattern. When only a small number of random features are used, the approximation error introduced by random features leads to a noticeable loss of predictive accuracy. However, the performance rapidly improves as additional random features are introduced and eventually approaches that of exact kernel distribution regression. This behavior is observed consistently under both linear and Gaussian distribution kernels.
Second, adaptive random feature selection substantially improves performance in the low-feature regime. When only a small number of random features are available for the second stage, all A-RaDR variants outperform vanilla RaDR, with A-RaDR_KA and A-RaDR_DV exhibiting the largest improvements. This demonstrates that selecting informative random features is considerably more effective than uniform random sampling when the feature budget is limited.
Finally, substantial computational savings are achieved even when predictive performance closely matches that of exact kernel methods. Across both kernel choices, RaDR requires only a fraction of the training time needed by KME while achieving nearly identical predictive accuracy.
Although A-RaDR incurs additional computational cost due to the feature-scoring procedure, its runtime remains substantially lower than exact kernel distribution regression while providing noticeable performance gains when the feature budget is small. These results suggest that RaDR offers significant computational efficiency, while A-RaDR offers an attractive trade-off between efficiency and performance.
5.3.2 Effect of candidate feature pool size

Figure 2: The feature pool multiplier ablation study. Left two columns: Classification accuracy differences between A-RaDR algorithms vs vanilla RaDR algorithm. Right two columns: Accuracy improvements divided by computational overhead (A-RaDR runtime/RaDR runtime). A-RaDR algorithms shows clear benefits in low random feature regime, but the difference diminishes as the random feature count increases.
We next examine the effect of the candidate feature pool size in A-RaDR. Recall that A-RaDR first draws a larger candidate pool of random features, scores these candidates according to a task-dependent criterion, and then retains only a subset of selected features for downstream distribution regression. The pool multiplier controls the ratio between the candidate pool size and the final number of selected random features. A larger pool multiplier gives A-RaDR more candidate features to choose from, but also increases the additional scoring cost.
Figure 2 reports the accuracy gain of A-RaDR over vanilla RaDR under different random feature budgets and pool multipliers. The heatmap values are reported in percentage points, with positive values indicating improvement over RaDR.
The main pattern is that adaptive selection is most beneficial when the final random feature budget is small. When only 10 random features are retained, all three A-RaDR variants produce clear gains over RaDR across both linear and Gaussian distribution kernels. In particular, A-RaDR_KA and A-RaDR_DV provide the largest improvements, often yielding gains of several percentage points, amounting to more than 30% error reduction. This supports that adaptive feature selection is especially useful in the low-dimensional approximation regime, where each selected feature has a large influence on the resulting distribution representation.
As the number of retained random features increases, the marginal benefit of adaptive selection decreases rapidly. For feature budgets of 50, 100, and 200, the gains over RaDR become much smaller and are often close to zero. This is consistent with the intuition, as RaDR and KME methods have already been tuned for the best performance, there leaves little room for improvements for A-RaDR, especially with sufficiently large random feature budget.
The effect of the pool multiplier also exhibits diminishing returns. Increasing the pool multiplier generally improves performance when the feature budget is very small, since A-RaDR can search over a richer candidate set. However, once normalized by computational overhead, the additional gains become limited. This suggests that a relatively small candidate pool is often sufficient to capture most of the benefit of adaptive random feature selection. In practice, this provides a useful computational trade-off where A-RaDR can improve low-budget random feature approximations without requiring an excessively large candidate pool.
Overall, these ablation results support the intended role of A-RaDR. Adaptive feature selection is not primarily needed when the random feature budget is already large, its value lies in improving the statistical efficiency of small random feature representations with mild computational overhead. This makes A-RaDR particularly useful when computation or memory constraints limit the number of features that can be used in the downstream learning tasks.
5.4 The role of train and test bag sizes
A unique challenge in distribution regression is the presence of two-stage sampling. Rather than observing distributions directly, each distribution is represented by a finite collection of samples. Consequently, the quality of the learned predictor depends not only on the number of training bags available, but also on the number of observations contained within each bag. Since RaDR is designed specifically to address the computational burden induced by large bags, it is important to understand how training and testing bag sizes influence both predictive performance and computational cost.
To this end, we systematically vary the training and testing bag sizes while keeping all other aspects of the learning problem fixed. We further consider two sampling schemes. In the fixed setting, all bags contain exactly the specified number of instances. In the variable setting, bag sizes are randomly generated around the requested value, which serves as the average bag size. This allows us to evaluate whether variability in bag cardinality changes the qualitative conclusions.
Figure 3 reports the marginal effect of training and testing bag sizes on predictive accuracy. An important observation is that increasing the training bag size produces only limited performance improvements. Across all methods, the prediction accuracy shows only mild improvements as the training bag size increases from 2 to 100 observations per bag. In contrast, increasing the testing bag size results in substantial gains in predictive performance. Under both fixed and variable bag-size settings, the accuracy improves steadily as larger testing bags provide increasingly accurate estimates of the underlying test distributions. This observation echoes the well-established phenomenon of kernel distribution regression (Szabó et al., 2015). On the other hand, we observe a clear performance degradation when moving from fixed to variable bag-size settings, this phenomenon

Figure 3: Marginal sensitivity of predictive accuracy to training and testing bag sizes under fixed and variable bag-size settings. Increasing training bag size produces only limited improvements, whereas larger testing bags substantially improve predictive performance. RaDR closely follows the behavior of its exact KME counterparts across all bag-size regimes.
has been theoretically investigated in Law et al. (2018). More importantly, RaDR preserves the same training and testing bag size effects. This shows that the random feature’s approximation effect is very much independent from the two-stage sampling process.
While the statistical behavior of RaDR closely matches that of exact kernel methods, the computational scaling characteristics differ substantially. Figure 4 presents the corresponding runtime surfaces. For KME-based distribution regression, runtime grows rapidly as the training bag size increases. This behavior reflects the expensive pairwise kernel evaluations required to compare distributions during training. As a result, the computational burden is dominated by the training bag size, producing a highly asymmetric runtime surface.
In contrast, RaDR exhibits a fundamentally different scaling pattern. The runtime surfaces for both RaDR variants become nearly symmetric with respect to training and testing bag sizes. Increasing either the training or testing bag size results in a comparable increase in computational cost. This behavior is a direct consequence of the random feature representation. Once each distribution is summarized through finite-dimensional random feature averages, both training and testing bags contribute through the same linear aggregation procedure, eliminating the quadratic dependence on training bag size that characterizes kernel-based distribution regression.
Taken together, these results highlight an important advantage of the RaDR framework. From a

Figure 4: Training-time surfaces as functions of training and testing bag sizes. KME-based distribution regression exhibits strong dependence on training bag size, resulting in highly asymmetric computational scaling. In contrast, RaDR displays nearly symmetric scaling with respect to training and testing bag sizes due to its finite-dimensional random feature representation.
statistical perspective, RaDR faithfully preserves the statistical behavior of exact kernel distribution regression. From a computational perspective, however, RaDR fundamentally alters the scaling law of distribution regression by reducing the dominant training-bag bottleneck to the same linear scaling exhibited by testing bags.
5.5 Real-world experiments
Table 2: Dataset information summary for the 41 real-world benchmark datasets.
| Name | Type | # Datasets | Dimension | Bag Size | # Bags |
|---|---|---|---|---|---|
| Musk | molecular activity | 1 | 166 | 2 – 40 | 92 |
| Mutagenesis | molecular activity | 2 | 7 | 26 – 88 | 42 – 188 |
| Protein | molecular activity | 1 | 8 | 35 – 189 | 193 |
| Animal | Image Annotation | 3 | 230 | 1 – 13 | 200 |
| Corel | Image Annotation | 20 | 9 | 2 – 13 | 2000 |
| UCSB Breast Cancer | Histopathology Analysis | 1 | 708 | 21 – 40 | 58 |
| Birds | Audio Classification | 13 | 38 | 2 – 43 | 548 |
We evaluate RaDR and its adaptive variants on a diverse collection of 41 real-world multi-instance learning datasets spanning molecular activity prediction, image annotation, histopathology analysis, and audio classification tasks. The benchmark suite includes the Musk and Mutagenesis datasets (Dietterich et al., 1997; Srinivasan et al., 1995), the Protein dataset (Tao et al., 2004), the
Table 3: Average real-data benchmark performance over 41 complete MIL datasets. Reported values are mean ± propagated standard error. The top 4 accuracy and the fastest training time are marked in bold.
| Algorithm | Accuracy | Training Time (s) |
|---|---|---|
| KME_Linear | ||
| KME_Gaussian | ||
| AKME_DV_Linear | ||
| AKME_DV_Gaussian | ||
| AKME_MDKE_Linear | ||
| AKME_MDKE_Gaussian | ||
| DeS | ||
| SeT_SAB | ||
| SeT_ISAB | ||
| RaDR_Linear | ||
| RaDR_Gaussian | ||
| A-RaDR_KA_Linear | ||
| A-RaDR_KA_Gaussian | ||
| A-RaDR_LS_Linear | ||
| A-RaDR_LS_Gaussian | ||
| A-RaDR_DV_Linear | ||
| A-RaDR_DV_Gaussian | ||
| RaDR_Gaussian_low | ||
| A-RaDR_KA_Gaussian_low | ||
| A-RaDR_LS_Gaussian_low | ||
| A-RaDR_DV_Gaussian_low | ||
| Gaussian_low_Average |
Performance Frontier Across 4 Algorithm Groups

Figure 5: The performance frontier (best accuracy) across the four algorithm groups. X-axis represents the relative training speed up over KME_Gaussian algorithm, computed as KME_Gaussian Runtime/Algorithm Runtime. A-RaDR frontier strikes a balance between computation and performance, ranking second in both criteria.
Elephant, Fox, and Tiger image datasets (Andrews et al., 2003), twenty Corel image annotation datasets (Chen et al., 2006), the UCSB Breast Cancer dataset (Kandemir et al., 2014), and thirteen bird-species audio classification datasets (Briggs et al., 2012). These datasets exhibit substantial diversity in both feature dimensionality and bag structure, ranging from small image collections to large molecular and audio datasets, thereby providing a comprehensive assessment of predictive performance and computational scalability. We exclude the Musk2 dataset from the final benchmark because its extremely large bag sizes (up to 1,044 instances per bag) cause memory failures for both exact kernel mean embedding methods and Set Transformer baselines. Table 2 provides a summary for all 41 benchmark datasets.
The benchmark is carried out over the full set of algorithms presented in Table 1. Moreover, we introduce a set of low random feature variants to the RaDR and A-RaDR framework to further highlight the efficiency benefit in subsecond territory. Specifically, unlike standard RaDR and A-RaDR algorithms with 256 random features and pool size of 2048, the _low variants only use 16 random features for the prediction tasks, and 160 random features for the A-RaDR pool.
Figure 5, and Table 3 summarize the average predictive accuracy and computational cost across all datasets. We point out several important observations. First, with careful tuning, exact kernel distribution regression remains the strongest statistical benchmark. In particular, KME_Gaussian achieves the highest average predictive accuracy among all methods considered. However, the per-formance gap between exact kernel methods and the best random-feature-based approaches is small. The strongest A-RaDR variants achieve average accuracies exceeding 0.936, remaining within less than half a percentage point of KME_Gaussian while operating in a finite-dimensional representation space. These results indicate that RaDR successfully preserves the predictive advantages of kernel distribution regression despite replacing expensive kernel evaluations with random feature approximations.
More importantly, the adaptive random feature variants emerge as the strongest practical competitors to exact kernel methods. Among all non-KME approaches, A-RaDR_KA_Gaussian achieves the highest average accuracy, followed closely by A-RaDR_DV_Gaussian and A-RaDR_LS_Gaussian. At the same time, these methods require only one to three seconds of average training time, compared with nearly five minutes for exact kernel distribution regression. Consequently, the proposed A-RaDR framework occupies a particularly attractive operating regime, delivering predictive performance that is nearly indistinguishable from the strongest kernel methods while reducing computational cost by over two orders of magnitude.
For adaptive kernel learning methods, although AKME_DV and AKME_MDKE attempt to improve performance by directly optimizing kernel hyperparameters, their predictive performance remains noticeably below both RaDR and A-RaDR while still requiring tens of seconds of training time. This observation is particularly interesting for the distribution variance objective. While AKME_DV directly optimizes the kernel using the same underlying criterion employed by A-RaDR_DV, the score-based random feature framework produces substantially stronger predictive performance together with dramatically lower computational cost. These results suggest that controlling the effective kernel through adaptive random feature selection may be a more effective strategy than directly optimizing kernel parameters themselves.
The deep learning baselines exhibit competitive predictive performance, with Set Transformer in particular achieving accuracy levels comparable to several A-RaDR variants. However, these gains come at a substantially higher computational cost. Moreover, unlike RaDR, both Set Transformer and kernel-based methods inherit quadratic computation growth with respect to bag size due to the underlying attention or kernel computations. This characteristic limits the ability to trade computation for memory through mini-batching or related implementation techniques, which is one of the primary mechanisms that enables modern deep learning methods to scale. In contrast, RaDR maintains a fixed-dimensional representation throughout training and prediction, resulting in substantially lower memory requirements and more favorable scaling behavior as bag sizes increase.
The low-feature variants provide additional insight into the role of adaptive random feature selection. A-RaDR in low random feature count regime continues to deliver advantages in performance. Moreover, its computational overhead becomes milder in this regime. For example, in the Gaussian-kernel setting, A-RaDR_KA_Gaussian_low and A-RaDR_DV_Gaussian_low achieve statistically meaningful improvements over RaDR_Gaussian_low while increasing average training time only marginally, from approximately 0.48 seconds to 0.56 seconds. This result demonstrates that adaptive feature selection can provide measurable performance gains in low-feature regimes at an almost negligible additional computational cost.
Taken together, these results provide strong empirical support for the central premise of this paper. Exact kernel distribution regression remains an exceptionally effective statistical learning framework, but its computational requirements become increasingly restrictive on large-scale problems. RaDR preserves nearly all of the predictive performance of kernel distribution regression while reducing computational cost by several orders of magnitude. Furthermore, A-RaDR provides a practical mechanism for further improving predictive performance, particularly when the random feature budget is constrained. Across a diverse collection of 41 real-world datasets, RaDR and A-RaDR frameworks consistently achieve one of the most favorable accuracy-runtime tradeoffs among all competing methods.
6 Discussion and Conclusion
In this paper, we investigated two longstanding challenges in distribution regression: scalability and adaptivity. Building on existing computational formulations, which we refer to as Random Feature Distribution Regression (RaDR), we developed a finite-sample analysis under two-stage sampling. Our analysis separates distribution-level sampling error, finite within-bag sampling error, and random feature approximation error. It also establishes sufficient feature-budget conditions for preserving the order of our exact two-stage excess-risk upper bound. We further developed Adaptive Random Feature Distribution Regression (A-RaDR), a unified score-guided framework that incorporates task-aware feature selection to improve representation quality while maintaining computational efficiency. Through theoretical analysis and extensive empirical studies, we demonstrated that scalable and adaptive distribution regression can be achieved simultaneously within a principled random feature framework.
We believe several interesting directions could follow this work. Extending the excess-risk analysis to data-dependent feature selection would help explain how the adaptation criterion and candidate-pool size affect predictive performance. Further analysis could also address nonlinear distribution kernels and classification, connecting the theoretical guarantees more closely to the prevalent empirical settings in distribution regression. The incremental structure of random feature mean embeddings additionally motivates studying how sampling error, feature selection, and model updates interact in streaming settings. Such developments would extend the present analysis to a broader class of learning objectives and evolving distribution-valued data.
A Technical Details
This appendix provides the assumptions, auxiliary lemmas, and proofs supporting Section 3 and 4. Our theoretical analysis is based on the linear outer kernel
for simplicity. Extensions to nonlinear outer kernels require an additional perturbation layer for the outer kernel and we leave that analysis for future works. The one-stage and two-stage kernel regression results is heavily inspired by the proof of Szabó et al. (2015), and they build the groundwork for our third stage analysis.
A.1 Assumptions and auxiliary objects
Throughout the appendix, the latent pairs are independent and identically distributed according to a probability measure . Its marginal on distributions is denoted by , and
Conditional on the latent pairs, the observations within each bag are independent samples from , and the bags are conditionally independent. In particular, conditional on , the sampling of the observed bag is independent of . We use the balanced setting .
The random features (aside from selected features in A-RaDR) are independent of the training data. The regularization parameter is considered to be deterministic. Population risks are evaluated on an independent latent pair . All kernels and feature maps are assumed measurable, and the RKHS-valued expectations below are well defined. We first present the set of assumptions.
Assumption 1. There exist constants and such that
Assumption 2. The instance domain is compact, with diameter
The base kernel is continuous, real-valued, positive definite, and shift-invariant, with and spectral probability measure . Moreover,
The dimension, kernel parameters, and domain are considered fixed in the asymptotic statements.
Assumption 3. Let denote the covariance operator
(46) where . There exist , , , and such that
and the effective dimension
satisfies
Remark 2. The compact-domain and spectral assumptions are required for the uniform RF approximation result. The exact-kernel finite-bag perturbation argument needs only boundedness and the stated sampling model. The source-capacity condition is required to establish a one-stage statistical baseline.
A.2 One-stage exact-kernel baseline
The perturbation analysis requires establishing a one-stage KRR bound as an input. The one-stage estimator observes the true distribution embeddings and is defined by
Assumption 4. For the sample sizes, regularization parameters, and confidence levels under consideration, there is a nonnegative function such that
We further assume that any assumptions that establish the above bound will hold in the proceeding perturbation analysis, such that the results will carry over to the two-stage risk bound.
Remark 3. Under Assumptions 1 and 3, the one-stage KRR analysis of Caponnetto and De Vito (2007), with the corrections in Sutherland's Fixing an Error in Caponnetto and de Vito (2007) (arXiv:1702.02982), gives the following bound. There are constants , depending only on the fixed problem parameters, such that
provided that
The constants absorb the source radius, the effective-dimension constant, the kernel bound, and the bounded-output noise constants.
For fixed and a nonzero covariance operator, the choice
satisfies the sample-size condition for all sufficiently large n, since c > 1, and yields
This is one example of a practical bound that is compatible with our subsequent perturbation analysis. Other valid one-stage baselines can also be used.
A.3 Uniform random feature approximation
Write . We use the normalized random-bias cosine map in (3). For simplicity, we first define the error term .
Definition 2. For and , define
Theorem 5. Under Assumption 2,
For every fixed , there is a constant , depending only on and the fixed kernel and domain parameters, such that, for all sufficiently large ,
Proof. Proposition 2 of Sutherland and Schneider (2015), applied to the random-bias cosine construction, gives
(49)
The right-hand side is continuous and decreasing in , and diverges as . Therefore, if , the infimum in (48) is attained by the probability claim in (49).
For the edge case where , observe that
Consequently,
deterministically.
For the convergence rate of , choose and set
For sufficiently large , , and
Hence is a valid upper bound for all sufficiently large D, which proves the stated rate.
A.4 Concentration of empirical mean embeddings
Lemma 1. Under Assumption 1, there is a universal constant such that, for every distribution and ,
Consequently, with probability at least ,
Proof. Let . Independence and centering give
so . Replacing one observation changes by at most . The bounded-differences inequality therefore gives, with probability at least ,
Therefore, is a sufficient constant. Apply this bound conditionally to each training distribution with failure probability , and take a union bound gives (50).
A.5 Kernel perturbation at the bag level
For the rest of the appendix, denotes the empirical measure of training bag i. We use
In this part of the analysis, we assume training Gram entries are computed with empirical measures. For test vector entries, only the training argument is empirical unless a finite test bag is explicitly specified.
Lemma 2. On the event of Theorem 5, for all probability measures P and Q on X,
Proof. By definition,
and
Therefore,
Lemma 3. On the event of Lemma 1, for all ,
Moreover, for any test distribution P,
Proof. For the training Gram entry,
Add and subtract :
By Cauchy–Schwarz,
Since and , (50) gives
For the test vector entry,
Thus,
39
□
Lemma 4. On the event of Theorem 5, for all ,
and for any test distribution P,
Proof. We only need to prove (54) as the proof of (55) is identical. Since the empirical bags define probability measures, we can write
Therefore,
A.6 Matrix perturbation bounds
Define
Recall K denote the population distribution Gram matrix, the exact finite-bag Gram matrix, and the RF finite-bag Gram matrix.
The corresponding test vectors have components
Thus the three predictors evaluated on a true test distribution are
Lemma 5. Assume that the event of Lemma 3 holds. Then
and for every test distribution P,
Proof. Each entry of is bounded in absolute value by . Hence,
Similarly, each entry of is bounded by in absolute value, so
Lemma 6. Assume that the event of Lemma 4 holds. Then
and for every test distribution P,
Proof. Each entry of is bounded in absolute value by . Hence,
The test-vector bound follows in the same way because each component of is bounded by .
A.7 Predictor perturbation
Lemma 7. For any symmetric matrices and for which both shifted matrices are invertible,
Moreover, if A and B are positive semidefinite, then
Proof. The identity follows by direct multiplication. The inverse norm bound follows because all eigenvalues of and are at least when and are positive semidefinite.
Lemma 8. Assume the event of Lemma 5 holds. Then there exists a constant , depending only on and , such that for every test distribution ,
Proof. Set
Subtracting the one-stage estimator from the exact two-stage estimator gives
Denote these two terms by and .
For , using Cauchy–Schwarz, Lemma 7, and (57),
For , the resolvent identity in Lemma 7 gives
Therefore,
Each component of satisfies
so . Using and (56),
Combining the two bounds and absorbing constants into proves the claim.
Lemma 9. Assume the event of Lemma 6 holds. Then there exists a constant , depending only on and , such that for every test distribution ,
Proof. Set
Subtracting the exact two-stage predictor from the RF two-stage predictor gives
Denote these two terms by and .
For ,
For , the resolvent identity gives
Thus,
Since , we have . Combining this with and (58),
Combining the two bounds proves the claim.
Lemma 10. For squared loss,
Consequently, for any predictors f and g,
If , then
Proof. The identity (63) is the standard orthogonality identity for squared loss:
Now write
Using and integrating with respect to gives (64). The last claim follows from
A.8 Proofs of the exact two-stage and RF risk bounds
For , define the deterministic perturbation error
Lemmas 8 and 9 imply the corresponding uniform predictor bounds on events of probability at least . Moreover,
and
where C depends only on the fixed boundedness constants.
Proof of Theorem 1. Use failure probability for the one-stage baseline and for the training-bag concentration event. Their intersection has probability at least . On this intersection, Lemma 10 gives
The concentration term involves . Since and ,
Absorbing this numerical factor into proves (14).
43
□
Proof of Theorem 2. Allocate failure probability separately to: the one-stage baseline, the training-bag concentration event, and the uniform RF approximation event. A union bound gives simultaneous validity with probability at least ; independence of these events is not needed.
On their intersection, applying Lemma 10 twice gives
Finally,
Substituting the perturbation-radius bounds and absorbing fixed numerical factors into proves (15).
A.9 Population excess risk versus deployed empirical test bags
Theorems 1 and 2 are population statements computed on true test distributions . We now analyze the additional perturbation that appears when, at deployment time, a new test distribution is available only through a fresh bag. Conditional on the test distribution, this bag is independent of the training data, the random features, and the test response.
Let
Define the deployed predictors
Lemma 11. Under Assumption 1, for any fixed test distribution and any ,
Proof. Condition on the test distribution P. Then
The summands are centered Hilbert-space-valued random variables with norm at most . Apply Lemma 1 with sample size to obtain the result.
Proposition 6. Under Assumption 1, fix the training sample and a test distribution P. Then, with probability at least over the test bag, we have
Proof. By definition,
Thus,
We have
For each i,
Since , Lemma 11 implies
Therefore,
Substitution gives (66).
Lemma 12. For any fixed test distribution , any set of random features , and any , there exists a universal constant such that
Proof. Condition on P and on the realized random features. The random-bias cosine map satisfies
Thus,
The expectation and bounded-differences argument in Lemma 1, with feature-norm bound and sample size , gives the result. One may take .
Proposition 7. Under Assumption 1, fix the training sample, the realized random features, and a test distribution P. Then, with probability at least over the test bag,
Proof. By definition,
Hence,
For each i,
Since , Lemma 12 implies
Therefore,
Substitution proves (67).
Remark 4. The population excess-risk theorems measure generalization on true test distributions. The deployment perturbation bounds measure the additional pointwise error caused by replacing a true test distribution by a fresh empirical test bag. The latter contributes a separate term with only one factor of .
A.10 Proof of the no-loss result (Corollary 1)
Proof. Work under the assumptions of Theorem 2 and fix . Let , , and . Theorem 5 gives, for sufficiently large ,
Because and , there are constants such that, for all sufficiently large ,
Consequently,
Define
Theorem 2 therefore implies
with probability at least . Here must satisfy the chosen baseline conditions at confidence level .
For comparison, applying Theorem 1 with failure probability yields
with probability at least . Thus the two guarantees have the same upper-bound order under a common probability. Both estimates can also be controlled simultaneously on the three-event intersection used in the proof of Theorem 2.
For computation, use direct feature construction and dense linear algebra, with fixed instance dimension and fixed kernel parameters. Choosing the less expensive ridge formulation gives
When , the primal formulation and give
When , the dual formulation gives
The conventional dense exact-kernel implementation has cost
Therefore,
A.11 SVM perturbation details
The two-stage analysis above is specific to kernel ridge regression with squared loss. For SVM, the loss is the hinge loss. Here, we derive self-contained objective-perturbation results for two-stage distribution classification and its random-feature approximation.
Throughout this subsection, assume binary labels and define
The hinge loss is convex and 1-Lipschitz:
For , define the exact empirical SVM objective based on the latent bag embeddings by
The observable exact two-stage objective is
For the RF classifier, define
and
Lemma 13. Any minimizer of any one of the four objectives above satisfies the corresponding norm bound
Proof. We prove the RKHS case as the Euclidean case is identical. Evaluating the objective at gives value 1. By optimality of the minimizer ,
Since the hinge-loss term is nonnegative,
Therefore .
Lemma 14. Assume the event of Lemma 1. Define
Then for every ,
Similarly, on the corresponding bounded-vector concentration event for empirical RF means, for every ,
where
Proof. Since is 1-Lipschitz,
Applying Lemma 1 gives the claim. The RF statement follows in the same way, using .
Theorem 8. Let and be minimizers of and , respectively. On the event of Lemma 14, let
Then
Moreover,
Consequently, for every test distribution P,
Proof. By Lemma 13, both minimizers lie in the norm ball of radius . Therefore Lemma 14 gives
By optimality of for ,
Applying Lemma 14 again,
Combining the three inequalities gives
The lower bound follows because minimizes .
Next, is -strongly convex because of the quadratic regularizer. Hence,
Combining this with the objective gap bound gives the parameter perturbation bound. The score perturbation follows by Cauchy–Schwarz and .
Lemma 15. Assume the event of Lemma 4. For
define
and
Then for every ,
Proof. For feasible ,
Because , we have . Therefore
We now proceed to prove Proposition 3.
Proof. The entrywise argument in Lemma 15 is deterministic and applies directly with the approximation radius in the proposition, proving its first claim. Let and be maximizers of and over . Because maximizes ,
Using Lemma 15 at gives
Hence,
Repeating the same argument with the roles of and interchanged gives
Therefore the optimal dual objective values differ by at most . By strong duality for soft-margin SVM with quadratic regularization, the same objective-value perturbation holds for the corresponding primal optima.
A.12 Proof of Proposition 4
Proof. We first condition on the training data and a realized candidate pool, so that the feature vectors and score matrix are fixed. Substituting (29) into the trace objective gives
This proves (34). Since B is held fixed across subsets, maximizing the objective amounts to selecting the D largest scores. Indeed, if a selected score is smaller than an unselected one, exchanging the two increases the objective. Repeating this exchange produces a top-D subset.
The first D candidates form a feasible subset, and their Gram matrix is
The maximizing property of therefore gives
for every realized pool, including when B is constructed from that pool.
For the expectation statement, we further assume that B is fixed conditional on the training data and independent of the candidate pool. To identify the expected Gram matrix, consider any pair of bags i and j. By (24),
Here the second equality follows by averaging over the uniform phase and then the spectral measure, while the final equality uses the linear distribution kernel. Since the candidates are sampled independently from , we obtain
The score matrix can now be taken outside the conditional expectation, giving
Finally, taking expectations of the realized-pool inequality yields
which proves (36).
References and Notes
Jose E Adsuara, Adrián Pérez-Suay, Jordi Muñoz-Marí, Anna Mateo-Sanchis, Maria Piles, and Gustau Camps-Valls. Nonlinear distribution regression for remote sensing applications. IEEE Transactions on Geoscience and Remote Sensing, 57(12):10025–10035, 2019.
Stuart Andrews, Ioannis Tsochantaridis, and Thomas Hofmann. Support vector machines for multiple-instance learning. In The 2003 Advances in Neural Information Processing Systems, volume 15, Vancouver, Canada, Dec 2003.
Haim Avron, Michael Kapralov, Cameron Musco, Christopher Musco, Ameya Velingker, and Amir Zandieh. Random Fourier features for kernel ridge regression: Approximation bounds and statistical guarantees. In The 2017 International Conference on Machine Learning, Sydney, Australia, Aug 2017. PMLR.
Francis Bach. On the equivalence between kernel quadrature rules and random feature expansions. Journal of Machine Learning Research, 18(21):1–38, 2017.
Francis R Bach, Gert RG Lanckriet, and Michael I Jordan. Multiple kernel learning, conic duality, and the SMO algorithm. In The 2004 International Conference on Machine Learning, page 6, Banff, Canada, Jul 2004.
François Bachoc, Louis Béthune, Alberto González-Sanz, and Jean-Michel Loubes. Improved learning theory for kernel distribution regression with two-stage sampling. The Annals of Statistics, 53(4):1753–1782, 2025.
Yoshua Bengio, Ian Goodfellow, Aaron Courville, et al. Deep learning, volume 1. MIT press Cambridge, MA, USA, 2017.
Forrest Briggs, Balaji Lakshminarayanan, Lawrence Neal, Xiaoli Z. Fern, Raviv Raich, Sarah J. K. Hadley, Adam S. Hadley, and Matthew G. Betts. Acoustic classification of multiple simultaneous bird species: A multi-instance multi-label approach. The Journal of the Acoustical Society of America, 131(6):4640–4650, 2012.
Gabriele Campanella, Matthew G Hanna, Luke Geneslaw, Allen Miraflor, Vitor Werneck Krauss Silva, Klaus J Busam, Edi Brogi, Victor E Reuter, David S Klimstra, and Thomas J Fuchs. Clinical-grade computational pathology using weakly supervised deep learning on whole slide images. Nature Medicine, 25(8):1301–1309, 2019.
Andrea Caponnetto and Ernesto De Vito. Optimal rates for the regularized least-squares algorithm. Foundations of Computational Mathematics, 7(3):331–368, 2007. doi: 10.1007/s10208-006-0196-8.
Yixin Chen, Jinbo Bi, and James Z. Wang. MILES: Multiple-instance learning via embedded instance selection. IEEE Transactions on Pattern Analysis and Machine Intelligence, 28(12): 1931–1947, 2006.
Corinna Cortes, Mehryar Mohri, and Afshin Rostamizadeh. Two-stage learning kernel algorithms. In The 2010 International Conference on Machine Learning, Haifa, Israel, Jun 2010.
Corinna Cortes, Mehryar Mohri, and Afshin Rostamizadeh. Algorithms for learning kernels based on centered alignment. Journal of Machine Learning Research, 13:795–828, 2012.
Nello Cristianini, John Shawe-Taylor, Andre Elisseeff, and Jaz Kandola. On kernel-target alignment. In The 2001 Advances in Neural Information Processing Systems, volume 14, British Columbia, Canada, Dec 2001.
Don Dennis, Chirag Pabbaraju, Harsha Vardhan Simhadri, and Prateek Jain. Multiple instance learning for efficient sequential data classification on resource-constrained devices. In The 2018 Advances in Neural Information Processing Systems, volume 31, Montréal, canada, Dec 2018.
Thomas G Dietterich, Richard H Lathrop, and Tomás Lozano-Pérez. Solving the multiple instance problem with axis-parallel rectangles. Artificial Intelligence, 89(1-2):31–71, 1997.
Petros Drineas, Malik Magdon-Ismail, Michael W Mahoney, and David P Woodruff. Fast approximation of matrix coherence and statistical leverage. Journal of Machine Learning Research, 13(1):3475–3506, 2012.
Seth R Flaxman, Yu-Xiang Wang, and Alexander J Smola. Who supported Obama in 2012? Ecological inference through distribution regression. In The 2015 ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 289–298, Sydney, Australia, Aug 2015.
James Foulds and Eibe Frank. A review of multi-instance learning assumptions. The Knowledge Engineering Review, 25(1):1–25, 2010.
Mehmet Gönen and Ethem Alpaydin. Multiple kernel learning algorithms. Journal of Machine Learning Research, 12:2211–2268, 2011.
Trevor Hastie, Robert Tibshirani, Jerome Friedman, et al. The elements of statistical learning: Data mining, inference, and prediction, 2009.
Thomas Hofmann, Bernhard Schölkopf, and Alexander J Smola. Kernel methods in machine learning. The Annals of Statistics, 36(3):1171–1220, 2008.
Maximilian Ilse, Jakub Tomczak, and Max Welling. Attention-based deep multiple instance learning. In The 2018 International Conference on Machine Learning, Stockholm, Sweden, Jul 2018. PMLR.
Oleksii Kachaiev and Stefano Recanatesi. Learning to embed distributions via maximum kernel entropy. In The 2024 Advances in Neural Information Processing Systems, volume 37, Vancouver, Canada, Dec 2024.
Melih Kandemir, Chong Zhang, and Fred A. Hamprecht. Empowering multiple instance histopathology cancer diagnosis by cell graphs. In The 2014 International Conference on Medical Image Computing and Computer-Assisted Intervention, Boston, USA, Sep 2014. Springer.
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
Gert RG Lanckriet, Nello Cristianini, Peter Bartlett, Laurent El Ghaoui, and Michael I Jordan. Learning the kernel matrix with semidefinite programming. Journal of Machine Learning Research, 5(Jan):27–72, 2004.
Ho Chung Leon Law, Danica J Sutherland, Dino Sejdinovic, and Seth Flaxman. Bayesian approaches to distribution regression. In The 2018 International Conference on Artificial Intelligence and Statistics, pages 1167–1176, Canary Islands, Spain, Apr 2018. PMLR.
Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. nature, 521(7553):436–444, 2015.
Juho Lee, Yoonho Lee, Jungtaek Kim, Adam Kosiorek, Seungjin Choi, and Yee Whye Teh. Set transformer: A framework for attention-based permutation-invariant neural networks. In The 2019 International Conference on Machine Learning, Long Beach, USA, Jun 2019. PMLR.
Mu Li, Wei Bi, James T Kwok, and Bao-Liang Lu. Large-scale Nyström kernel matrix approximation using randomized SVD. IEEE Transactions on Neural Networks and Learning Systems, 26(1):152–164, 2014.
Zhu Li, Jean-Francois Ton, Dino Oglic, and Dino Sejdinovic. Towards a unified analysis of random Fourier features. In The 2019 International Conference on Machine Learning, pages 3905–3914, Long Beach, USA, Jun 2019. PMLR.
Zhu Li, Jean-Francois Ton, Dino Oglic, and Dino Sejdinovic. Towards a unified analysis of random Fourier features. Journal of Machine Learning Research, 22(108):1–51, 2021.
Michael W Mahoney. Randomized algorithms for matrices and data. Foundations and Trends in Machine Learning, 3(2):123–224, 2011.
Oded Maron and Tomás Lozano-Pérez. A framework for multiple-instance learning. In The 1997 Advances in Neural Information Processing Systems, volume 10, Denver, USA, Dec 1997.
Dimitri Meunier, Massimiliano Pontil, and Carlo Ciliberto. Distribution regression with sliced Wasserstein kernels. In The 2022 International Conference on Machine Learning, Baltimore, USA, Jul 2022. PMLR.
Jovana Mitrovic, Dino Sejdinovic, and Yee-Whye Teh. DR-ABC: Approximate Bayesian computation with kernel-based distribution regression. In The 2016 International Conference on Machine Learning, pages 1482–1491, New York, USA, Jun 2016. PMLR.
Krikamol Muandet, Kenji Fukumizu, Francesco Dinuzzo, and Bernhard Schölkopf. Learning from distributions via support measure machines. In The 2012 Advances in Neural Information Processing Systems, volume 25, Long Beach, USA, Dec 2012.
Krikamol Muandet, David Balduzzi, and Bernhard Schölkopf. Domain generalization via invariant feature representation. In The 2013 International Conference on Machine Learning, Atlanta, USA, Jun 2013. PMLR.
Krikamol Muandet, Kenji Fukumizu, Bharath Sriperumbudur, and Bernhard Schölkopf. Kernel mean embedding of distributions: A review and beyond. Foundations and Trends in Machine Learning, 10(1-2):1–141, 2017.
Barnabás Póczos, Alessandro Rinaldo, Aarti Singh, and Larry Wasserman. Distribution-free distribution regression. In The 2013 International Conference on Artificial Intelligence and Statistics, Scottsdale, USA, Apr 2013. PMLR.
Ali Rahimi and Benjamin Recht. Random features for large-scale kernel machines. In The 2007 Advances in Neural Information Processing Systems, volume 20, Vancouver, Canada, Dec 2007.
Alessandro Rudi and Lorenzo Rosasco. Generalization properties of learning with random features. In The 2017 Advances in Neural Information Processing Systems, volume 30, Long Beach, USA, Dec 2017.
Walter Rudin. Fourier analysis on groups. Courier Dover Publications, 2017.
Shahin Shahrampour, Ahmad Beirami, and Vahid Tarokh. On data-dependent random features for improved generalization in supervised learning. In The 2018 AAAI Conference on Artificial Intelligence, volume 32, New Orleans, USA, Sep 2018.
Carl-Johann Simon-Gabriel and Bernhard Schölkopf. Kernel distribution embeddings: Universal kernels, characteristic kernels and kernel metrics on distributions. Journal of Machine Learning Research, 19(44):1–29, 2018.
Aman Sinha and John C Duchi. Learning kernels with random features. In The 2016 Advances in Neural Information Processing Systems, volume 29, Barcelona, Spain, Dec 2016.
Alex Smola, Arthur Gretton, Le Song, and Bernhard Schölkopf. A Hilbert space embedding for distributions. In The 2007 International Conference on Algorithmic Learning Theory, Sendai, Japan, Oct 2007. Springer.
Alexander J Smola and Bernhard Schölkopf. Learning with kernels, volume 4. GMD-Forschungszentrum Informationstechnik Berlin, Germany, 1998.
Sören Sonnenburg, Gunnar Rätsch, Christin Schäfer, and Bernhard Schölkopf. Large scale multiple kernel learning. The Journal of Machine Learning Research, 7:1531–1565, 2006.
Ashwin Srinivasan, Stephen Muggleton, and Ross D. King. Comparing the use of background knowledge by inductive logic programming systems. In The 1995 International Workshop on Inductive Logic Programming, Leuven, Belgium, Sep 1995.
Bharath K Sriperumbudur, Arthur Gretton, Kenji Fukumizu, Bernhard Schölkopf, and Gert RG Lanckriet. Hilbert space embeddings and metrics on probability measures. Journal of Machine Learning Research, 11:1517–1561, 2010.
Bharath K Sriperumbudur, Kenji Fukumizu, and Gert RG Lanckriet. Universality, characteristic kernels and RKHS embedding of measures. Journal of Machine Learning Research, 12(7):2389–2410, 2011.
Yitong Sun, Anna Gilbert, and Ambuj Tewari. But how does it work in theory? Linear SVM with random features. In The 2018 Advances in Neural Information Processing Systems, volume 31, Montréal, canada, Dec 2018.
Danica J. Sutherland and Jeff Schneider. On the error of random fourier features. In The 2015 Conference on Uncertainty in Artificial Intelligence, page 862–871, Arlington, Virginia, USA, 2015.
Zoltán Szabó, Arthur Gretton, Barnabás Póczos, and Bharath Sriperumbudur. Two-stage sampled learning theory on distributions. In The 2015 International Conference on Artificial Intelligence and Statistics, San Diego, USA, May 2015. PMLR.
Zoltán Szabó, Bharath K Sriperumbudur, Barnabás Póczos, and Arthur Gretton. Learning theory for distribution regression. Journal of Machine Learning Research, 17(152):1–40, 2016.
Qingping Tao, Stephen Scott, N. V. Vinodchandran, and Thomas Takeo Osugi. SVM-based generalized multiple-instance learning via approximate box counting. In The 2004 International Conference on Machine Learning, page 101, Banff, Canada, Jul 2004. ACM.
Daan Van Hauwermeiren, Michiel Stock, Thomas De Beer, and Ingmar Nopens. Predicting pharmaceutical particle size distributions using kernel mean embedding. Pharmaceutics, 12(3):271, 2020.
Vladimir N Vapnik. The support vector method. In The 1997 International Conference on Artificial Neural Networks, Lausanne, Switzerland, Oct 1997. Springer.
Vladimir N Vapnik. An overview of statistical learning theory. IEEE Transactions on Neural Networks, 10(5):988–999, 1999.
Di Wang, Ping Wang, Cong Wang, Shuo Zhuang, and Junzhi Shi. A conformal prediction inspired approach for distribution regression with random Fourier features. Applied Soft Computing, 97:106807, 2020.
Yinsong Wang and Shahin Shahrampour. Orcca: Optimal randomized canonical correlation analysis. IEEE Transactions on Neural Networks and Learning Systems, 34(8):5024–5036, 2021.
Christopher KI Williams and Matthias Seeger. Using the Nyström method to speed up kernel machines. In The 2000 Advances in Neural Information Processing Systems, Denver, USA, Dec 2001. MIT Press.
Tianbao Yang, Yu-Feng Li, Mehrdad Mahdavi, Rong Jin, and Zhi-Hua Zhou. Nystrom method vs random Fourier features: A theoretical and empirical comparison. In The 2012 Advances in Neural Information Processing Systems, volume 25, Lake Tahoe, USA, Dec 2012.
Manzil Zaheer, Satwik Kottur, Siamak Ravanbakhsh, Barnabas Poczos, Russ R Salakhutdinov, and Alexander J Smola. Deep sets. In The 2017 Advances in Neural Information Processing Systems, volume 30, Long Beach, USA, Dec 2017.
Kai Zhang, Ivor W Tsang, and James T Kwok. Improved Nyström low-rank approximation and error analysis. In The 2008 International Conference on Machine Learning, Helsinki, Finland, Jul 2008.
Tong Zhang. Learning bounds for kernel regression using effective data dimensionality. Neural Computation, 17(9):2077–2098, 2005. doi: 10.1162/0899766054323008.
Xiao Zhang and Shizhong Liao. Incremental randomized sketching for online kernel learning. In The 2019 International Conference on Machine Learning, Long Beach, USA, Jun 2019. PMLR.