Skip to main content
QUICK REVIEW

[Paper Review] Detecting and Eliminating Neural Network Backdoors Through Active Paths with Application to Intrusion Detection

Eirik Høyheim, Magnus Wiik Eckhoff|arXiv (Cornell University)|Mar 11, 2026
Adversarial Robustness in Machine LearningComputer Science0 citations
TL;DR

The paper introduces an explainable approach to detect backdoor triggers in neural networks via active paths and local feature contributions, and eliminates backdoors by removing trigger-related paths, demonstrated on a neural network–based intrusion detection system.

ABSTRACT

Machine learning backdoors have the property that the machine learning model should work as expected on normal inputs, but when the input contains a specific $ extit{trigger}$, it behaves as the attacker desires. Detecting such triggers has been proven to be extremely difficult. In this paper, we present a novel and explainable approach to detect and eliminate such backdoor triggers based on active paths found in neural networks. We present promising experimental evidence of our approach, which involves injecting backdoors into a machine learning model used for intrusion detection.

Motivation & Objective

  • Motivate and address the vulnerability of ML models to backdoor attacks in cyber defense contexts.
  • Propose an explainable detection method exploiting active paths and local feature contributions to identify backdoor triggers.
  • Develop a path-based elimination technique that removes backdoor behavior without retraining or relabeling.
  • Demonstrate the approach on a network intrusion detection system with controlled backdoor injections.
  • Discuss limitations and practical implications for deployment in security-critical settings.

Proposed method

  • Compute local feature contributions for each input using the network pre-activation representation with piecewise linear activations.
  • Compute the pre-activation linear representation to obtain per-observation contribution coefficients β_i and φ_ij = β_ij x_ij (Equation 3).
  • Detect backdoors by clustering contributions across the dataset after Kernel PCA with a cosine kernel and HDBSCAN, then compare cluster means to identify abnormal trigger-like contributions.
  • Identify backdoored features and use active paths to determine which input-to-first-hidden-layer connections are involved with the backdoor triggers.
  • Eliminate backdoors by removing weights on active paths that correspond to backdoor features, focusing on paths used by backdoored data more than a threshold (T), without retraining.
  • Optionally, use the detection as a pre-filter to block backdoor-like inputs or to alert on backdoor-like behavior.
Figure 1 : Active paths after node elimination when using ReLU.
Figure 1 : Active paths after node elimination when using ReLU.

Experimental results

Research questions

  • RQ1Can backdoor triggers in neural networks be identified through analysis of active paths and local feature contributions?
  • RQ2Are backdoors manifested as abnormally strong or common active paths that can be distinguished from normal data?
  • RQ3Can backdoor behavior be eliminated by editing weights along backdoor-associated active paths without retraining or relabeling?
  • RQ4How effective is the proposed approach in an intrusion detection setting with controlled backdoor injections?

Key findings

  • Backdoors create distinct clusters in local feature contributions, enabling detection via Kernel PCA and HDBSCAN.
  • TTL-related features (e.g., TTL_max, TTL_min) can act as backdoor triggers in Netflow-based intrusion detection, identified by contribution differences between clusters.
  • Eliminating backdoors by zeroing weights on active paths associated with backdoor features can remove the trigger effect with minimal degradation to normal performance.
  • In Experiment 1 (one backdoor feature), removing trigger-associated paths preserves most performance on clean data while restoring malicious class accuracy to near-normal levels.
  • In Experiment 2 (two backdoor features), the approach still eliminates the backdoor while maintaining overall accuracy on clean data, though the contribution signals are less distinct when multiple features are involved.
Figure 2 : Overall approach for detecting backdoors.
Figure 2 : Overall approach for detecting backdoors.

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.