Robust Bayesian Regression via Hard Thresholding

Fan Zheyi, Zhaohui Li, Qingpei HuNeurIPS 2022

Introduction

Standard linear regression is a foundational statistical tool, yet it is notoriously fragile. A small number of malicious data points or outliers can completely skew its results. While Robust Least-Squares Regression (RLSR) techniques have been developed to handle random outliers, they exhibit a critical vulnerability: they frequently fail against Adaptive Adversarial Attacks (AAA).

In this paper, the authors introduce two novel algorithms—TRIP and BRHT—that combine Bayesian prior information with hard thresholding. By utilizing a prior as a mathematical anchor, these methods significantly increase the "breakdown point" of linear regression, allowing the model to recover true parameters even when a large portion of the data has been maliciously corrupted.

The Challenge of Adaptive Adversarial Attacks

In a standard corruption scenario, noise is often random. However, in an Adaptive Adversarial Attack, an attacker does not just add arbitrary noise; they analyze the dataset and the model's logic to craft specific corruptions designed to maximize deviation.

Most existing robust algorithms have a low breakdown point in these adversarial scenarios, meaning they collapse after only a tiny percentage of the data is compromised. The authors identify that the missing piece in current robust methods is prior knowledge. Without a baseline "sense" of what the parameters should look like, it is mathematically difficult for an algorithm to distinguish between a legitimate high-variance data point and a cleverly crafted adversarial one.

Methodology: Anchoring with Bayesian Priors

To counter adaptive attacks, the authors propose two primary algorithms that integrate Bayesian principles into a hard thresholding framework. Hard thresholding is an iterative process where the algorithm repeatedly identifies and discards points it suspects to be corrupt.

1. TRIP (hard Thresholding approach to Robust regression with sImple Prior)

TRIP introduces a simple Gaussian prior to the regression coefficients. During the hard thresholding iterations, this prior acts as a regularization term. In the presence of an adaptive enemy where the data itself is no longer fully trustworthy, the prior serves as a "ground truth" anchor. This prevents the optimization process from drifting toward the fake solutions suggested by adversarial data.

2. BRHT (robust Bayesian Reweighting regression via Hard Thresholding)

While TRIP is effective, relying on a simple prior can sometimes introduce estimation bias. To refine the model, the authors developed BRHT, which employs Bayesian reweighting. Instead of strictly discarding suspicious points, BRHT uses Variational Bayes Expectation Maximization (VBEM) to assign continuous weights to each sample. This allows the model to "softly" ignore suspicious points, reducing the estimation bias while maintaining robustness. Furthermore, BRHT demonstrates flexibility; it remains robust even when the choice of prior distribution (e.g., Gamma, Beta, or Log-normal) is not perfectly matched to the data.

Experimental Setup

The authors evaluated their algorithms using controlled, high-dimensional simulated datasets—a standard practice for testing theoretical robustness limits. The tests utilized synthetic linear models with data matrices of dimensions such as $1000 \times 200$ or $2000 \times 100$.

The algorithms were subjected to three primary corruption scenarios:

  • OAA (Oblivious Adversarial Attack): Randomly generated sparse corruptions.
  • AAA (Adaptive Adversarial Attack): Corruptions specifically designed to mimic the model's logic and cause maximum deviation.
  • LPA (Leverage Point Attack): Attacks targeting the influence of specific, high-leverage data points.

Key Findings and Performance

The integration of Bayesian priors yielded significant improvements over existing state-of-the-art methods:

  • Resistance to Collapse: Under severe AAA conditions, standard robust methods like Consistent Robust Regression (CRR) saw their error rates skyrocket once corruption passed a certain threshold. In contrast, TRIP and BRHT maintained low estimation errors even at high corruption levels.
  • Superior Accuracy: In almost all adaptive attack experiments, BRHT achieved the lowest $L_2$ error compared to benchmark algorithms like RRBR and Rob-ULA.
  • Linear Convergence: Despite the added mathematical complexity of Bayesian reweighting, the authors proved that their algorithms converge at a linear rate. In practice, the algorithms demonstrated stable convergence within a reasonable number of iterations (typically under 50–100 steps), proving that enhanced robustness does not require prohibitive computational costs.

Limitations and Future Directions

While TRIP and BRHT represent a significant step forward in robust regression, the authors note a few limitations. First, the current study focuses primarily on corruption in the response variables ($y$). Handling scenarios where both the features ($X$) and responses ($y$) are corrupted simultaneously remains a complex challenge for future research.

Second, while the methods are robust, they still rely on a prior that is reasonably accurate. If the prior is completely mis-specified, it can introduce a consistent bias into the final estimate. Future work will focus on further reducing the effect of the prior on the final estimation to make the result "consistent"—converging exactly to the true value as data size increases—while maintaining the high breakdown point against adversarial attacks.

Summary updated

BibTeX
@inproceedings{zheyi2022robust,
  author = {Fan Zheyi and Zhaohui Li and Qingpei Hu},
  title = {{Robust Bayesian Regression via Hard Thresholding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=krV1UM7Uw1},
}
Figure