Strategic Planning for Network Data Analysis

Kartik Talamadupula, Octavian Udrea, Anton Riabov, Anand RanganathanarXiv 2013

TL;DR

This paper introduces an automated framework that applies AI planning techniques to network security and data analysis. By pairing a high-level "strategic" planner with a low-level "tactical" data-flow deployer, the system dynamically investigates network anomalies on streaming data while optimizing for time and computational cost.

What Problem Does This Problem Address?

Modern cybersecurity and network monitoring systems generate an overwhelming flood of alerts and traffic data. Traditionally, network administrators rely on massive, manual rule-bases to sift through this data and identify threats like malware or unauthorized intrusions.

However, this manual approach faces two major bottlenecks:

  1. Scalability: The sheer volume of data quickly exceeds human processing capabilities.
  2. Flexibility and Optimization: Static inference rules lack the ability to optimize for time or cost. They simply fire whenever conditions are met, regardless of whether that action is the most efficient path to a solution.

Furthermore, network analysis is inherently uncertain; you don't know what an analytic tool will find until you run it on real-world data. Modeling this uncertainty using standard probabilistic methods (like POMDPs) is computationally intractable at scale. The authors tackle this challenge by framing network monitoring as an iterative, automated planning problem.

Methods

The authors propose a hierarchical, closed-loop architecture that splits the problem into two layers:

  • Strategic Planner: Operates at a high level of abstraction using the Planning Domain Definition Language (PDDL). It treats the network analysis steps as actions with associated time durations and computational costs. It decides what abstract analysis needs to happen next based on current knowledge. The authors test two planners here: FF (Fast-Forward) for cost-minimization and LPG (Local Plan Graph) for temporal optimization.
  • Tactical Planner: Translates the abstract decisions from the strategic planner into concrete data-processing workflows. Based on a system called MARIO, it automatically wires together stream-processing components and deploys them onto underlying big data platforms like IBM InfoSphere Streams and Apache Hadoop/Pig.
[PDDL Model] -> [Strategic Planner] -> [Tactical Planner] -> [Data Platforms]
       ^                                                                   |
       |-------------------- [State Manager / Replanning] <----------------|

To handle real-world uncertainty, the system uses a plan-sense-replan loop. Instead of generating a massive branching plan for every possible contingency, the strategic planner generates a deterministic plan based on what it currently knows. It executes the plan up until a "sensing action" (an analytic tool) returns new data from the network. The system then updates its world state and replans for the next round.

Figure 1: The integrated system that solves the strategic planning problem.

Datasets

The system was evaluated using a real-world dataset captured from a medium-sized institutional network over a six-month period (January 1st to June 30th, 2012). The dataset totaled 342 GB (compressed) and included:

  • DNS requests and responses from all machines.
  • Netflow summaries (sampled at 1%).
  • IPFIX network traffic summaries (sampled at 1%).
  • sFlow packet data (sampled at 0.1%).
  • Public threat intelligence blacklists (Google SafeBrowsing and the Malware Domain Blacklist).

The authors also created a tactical planning simulator to test the scalability of the underlying planners on progressively larger, synthetic problem instances.

Key Insights and Ideas

  • Determinization via Replanning: One of the paper's core insights is that you don't need complex probabilistic planning to handle network uncertainty. By treating each round of planning as deterministic and frequently replanning as new data arrives, the system achieves high scalability without sacrificing decision quality.
  • The Power of Separation: Separating the strategic reasoning (domain logic provided by human experts) from the tactical execution (middleware wiring) allows network admins to interface with the system using intuitive, high-level concepts rather than wrestling with low-level code.
  • Efficient Drill-Down: The planner naturally learns an effective "drill-down" strategy. It starts by analyzing large host sets at a coarse level (e.g., total traffic volume) and progressively refines them into smaller subsets using protocol-specific analytics, minimizing wasted computational power.

Key Results

The authors replayed the 6-month dataset through their system at maximum speed, resulting in a total execution time of roughly 76.4 hours.

  • Negligible Overhead: The combined computational overhead of the entire planning framework (strategic planning, tactical planning, state management) accounted for just 6.65% of the total execution time. The vast majority of the time was spent running the actual data analytics.
  • Drill-Down Speed: As shown in Figure 3, the system successfully isolated and completely analyzed anomalous host sets within 14 to 15 rounds of strategic planning.
Drill-down effectiveness showing the reduction in hostset size across planning rounds.
  • Real-World Accuracy: Out of 390,000 hosts analyzed, the system flagged 371 unique IPs as highly anomalous. When compared to a commercial security appliance (a Cisco PIX device) running on the same network, the planning approach caught 187 of the same hosts but also flagged a dozen previously undetected anomalies (such as rogue web crawlers)—all while processing orders of magnitude less data due to intelligent sampling.

Limitations and Future Work

While promising, the current implementation has a few limitations:

  • Protocol Constraints: The deep-dive analysis paths are currently limited to three main protocols: HTTP, generic TCP, and SMTP. Expanding the PDDL model to include more protocols would improve detection accuracy.
  • Domain Specificity: The system was only evaluated on network security data.

For future work, the authors plan to apply this framework to other data-heavy, safety-critical fields, specifically targeting healthcare data analysis in intensive care units (ICUs). They also aim to incorporate auto-tuning mechanisms that allow the planner to dynamically adjust the parameters of the underlying analytics during execution.

Summary updated

BibTeX
@misc{talamadupula2013strategic,
  author = {Kartik Talamadupula and Octavian Udrea and Anton Riabov and Anand Ranganathan},
  title = {{Strategic Planning for Network Data Analysis}},
  year = {2013},
  eprint = {1305.2561},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1305.2561},
}
Figure