Limited Query Graph Connectivity Test
Mingyu Guo, Jialiang Li, Aneta Neumann, Frank Neumann, Hung X. Nguyen
Abstract
We propose a combinatorial optimisation model called Limited Query Graph Connectivity Test. We consider a graph whose edges have two possible states (On/Off). The edges' states are hidden initially. We could query an edge to reveal its state. Given a source s and a destination t, we aim to test s−t connectivity by identifying either a path (consisting of only On edges) or a cut (consisting of only Off edges). We are limited to B queries, after which we stop regardless of whether graph connectivity is established. We aim to design a query policy that minimizes the expected number of queries.
Our model is mainly motivated by a cyber security use case where we need to establish whether attack paths exist in a given network, between a source (i.e., a compromised user node) and a destination (i.e., a high-privilege admin node). Edge query is resolved by manual effort from the IT admin, which is the motivation behind query minimization.
Our model is highly related to Stochastic Boolean Function Evaluation (SBFE). There are two existing exact algorithms for SBFE that are prohibitively expensive. We propose a signifcantly more scalable exact algorithm. While previous exact algorithms only scale for trivial graphs (i.e., past works experimented on at most 20 edges), we empirically demonstrate that our algorithm is scalable for a wide range of much larger practical graphs (i.e., graphs representing Windows domain networks with tens of thousands of edges).
We also propose three heuristics. Our best-performing heuristic is via limiting the planning horizon of the exact algorithm. The other two are via reinforcement learning (RL) and Monte Carlo tree search (MCTS). We also derive an algorithm for computing the performance lower bound. Experimentally, we show that all our heuristics are near optimal. The heuristic building on the exact algorithm outperforms all other heuristics, surpassing RL, MCTS and eight existing heuristics ported from SBFE and related literature.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers1
Ask how each one uses itBuilds on3
- Practical Fixed-Parameter Algorithms for Defending Active Directory Style Attack GraphsMingyu Guo, Jialiang Li, Aneta Neumann, Frank Neumann et al.AAAI 2022 · 24 citations
- Scalable Edge Blocking Algorithms for Defending Active Directory Style Attack GraphsMingyu Guo, Max Ward, Aneta Neumann, Frank Neumann et al.AAAI 2023 · 20 citations
- Deep Reinforcement Learning for Cost-Effective Medical DiagnosisZheng Yu, Yikuan Li, Joseph C. Kim, Kaixuan Huang et al.ICLR 2023 · 13 citations
Related papers
- Hop-constrained s-t Simple Path Enumeration: Towards Bridging Theory and PracticeYou Peng, Ying Zhang, Xuemin Lin, Wenjie Zhang et al.VLDB 2020 · 11 citations
- Answering Billion-Scale Label-Constrained Reachability Queries within MicrosecondYou Peng, Ying Zhang, Xuemin Lin, Lu Qin et al.VLDB 2020 · 65 citations
- Minimum s t Cuts with Fewer Cut QueriesYonggang Jiang, Danupon Nanongkai, Pachara SawettamalyaSODA 2026 · 1 citation
- Computing and Testing Small Connectivity in Near-Linear Time and Queries via Fast Local Cut AlgorithmsSebastian Forster, Danupon Nanongkai, Liu Yang, Thatchaphol Saranurak et al.SODA 2020 · 29 citations
- Quantum algorithms for graph problems with cut queriesTroy Lee, Miklos Santha, Shengyu ZhangSODA 2021 · 11 citations
