Skip to main content
QUICK REVIEW

[Paper Review] Improving LIME Robustness with Smarter Locality Sampling

Sean Saito, Eugene Chua|arXiv (Cornell University)|Jun 22, 2020
Explainable Artificial Intelligence (XAI)Computer Science10 references9 citations
TL;DR

This paper proposes CTGAN-LIME, a robust LIME variant that replaces LIME's naive Gaussian sampling with a Conditional Tabular GAN (CTGAN) to generate more realistic synthetic data for explanation. By training the CTGAN to fool a critic network into classifying synthetic samples as real, the method improves detection of biased, adversarial behavior—achieving up to 99.94% top-1 accuracy in identifying harmful model behavior while maintaining explanation quality comparable to vanilla LIME.

ABSTRACT

Explainability algorithms such as LIME have enabled machine learning systems to adopt transparency and fairness, which are important qualities in commercial use cases. However, recent work has shown that LIME's naive sampling strategy can be exploited by an adversary to conceal biased, harmful behavior. We propose to make LIME more robust by training a generative adversarial network to sample more realistic synthetic data which the explainer uses to generate explanations. Our experiments demonstrate that our proposed method demonstrates an increase in accuracy across three real-world datasets in detecting biased, adversarial behavior compared to vanilla LIME. This is achieved while maintaining comparable explanation quality, with up to 99.94\% in top-1 accuracy in some cases.

Motivation & Objective

  • To address the vulnerability of LIME to adversarial attacks that exploit out-of-distribution (OOD) synthetic samples generated via naive Gaussian sampling.
  • To improve the robustness of LIME-based explainability in detecting biased, harmful behavior in black-box models.
  • To maintain high-quality explanations while increasing resistance to adversarial manipulation.
  • To evaluate whether generative modeling can produce more faithful local explanations under adversarial conditions.

Proposed method

  • Replace LIME’s default sampling strategy—drawing synthetic data from a unit Gaussian distribution—with a Conditional Tabular GAN (CTGAN) that learns to generate realistic synthetic tabular data.
  • Train the CTGAN to maximize the critic’s confidence in classifying generated samples as real, using a discriminator network trained on real data and LIME-generated synthetic data.
  • Use the trained CTGAN as the data sampler in LIME, ensuring that synthetic samples are distributed along the true data manifold rather than in OOD regions.
  • Integrate a discriminator-based filtering step to further improve sample quality by rejecting low-confidence synthetic samples.
  • Optimize the explanation via a locally weighted squared loss, using the CTGAN-generated samples to improve local fidelity and robustness.
  • Apply the method across three real-world datasets: COMPAS, German Credit, and Communities and Crime, using a Random Forest as the black-box model.

Experimental results

Research questions

  • RQ1Can replacing LIME’s naive sampling with a GAN-based generator improve robustness against adversarial attacks that exploit OOD synthetic data?
  • RQ2Does the use of CTGAN-generated samples maintain or improve explanation quality compared to vanilla LIME?
  • RQ3How effective is CTGAN-LIME in detecting biased behavior in adversarial models under both black-box and white-box attack settings?
  • RQ4To what extent does incorporating a discriminator for sample filtering enhance the robustness of the explanation system?

Key findings

  • CTGAN-LIME achieved higher accuracy than vanilla LIME in detecting biased behavior under both black-box and white-box Fooling-LIME attacks across all three datasets.
  • In the white-box attack setting, where the attacker has access to the CTGAN model, CTGAN-LIME still outperformed vanilla LIME, with accuracy decreasing only slightly compared to the baseline.
  • The precision of CTGAN-LIME explanations was comparable to LIME, with 73.27% on COMPAS, 77.89% on German Credit, and 80.64% on Communities and Crime—indicating no degradation in explanation quality.
  • The method achieved up to 99.94% top-1 accuracy in detecting adversarial behavior in certain experimental settings, demonstrating strong robustness.
  • Qualitative PCA analysis showed that CTGAN-generated samples better overlapped with real data manifolds than vanilla LIME’s Gaussian-sampled points, which were clustered and OOD.
  • The discriminator-based filtering step further improved the accuracy of CTGAN-LIME, confirming its role in enhancing sample realism and robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.