Generating Poisoning Attacks against Ridge Regression Models with Categorical Features

Monse Guedes-Ayala, Lars Schewe, Zeynep Suvak, Miguel Anjos
1/13/2025
cs.LGmath.OC

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{guedesayala2025generating,
  title  = {Generating Poisoning Attacks against Ridge Regression Models with Categorical Features},
  author = {Monse Guedes-Ayala and Lars Schewe and Zeynep Suvak and Miguel Anjos},
  year   = {2025},
  eprint = {2501.07275},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.07275v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.07275.svg)](https://codeofpaper.com/paper/2501.07275)

Discussion