Demonstration venue · read-only. Every page can be browsed; the buttons that would change it are switched off. Create an account to run TaxoReview on your own data. A simulation from public publication records: the people listed were not invited and did not agree to review.
? Tutorial for this page

Ran Ben-Basat

dblp:140/7690 · also Ran Ben Basat · DBLP profile ↗
← Back
69ranked-venue papers
43as first author
29since 2021 · last 2026
0000-0003-0196-9190ORCID · verified

Domains — the database's venue-derived domains; a paper can count in several

Computer networks · 34 · 19 first-author · 13 since 2021Theory of computation · 10 · 10 first-author · 2 since 2021Databases, data management, data science and information retrieval · 9 · 3 first-author · 6 since 2021Systems, architecture and hardware · 8 · 5 first-author · 4 since 2021Artificial intelligence and machine learning · 5 · 3 first-author · 4 since 2021Human-computer interaction and ubiquitous computing · 1 · 1 first-authorApplied, interdisciplinary, general and emerging computing · 1 · 1 since 2021

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Computer networks
24 papers
Network measurement and analytics · 72% Software-defined and programmable networks · 11% Routing and switching · 4%
Artificial intelligence
6 papers
Efficient and distributed learning · 100%
Databases, data mining, and information retrieval
7 papers
Data stream processing · 78% Distributed and cloud data management · 11% Query processing and optimization · 7%
Theoretical computer science
10 papers
Algorithms and data structures · 42% Approximation and online algorithms · 24% Computational complexity · 10%
Computer architecture, parallel and distributed computing, and storage systems
5 papers
Distributed systems · 34% Cloud and datacenter computing · 30% Memory systems · 30%

Topics — the 30 heaviest of 76, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Network measurement and analytics
heavy hitter detection
4.4112024
A Generic Framework for Finding Special Quadratic Elements in Data Streams · IEEE/ACM Trans. Netw. 2024
Memento: Making Sliding Windows Efficient for Heavy Hitters · IEEE/ACM Trans. Netw. 2022
Designing Heavy-Hitter Detection Algorithms for Programmable Switches · IEEE/ACM Trans. Netw. 2020
Machine learning › Efficient and distributed learning
distributed mean estimation
1.832024
Accelerating Federated Learning with Quick Distributed Mean Estimation · ICML 2024
EDEN: Communication-Efficient and Robust Distributed Mean Estimation for Federated Learning · ICML 2022
DRIVE: One-bit Distributed Mean Estimation · NeurIPS 2021
Machine learning › Efficient and distributed learning
federated learning
1.832024
Accelerating Federated Learning with Quick Distributed Mean Estimation · ICML 2024
EDEN: Communication-Efficient and Robust Distributed Mean Estimation for Federated Learning · ICML 2022
DRIVE: One-bit Distributed Mean Estimation · NeurIPS 2021
Machine learning › Efficient and distributed learning
model compression
1.622025
HACK: Homomorphic Acceleration via Compression of the Key-Value Cache for Disaggregated LLM Inference · SIGCOMM 2025
Optimal and Approximate Adaptive Stochastic Quantization · NeurIPS 2024
Software-defined and programmable networks
programmable data plane
1.342020
Designing Heavy-Hitter Detection Algorithms for Programmable Switches · IEEE/ACM Trans. Netw. 2020
Cheetah: Accelerating Database Queries with Switch Pruning · SIGMOD Conference 2020
Efficient Measurement on Programmable Switches Using Probabilistic Recirculation · ICNP 2018
Algorithms and data structures › data streams
streaming algorithms
1.362021
SALSA: Self-Adjusting Lean Streaming Analytics · ICDE 2021
A faster and more efficient q-MAX algorithm · CoNEXT 2020
Constant Time Updates in Hierarchical Heavy Hitters · SIGCOMM 2017
Data stream processing
sketch
1.322024
DISCO: A Dynamically Configurable Sketch Framework in Skewed Data Streams · ICDE 2024
SALSA: Self-Adjusting Lean Streaming Analytics · ICDE 2021
Data stream processing › frequency estimation
heavy hitter detection
1.222023
Together is Better: Heavy Hitters Quantile Estimation · Proc. ACM Manag. Data 2023
DUET: A Generic Framework for Finding Special Quadratic Elements in Data Streams · WWW 2022
Network measurement and analytics
stream processing
1.222024
A Generic Framework for Finding Special Quadratic Elements in Data Streams · IEEE/ACM Trans. Netw. 2024
A faster and more efficient q-MAX algorithm · CoNEXT 2020
Approximation and online algorithms
approximation algorithms
1.122024
Optimal and Approximate Adaptive Stochastic Quantization · NeurIPS 2024
Optimal Distributed Covering Algorithms · PODC 2019
Data stream processing
frequency estimation
1.122024
DISCO: A Dynamically Configurable Sketch Framework in Skewed Data Streams · ICDE 2024
Stream Frequency Over Interval Queries · Proc. VLDB Endow. 2018
Network measurement and analytics › heavy hitter detection
hierarchical heavy hitter detection
1.032022
Memento: Making Sliding Windows Efficient for Heavy Hitters · IEEE/ACM Trans. Netw. 2022
Memento: making sliding windows efficient for heavy hitters · CoNEXT 2018
Designing Heavy-Hitter Detection Algorithms for Programmable Switches · IEEE/ACM Trans. Netw. 2020
Network measurement and analytics
traffic measurement
0.942018
Optimal elephant flow detection · INFOCOM 2017
Randomized admission policy for efficient top-k and frequency estimation · INFOCOM 2017
Heavy hitters in streams and sliding windows · INFOCOM 2016
Machine learning › Efficient and distributed learning › model compression › quantization
KV cache quantization
0.912025
HACK: Homomorphic Acceleration via Compression of the Key-Value Cache for Disaggregated LLM Inference · SIGCOMM 2025
Network measurement and analytics › traffic measurement
flow measurement
0.922020
Faster and More Accurate Measurement through Additive-Error Counters · INFOCOM 2020
Cooperative Network-wide Flow Selection · ICNP 2020
Machine learning › Efficient and distributed learning › distributed training
communication-efficient training
0.822024
EDEN: Communication-Efficient and Robust Distributed Mean Estimation for Federated Learning · ICML 2022
THC: Accelerating Distributed Deep Learning Using Tensor Homomorphic Compression · NSDI 2024
Machine learning › Efficient and distributed learning › federated learning
communication-efficient federated learning
0.812024
Accelerating Federated Learning with Quick Distributed Mean Estimation · ICML 2024
Machine learning › Efficient and distributed learning › model compression
quantization
0.812024
Optimal and Approximate Adaptive Stochastic Quantization · NeurIPS 2024
Distributed systems › distributed machine learning
distributed deep learning
0.812024
THC: Accelerating Distributed Deep Learning Using Tensor Homomorphic Compression · NSDI 2024
Distributed systems
gradient compression
0.812024
THC: Accelerating Distributed Deep Learning Using Tensor Homomorphic Compression · NSDI 2024
Physical-layer communications › signal processing for communications › statistical signal processing › estimation theory
frequency estimation
0.722019
Randomized Admission Policy for Efficient Top-k, Frequency, and Volume Estimation · IEEE/ACM Trans. Netw. 2019
Randomized admission policy for efficient top-k and frequency estimation · INFOCOM 2017
Data stream processing
quantile estimation
0.712023
Together is Better: Heavy Hitters Quantile Estimation · Proc. ACM Manag. Data 2023
Network measurement and analytics
network telemetry
0.712023
Direct Telemetry Access · SIGCOMM 2023
Network measurement and analytics › network telemetry
telemetry data collection
0.712023
Direct Telemetry Access · SIGCOMM 2023
Memory systems › cache management › cache capacity management
cache capacity optimization
0.712023
Adaptive Online Cache Capacity Optimization via Lightweight Working Set Size Estimation at Scale · USENIX ATC 2023
Memory systems
cache management
0.712023
Adaptive Online Cache Capacity Optimization via Lightweight Working Set Size Estimation at Scale · USENIX ATC 2023
Transport protocols and congestion control › flow control
sliding window
0.622018
Memento: making sliding windows efficient for heavy hitters · CoNEXT 2018
Heavy hitters in streams and sliding windows · INFOCOM 2016
Machine learning › Efficient and distributed learning › distributed training
gradient compression
0.612022
EDEN: Communication-Efficient and Robust Distributed Mean Estimation for Federated Learning · ICML 2022
Data stream processing › stream mining
persistent item detection
0.612022
DUET: A Generic Framework for Finding Special Quadratic Elements in Data Streams · WWW 2022
Query processing and optimization
top-k query processing
0.612022
DUET: A Generic Framework for Finding Special Quadratic Elements in Data Streams · WWW 2022

Methods — techniques the papers use, named apart from their topics

sketching · 2.5quantization · 2.5homomorphic compression · 1.7flow-based encoding · 1.7tensor homomorphic compression · 1.5approximation algorithm · 1.5adaptive stochastic quantization · 1.5sketch data structure · 1.1sampling · 1.1streaming algorithms · 1.1counter merging · 1.0count-min sketch · 1.0compression algorithm · 1.0zipfian distribution modeling · 0.8mathematical solvers · 0.8hash function optimization · 0.8randomized admission policy · 0.7probabilistic analysis · 0.7
YearPublicationVenuePosition
2026 Spatiotemporal Sketch Disaggregation: Streaming Analytics with Heterogeneous Resources
abstract
Streaming analytics are essential in a large range of applications, including databases, networking, and machine learning. To optimize performance, practitioners are increasingly offloading such analytics to network nodes such as switches. However, resources such as fast SRAM memory available at switches are limited, not uniform, and may serve other functionalities as well (e.g., firewall). Moreover, resource availability changes over time due to the dynamic demands of in-network applications. In this paper, we propose a new approach to disaggregating data structures, leveraging any residual resources available at network nodes. We focus on sketches, which are fundamental for summarizing data for streaming analytics while providing beneficial space-accuracy tradeoffs. Our idea is to break sketches into multiple 'fragments' that are placed at different network nodes. The fragments cover different time periods and vary in size, and are combined to form a network-wide view of the underlying traffic. We apply our solution to three popular sketches (namely, Count Sketch, Count-Min Sketch, and UnivMon) and demonstrate that we can achieve approximately a 75% memory size reduction for the same error for many queries, or a near order-of-magnitude error reduction if memory is kept unchanged. Further, we demonstrate real-world feasibility through a hardware pipeline for high-speed commodity switches.
Jonatan Langlet, Peiqing Chen, Michael Mitzenmacher, Zaoxing Liu, Ran Ben-Basat, Gianni Antichi
ICDE5
2026 DynamiQ: Accelerating Gradient Synchronization using Compressed Multi-hop All-reduce
abstract
Multi-hop all-reduce is the de facto backbone of large model training. As the training scale increases, the network often becomes a bottleneck, motivating the reduction of the volume of transmitted data. Accordingly, recent systems have demonstrated significant acceleration of the training process using gradient quantization. However, these systems are not optimized for multi-hop aggregation, where entries are partially summed multiple times along their aggregation topology.
Wenchen Han, Shay Vargaftik, Michael Mitzenmacher, Ran Ben-Basat
SIGCOMM4
2026 POSTER: Prediction-Enhanced Expert Prefetching and Eviction for MoE Offloading via PRED-MoE
abstract
Mixture-of-Experts (MoE) models improve scaling by activating a small number of experts per token. However, the combined memory requirements of all experts may exceed the GPU's available high-bandwidth memory (HBM) during inference. Inference frameworks such as vLLM and HuggingFace address the problem by offloading experts to CPU memory and moving them to the GPU's HBM as needed. While enabling inference of large models with limited HBM, this CPU-GPU traffic overhead slows down token generation.
Wenchen Han, Shay Vargaftik, Michael Mitzenmacher, Ran Ben-Basat
SIGCOMM4
2026 Honey, I Shrunk the Headers With Flow.ZIP
abstract
Packet header overhead is a persistent source of inefficiency in packet-switched networks, reducing goodput and increasing network load. Trends like tunneling further increase this overhead, significantly impacting flow completion times. While, in principle, it is possible to compress these headers, existing methods require specialized hardware on every hop to compress/decompress the packet to/from custom header formats.
Yinda Zhang 0002, Liangcheng Yu, Gianni Antichi, Ran Ben-Basat, Vincent Liu 0001
SIGCOMM4
2025 Enabling Silent Telemetry Data Transmission with InvisiFlow
Yinda Zhang 0002, Liangcheng Yu, Gianni Antichi, Ran Ben-Basat, Vincent Liu 0001
NSDI4
2025 HACK: Homomorphic Acceleration via Compression of the Key-Value Cache for Disaggregated LLM Inference
abstract
Disaggregated Large Language Model (LLM) inference decouples the compute-intensive prefill stage from the memory-intensive decode stage, allowing low-end, compute-focused GPUs for prefill and high-end, memory-rich GPUs for decode, which reduces cost while maintaining high throughput. However, transmitting Key-Value (KV) data between the two stages can be a bottleneck, especially for long prompts. Additionally, the computational overhead in the two stages is key for optimizing Job Completion Time (JCT), and KV data size can become prohibitive for long prompts and sequences. Existing KV quantization methods can alleviate transmission and memory bottlenecks, but they introduce significant dequantization overhead, exacerbating the computation time.
Zeyu Zhang 0005, Haiying Shen, Shay Vargaftik, Ran Ben-Basat, Michael Mitzenmacher, Minlan Yu
SIGCOMM4
2025 Bounded Memory in Distributed Networks
abstract
The recent advent of programmable switches makes distributed algorithms readily deployable in real-world datacenter networks. However, there are still gaps between theory and practice that prevent the smooth adaptation of CONGEST algorithms to these environments. In this paper, we focus on the memory restrictions that arise in real-world deployments. We introduce the μ-CONGEST model where on top of the bandwidth restriction, the memory of nodes is also limited to μ words, in line with real-world systems. We provide fast algorithms of two main flavors.
Ran Ben-Basat, Keren Censor-Hillel, Yi-Jun Chang, Wenchen Han, Dean Leitersdorf, Gregory Schwartzman
SPAA1
2024 When ML Training Cuts Through Congestion: Just-in-Time Gradient Compression via Packet Trimming
abstract
Distributed training of ML models generates significant network traffic when exchanging gradients and is sensitive to packet drops and retransmission caused by congestion when other traffic is sharing the network. While training processes can tolerate gradient compression to reduce traffic volume, it does not eliminate queue buildup in shallow-buffer switches, causing high latency and extended training time.
Shay Vargaftik, Ran Ben-Basat
HotNets3
2024 Beyond Throughput and Compression Ratios: Towards High End-to-end Utility of Gradient Compression
abstract
Gradient aggregation has long been identified as a major bottleneck in today's large-scale distributed machine learning training systems. One promising solution to mitigate such bottlenecks is gradient compression, directly reducing communicated gradient data volume. However, in practice, many gradient compression schemes do not achieve acceleration of the training process while also preserving accuracy.
Wenchen Han, Shay Vargaftik, Michael Mitzenmacher, Brad Karp, Ran Ben-Basat
HotNets5
2024 DISCO: A Dynamically Configurable Sketch Framework in Skewed Data Streams
abstract
Sketches have gained popularity as effective methods for estimating frequency in data streams, and optimizing their accuracy is critical in many applications. However, while sketches are backed by a standard guarantee under the worst-case analysis, their actual errors can vary significantly with real-world skewed data streams. Therefore, it is challenging to configure sketches to optimize accuracy without prior knowledge of the input. Moreover, even with a new configuration, it is unclear when to apply it. This paper presents a novel sketch framework that can be dy-namically configured to optimize the accuracy given a processed data stream. Specifically, we provide a precise guarantee and derive an optimal number of hash functions under the Zipfian distribution, which is an appropriate way to model skewed data streams in practice. We then propose a dynamically configurable sketch framework, namely DISCO, that can estimate the distri-bution parameter and adjust the number of hash functions on the fly to optimize accuracy. We provide rigorous mathematical analysis and apply DISCO to three classical solutions, including the Count-min, Conservative Update, and Count sketches. Experimental results, using synthetic and real datasets, show that DISCO can achieve the optimal configuration for the metric (i.e., FP) related to the sketch guarantee, while achieving near-optimal accuracy for other common metrics (e.g., ARE) compared with state-of-the-art methods.
Jiaqian Liu, Ran Ben-Basat, Louis De Wardt, Haipeng Dai 0001, Guihai Chen
ICDE2
2024 Accelerating Federated Learning with Quick Distributed Mean Estimation
abstract
Distributed Mean Estimation (DME), in which $n$ clients communicate vectors to a parameter server that estimates their average, is a fundamental building block in communication-efficient federated learning. In this paper, we improve on previous DME techniques that achieve the optimal $O(1/n)$ Normalized Mean Squared Error (NMSE) guarantee by asymptotically improving the complexity for either encoding or decoding (or both). To achieve this, we formalize the problem in a novel way that allows us to use off-the-shelf mathematical solvers to design the quantization. Using various datasets and training tasks, we demonstrate how QUIC-FL achieves state of the art accuracy with faster encoding and decoding times compared to other DME methods.
Ran Ben-Basat, Shay Vargaftik, Amit Portnoy, Gil Einziger, Yaniv Ben-Itzhak, Michael Mitzenmacher
ICML1
2024 Optimal and Approximate Adaptive Stochastic Quantization
abstract
Quantization is a fundamental optimization for many machine learning (ML) use cases, including compressing gradients, model weights and activations, and datasets. The most accurate form of quantization is adaptive, where the error is minimized with respect to a given input rather than optimizing for the worst case. However, optimal adaptive quantization methods are considered infeasible in terms of both their runtime and memory requirements. We revisit the Adaptive Stochastic Quantization (ASQ) problem and present algorithms that find optimal solutions with asymptotically improved time and space complexities. Our experiments indicate that our algorithms may open the door to using ASQ more extensively in a variety of ML applications. We also present an even faster approximation algorithm for quantizing large inputs on the fly.
Ran Ben-Basat, Yaniv Ben-Itzhak, Michael Mitzenmacher, Shay Vargaftik
NeurIPS1
2024 THC: Accelerating Distributed Deep Learning Using Tensor Homomorphic Compression
Minghao Li 0003, Ran Ben-Basat, Shay Vargaftik, ChonLam Lao, Kevin Xu, Michael Mitzenmacher, Minlan Yu
NSDI2
2024 A Generic Framework for Finding Special Quadratic Elements in Data Streams
abstract
Finding special items in data streams, like heavy hitters, top-$k$items, and persistent items, has always been a hot topic in the field of network measurement. While data streams nowadays are usually high-dimensional, most prior works optimize data structures to accurately find special items according to a certain primary dimension and yield little insight into the correlations between dimensions, where the dimension can be a single data dimension or a combination of multiple data dimensions. Therefore, we propose to find special quadratic elements in data streams to reveal the close correlations between the primary and secondary dimensions. Here, both the primary and secondary dimensions are selected according to specific application purposes. Based on the special items mentioned above, we extend our problem to three applications related to heavy hitters, top-$k$, and persistent items, and design a generic framework DUET to process them. We analyze the error bound of our algorithm theoretically and conduct extensive experiments on four publicly available data sets. Our experimental results show that DUET can achieve 3.5 times higher throughput and three orders of magnitude lower average relative error than cutting-edge algorithms. Moreover, we propose an optimized framework based on DUET, namely O-DUET, to further improve the estimation accuracy. We also discuss a hardware-version DUET and deploy it on Tofino.
Jiaqian Liu, Haipeng Dai 0001, Meng Li 0010, Ran Ben-Basat, Rui Li 0020, Rong Gu 0001, Jiaqi Zheng 0001, Guihai Chen
IEEE/ACM Trans. Netw.5
2023 Direct Telemetry Access
abstract
Fine-grained network telemetry is becoming a modern datacenter standard and is the basis of essential applications such as congestion control, load balancing, and advanced troubleshooting. As network size increases and telemetry gets more fine-grained, there is a tremendous growth in the amount of data needed to be reported from switches to collectors to enable network-wide view. As a consequence, it is progressively hard to scale data collection systems.
Jonatan Langlet, Ran Ben-Basat, Gabriele Oliaro, Michael Mitzenmacher, Minlan Yu, Gianni Antichi
SIGCOMM2
2023 Adaptive Online Cache Capacity Optimization via Lightweight Working Set Size Estimation at Scale
Rong Gu 0001, Simian Li, Haipeng Dai 0001, Hancheng Wang, Yili Luo, Ran Ben-Basat, Shouwei Chen, Beinan Wang, Yihua Huang 0001, Guihai Chen
USENIX ATC7
2023 Optimal distributed covering algorithms
abstract
Abstract We present a time-optimal deterministic distributed algorithm for approximating a minimum weight vertex cover in hypergraphs of rank f. This problem is equivalent to the Minimum Weight Set Cover problem in which the frequency of every element is bounded by f. The approximation factor of our algorithm is $$(f+\varepsilon )$$ ( f + ε ) . Let $$\varDelta $$ Δ denote the maximum degree in the hypergraph. Our algorithm runs in the congest model and requires $$O(\log {\varDelta } / \log \log \varDelta )$$ O ( log Δ / log log Δ ) rounds, for constants $$\varepsilon \in (0,1]$$ ε ∈ ( 0 , 1 ] and $$f\in {\mathbb {N}}^+$$ f ∈ N + . This is the first distributed algorithm for this problem whose running time does not depend on the vertex weights nor the number of vertices. Thus adding another member to the exclusive family of provably optimal distributed algorithms. For constant values of f and $$\varepsilon $$ ε , our algorithm improves over the $$(f+\varepsilon )$$ ( f + ε ) -approximation algorithm of Kuhn et al. (SODA, 2006)whose running time is $$O(\log \varDelta + \log W)$$ O ( log Δ + log W ) , where W is the ratio between the largest and smallest vertex weights in the graph. Our algorithm also achieves an f-approximation for the problem in $$O(f\log n)$$ O ( f log n ) rounds, improving over the classical result of Khuller et al. (J Algorithms, 1994) that achieves a running time of $$O(f\log ^2 n)$$ O ( f log 2 n ) . Finally, for weighted vertex cover ( $$f=2$$ f = 2 ) our algorithm achieves a deterministic running time of $$O(\log n)$$ O ( log n ) , matching the randomized previously best result of Koufogiannakis and Young (Distrib Comput, 2011). We also show that integer covering-programs can be reduced to the Minimum Weight Set Cover problem in the distributed setting. This allows us to achieve an $$(f\lceil \log _2(M)+1 \rceil +\varepsilon )$$ ( f ⌈ log 2 ( M ) + 1 ⌉ + ε ) -approximate integral solution in $$\begin{aligned} O\left( (1+f/\log n)\cdot \left( {\frac{\log \varDelta }{ \log \log \varDelta } + ({f\cdot \log M})^{1.01}\cdot \log \varepsilon ^{-1}\cdot (\log \varDelta )^{0.01}}\right) \right) \end{aligned}$$ O ( 1 + f / log n ) · log
Ran Ben-Basat, Guy Even, Ken-ichi Kawarabayashi, Gregory Schwartzman
Distributed Comput.1
2023 Together is Better: Heavy Hitters Quantile Estimation
abstract
Stream monitoring is fundamental in many data stream applications, such as financial data trackers, security, anomaly detection, and load balancing. In that respect, quantiles are of particular interest, as they often capture the user's utility. For example, if a video connection has high tail (e.g., 99'th percentile) latency, the perceived quality will suffer, even if the average and median latencies are low. In this work, we consider the problem of approximating the per-item quantiles. Elements in our stream are (ID, value) tuples, and we wish to track the quantiles for each ID. Existing quantile sketches are designed for a plain number stream (i.e., containing just a value). While one could allocate a separate sketch instance for each ID, this may require an infeasible amount of memory. Instead, we consider tracking the quantiles for the heavy hitters (most frequent items), which are often considered particularly important, without knowing them beforehand. We first present a couple of simple and effective algorithms that serve as baselines, a sampling approach and a sketching approach. Then, we present SQUAD, an algorithm that combines sampling and sketching while improving the asymptotic space complexity. Intuitively, SQUAD uses a background sampling process to capture the behaviour of the quantiles of an item before it is allocated with a sketch, thereby allowing us to use fewer samples and sketches. The algorithms are rigorously analyzed, and we demonstrate SQUAD's superiority using extensive~simulations on real-world traces.
Rana Shahout, Roy Friedman 0001, Ran Ben-Basat
Proc. ACM Manag. Data3
2022 EDEN: Communication-Efficient and Robust Distributed Mean Estimation for Federated Learning
abstract
Distributed Mean Estimation (DME) is a central building block in federated learning, where clients send local gradients to a parameter server for averaging and updating the model. Due to communication constraints, clients often use lossy compression techniques to compress the gradients, resulting in estimation inaccuracies. DME is more challenging when clients have diverse network conditions, such as constrained communication budgets and packet losses. In such settings, DME techniques often incur a significant increase in the estimation error leading to degraded learning performance. In this work, we propose a robust DME technique named EDEN that naturally handles heterogeneous communication budgets and packet losses. We derive appealing theoretical guarantees for EDEN and evaluate it empirically. Our results demonstrate that EDEN consistently improves over state-of-the-art DME techniques.
Shay Vargaftik, Ran Ben-Basat, Amit Portnoy, Gal Mendelson, Yaniv Ben-Itzhak, Michael Mitzenmacher
ICML2
2022 SQUAD: combining sketching and sampling is better than either for per-item quantile estimation
abstract
Latency quantiles measurements are essential as they often capture the user's utility. For example, if a video connection has high tail latency, the perceived quality will suffer, even if the average and median latencies are low. In this work, we consider the problem of approximating the per-item quantiles. Elements in our stream are (ID, latency) tuples, and we wish to track the latency quantiles for each ID. Existing quantile sketches are designed for a single number stream (e.g., containing just the latency). While one could allocate a separate sketch instance for each ID, this may require an infeasible amount of memory. Instead, we consider tracking the quantiles for the heavy hitters (most frequent items), which are often considered particularly important, without knowing them beforehand.
Rana Shahout, Roy Friedman 0001, Ran Ben-Basat
SYSTOR3
2022 DUET: A Generic Framework for Finding Special Quadratic Elements in Data Streams
abstract
Finding special items, like heavy hitters, top-k, and persistent items, has always been a hot issue in data stream processing for web analysis. While data streams nowadays are usually high-dimensional, most prior works focus on special items according to a certain primary dimension and yield little insight into the correlations between dimensions. Therefore, we propose to find special quadratic elements to reveal close correlations. Based on the items mentioned above, we extend our problem to three applications related to heavy hitters, top-k, and persistent items, and design a generic framework DUET to process them. Besides, we analyze the error bound of our algorithm and conduct extensive experiments on four data sets. Our experimental results show that DUET can achieve 3.5 times higher throughput and three orders of magnitude lower average relative error compared with cutting-edge algorithms.
Jiaqian Liu, Haipeng Dai 0001, Meng Li 0010, Ran Ben-Basat, Rui Li 0020, Guihai Chen
WWW5
2022 Enabling Efficient and General Subpopulation Analytics in Multidimensional Data Streams
abstract
Today's large-scale services ( e.g. , video streaming platforms, data centers, sensor grids) need diverse real-time summary statistics across multiple subpopulations of multidimensional datasets. However, state-of-the-art frameworks do not offer general and accurate analytics in real time at reasonable costs. The root cause is the combinatorial explosion of data subpopulations and the diversity of summary statistics we need to monitor simultaneously. We present Hydra, an efficient framework for multidimensional analytics that presents a novel combination of using a "sketch of sketches" to avoid the overhead of monitoring exponentially-many subpopulations and universal sketching to ensure accurate estimates for multiple statistics. We build Hydra as an Apache Spark plugin and address practical system challenges to minimize overheads at scale. Across multiple real-world and synthetic multidimensional datasets, we show that Hydra can achieve robust error bounds and is an order of magnitude more efficient in terms of operational cost and memory footprint than existing frameworks (e.g., Spark, Druid) while ensuring interactive estimation times.
Antonis Manousis, Ran Ben-Basat, Zaoxing Liu, Vyas Sekar
Proc. VLDB Endow.3
2022 Memento: Making Sliding Windows Efficient for Heavy Hitters
abstract
Cloud operators require timely identification of Heavy Hitters (HH) and Hierarchical Heavy Hitters (HHH) for applications such as load balancing, traffic engineering, and attack mitigation. However, existing techniques are slow in detecting new heavy hitters. In this paper, we present the case for identifying heavy hitters throughsliding windows. Sliding windows are quicker and more accurate to detect new heavy hitters than current interval-based methods, but to date had no practical algorithms. Accordingly, we introduce, design, and analyze theMementofamily of sliding window algorithms for the HH and HHH problems in the single-device and network-wide settings. We use extensive evaluations to show that our single-device solutions are orders of magnitude faster than existing sliding window techniques and comparable in speed to state-of-the-art non-windowed sampling based technique. Furthermore, we exemplify our network-wide HHH detection capabilities on a realistic testbed. To that end, we implemented Memento as an open-source extension to the popular HAProxy cloud load-balancer. In our evaluations, using an HTTP flood by 50 subnets, our network-wide approach detected the new subnets faster and reduced the number of undetected flood requests by up to$37\times $compared to the alternatives.
Ran Ben-Basat, Gil Einziger, Isaac Keslassy, Ariel Orda, Shay Vargaftik, Erez Waisbard
IEEE/ACM Trans. Netw.1
2021 Zero-CPU Collection with Direct Telemetry Access
abstract
Programmable switches are driving a massive increase in fine-grained measurements. This puts significant pressure on telemetry collectors that have to process reports from many switches. Past research acknowledged this problem by either improving collectors' stack performance or by limiting the amount of data sent from switches. In this paper, we take a different and radical approach: switches are responsible for directly inserting queryable telemetry data into the collectors' memory, bypassing their CPU, and thereby improving their collection scalability. We propose to use a method we call direct telemetry access, where switches jointly write telemetry reports directly into the same collector's memory region, without coordination. Our solution, DART, is probabilistic, trading memory redundancy and query success probability for CPU resources at collectors. We prototype DART using commodity hardware such as P4 switches and RDMA NICs and show that we get high query success rates with a reasonable memory overhead. For example, we can collect INT path tracing information on a fat tree topology without a collector's CPU involvement while achieving 99.9% query success probability and using just 300 bytes per flow.
Jonatan Langlet, Ran Ben-Basat, Sivaramakrishnan Ramanathan, Gabriele Oliaro, Michael Mitzenmacher, Minlan Yu, Gianni Antichi
HotNets2
2021 How to Send a Real Number Using a Single Bit (And Some Shared Randomness)
abstract
We consider the fundamental problem of communicating an estimate of a real number $x\in[0,1]$ using a single bit. A sender that knows $x$ chooses a value $X\in\set{0,1}$ to transmit. In turn, a receiver estimates $x$ based on the value of $X$. We consider both the biased and unbiased estimation problems and aim to minimize the cost. For the biased case, the cost is the worst-case (over the choice of $x$) expected squared error, which coincides with the variance if the algorithm is required to be unbiased. We first overview common biased and unbiased estimation approaches and prove their optimality when no shared randomness is allowed. We then show how a small amount of shared randomness, which can be as low as a single bit, reduces the cost in both cases. Specifically, we derive lower bounds on the cost attainable by any algorithm with unrestricted use of shared randomness and propose near-optimal solutions that use a small number of shared random bits. Finally, we discuss open problems and future directions.
Ran Ben-Basat, Michael Mitzenmacher, Shay Vargaftik
ICALP1
2021 SALSA: Self-Adjusting Lean Streaming Analytics
abstract
Counters are the fundamental building block of many data sketching schemes, which hash items to a small number of counters and account for collisions to provide good approximations for frequencies and other measures. Most existing methods rely on fixed-size counters, which may be wasteful in terms of space, as counters must be large enough to eliminate any risk of overflow. Instead, some solutions use small, fixed-size counters that may overflow into secondary structures.This paper takes a different approach. We propose a simple and general method called SALSA for dynamic re-sizing of counters, and show its effectiveness. SALSA starts with small counters, and overflowing counters simply merge with their neighbors. SALSA can thereby allow more counters for a given space, expanding them as necessary to represent large numbers. Our evaluation demonstrates that, at the cost of a small overhead for its merging logic, SALSA significantly improves the accuracy of popular schemes (such as Count-Min Sketch and Count Sketch) over a variety of tasks. Our code is released as open source [1].
Ran Ben-Basat, Gil Einziger, Michael Mitzenmacher, Shay Vargaftik
ICDE1
2021 DRIVE: One-bit Distributed Mean Estimation
abstract
We consider the problem where $n$ clients transmit $d$-dimensional real-valued vectors using $d(1+o(1))$ bits each, in a manner that allows the receiver to approximately reconstruct their mean. Such compression problems naturally arise in distributed and federated learning. We provide novel mathematical results and derive computationally efficient algorithms that are more accurate than previous compression techniques. We evaluate our methods on a collection of distributed and federated learning tasks, using a variety of datasets, and show a consistent improvement over the state of the art.
Shay Vargaftik, Ran Ben-Basat, Amit Portnoy, Gal Mendelson, Yaniv Ben-Itzhak, Michael Mitzenmacher
NeurIPS2
2021 Approximate query processing over static sets and sliding windows
abstract
Indexing of static and dynamic sets is fundamental to a large set of applications such as information retrieval and caching. Denoting the characteristic vector of the set by B, we consider the problem of encoding sets and multisets to support approximate versions of the operations rank(i) (i.e., computing sum_{j <= i}B[j]) and select(i) (i.e., finding min{p | rank(p) >= i}) queries. We study multiple types of approximations (allowing an error in the query or the result) and present lower bounds and succinct data structures for several variants of the problem. We also extend our model to sliding windows, in which we process a stream of elements and compute suffix sums. This is a generalization of the window summation problem that allows the user to specify the window size at query time. Here, we provide an algorithm that supports updates and queries in constant time while requiring just (1+o(1)) factor more space than the fixed-window summation algorithms.
Ran Ben-Basat, Seungbum Jo, S. Srinivasa Rao 0001, Shubham Ugare
Theor. Comput. Sci.1
2021 Routing-Oblivious Network-Wide Measurements
abstract
The recent introduction of SDN allows deploying new centralized network algorithms that dramatically improve network operations. In such algorithms, the centralized controller obtains a network-wide view by merging measurement data from Network Measurement Points (NMPs). A fundamental challenge is that several NMPs may count the same packet, reducing the accuracy of the measurement. Existing solutions circumvent this problem by assuming that each packet traverses a single NMP or that the routing is fixed and known. This work suggests novel algorithms for three fundamental network-wide measurement problems without making any assumptions on the topology and routing and without modifying the underlying traffic. Specifically, this work introduces two algorithms for estimating the number of (distinct) packets or byte volume in the measurement, estimating per-flow packet and byte counts, and finding the heavy hitter flows. Our work includes formal accuracy guarantees and an extensive evaluation consisting of the realistic fat-tree topology and three real network traces. Our evaluation shows that our algorithms outperform existing works and provide accurate measurements within reasonable space parameters.
Ran Ben-Basat, Gil Einziger, Shir Landau Feibish, Jalil Moraney, Bilal Tayh, Danny Raz
IEEE/ACM Trans. Netw.1
2020 Detecting routing loops in the data plane
abstract
Routing loops can harm network operation. Existing loop detection mechanisms, including mirroring packets, storing state on switches, or encoding the path onto packets, impose significant overheads on either the switches or the network.
Jan Kucera 0004, Ran Ben-Basat, Mário Kuka, Gianni Antichi, Minlan Yu, Michael Mitzenmacher
CoNEXT2
2020 A faster and more efficient q-MAX algorithm
abstract
The q-MAX problem, which seeks to find the q largest elements in a data stream, has numerous networking applications including sketches, network-wide heavy hitters, and others. In this poster, we propose an improvement to the q-MAX algorithm [5] that leverages sampling to accelerate the computation. Despite being randomized, our algorithm never fails (i.e., it is a Las Vegas algorithm) and runs up to 62% faster when evaluated on real packet traces and tasks. Moreover, on a real networking application and workload, our algorithm provides an 11-53% higher throughput.
Ran Ben-Basat, Gil Einziger, Bilal Tayh
CoNEXT1
2020 DISCOvering the heavy hitters with disaggregated sketches
abstract
We propose DISCO - a lightweight approach to flow monitoring in the data plane. The idea is to disaggregate the computation of a single (logically) centralized sketch into multiple small "sketch fragments" that are distributed across the flows' paths. This allows use less resources at switches without trading on telemetry capabilities.
Valerio Bruschi, Ran Ben-Basat, Zaoxing Liu, Gianni Antichi, Giuseppe Bianchi 0001, Michael Mitzenmacher
CoNEXT2
2020 Cooperative Network-wide Flow Selection
abstract
Network-wide per-flow measurements are instrumental in diverse applications such as identifying attacks, detecting load imbalance, and performing traffic engineering. These measurements utilize scarcely available flow counters that monitor a single flow, but there are often more flows than counters in a single device. Therefore, existing flow-level techniques suggest pooling together the resources of all the network devices. Still, these either make strong assumptions on the traffic or require an excessive number of counters to track all the network flows. In this work, we present novel, readily deployable, distributed algorithms that do not require device coordination or assumptions about the traffic. Through an extensive evaluation on real network topologies and network traces, we show that our algorithms attain near-optimal flow coverage in diverse conditions. Specifically, our algorithms reduce the space required to monitor all the flows by up to 4x compared to the best alternative.
Ran Ben-Basat, Gil Einziger, Bilal Tayh
ICNP1
2020 Faster and More Accurate Measurement through Additive-Error Counters
abstract
Counters are a fundamental building block for networking applications such as load balancing, traffic engineering, and intrusion detection, which require estimating flow sizes and identifying heavy hitter flows. Existing works suggest replacing counters with shorter multiplicative error estimators that improve the accuracy by fitting more of them within a given space. However, such estimators impose a computational overhead that degrades the measurement throughput. Instead, we propose additive error estimators, which are simpler, faster, and more accurate when used for network measurement. Our solution is rigorously analyzed and empirically evaluated against several other measurement algorithms on real Internet traces. For a given error target, we improve the speed of the uncompressed solutions by 5×-30×, and the space by up to 4×. Compared with existing state-of-the-art estimators, our solution is 9×-35× faster while being considerably more accurate.
Ran Ben-Basat, Gil Einziger, Michael Mitzenmacher, Shay Vargaftik
INFOCOM1
2020 Routing Oblivious Measurement Analytics
Ran Ben-Basat, Gil Einziger, Shir Landau Feibish, Danny Raz, Minlan Yu
Networking1
2020 Cost Effective Troubleshooting of NFV Infrastructure
Ran Ben-Basat, Gil Einziger, Maayan Goldstein, Liat Pele, Itai Segall
Networking1
2020 PINT: Probabilistic In-band Network Telemetry
abstract
Commodity network devices support adding in-band telemetry measurements into data packets, enabling a wide range of applications, including network troubleshooting, congestion control, and path tracing. However, including such information on packets adds significant overhead that impacts both flow completion times and application-level performance.
Ran Ben-Basat, Sivaramakrishnan Ramanathan, Gianni Antichi, Minlan Yu, Michael Mitzenmacher
SIGCOMM1
2020 Cheetah: Accelerating Database Queries with Switch Pruning
abstract
Modern database systems are growing increasingly distributed and struggle to reduce query completion time with a large volume of data. In this paper, we leverage programmable switches in the network to partially offload query computation to the switch. While switches provide high performance, they have resource and programming constraints that make implementing diverse queries difficult. To fit in these constraints, we introduce the concept of data pruning -- filtering out entries that are guaranteed not to affect output. The database system then runs the same query but on the pruned data, which significantly reduces processing time. We propose pruning algorithms for a variety of queries. We implement our system, Cheetah, on a Barefoot Tofino switch and Spark. Our evaluation on multiple workloads shows 40 - 200% improvement in the query completion time compared to Spark.
Muhammad Tirmazi, Ran Ben-Basat, Minlan Yu
SIGMOD Conference2
2020 Designing Heavy-Hitter Detection Algorithms for Programmable Switches
abstract
Programmable network switches promise flexibility and high throughput, enabling applications such as load balancing and traffic engineering. Network measurement is a fundamental building block for such applications, including tasks such as the identification of heavy hitters (largest flows) or the detection of traffic changes. However, high-throughput packet processing architectures place certain limitations on the programming model, such as restricted branching, limited capability for memory access, and a limited number of processing stages. These limitations restrict the types of measurement algorithms that can run on programmable switches. In this paper, we focus on the Reconfigurable Match Tables (RMT) programmable high-throughput switch architecture, and carefully examine its constraints on designing measurement algorithms. We demonstrate our findings while solving the heavy hitter problem. We introduce PRECISION, an algorithm that uses Partial Recirculation to find top flows on a programmable switch. By recirculating a small fraction of packets, PRECISION simplifies the access to stateful memory to conform with RMT limitations and achieves higher accuracy than previous heavy hitter detection algorithms that avoid recirculation. We also evaluate each of the adaptations made by PRECISION and analyze its effect on the measurement accuracy. Finally, we suggest two algorithms for the hierarchical heavy hitters detection problem in which the goal is identifying the subnets that send excessive traffic and are potentially malicious. To the best of our knowledge, our work is the first to do so on RMT switches.
Ran Ben-Basat, Gil Einziger, Ori Rottenstreich
IEEE/ACM Trans. Netw.1
2019 q-MAX: A Unified Scheme for Improving Network Measurement Throughput
abstract
Network measurement is an essential building block for a variety of network applications such as traffic engineering, quality of service, load-balancing and intrusion detection. Maintaining a per-flow state is often impractical due to the large number of flows, and thus modern systems use complex data structures that are updated with each incoming packet. Therefore, designing measurement applications that operate at line speed is a significant challenge in this domain.
Ran Ben-Basat, Gil Einziger, Junzhi Gong, Jalil Moraney, Danny Raz
Internet Measurement Conference1
2019 A Black-box Method for Accelerating Measurement Algorithms with Accuracy Guarantees
abstract
Network Function Virtualization (NFV) enables software implementations of middleboxes such as load balancing, traffic engineering and quality of service. These often rely on network measurement such as per-flow frequency estimation, bandwidth estimation, counting distinct elements and estimating the traffic entropy. Keeping up with the line speed is an active challenge for NFV measurement techniques, and library algorithms are simply too slow. Sampling is a natural technique to increase the measurement throughput, but it requires a certain amount of traffic before accuracy is guaranteed. In this work, we introduce a throughput acceleration method that preserves accuracy from the very first packet. This technique works with a variety of existing measurement algorithms (e.g., the ones mentioned above), and improves their throughput while guaranteeing their correctness throughout the entire measurement. Our work includes a rigors analysis, an extensive evaluation with real network traces, and a real DPDK enabled Open vSwitch implementation.
Ran Ben-Basat, Gil Einziger, Marcelo Caggiani Luizelli, Erez Waisbard
Networking1
2019 Optimal Distributed Covering Algorithms
abstract
We present a time-optimal deterministic distributed algorithm for approximating a minimum weight vertex cover in hypergraphs of rank ƒ. This problem is equivalent to the Minimum Weight Set Cover problem in which the frequency of every element is bounded by ƒ. The approximation factor of our algorithm is (ƒ + ε). Let Δ denote the maximum degree in the hypergraph. Our algorithm runs in the CONGEST model and requires O(log Δ/log log Δ) rounds, for constants ε ∈ (0,1] and ƒ ∈ N+. This is the first distributed algorithm for this problem whose running time does not depend on the vertex weights nor the number of vertices. Thus adding another member to the exclusive family of emphprovably optimal distributed algorithms.
Ran Ben-Basat, Guy Even, Ken-ichi Kawarabayashi, Gregory Schwartzman
PODC1
2019 Nitrosketch: robust and general sketch-based monitoring in software switches
abstract
Software switches are emerging as a vital measurement vantage point in many networked systems. Sketching algorithms or sketches, provide high-fidelity approximate measurements, and appear as a promising alternative to traditional approaches such as packet sampling. However, sketches incur significant computation overhead in software switches. Existing efforts in implementing sketches in virtual switches make sacrifices on one or more of the following dimensions: performance (handling 40 Gbps line-rate packet throughput with low CPU footprint), robustness (accuracy guarantees across diverse workloads), and generality (supporting various measurement tasks).
Zaoxing Liu, Ran Ben-Basat, Gil Einziger, Yaron Kassner, Vladimir Braverman, Roy Friedman 0001, Vyas Sekar
SIGCOMM2
2019 Optimal Distributed Covering Algorithms
Ran Ben-Basat, Guy Even, Ken-ichi Kawarabayashi, Gregory Schwartzman
DISC1
2019 Parameterized Distributed Algorithms
abstract
In this work, we initiate a thorough study of parameterized graph optimization problems in the distributed setting. In a parameterized problem, an algorithm decides whether a solution of size bounded by a \emph{parameter} $k$ exists and if so, it finds one. We study fundamental problems, including Minimum Vertex Cover (MVC), Maximum Independent Set (MaxIS), Maximum Matching (MaxM), and many others, in both the LOCAL and CONGEST distributed computation models. We present lower bounds for the round complexity of solving parameterized problems in both models, together with optimal and near-optimal upper bounds. Our results extend beyond the scope of parameterized problems. We show that any LOCAL $(1+ε)$-approximation algorithm for the above problems must take $Ω(ε^{-1})$ rounds. Joined with the algorithm of [GKM17] and the $Ω(\sqrt{\frac{\log n}{\log\log n}})$ lower bound of [KMW16], this settles the complexity of $(1+ε)$-approximating MVC, MaxM and MaxIS at $(ε^{-1}\log n)^{Θ(1)}$. We also show that our parameterized approach reduces the runtime of exact and approximate CONGEST algorithms for MVC and MaxM if the optimal solution is small, without knowing its size beforehand. Finally, we propose the first deterministic $o(n^2)$ rounds CONGEST algorithms that approximate MVC and MaxM within a factor strictly smaller than $2$.
Ran Ben-Basat, Ken-ichi Kawarabayashi, Gregory Schwartzman
DISC1
2019 Succinct Summing over Sliding Windows
Ran Ben-Basat, Gil Einziger, Roy Friedman 0001, Yaron Kassner
Algorithmica1
2019 Give me some slack: Efficient network measurements
Ran Ben-Basat, Gil Einziger, Roy Friedman 0001
Theor. Comput. Sci.1
2019 Randomized Admission Policy for Efficient Top-k, Frequency, and Volume Estimation
abstract
Network management protocols often require timely and meaningful insight about per flow network traffic. This paper introduces Randomized Admission Policy (RAP) -a novel algorithm for the frequency, top-k, and byte volume estimation problems, which are fundamental in network monitoring. We demonstrate space reductions compared to the alternatives, for the frequency estimation problem, by a factor of up to 32 on real packet traces and up to 128 on heavy-tailed workloads. For top-k identification, RAP exhibits memory savings by a factor of between 4 and 64 depending on the workloads' skewness. These empirical results are backed by formal analysis, indicating the asymptotic space improvement of our probabilistic admission approach. In Addition, we present d-way RAP, a hardware friendly variant of RAP that empirically maintains its space and accuracy benefits.
Ran Ben-Basat, Gil Einziger, Roy Friedman 0001, Yaron Kassner
IEEE/ACM Trans. Netw.1
2018 Network-wide routing-oblivious heavy hitters
abstract
The recent introduction of SDN allows deploying new centralized network algorithms that dramatically improve the network operation. Many of these solutions rely on the assumption that the centralized controller merges data from different Network Monitoring Points (NMP) to obtain a network-wide view. This is far from trivial when the same packet may traverse through several NMPs. Therefore, existing solutions either assume that each packet is measured at exactly one NMP or that the routing of each packet is known. Another approach is to mark the sampled packets so that other NMPs are aware that the packet was already considered.
Ran Ben-Basat, Gil Einziger, Shir Landau Feibish, Jalil Moraney, Danny Raz
ANCS1
2018 Memento: making sliding windows efficient for heavy hitters
abstract
Cloud operators require real-time identification of Heavy Hitters (HH) and Hierarchical Heavy Hitters (HHH) for applications such as load balancing, traffic engineering, and attack mitigation. However, existing techniques are slow in detecting new heavy hitters.
Ran Ben-Basat, Gil Einziger, Isaac Keslassy, Ariel Orda, Shay Vargaftik, Erez Waisbard
CoNEXT1
2018 Brief Announcement: Give Me Some Slack: Efficient Network Measurements
Ran Ben-Basat, Gil Einziger, Roy Friedman 0001
ICALP1
2018 Efficient Measurement on Programmable Switches Using Probabilistic Recirculation
abstract
Programmable network switches promise flexibility and high throughput, enabling applications such as load balancing and traffic engineering. Network measurement is a fundamental building block for such applications, including tasks such as the identification of heavy hitters (largest flows) or the detection of traffic changes. However, high-throughput packet processing architectures place certain limitations on the programming model, such as restricted branching, limited capability for memory access, and a limited number of processing stages. These limitations restrict the types of measurement algorithms that can run on programmable switches. In this paper, we focus on the RMT programmable high-throughput switch architecture, and carefully examine its constraints on designing measurement algorithms. We demonstrate our findings while solving the heavy hitter problem. We introduce PRECISION, an algorithm that uses Probabilistic Recirculation to find top flows on a programmable switch. By recirculating a small fraction of packets, PRECISION simplifies the access to stateful memory to conform with RMT limitations and achieves higher accuracy than previous heavy hitter detection algorithms that avoid recirculation. We also analyze the effect of each architectural constraint on the measurement accuracy and provide insights for measurement algorithm designers.
Ran Ben-Basat, Gil Einziger, Ori Rottenstreich
ICNP1
2018 Pay for a Sliding Bloom Filter and Get Counting, Distinct Elements, and Entropy for Free
abstract
For many networking applications, recent data is more significant than older data, motivating the need for sliding window solutions. Various capabilities, such as DDoS detection and load balancing, require insights about multiple metrics including Bloom filters, per-flow counting, count distinct and entropy estimation. In this work, we present a unified construction that solves all the above problems in the sliding window model. Our single solution offers a better space to accuracy tradeoff than the state-of-the-art for each of these individual problems! We show this both analytically and by running multiple real Internet backbone and datacenter packet traces.
Eran Assaf, Ran Ben-Basat, Gil Einziger, Roy Friedman 0001
INFOCOM2
2018 Approximate Query Processing over Static Sets and Sliding Windows
abstract
Indexing of static and dynamic sets is fundamental to a large set of applications such as information retrieval and caching. Denoting the characteristic vector of the set by B, we consider the problem of encoding sets and multisets to support approximate versions of the operations rank(i) (i.e., computing sum_{j <= i} B[j]) and select(i) (i.e., finding min{p|rank(p) >= i}) queries. We study multiple types of approximations (allowing an error in the query or the result) and present lower bounds and succinct data structures for several variants of the problem. We also extend our model to sliding windows, in which we process a stream of elements and compute suffix sums. This is a generalization of the window summation problem that allows the user to specify the window size at query time. Here, we provide an algorithm that supports updates and queries in constant time while requiring just (1+o(1)) factor more space than the fixed-window summation algorithms.
Ran Ben-Basat, Seungbum Jo, S. Srinivasa Rao 0001, Shubham Ugare
ISAAC1
2018 Volumetric Hierarchical Heavy Hitters
abstract
Hierarchical heavy hitters (HHH) identification is useful for various network utilities such as anomaly detection, DDoS mitigation, and traffic analysis. However, the increasing support for jumbo frames enables attackers to overload the system with fewer packets, avoiding detection by packet counting techniques. This paper suggests an efficient algorithm for detecting HHH based on their traffic volume that asymptotically improves the runtime of previous works. We implement our algorithm in Open vSwitch (OVS) and incur a 4-6% overhead compared to a 42% throughput reduction experienced by the state-of-the-art.
Ran Ben-Basat, Gil Einziger, Roy Friedman 0001, Marcelo Caggiani Luizelli, Erez Waisbard
MASCOTS1
2018 Give Me Some Slack: Efficient Network Measurements
abstract
Many networking applications require timely access to recent network measurements, which can be captured using a sliding window model. Maintaining such measurements is a challenging task due to the fast line speed and scarcity of fast memory in routers. In this work, we study the impact of allowing slack in the window size on the asymptotic requirements of sliding window problems. That is, the algorithm can dynamically adjust the window size between W and W(1+tau) where tau is a small positive parameter. We demonstrate this model's attractiveness by showing that it enables efficient algorithms to problems such as Maximum and General-Summing that require Omega(W) bits even for constant factor approximations in the exact sliding window model. Additionally, for problems that admit sub-linear approximation algorithms such as Basic-Summing and Count-Distinct, the slack model enables a further asymptotic improvement. The main focus of the paper is on the widely studied Basic-Summing problem of computing the sum of the last W integers from {0,1 ...,R} in a stream. While it is known that Omega(W log R) bits are needed in the exact window model, we show that approximate windows allow an exponential space reduction for constant tau. Specifically, for tau=Theta(1), we present a space lower bound of Omega(log(RW)) bits. Additionally, we show an Omega(log (W/epsilon)) lower bound for RW epsilon additive approximations and a Omega(log (W/epsilon)+log log R) bits lower bound for (1+epsilon) multiplicative approximations. Our work is the first to study this problem in the exact and additive approximation settings. For all settings, we provide memory optimal algorithms that operate in worst case constant time. This strictly improves on the work of [Mayur Datar et al., 2002] for (1+epsilon)-multiplicative approximation that requires O(epsilon^(-1) log(RW)log log (RW)) space and performs updates in O(log (RW)) worst case time. Finally, we show asymptotic improvements for the Count-Distinct, General-Summing and Maximum problems.
Ran Ben-Basat, Gil Einziger, Roy Friedman 0001
MFCS1
2018 A Deterministic Distributed 2-Approximation for Weighted Vertex Cover in O(\log N\log \varDelta /\log ^2\log \varDelta ) Rounds
Ran Ben-Basat, Guy Even, Ken-ichi Kawarabayashi, Gregory Schwartzman
SIROCCO1
2018 Space Efficient Elephant Flow Detection
abstract
Identifying the large flows in terms of byte volume, known as elephant flows, is a fundamental capability that many network algorithms require. While optimal solutions that find the largest flows in terms of packet-count are known [5], constant update time algorithms for byte-volume were only recently discovered [1, 2]. Here, we propose an improved variant of the DIMSUM algorithm [2] that reduces the space requirement by 50% while allowing O(1) update time.
Ran Ben-Basat, Gil Einziger, Roy Friedman 0001
SYSTOR1
2018 Fast flow volume estimation
Ran Ben-Basat, Gil Einziger, Roy Friedman 0001
Pervasive Mob. Comput.1
2018 Stream Frequency Over Interval Queries
abstract
Stream frequency measurements are fundamental in many data stream applications such as financial data trackers, intrusion-detection systems, and network monitoring. Typically, recent data items are more relevant than old ones, a notion we can capture through a sliding window abstraction. This paper considers a generalized sliding window model that supports stream frequency queries over an interval given at query time. This enables drill-down queries, in which we can examine the behavior of the system in finer and finer granularities. For this model, we asymptotically improve the space bounds of existing work, reduce the update and query time to a constant, and provide deterministic solutions. When evaluated over real Internet packet traces, our fastest algorithm processes items 90--250 times faster, serves queries at least 730 times quicker and consumes at least 40% less space than the best known method.
Ran Ben-Basat, Roy Friedman 0001, Rana Shahout
Proc. VLDB Endow.1
2017 Randomized admission policy for efficient top-k and frequency estimation
abstract
Network management protocols often require timely and meaningful insight about per flow network traffic. This paper introduces Randomized Admission Policy (RAP) - a novel algorithm for the frequency and top-k estimation problems, which are fundamental in network monitoring. We demonstrate space reductions compared to the alternatives by a factor of up to 32 on real packet traces and up to 128 on heavy-tailed workloads. For top-k identification, RAP exhibits memory savings by a factor of between 4 and 64 depending on the workloads' skewness. These empirical results are backed by formal analysis, indicating the asymptotic space improvement of our probabilistic admission approach. Additionally, we present d-Way RAP, a hardware friendly variant of RAP that empirically maintains its space and accuracy benefits.
Ran Ben-Basat, Gil Einziger, Roy Friedman 0001, Yaron Kassner
INFOCOM1
2017 Optimal elephant flow detection
abstract
Monitoring the traffic volumes of elephant flows, including the total byte count per flow, is a fundamental capability for online network measurements. We present an asymptotically optimal algorithm for solving this problem in terms of both space and time complexity. This improves on previous approaches, which can only count the number of packets in constant time. We evaluate our work on real packet traces, demonstrating an up to X2.5 speedup compared to the best alternative.
Ran Ben-Basat, Gil Einziger, Roy Friedman 0001, Yaron Kassner
INFOCOM1
2017 Constant Time Updates in Hierarchical Heavy Hitters
abstract
Monitoring tasks, such as anomaly and DDoS detection, require identifying frequent flow aggregates based on common IP prefixes. These are known as hierarchical heavy hitters (HHH), where the hierarchy is determined based on the type of prefixes of interest in a given application. The per packet complexity of existing HHH algorithms is proportional to the size of the hierarchy, imposing significant overheads.
Ran Ben-Basat, Gil Einziger, Roy Friedman 0001, Marcelo Caggiani Luizelli, Erez Waisbard
SIGCOMM1
2017 Counting distinct elements over sliding windows
abstract
In Distributed Denial of Service (DDoS) attacks, an attacker tries to disable a service with a flood of seemingly legitimate requests from multiple devices; this is usually accompanied by a sharp spike in the number of distinct IP addresses / flows accessing the system in a short time frame. Hence, the number of distinct elements over sliding windows is a fundamental signal in DDoS identification. Additionally, assessing whether a specific flow has recently accessed the system, known as the Set Membership problem, can help us identify the attacking parties. Here, we show how to extend the functionality of a state of the art algorithm for set membership over a W elements sliding window. We now also support estimation of the distinct flow count, using as little as log2 (W) additional bits.
Eran Assaf, Ran Ben-Basat, Gil Einziger, Roy Friedman 0001, Yaron Kassner
SYSTOR2
2017 A Game Theoretic Analysis of the Adversarial Retrieval Setting
abstract
The main goal of search engines is ad hoc retrieval: ranking documents in a corpus by their relevance to the information need expressed by a query. The Probability Ranking Principle (PRP) --- ranking the documents by their relevance probabilities --- is the theoretical foundation of most existing ad hoc document retrieval methods. A key observation that motivates our work is that the PRP does not account for potential post-ranking effects; specifically, changes to documents that result from a given ranking. Yet, in adversarial retrieval settings such as the Web, authors may consistently try to promote their documents in rankings by changing them. We prove that, indeed, the PRP can be sub-optimal in adversarial retrieval settings. We do so by presenting a novel game theoretic analysis of the adversarial setting. The analysis is performed for different types of documents (single-topic and multi-topic) and is based on different assumptions about the writing qualities of documents' authors. We show that in some cases, introducing randomization into the document ranking function yields an overall user utility that transcends that of applying the PRP.
Ran Ben-Basat, Moshe Tennenholtz, Oren Kurland
J. Artif. Intell. Res.1
2016 Heavy hitters in streams and sliding windows
abstract
Identifying heavy hitter flows is a fundamental problem in various network domains. The well established method of using sketches to approximate flow statistics suffers from space inefficiencies. In addition, flow arrival rates are dynamic, thus keeping track of the most recent heavy hitters poses a challenge. Sliding window approximations address this problem, reducing space at the cost of increasing point query time. This paper presents two novel algorithms for identifying heavy hitters in streams and sliding windows. Both algorithms use statically allocated memory and support constant time point queries. For sliding windows, this is an asymptotic improvement over previous work. We also demonstrate reduced memory requirements of up to 85% in streams and 66% in sliding windows over synthetic and real Internet packet traces.
Ran Ben-Basat, Gil Einziger, Roy Friedman 0001, Yaron Kassner
INFOCOM1
2016 The ranking game
abstract
In the web, page creators often compete for their ranking on relevant search queries, as high ranking attracts users and may lead to increased revenues. The positive effect of this competition is that it encourages page owners to improve their content. However, some techniques used for this improvement, such as keyword stuffing, are considered harmful. Current search engine literature largely ignores the interplay between the retrieval system and the pages' content evolvement. This paper studies the above phenomenon.
Ran Ben-Basat, Elad Kravi
WebDB1
2016 The k-distinct language: Parameterized automata constructions
Ran Ben-Basat, Ariel Gabizon, Meirav Zehavi
Theor. Comput. Sci.1
2014 The k -Distinct Language: Parameterized Automata Constructions
Ran Ben-Basat, Ariel Gabizon, Meirav Zehavi
IPEC1