[Paper Review] Cost-Aware Robust Tree Ensembles for Security Applications
This paper proposes a cost-aware robust training method for tree ensemble models in security applications by modeling asymmetric, feature-specific manipulation costs as constraints during node splitting. By integrating domain-specific cost knowledge into gradient-boosted decision trees and random forests, the method increases adversarial evasion cost by 10.6× compared to baselines while improving accuracy and reducing false positives.
There are various costs for attackers to manipulate the features of security classifiers. The costs are asymmetric across features and to the directions of changes, which cannot be precisely captured by existing cost models based on $L_p$-norm robustness. In this paper, we utilize such domain knowledge to increase the attack cost of evading classifiers, specifically, tree ensemble models that are widely used by security tasks. We propose a new cost modeling method to capture the feature manipulation cost as constraint, and then we integrate the cost-driven constraint into the node construction process to train robust tree ensembles. During the training process, we use the constraint to find data points that are likely to be perturbed given the feature manipulation cost, and we use a new robust training algorithm to optimize the quality of the trees. Our cost-aware training method can be applied to different types of tree ensembles, including gradient boosted decision trees and random forest models. Using Twitter spam detection as the case study, our evaluation results show that we can increase the attack cost by 10.6X compared to the baseline. Moreover, our robust training method using cost-driven constraint can achieve higher accuracy, lower false positive rate, and stronger cost-aware robustness than the state-of-the-art training method using $L_\infty$-norm cost model. Our code is available at https://github.com/surrealyz/growtrees.
Motivation & Objective
- Address the limitation of existing $L_p$-norm robustness models that assume uniform and symmetric feature perturbation costs, which do not reflect real-world security scenarios.
- Model asymmetric, feature-specific manipulation costs in security applications—such as spam detection—where changing certain features (e.g., domain names) is cheaper than others (e.g., server hosting).
- Develop a robust training framework that integrates cost-driven constraints into the tree node splitting process to improve resilience against realistic attackers.
- Demonstrate that cost-aware training yields higher accuracy, lower false positive rates, and stronger robustness than $L_\infty$-based methods in tree ensemble models.
Proposed method
- Propose a cost modeling method that translates domain knowledge about feature manipulation costs into per-data-point perturbation constraints, capturing asymmetric costs across features and directions.
- Integrate the cost-driven constraint into the node splitting process by formulating a maximization problem over gain metrics (e.g., Gini impurity, information gain) under the constraint of bounded, cost-aware perturbations.
- Design an efficient robust training algorithm that solves the constrained optimization problem across different tree ensemble types, including gradient boosted decision trees and random forests.
- Use a Mixed Integer Linear Program (MILP) attacker to simulate the strongest white-box adversary under cost constraints, enabling evaluation of adaptive evasion cost.
- Define an adaptive attack cost function as the minimization objective of the strongest attacker, targeting the cost-driven constraint to measure robustness in practice.
- Support generalization to various tree-based models by applying constraints at the split-level, enabling integration into AdaBoost, GBM, and other tree ensemble frameworks.
Experimental results
Research questions
- RQ1Can cost-aware constraints that reflect asymmetric, feature-specific manipulation costs improve the robustness of tree ensemble models in security applications?
- RQ2How does cost-aware robust training compare to $L_\infty$-norm based robust training in terms of accuracy, false positive rate, and adversarial robustness?
- RQ3To what extent can cost-aware training increase the minimum evasion cost required by attackers in realistic threat models?
- RQ4Can the proposed method be generalized across different types of tree ensemble models, such as random forests and gradient boosted decision trees?
- RQ5What trade-offs exist between model accuracy, false positive rate, and robustness when tuning cost-driven constraints?
Key findings
- The proposed cost-aware robust training method increases the adaptive evasion cost by 10.6× compared to the baseline model in Twitter spam detection.
- The method achieves 1.25× higher robustness than the state-of-the-art $L_\infty$-based method in gradient boosted decision trees and 1.7× higher robustness in random forest models.
- Compared to $L_\infty$-based models, the cost-aware approach achieves higher accuracy and lower false positive rates while maintaining stronger robustness against cost-aware attackers.
- The method generalizes effectively to both gradient boosted decision trees and random forests, demonstrating consistent performance improvements across model types.
- In evaluations across four benchmark datasets, the cost-aware models outperformed $L_1$ and $L_2$-based baselines in robustness and model performance, with M6 and M19 showing larger L1/L2 evasion distances.
- The method enables better trade-offs between accuracy, false positive rate, and robustness, with optimal performance achievable through constraint hyperparameter tuning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.