arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.07275cs.LGmath.OC
收藏

针对含类别特征的岭回归模型生成投毒攻击

Generating Poisoning Attacks against Ridge Regression Models with Categorical Features

Monse Guedes-Ayala, Lars Schewe, Zeynep Suvak, Miguel Anjos

AI总结:

本研究针对含数值与类别特征的岭回归模型,提出将类别特征建模为SOS-1集、基于KKT条件重构的双层优化投毒攻击算法,实验显示其相较基准方法在所有数据集上均提升了投毒导致的均方误差,可为防御策略设计提供支撑。

摘要:

机器学习(ML)模型已成为从大型数据集中提取信息并利用其做出准确预测和自动化决策的强大工具。然而,ML模型易受外部攻击,导致性能下降或偏离预期任务。攻击ML模型的一种方式是在训练阶段注入恶意数据以误导算法,这被称为投毒攻击。我们可以通过设计预期攻击来为此类情况做准备,这些攻击后续可用于制定和测试防御策略。\n本文提出了一种针对同时包含数值特征和类别特征的岭回归模型的强投毒攻击生成算法,该算法显式地对类别特征进行建模并实施投毒。我们将类别特征建模为SOS-1(特殊有序集类型1)集合,并将投毒攻击设计问题构建为一个双层优化问题:上层为非凸混合整数问题,下层为无约束凸二次问题。我们给出了该问题的数学表述,引入了基于下层Karush-Kuhn-Tucker(KKT)条件的单层重构方法,找到了下层变量的界以提升求解器性能,并提出了一种针对类别特征投毒的新算法。数值实验表明,与文献中已有的基准方法相比,我们的方法在所有数据集上均提升了均方误差。

英文摘要:

Machine Learning (ML) models have become a very powerful tool to extract information from large datasets and use it to make accurate predictions and automated decisions. However, ML models can be vulnerable to external attacks, causing them to underperform or deviate from their expected tasks. One way to attack ML models is by injecting malicious data to mislead the algorithm during the training phase, which is referred to as a poisoning attack. We can prepare for such situations by designing anticipated attacks, which are later used for creating and testing defence strategies. In this paper, we propose an algorithm to generate strong poisoning attacks for a ridge regression model containing both numerical and categorical features that explicitly models and poisons categorical features. We model categorical features as SOS-1 sets and formulate the problem of designing poisoning attacks as a bilevel optimization problem that is nonconvex mixed-integer in the upper-level and unconstrained convex quadratic in the lower-level. We present the mathematical formulation of the problem, introduce a single-level reformulation based on the Karush-Kuhn-Tucker (KKT) conditions of the lower level, find bounds for the lower-level variables to accelerate solver performance, and propose a new algorithm to poison categorical features. Numerical experiments show that our method improves the mean squared error of all datasets compared to the previous benchmark in the literature.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑