A Multiple Model Cost-Sensitive Approach for Intrusion Detection

Wei Fan, Wenke Lee, Salvatore J. Stolfo, Matthew Miller

Abstract

Traditional intrusion detection systems (IDS) often prioritize detection accuracy over the practicalities of computational overhead and the varying financial impact of different attack types. This paper introduces a tiered, multiple-model framework that optimizes for both operational cost (OpCost) and consequential cost (CCost). By employing a hierarchy of models that escalate from low-cost to high-cost features only when necessary, and utilizing the MetaCost procedure to bias models toward high-stakes threats, the proposed approach achieves a 97% reduction in operational costs and a 30% reduction in damage-related costs.

Introduction

In production environments, the efficiency of an IDS is defined by more than just its hit rate. Two critical, often overlooked factors are:

  1. Operational Cost (OpCost): The computational resources required to extract and process network features. Features derived from initial packets are "cheap," whereas those requiring long-term temporal analysis are "expensive."
  2. Consequential Cost (CCost): The real-world impact of errors. A false positive on a port scan is far less damaging than a false negative on a User-to-Root (U2R) attack.

The authors tackle the challenge of building a "cost-sensitive" IDS that balances security efficacy with resource consumption and financial risk.

Methodology

The authors propose a two-pronged strategy using the RIPPER rule induction algorithm to manage these costs.

Tiered Rulesets for Operational Efficiency

Instead of a single monolithic model, the system utilizes four levels of rulesets ($R_1$ through $R_4$).

  • $R_1$ uses only the cheapest features, such as those available within the first three packets of a connection.
  • If $R_1$ makes a prediction with high confidence (exceeding a predefined precision threshold), the process terminates.
  • If confidence is low, the system computes more expensive features and moves to the next level ($R_2$, etc.), up to $R_4$, which utilizes the full feature set.

MetaCost for Consequential Impact

To handle the varying severity of different attacks, the authors apply the MetaCost procedure. This involves re-labeling training data based on a cost matrix. By assigning higher penalties to missing critical attacks (like U2R) than to false alarms, MetaCost biases the model to prioritize high-risk detections, effectively shifting decision boundaries toward "minimum expected risk."

Experimental Setup

The framework was evaluated using the 1998 DARPA Intrusion Detection Evaluation dataset. Raw network traffic was processed into connection records using the MADAM ID framework. The authors utilized a 10% training sample with an 80/20 train-test split, applying oversampling techniques to ensure rare but high-cost attacks were adequately represented in the model.

Key Results and Discussion

The multi-model approach demonstrated significant advantages over single-model baselines in both computational efficiency and risk mitigation.

Operational Savings

The "Multi-MetaCost" model achieved a dramatic reduction in average operational cost per connection. By identifying "normal" traffic early with cheap features, the system avoids unnecessary deep packet inspection for the vast majority of network traffic.

Comparison of average operational costs across different models.

As shown in the table above, the Multi-MetaCost approach reduced OpCost from 190.93 units (standard MetaCost) to just 5.78 units—a 97% reduction.

Consequential Cost Reduction

Beyond operational efficiency, the cost-sensitive models significantly lowered the financial impact of intrusions. Compared to a standard accuracy-based model (RIPPER), the cost-sensitive approach reduced the consequential cost (the sum of damage and response costs) by approximately 30%.

Consequential costs (CCost) and error rates for RIPPER and MetaCost variants.

While the error rate is higher in the MetaCost variants, these errors are concentrated in low-cost categories (like false alarms on probes), whereas high-cost misses are minimized. This trade-off results in a lower total cost for the organization.

Conclusion

The multiple-model cost-sensitive framework proves that IDS performance should be measured by total cost rather than simple accuracy. By filtering normal traffic early and prioritizing high-damage threats, the system provides a more viable solution for real-world deployment. Future work will focus on real-time implementation in tools like Bro or NFR to evaluate overhead in live network environments and refining the decision logic for automated responses.

Summary updated

BibTeX
@inproceedings{fan2000multiple,
  author = {Wei Fan and Wenke Lee and Salvatore J. Stolfo and Matthew Miller},
  title = {{A Multiple Model Cost-Sensitive Approach for Intrusion Detection}},
  booktitle = {ECML},
  year = {2000},
  doi = {10.1007/3-540-45164-1\_15},
}
Figure