Abstract
Motivated by applications from computer network security and software engineering, we study the problem of reducing reachability on a graph with unknown edge costs. When the costs are known, reachability reduction can be solved using a linear relaxation of sparsest cut. Problems arise, however, when edge costs are unknown. In this case, blindly applying sparsest cut with incorrect edge costs can result in suboptimal or infeasible solutions. Instead, we propose to solve the problem via edge classification using feedback on individual edges. We show that this approach outperforms competing approaches in accuracy and efficiency on our target applications.
Introduction: The Reachability Problem
In many real-world systems, excessive connectivity is a liability. In network security, "identity snowball attacks" occur when an attacker compromises one machine, steals credentials, and hops to others. In software engineering, excessive dependencies between modules mean a single failure can cascade through the entire system.
To mitigate these risks, we want to remove specific edges—such as revoking an administrative privilege or decoupling a software module. The standard mathematical tool for this is the sparsest cut, which finds the "cheapest" edges to remove to disconnect parts of the graph. However, we rarely know the true "cost" of cutting an edge (e.g., the operational impact of revoking access). Manually labeling costs for millions of edges is impossible.
Methodology: Active Reachability Reduction on Graphs (ARRG)
We propose ARRG, a framework that shifts the focus from global graph optimization to an active learning classification task. Instead of assuming edge costs are known, ARRG learns which edges are "cuttable" based on their features and expert feedback.
- Feature Representation: Each edge is represented by a feature vector capturing local and structural properties, such as node degrees and edge types.
- Active Learning Loop: The system identifies the most informative edges—those where the classifier is most uncertain—and queries a human expert for a binary label (keep or cut).
- Gaussian Process Classification (ARRG-GPC): ARRG-GPC proved most effective, using uncertainty modeling to make high-confidence decisions with very few labeled examples.
By learning the underlying logic of the expert's decisions, ARRG generalizes to unlabeled edges far more efficiently than iterative graph-cut methods that rely on noisy cost estimates.
Experimental Results
We evaluated ARRG against traditional "Alternate" methods across three datasets: synthetic graphs, software module dependencies, and a massive real-world identity attack graph.
Key Findings:
- Efficiency: On a massive identity attack graph with 4.5 million edges, ARRG-GPC achieved 99.9% accuracy after querying only 300 edges—a tiny fraction of the total.
- Accuracy: As shown in the figures above, ARRG-GPC (solid line) consistently reaches high accuracy faster than random sampling or iterative graph-cut approaches. In the software dependency task, traditional methods initially performed worse than a simple marginal baseline, while ARRG-GPC quickly surpassed it.
- Scalability: ARRG-GPC reached near-perfect accuracy on the full-scale identity attack graph by labeling only 4% of the edges required by previous state-of-the-art methods.
Conclusion
ARRG demonstrates that active learning is a powerful tool for graph reachability reduction when edge costs are unknown. By leveraging local features and targeted expert feedback, ARRG provides a scalable and accurate solution for securing large-scale networks and managing complex software dependencies.
Summary updated