                                   On the Adversarial Robustness of Multi-Kernel Clustering



a novel black-box adversarial attack framework specifically           et al., 1998) kernels. The quality of the kernel matrix signif-

designed for MKC. The framework leverages RL techniques,              icantly influences clustering performance, making kernel se-

particularly proximal policy optimization (Schulman et al.,           lection a key challenge. MKC addresses this by combining

2017), to address the inefficiency caused by unstable clus-           multiple kernels to generate Nk kernel matrices {Kk }N     k

                                                                                                                                k=1 .

tering results by employing the advantage function (Pan

                                                                      Multi-Kernel K-Means (MKKM) (Huang et al., 2012), a

et al., 2022; Babaeizadeh et al., 2017) during optimization.

                                                                      powerful MKC method, assigns weights γ ∈ RNk to each

To further enhance efficiency and reduce computational

                                                                      kernel and optimizes the following objective:

costs, AdvMKC introduces a generator-clusterer frame-

work. In this setup, the generator produces adversarial per-                     min Tr Kγ (IN − HH⊤ ) ,

                                                                                                            

turbations, while the clusterer approximates the behavior                        H,γ

                                                                                                                        (2)

of MKC methods, significantly minimizing the need for re-                        s.t. H⊤ H = IK , γ ⊤ 1 = 1, γ ≥ 0,

peated clustering operations during the attack process. Our                                                      PNk

main contributions are summarized as follows:                         where IK is a K × K identity matrix, Kγ = k=1    γk K k

                                                                      represents the weighted kernel combination, and H ∈

• To the best of our knowledge, this is the first study to            RN ×K is obtained through eigen decomposition of Kγ .

  evaluate the adversarial robustness of MKC methods in

                                                                      MKC is particularly well-suited for multi-view data, where a

  the black-box setting. We assume an attacker injects im-

                                                                      single object is represented by features from diverse sources.

  perceptible, intentional perturbations to mislead unknown

                                                                      For multi-view data X = {X1 , . . . , XNd }, applying mul-

  MKC methods, leading to erroneous clustering results.

                                                                      tiple kernel functions to each view yields Nk = Nd × |K|

• We propose AdvMKC, a novel reinforcement-learning-                  kernel matrices, where Nd is the number of views and |K|

  based adversarial attack framework consisting of a pertur-          is the number of kernel functions.

  bation generator and a clusterer. The generator creates ad-

  versarial perturbations, while the clusterer mimics MKC             2.2. Adversarial Attacks on Clustering

  behavior to accelerate optimization.

                                                                      Research on adversarial attacks against clustering has pre-

• We provide theoretical insights into the impact of adver-           dominantly focused on traditional methods operating in the

  sarial perturbations on MKC performance and validate                original feature space. Early studies demonstrated that ad-

  these findings through empirical evaluations.                       versarially positioning samples near cluster boundaries can

                                                                      lead to mis-clustering (Dutrisac & Skillicorn, 2008; Skil-

• We conduct extensive experiments on seven benchmark                 licorn, 2009). For example, Biggio et al. (2013) attacked

  datasets and eleven MKC methods (seven traditional and              hierarchical clustering, while Crussell et al. (2015) dis-

  four robust methods) to demonstrate the effectiveness,              rupted DBSCAN by merging clusters. Similarly, Chhabra et

  robustness, and transferability of AdvMKC.                          al. (2020) highlighted K-Means’ vulnerability to boundary

                                                                      perturbations, and Cinà (2022) proposed a black-box attack

2. Background and Related Work                                        using genetic algorithms to generate perturbations without

                                                                      knowledge of the clustering algorithm.

2.1. Multi-Kernel Clustering

                                                                      Adversarial attacks on MKC, however, remain underex-

MKC enhances clustering performance by overcoming the                 plored. Huang et al. (2024) introduced adversarial methods

limitations of traditional methods such as K-Means (Mac-              for multi-view clustering using generative adversarial net-

Queen et al., 1967) and spectral clustering (Ng et al., 2001),        works (GANs) to disrupt view complementarity and con-

which rely on single similarity measures and struggle with            sistency. However, their approach is inapplicable to MKC

the complexity of multi-view datasets (Yang et al., 2024;             due to the absence of feedback mechanisms required to op-

Liang et al., 2024a; Liu et al., 2022a;b). By integrating             timize GAN parameters. This gap underscores the need

multiple kernels, each capturing distinct data characteristics,       for novel methods to systematically evaluate the adversarial

MKC achieves improved accuracy and robustness.                        robustness of MKC methods.

For single-view data X ∈ RN ×d , where N is the number                Due to space constraints, related work on RL for adversarial

of samples, K is the number of clusters, and d is the fea-            attacks is discussed in Appendix 3.

ture dimension, a nonlinear mapping ϕ(·) projects X into a

reproducing kernel Hilbert space. The kernel matrix is:

                                                                      3. Reinforcement Learning on Adversarial

            Ki,j = κ(xi , xj ) = ϕ⊤ (xi )ϕ(xj ),            (1)          Attacks

where κ(·, ·) is a positive semi-definite kernel function, such       Reinforcement learning (RL) has shown success in tackling

as Gaussian (Babaud et al., 1986) or polynomial (Smola                challenges across various domains, including adversarial ro-



                                                                  2

