Streaming with Catalytic Memory

📅 2026-07-10
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work proposes the first multi-pass streaming model that integrates catalytic memory with conventional memory to address fundamental problems in streaming computation, including frequency moments, distinct element counting, graph triangle enumeration, and heavy hitter detection. By introducing a catalytic memory mechanism, the authors surpass the theoretical lower bounds inherent to single-pass algorithms and design the first two-pass exact algorithm for computing the second frequency moment, which generalizes to arbitrary frequency polynomials. The study further establishes a formal connection between the catalytic streaming model and catalytic communication complexity, proving that single-pass catalytic streaming offers no computational advantage. This framework enables efficient exact computation of multiple key statistics, significantly expanding both the expressive power and theoretical limits of streaming algorithms.
📝 Abstract
We introduce a streaming model that uses both catalytic and regular memory. In this model, we show how to exactly compute the frequency moments using a logarithmic number of bits of regular memory and a polynomial number of bits of catalytic memory. More generally, we show how to compute arbitrary polynomials of the item frequencies exactly within the same space bounds. As an application, we obtain catalytic streaming algorithms that exactly compute the number of distinct elements in a stream, count the number of triangles (or any other small subgraph) in a graph whose edges arrive in a stream, and identify heavy hitters. Our algorithms for frequency moments perform a constant number of passes over the stream, and for polynomial evaluation, we require one more pass than the degree of the polynomial. By relating our catalytic streaming model to the catalytic communication model introduced in Pyne et al., we show that catalytic memory is not useful for any one-pass streaming algorithm. For lower bounds on multipass streaming algorithms, the impossibility results of Pyne et al. are not strong enough. However, using a different technique, we show that under certain natural restrictions, no catalytic streaming algorithm can compute the second frequency moment in fewer than three passes. This definition of the restricted class of two-pass algorithms then guides us in the design of a two-pass algorithm for computing the second moment exactly that circumvents these restrictions and breaks the three-pass barrier.
Problem

Research questions and friction points this paper is trying to address.

streaming algorithms
catalytic memory
frequency moments
subgraph counting
heavy hitters
Innovation

Methods, ideas, or system contributions that make the work stand out.

catalytic memory
streaming algorithms
frequency moments
multipass streaming
polynomial evaluation
🔎 Similar Papers