Skip to main content
QUICK REVIEW

[论文解读] Locality-Sensitive Sketching for Resilient Network Flow Monitoring

Yongquan Fu, Dongsheng Li|arXiv (Cornell University)|May 8, 2019
Network Security and Intrusion DetectionComputer Science参考文献 33被引用 3
一句话总结

本文提出局部敏感哈希压缩(LSS),一种抗冲突的哈希压缩结构,通过将相似网络流聚类至同一桶数组并结合线性自编码器模型优化,最小化哈希冲突带来的估计误差。LSS 在高倍率压缩下相对误差较现有最优方案降低高达10^5倍,同时通过解耦架构实现非侵入式、可扩展的监控。

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\%.

研究动机与目标

  • 解决传统哈希压缩方法在高倍率压缩下对哈希冲突敏感的问题,该问题会降低估计精度。
  • 通过将相似网络流分组至共享桶数组,降低基于哈希压缩的监控中的估计方差。
  • 通过基于自编码器的优化模型学习最优桶分配,最小化估计误差。
  • 实现非侵入式、可扩展的哈希压缩部署,避免对生产网络性能造成干扰。
  • 通过解耦线速率数据包处理与哈希计算,原生支持全网范围的分析。

提出的方法

  • 利用哈希结构与线性自编码器之间的等价性,最小化重构误差并降低估计偏差。
  • 应用轻量级在线K-means聚类,将相似网络流分组至同一桶数组,降低哈希冲突引起的方差。
  • 通过流量轨迹离线训练学习聚类中心,并在实时处理中将流入流映射至最近的聚类。
  • 在Cuckoo过滤器中缓存增量流计数,支持动态更新而无需重新处理全部数据。
  • 通过解耦监控框架将数据包接收与哈希计算分离,实现非侵入式部署。
  • 将流片段映射至聚类中心,并使用桶平均值作为估计器,提升单流查询的准确性。

实验结果

研究问题

  • RQ1将相似网络流聚类至共享桶数组,能否降低基于哈希压缩的监控中的估计方差?
  • RQ2基于自编码器的优化模型在多大程度上可最小化哈希压缩结构中由哈希冲突引起的估计误差?
  • RQ3在极端压缩条件下(如桶数量仅为流数量的0.1%),LSS相较于现有最优方案表现如何?
  • RQ4解耦架构是否能在保持线速率性能的同时实现非侵入式哈希压缩部署?
  • RQ5LSS在不同网络工作负载及变化的突发流阈值下是否保持稳定性能?

主要发现

  • 当桶与流的比例从10%降至0.1%时,LSS 相较于现有最优方案将相对误差降低超过10^3至10^5倍。
  • 在80%至99%分位数阈值范围内,突发流检测的F1分数表现平稳下降,表明在重尾工作负载下具有鲁棒性。
  • LSS 在极低内存占用下实现接近最优的估计精度,在高倍率压缩下优于Count-Min Sketch与Count-Sketch。
  • 解耦监控框架支持线速率处理,实现全网原生分析,且不影响主机或交换机工作负载。
  • 采用聚类感知的桶分配与基于自编码器的优化显著降低了单流估计的方差。
  • LSS 在多种真实世界流量轨迹上保持稳定性能,展现出在不同监控场景下的泛化能力。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。