Skip to main content
QUICK REVIEW

[Paper Review] Locality-Sensitive Sketching for Resilient Network Flow Monitoring

Yongquan Fu, Dongsheng Li|arXiv (Cornell University)|May 8, 2019
Network Security and Intrusion DetectionComputer Science33 references3 citations
TL;DR

This paper proposes Locality-Sensitive Sketching (LSS), a resilient sketch structure that minimizes estimation error from hash collisions by clustering similar network flows into the same bucket array and optimizing with a linear autoencoder model. LSS achieves up to 10^5× lower relative error than state-of-the-art sketches under high compression, while enabling non-intrusive, scalable monitoring via a disaggregated architecture.

ABSTRACT

Network monitoring is vital in modern clouds and data center networks for traffic engineering, network diagnosis, network intrusion detection, which need diverse traffic statistics ranging from flow size distributions to heavy hitters. To cope with increasing network rates and massive traffic volumes, sketch based approximate measurement has been extensively studied to trade the accuracy for memory and computation cost, which unfortunately, is sensitive to hash collisions. In addition, deploying the sketch involves fine-grained performance control and instrumentation. This paper presents a locality-sensitive sketch (LSS) to be resilient to hash collisions. LSS proactively minimizes the estimation error due to hash collisions with an autoencoder based optimization model, and reduces the estimation variance by keeping similar network flows to the same bucket array. To illustrate the feasibility of the sketch, we develop a disaggregated monitoring application that supports non-intrusive sketching deployment and native network-wide analysis. Testbed shows that the framework adapts to line rates and provides accurate query results. Real-world trace-driven simulations show that LSS remains stable performance under wide ranges of parameters and dramatically outperforms state-of-the-art sketching structures, with over $10^3$ to $10^5$ times reduction in relative errors for per-flow queries as the ratio of the number of buckets to the number of network flows reduces from 10\% to 0.1\%.

Motivation & Objective

  • Address the sensitivity of traditional sketches to hash collisions, which degrade estimation accuracy under high compression.
  • Reduce estimation variance in sketch-based monitoring by grouping similar network flows into shared bucket arrays.
  • Minimize estimation error through an autoencoder-based optimization model that learns optimal bucket assignments.
  • Enable non-intrusive, scalable deployment of sketching in production networks without performance interference.
  • Support native network-wide analytics by decoupling line-rate packet processing from sketch computation.

Proposed method

  • Leverage the equivalence between sketch structures and linear autoencoders to minimize reconstruction error and reduce estimation bias.
  • Apply lightweight online K-means clustering to group similar network flows into the same bucket array, reducing variance from hash collisions.
  • Use offline training on traffic traces to learn cluster centers and map incoming flows to the nearest cluster in real time.
  • Cache incremental flow counters in a Cuckoo filter to support dynamic updates without reprocessing all data.
  • Decouple packet ingestion from sketch computation via a disaggregated monitoring framework, enabling non-intrusive deployment.
  • Map flowlets to cluster centers and use bucket averages as estimators, improving accuracy for per-flow queries.

Experimental results

Research questions

  • RQ1Can clustering similar network flows into shared bucket arrays reduce estimation variance in sketch-based monitoring?
  • RQ2To what extent can an autoencoder-based optimization model minimize estimation error due to hash collisions in sketch structures?
  • RQ3How does LSS perform under extreme compression (e.g., 0.1% of the number of flows in buckets) compared to state-of-the-art sketches?
  • RQ4Can a disaggregated architecture enable non-intrusive sketch deployment while maintaining line-rate performance?
  • RQ5Does LSS maintain stable performance across diverse network workloads and varying heavy-hitter thresholds?

Key findings

  • LSS reduces relative error by over 10^3 to 10^5 times compared to state-of-the-art sketches when the bucket-to-flow ratio decreases from 10% to 0.1%.
  • The F1 score for heavy-hitter detection degrades gracefully across percentile thresholds from 80% to 99%, indicating robustness in tail-heavy workloads.
  • LSS achieves near-optimal estimation accuracy with a minimal memory footprint, outperforming count-min sketch and count-sketch under high compression.
  • The disaggregated monitoring framework supports line-rate processing and enables native network-wide analytics without interfering with host or switch workloads.
  • The use of cluster-aware bucketing and autoencoder-based optimization significantly reduces variance in per-flow estimations.
  • LSS maintains stable performance across diverse real-world traffic traces, demonstrating generalization across monitoring contexts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.