Abstract 1 Introduction 2 Preliminaries 3 Technical overview 4 Randomized lower bound for maximum cut (Theorem 1) 5 Upper bound for maximum cut in dense graphs 6 Randomized lower bound for maximum cut in dense graphs (Theorem 2) 7 Deterministic lower bound for maximum cut value (Theorem 3) 8 Densest subgraph and extensions References

Streaming Complexity Separations for Dense and Sparse Graphs

Yang P. Liu ORCID Carnegie Mellon University, Pittsburgh, PA, USA    Hoai-An Nguyen ORCID Carnegie Mellon University, Pittsburgh, PA, USA    Noah G. Singer ORCID Carnegie Mellon University, Pittsburgh, PA, USA    David P. Woodruff ORCID Carnegie Mellon University, Pittsburgh, PA, USA
Abstract

We identify a sharp separation in the streaming space complexity of Maximum Cut when the algorithm must output an approximate cut (rather than only the approximate value). For dense graphs, we show that O(n/ε2) space is sufficient and that Ω(n) space is necessary. In contrast, for graphs with Θ(n/ε2) edges, the situation is markedly different: we show that the problem requires Ω(nlog(ε2n)/ε2) space for any ε=ω(1/n), which is tight for the full range of ε. We also give an Ω(nlogn/ε2)-space lower bound against deterministic algorithms for outputting a (1ε) approximation to the value of the maximum cut.

Using similar techniques we prove an analogous sharp separation in the streaming space complexity of Densest Subgraph and show that for every constant-arity CSP over a constant-size alphabet and the Similarity problem the space complexity in dense streams can be improved by shaving a logarithmic factor.

Keywords and phrases:
streaming, maximum cut, complexity separations
Category:
Track A: Algorithms, Complexity and Games
Funding:
Hoai-An Nguyen: Supported in part by NSF GRFP grant number DGE2140739, Office of Naval Research award number N000142112647, and a Simons Investigator Award.
David P. Woodruff: Supported in part by Office of Naval Research award number N000142112647 and a Simons Investigator Award.
Copyright and License:
[Uncaptioned image] © Yang P. Liu, Hoai-An Nguyen, Noah G. Singer, and David P. Woodruff; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Streaming, sublinear and near linear time algorithms
Related Version:
Full Version: https://arxiv.org/abs/2605.09814
Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele Puppis

1 Introduction

In this paper, we study the streaming complexity of graph optimization problems. Our focus is on understanding the space complexity required to output approximate solutions in a single pass over insertion-only streams. In particular, we identify sharp separations for sparse and dense graphs for the streaming complexity of the fundamental Max-Cut problem. In Max-Cut, the task is to output a cut, i.e., a partition of the vertices of the input graph, such that the value (the number of edges crossing the partition) is at least a (1ε) fraction of the maximum cut value. Our results also extend to other (hyper)graph optimization problems: constant-arity constraint satisfaction problems (CSPs) and Densest-Subgraph.

Prior works [47, 44, 45, 7, 8, 19, 32] have studied streaming algorithms for (1/2+ε)-approximate Max-Cut (albeit the value version) in both the single-pass and multi-pass settings. Motivated by this and connections to sparsification/space-compression of graph cuts (and more generally CSPs), we study the ε-dependence of the space required for streaming Max-Cut for (1ε)-approximations (values of ε bounded away from 1/2). The simplest algorithm for streaming Max-Cut simply samples a uniform subset of O(n/ε2) edges in the stream. Standard concentration bounds prove that this provides an additive approximation to all cuts in the graph, which implies a multiplicative approximation to Max-Cut (which cuts at least half the edges). The space required by this algorithm is O(ε2nlog(nε2)), because there are ((n2)n/ε2)exp(Θ(ε2nlog(nε2))) graphs with n/ε2 edges.

Our first result (see Theorem 1) is that this bound is tight in general, and we construct a family of graphs with n/ε2 edges such that any streaming algorithm outputting a (1ε)-approximate Max-Cut requires at least Θ(ε2nlog(nε2)) bits of space. However, the case of dense graphs is different, and applying techniques from F0 estimation gives an approximate Max-Cut streaming algorithm in dense graphs that only uses O(n/ε2) bits of space. In other words, we exhibit a dichotomy for streaming Max-Cut in sparse versus dense graphs.

1.1 Our contributions

In all of the following, the lower bounds hold against insertion-only one-pass streaming algorithms.

We first give a lower bound against randomized algorithms for the problem of outputting an approximate maximum cut. In particular, the hard instance is a family of graphs that contain n/ε2 edges. Note that for constant ε this is a sparse graph.

Theorem 1.

Let ε0>0 be a sufficiently small constant. Any randomized streaming algorithm that returns a (1ε)-approximate maximum cut in a graph with n vertices with probability at least 0.51, where ε(n)[ω(1/n),ε0], requires Ω(ε2nlog(nε2)) bits of space.

This bound is tight for the range ε[ω(1/n),ε0] – the matching upper bound follows from the fact that uniformly sampling about n/ε2 edges produces a graph whose Max-Cut value is a good approximation, and that there are exp(ε2nlog(nε2)) graphs with n/ε2 edges.

In the dense setting, we use the F0 estimation algorithm of [14] to give an algorithm that returns a (1ε)-approximate maximum cut in O(n/ε2) bits of space in dense graphs (Theorem 16). We also show that Ω(n) working space (the space required by the algorithm not including the space for the output) is required for dense graphs.

Theorem 2.

For constant ε>0, any randomized streaming algorithm that returns a (1ε)-approximate maximum cut in a graph with n vertices and m=Θ(n2) edges with probability at least 2/3 requires Ω(n) bits of working space.

We give a lower bound against deterministic algorithms for the problem of outputting an approximation to the maximum cut value.

Theorem 3.

For constant ε>0, any deterministic streaming algorithm which returns a (1±ε)-approximation to the maximum cut value of a graph with n vertices requires Ω(ε2nlogn) bits of space.

We also give separations for the problem of densest subgraph. We give an Ω(nlogn) lower bound for outputting both an approximation of the density of the densest subgraph as well as an approximate densest subgraph itself in sparse graphs (Theorem 26). We then give an algorithm that returns an approximate densest subgraph in O(n/ε2) bits of space in dense graphs (Theorem 27) and show that Ω(n) working space is necessary (Theorem 28).

Using similar techniques, we show that for every constant-arity CSP over a constant size alphabet that space complexity O(n/ε2) can be achieved in dense graphs (Theorem 29). Finally, we give algorithms for Similarity (which interestingly doesn’t require a dense stream) and Rarity in dense streams (Theorem 30 and Theorem 31).

1.2 Related work

1.2.1 Cut sparsification

We mention that there has been significant work on sparsifying graphs to preserve the value of every cut up to a multiplicative (1±ε) (see e.g., [1]); such algorithms are suited to the Min-Cut problem, rather than Max-Cut. Indeed, [60] showed an Ω(nlogn)-space lower bound for computing Min-Cut in sparse graphs based on a reduction from Connectivity; their lower bound can easily be extended to dense graphs by simply adding a highly dense subgraph connected to the existing graph by a single edge. Thus, our O(n)-space algorithm for Max-Cut (Theorem 16) proves that approximate Min-Cut is harder than approximate Max-Cut in the dense streaming setting.

1.2.2 Densest subgraph

In contrast to Max-Cut, polynomial-time algorithms are known for solving Densest-Subgraph in the classical setting (see e.g., [37, 17]). (For additional background on Densest-Subgraph, see the recent survey [48].) Streaming algorithms for the Densest-Subgraph problem have been studied in several previous works, including [10, 4, 13, 52, 53, 50]. Most relevant to us is the work of [30], who gave an Oε(nlog2n)-space algorithm for outputting a (1ε)-approximate densest subgraph in an arbitrary input graph based on a sparsification reduction. Our Theorem 27 improves over their algorithm by eliminating the log2n factor in the case of dense input graphs. [10] proved a similar bound to our Theorem 28, proving that any p-pass insertion-only streaming algorithm which achieves a constant approximation requires Ω(n/p) space. We note that our bound is specifically for dense graphs in line with our investigation into the separation between dense and sparse instances, and the hard instance we use is a family of dense graphs. In contrast, the hard instance of [10] is a family of sparse graphs.

1.2.3 Dense CSPs

For Max-Cut and other CSPs, O(ε2nlogn)-space streaming algorithms based on uniform subsampling (which preserve the value of every assignment up to an additive ±ε) have been studied in several previous works, including [62, 47, 21]. Indeed, there is a moral reason why dense (maximization) CSPs are “easier than” sparse CSPs. The goal is to satisfy as many constraints as possible, and having more constraints lets an algorithm narrow down the search space more efficiently (to either find a good assignment or conclude that none exists). Thus, there are many models in which dense CSPs are easier to solve than sparse CSPs, beyond the problem of outputting an approximately optimal assignment with a streaming algorithm which we study in this paper. For instance, there are polynomial-time approximation schemes for many dense CSPs (see e.g. [35, 5, 51, 31]), while approximating many sparse CSPs (up to arbitrarily good constant factors) is 𝐍𝐏-hard [6]. Such schemes can be designed using simple subsampling procedures, like looking at the induced CSP on a constant-sized random subset of variables (e.g., [2]); these ideas also extend to some LP/SDP relaxations [11]. Tradeoffs between running time and density are also known for CSPs in random [54] and semirandom [38] models.

1.2.4 Streaming CSPs

There has been quite a lot of work on streaming algorithms for the Max-Cut problem and other CSPs in recent years [43, 40, 44, 12, 39, 45, 24, 7, 8, 22, 20, 42, 21, 57, 59, 56, 58, 23, 55, 32, 33, 9]. Note that these works are concerned with outputting an approximately optimal maximum cut value versus an actual cut itself. For Max-Cut (the value version) on sparse graphs, we have quite strong lower bounds: Ωε(n) space is needed to distinguish between bipartite graphs (𝗈𝗉𝗍G=1) and graphs with 𝗈𝗉𝗍G12+ε [45]. Also, [12] showed a constant-space algorithm for (1±ε)-approximating the Max-Cut value of a dense graph. (In contrast, actually outputting an approximately optimal cut in this space is not possible according to our Theorem 2.) [23] gave a O(logO(1)n)-versus-Ω(n)-space dichotomy theorem for sketching algorithms which approximate the value of families of Max-CSPk,q problems. [21] built on their work and that of [45] to get Ω(n)-space lower bounds for some CSPs. A dichotomy for multi-pass streaming was recently established by [33].

1.3 Road map

In Section 2 we give our preliminaries, and in Section 3 we give a technical overview of our results. Then we give our randomized lower bound for maximum cut for sparse graphs in Section 4, our maximum cut algorithm for dense graphs in Section 5, and our randomized lower bound for maximum cut in dense graphs in Section 6. We give our deterministic lower bound for the maximum cut value in Section 7. All omitted proofs and our alternate algorithm for maximum cut in dense graphs are in the full version on arXiv. We present the problem definitions and our results for densest subgraph and our extensions including to all CSPs, similarity and rarity in Section 8. The full sections are in the full version.

2 Preliminaries

Terminology.

We consider undirected graphs G=(V,E) where V denotes the set of n vertices and E denotes the set of m edges. We say G is “dense” if m=Ω(n2) whereas G is “sparse” if m=O(n). We may refer to graphs with O(n/ε2) edges as “sparse” (note that this is the same as O(n) for constant ε). We denote N(u) as the set of adjacent vertices to vertex u in a graph. In general, we boldface random variables.

Sums of binomial coefficients.

Let 𝖧(p)plog2p(1p)log2(1p) denote the binary entropy function. We recall the following standard lemma from combinatorics:

Lemma 4 (Well-known, e.g., [49, Ch. 10, Cor. 9]).

Let n and 0kn/2. Then i=0k(ni)2n𝖧(k/n).

The Max-Cut problem.

For an undirected G=(V,E) and a function x:V{0,1} representing a “cut”, we define the cut value of x as the fraction of edges whose endpoints are assigned differently by x:

𝗏𝖺𝗅G(x)Pr{𝒖,𝒗}Unif(E)[x(𝒖)x(𝒗)].

We define the value of G as

𝗈𝗉𝗍Gmaxx:V{0,1}𝗏𝖺𝗅G(x),

the highest value of any cut. G is bipartite if 𝗈𝗉𝗍G=1. For every γ[0,1], we define the set

𝖦𝗈𝗈𝖽Gγ{x:𝗏𝖺𝗅G(x)(1γ)𝗈𝗉𝗍G}.

The ε-approximate Max-Cut problem is to, given G, output a cut x𝖦𝗈𝗈𝖽Gε.

One can also consider the related “value approximation” problem where the goal is to output a real number v[0,1] such that v(1±ε)𝗈𝗉𝗍G. Note that the value of a uniformly random cut 𝒙:V{0,1} is 12 in expectation and therefore 𝗈𝗉𝗍G12 for every graph G.

One-way communication problems.

We prove most of our lower bounds by considering the following simple communication problem, called Identity, in the one-way model.

Problem 1.

Let be a finite set. In the Identity problem, Alice gets an input A and sends a single message to Bob. Bob, after arbitrary local computation, then needs to output A.

The following information-theoretic bound is folklore:

Lemma 5.

In any one-way protocol for Identity with constant success probability, Alice must send Bob Ω(log||) bits of information.

3 Technical overview

Here we give an overview of our results.

3.1 Randomized 𝛀(𝒏𝐥𝐨𝐠(𝒏𝜺𝟐)/𝜺𝟐) lower bound for maximum cut (Theorem 1)

The goal of Theorem 1 is to prove a lower bound against randomized streaming algorithms outputting an approximate maximum cut in a graph.

Given a fixed streaming algorithm and an input graph G, let 𝙲𝚘𝚖𝚙𝚛𝚎𝚜𝚜(G) denote the state of the streaming algorithm after processing the edges of G. If the streaming algorithm uses space s, we can think of this as a (possibly randomized) mapping 𝙲𝚘𝚖𝚙𝚛𝚎𝚜𝚜:{graphs}{0,1}s. Our fundamental idea is then to construct a large family of graphs on Θ(n) vertices (log||=Ω(nlog(nε2)/ε2)) and show that 𝙲𝚘𝚖𝚙𝚛𝚎𝚜𝚜(G) (typically) contains enough information about G to uniquely identify it among all graphs in . Since 𝙲𝚘𝚖𝚙𝚛𝚎𝚜𝚜(G) has only s bits, this is information-theoretically impossible unless s|log()|, allowing us to conclude the space lower bound.

Recall that 𝙲𝚘𝚖𝚙𝚛𝚎𝚜𝚜(G) encapsulates the state of the streaming algorithm after G’s edges are streamed. Thus, knowledge of 𝙲𝚘𝚖𝚙𝚛𝚎𝚜𝚜(G) can help us to identify G from among a large family of graphs . In particular, we can “pick up where we left off” in the stream; that is, we can pick a graph H, add H’s edges to the stream, and then ask for an approximate maximum cut in GH (with good probability). Modulo failure probability, we can now forget about the streaming model, and think instead about the following query problem: when can G be identified given the ability to query an approximate maximum cut in GH for H of our choosing?

Note that in the simplest case, we might set H to the empty graph, and query an approximate maximum cut in G itself. However, this gives us just n bits of information about G,111After all, a cut is just a string in {0,1}n. which is not enough to identify G in general (since log||n). Instead, we will need to query with many different H’s. But which H’s should we use to “learn” about G?

Our main conceptual insight is that, by carefully constructing the graph family and the query graphs H, we can also compute certain approximate conditional maximum cuts in G itself. By this, we mean the following. If G is a graph with vertex-set V, then a cut in G is just a string in {±1}V, i.e., a labeling of vertices by {±1} values. The standard maximum cut problem is to find the cut in {±1}V cutting the most edges in G. In the “conditional” maximum cut problem, we are given, in addition to G, a subset SV of the vertices and a cut x{±1}S on those vertices, and we want to find the cut y{±1}VS on the remaining vertices such that the full cut xy{±1}V cuts as many edges as possible. In other words, we want to maximize the number of cut edges not over the full cube {±1}V, but over the subcube where the coordinates in S are fixed to x.

Specifically, in our setup, the graphs G are certain bipartite graphs on a vertex set LR, with |L|=|R|=n, and for every partial cut x{±1}L on the left vertices, we hope to find an approximate conditional maximum cut y{±1}R on the right vertices. We achieve this by defining a graph Hx on vertex set VV in such a way that when we query an approximate maximum cut z{±1}V for GHx, zL is forced to (mostly) equal x, and zR correspondingly (mostly) recovers an approximate conditional maximum cut. (Here zL and zR denote, respectively, z’s restriction onto the left and right vertices of G.)

Our technical work now splits into two parts:

  1. 1.

    We construct a very large family of bipartite graphs on vertex-set LR such that for every G1G2, except with probability 1% over the choice of the left-cut 𝒙{±1}L, the set of approximate maximum right-cuts for G1 and G2 conditioned on 𝒙 are disjoint. Specifically, to construct , we sample a set of random bipartite graphs with right-regularity k=Θ(1/ε2), and then filter out graphs which fail certain desired criteria.

  2. 2.

    We show how approximate maximum cut queries can be used to identify members of this family. This step combines the standard Yao’s minimax lemma / averaging ideas and a careful construction of graphs Hx.

To conclude this subsection, we shed some additional light on Step (1), the construction of the large family of k-right-regular graphs . is required to satisfy two important properties: firstly, the distribution of left-degrees of every graph in should be pseudorandom, in the sense that the total of squared left-degrees is O(nk2) and the total left-degree of vertices with left-degree Ω(k) is O(nk). Secondly, the pairwise overlap in the edge-sets of graphs in is small.

We then show that we can separate each pair of distinct graphs G1,G2. Fix such a pair and sample left assignment 𝒙 uniformly at random. We show that with high probability over 𝒙, there does not exist any right assignment that is simultaneously near-optimal for both conditional instances (G1,𝒙) and (G2,𝒙). This is because fixing x induces at each right vertex v a signed imbalance which is the difference between the number of neighbors labeled +1 and 1 by 𝒙; any near-optimal right assignment must agree with these imbalances on most vertices. Thus, if G1 and G2 shared a near-optimal right assignment under the same x, the difference in imbalance between the two has to be small. On the other hand, the low-overlap property ensures that for most right vertices these imbalances are driven by essentially disjoint neighborhoods in G1 and G2, leading to a large expected inconsistency under random 𝒙. The bounded degree conditions allow us to amplify this to high probability via concentration, ruling out shared near-optimal right assignments. This separation implies that any algorithm which succeeds on a constant fraction of the instances must distinguish between a constant fraction of the pairs of graphs in yielding the desired lower bound.

3.2 Randomized 𝑶(𝒏/𝜺𝟐) upper bound for maximum cut

Our algorithm is very simple and is an application of the F0 estimation algorithm from [14]. The algorithm of [14] estimates the number of distinct elements (so distinct edges here) in a stream up to a multiplicative ε approximation using O(log(δ1)/ε2+logn) space with probability 1δ. For any cut x, take cut(x) to denote the set of edges that crosses x in the complete graph. Inclusion-exclusion therefore gives us

|Gcut(x)|=|G|+|cut(x)||Gcut(x)|.

We can maintain |G| exactly in logn bits and |cut(x)| is known offline. We can use the F0 estimation algorithm to estimate |Gcut(x)| in the following way: run the algorithm on the input stream and then add the edges of cut(x) to the stream. Although the F0 algorithm gives a multiplicative approximation to |Gcut(x)|, this translates to εn2 additive error on every cut value. Therefore, the density of the graph gives the desired approximation. Setting δ=2Θ(n) so that we can union bound over all cuts gives space O(n/ε2). We also note that since we are using an F0 sketch, we can handle the case where the same constraint is present in the stream multiple times. In this case, it is treated as if the constraint was only presented once.

Given that we are working in the setting where δ is very small, the update time of the F0 sketch of [14] is polyn. It is unclear how to speed up the update time while preserving the exact space complexity (note that in contrast uniform sampling has fast update time but suboptimal space). So, we also present an alternate algorithm which has a slightly worse space dependence (by a log(1/ε) factor) but has only amortized polylogn update time.

Our alternate algorithm goes as follows. The first key idea is to sample n random edges before the stream, as opposed to the naive approach of sampling n edges during the stream. Then during the stream, we simply record which of the pre-sampled edges were actually present in the input graph with a simple bit array of size n and use these edges as our sample. But how do we sample n random edges before the stream in only O(n) bits of space? Our second key idea is that we do not need truly i.i.d. uniform samples. So we construct a d-regular expander graph on vertex-set (n2) (d depends only on ε) and take a random walk of length n in this graph starting from a random vertex. We can then use well-known concentration inequalities for random walks on expanders (see [61]) to conclude this gives a good estimator. Crucially, there is an O(n+logn)-bit implicit representation of the list of vertices on the walk (which correspond to possible edges in the graph), since all we need to store is the starting vertex and a “next-step pointer” saying “go to my i-th neighbor” for i[d] for each vertex along the walk. We note that our techniques differ from [14] since we define the expander on all the possible edges of the input graph versus to generate random seeds.

3.3 Randomized 𝛀(𝒏) lower bound for maximum cut in dense graphs (Theorem 2)

We note that since |V|=n, n bits of space are required to write down the output. However, our lower bound shows that Ω(n) bits of working space (i.e., not counting the output space) is also required for this task.

To establish our lower bound, we design an exponentially large family of inputs where the sets of approximately optimal solutions are pairwise disjoint. We then show that one can leverage an approximate Max-Cut streaming algorithm to correctly identify an input graph G. The set of inputs are complete bipartite graphs.

3.4 Deterministic lower bound for maximum cut value (Theorem 3)

Our framework is similar to that of our randomized Ω(nlog(nε2)/ε2) lower bound. We design a large family of graphs and show that G can be identified given the ability to query an approximate maximum cut value in GH for H of our choosing. In the deterministic setting, the query access we assume is stronger than in the randomized setting: we may augment G with any H and obtain exact deterministic approximations to the maximum cut value of GH with no failure probability and therefore with an unbounded number of queries.

We instantiate as the family of graphs formed by the union of Θ(1/ε2) perfect bipartite matchings on a vertex set of size 2n. For every pair of distinct graphs G1,G2, we construct a deterministic distinguishing test 𝒯(G1,G2). Specifically, we show that for each such pair there exists a cut x satisfying |𝗏𝖺𝗅G1(x)𝗏𝖺𝗅G2(x)|=Ω(n/ε). Using this cut, we define augmentation H such that the maximum cut value of GH encodes 𝗏𝖺𝗅G(x). By thresholding the resulting approximate maximum cut value, we can deterministically distinguish whether the unknown graph G is equal to G1 or G2 (with arbitrary behavior permitted otherwise). Running 𝒯(G1,G2) over all possible pairs of graphs in and selecting the graph consistent with the largest number of tests uniquely identifies G, yielding the desired space lower bound.

4 Randomized lower bound for maximum cut (Theorem 1)

We start by defining the notion of conditional Max Cut, where the input is a bipartite graph in which the left vertices have a fixed assignment and the goal is to find the optimum assignment on the right vertices. We then give some lemmas which outline what conditions we want for our hard family of graphs.

Definition 6 (“Conditional” Max Cut).

Let G=(LR,E) be a bipartite simple graph and x{±1}L a fixed assignment to the left vertices. The value of an assignment y{±1}R to the right vertices is

valGx(y)12(u,v)E(1xuyv)=|E|212(u,v)Exuyv.

The optimum value over all assignments is optGxmaxy{±1}RvalGx(y).

Given G and x, we define the discrepancy of a vertex vR as

δGx(v)uNG(v)xu. (2)

This immediately gives, for a fixed right-assignment y{±1}R, the equation

valGx(y)=|E|212vRyvδGx(v). (3)

Maximizing this over all right-assignments gives the equation

optGx=|E|2+12vR|δGx(v)|. (4)

We can then define the loss of a particular right-assignment y as:

lossGx(y)optGxvalGx(y)=12vR(|δGx(v)|+yvδGx(v)). (5)

Finally, for a goodness threshold τ>0, we define the set of good right-assignments for x as:

GoodGxτ{y{±1}R:lossGx(y)τ}. (6)

For a,b, define slack(a,b)|a|+|b||a+b|. This quantity is the slack in the triangle inequality applied to a and b. In particular, it is always nonnegative. It vanishes iff a and b have the same sign (or either is zero), and otherwise equals min(|a|,|b|).

Let G¯=(G1,G2) denote an ordered pair of bipartite graphs on the same vertex-set LR. For a fixed left-assignment x{±1}L and right-vertex vR, we define the advantage

advG¯x(v)slack(δG1x(v),δG2x(v)). (7)

Our first lemma states that if two graphs share a good right-assignment, then the total advantage must be small.

Lemma 7.

For every pair of bipartite graphs G¯=(G1,G2) and left-assignment x{±1}L, if GoodG1xτGoodG2xτ, then vRadvG¯x(v)4τ.

Now, we establish conditions under which the advantage is large. For vR and x{±1}L, we decompose

μG¯x1(v) uNG1(v)NG2(v)xu,
μG¯x2(v) uNG2(v)NG1(v)xu,
μG¯x(v) uNG1(v)NG2(v)xu,

We then give the following lower bound on advG¯x(v):

Lemma 8.

For every pair of bipartite graphs G¯=(G1,G2), left-assignment x{±1}L, and right-vertex vR:

advG¯x(v)slack(μG¯x1(v),μG¯x2(v))4|μG¯x(v)|.

To prove this, we use the following fact:

Lemma 9 (Lipschitzness of the slack function).

The function slack:× is 2-Lipschitz with respect to the 1-norm: |slack(a,b)slack(a,b)|2(|aa|+|bb|).

Proof of Lemma 8.

Since NG1(v)=(NG1(v)NG2(v))(NG1(v)NG2(v)), we have δG1x(v)=μG¯x1(v)+μG¯x(v) and similarly for δG2x(v). Hence, using the triangle inequality, we have:
advG¯x(v)=slack(μG¯x1(v)+μG¯x(v),μG¯x2(v)+μG¯x(v))slack(μG¯x1(v),μG¯x2(v))|slack(μG¯x1(v)+μG¯x(v),μG¯x2(v)+μG¯x(v))slack(μG¯x1(v),μG¯x2(v))|

and we can then apply Lemma 9.

4.1 Probabilistic construction of a hard family of graphs

We construct the hard family of graphs using the so-called “deletion method”: we sample a large family of random graphs, delete all graphs which violate desired criteria, and show that the resulting family is still large because violations are improbable.

Let 𝒢right-regular(n,k) be the space of k-right-regular bipartite simple graphs, generated by having each vR independently choose a uniform random k-subset of L as its neighbors.

For a bipartite graph G=(LR,E) and a threshold d, we define

TailG(d){uL:degG(u)>d} and TailDegG(d)uTailG(d)degG(u).
Lemma 10 (Existence of hard family).

For every ηnear,ηtail>0 and Cdeg>1, there exist Csize,Cstretch>0 such that the following holds: for every sufficiently large k and nCstretchk, there exists a family 𝒢right-regular(n,k) of simple bipartite graphs satisfying:

  1. 1.

    Right-regularity: for every G and vR, it holds that degG(v)=k.

  2. 2.

    Bounded sum of squared left-degrees: for every G, it holds that uLdegG(u)2Cdegnk2.

  3. 3.

    Light left-degree tail: for every G, it holds that TailDegG(2k)ηtailnk.

  4. 4.

    Low overlap: for every G1G2, it holds that |E(G1)E(G2)|ηnearnk.

  5. 5.

    Large size: log||Csizenklog(n/k).

Note that the first three properties impose requirements on each graph in the family individually; the fourth property involves pairs of graphs, and the fifth property involves the size of the entire family.

Proof.

By definition, any 𝑮𝒢right-regular(n,k) deterministically satisfies Property 1.

Pick some fixed p2(1/Cdeg,1). For Property 2, sampling 𝑮𝒢right-regular(n,k), the degree deg𝑮(u) of a left vertex u is the sum of n independent indicator variables (one for each vR choosing u) with expectation k/n. Thus deg𝑮(u)Binomial(n,k/n). We have 𝔼[deg𝑮(u)]=k and Var(deg𝑮(u))k. Therefore, 𝔼[deg𝑮(u)2]=Var(deg𝑮(u))+𝔼[deg𝑮(u)]2k+k2. By linearity of expectation, 𝔼[uLdeg𝑮(u)2]n(k+k2)p2Cdegnk2 (taking k large enough). By Markov’s inequality, the probability that this sum exceeds Cdegnk2 is at most (p2Cdeg)/Cdeg=p2<1.

For Property 3, sampling 𝑮𝒢right-regular(n,k), the expected total degree of the tail vertices is:

𝔼[TailDeg𝑮(2k)]=uL𝔼[deg𝑮(u)𝟏deg𝑮(u)>2k] =nj=2k+1nj(nj)(k/n)j(1k/n)nj
=nki=2kn1(n1i)(k/n)i(1k/n)n1i
=nkPr(Binomial(n1,k/n)2k).

By standard multiplicative Chernoff bounds (since the mean is strictly <k), this upper tail probability is bounded by ek/3, hence 𝔼[TailDeg𝑮(2k)]nkek/3. Hence by Markov’s inequality, Pr[TailDeg𝑮(2k)>ηtailnk](nkek/3)/(ηtailnk)=ηtail1kek/3. Taking k sufficiently large, this is smaller than 0.49(1p2).

For Property 4, consider sampling 𝑮1,𝑮2𝒢right-regular(n,k) independently, and define the overlap 𝑿:=|E(𝑮1)E(𝑮2)|=vR|N𝑮1(v)N𝑮2(v)|. Because each vR chooses its k neighbors independently, 𝑿 is the sum of n independent hypergeometric random variables. Let pnear denote the probability that 𝑿 exceeds ηnearnk. Since 𝔼[𝑿]=n(k2/n)=k2, using Hoeffding’s extension of Chernoff bounds for sums of hypergeometrics, we get


pnear(ek2/(ηnearnk))(ηnearnk)=exp(ηnearnkln(ηnearn/(ek)))exp(12ηnearnkln(n/k)),

where the final inequality uses the assumption on n and takes Cstretche/ηnear.

We now apply the deletion method: sample N0.98(1p2)/(pnear) graphs independently. The expected number of graphs violating Property 2 or 3 is (p2+0.49(1p2))N<N. The expected number of pairs violating Property 4 is (N2)pnear<12(pnearN)N<0.49(1p2)N. Thus, the expected total number of violations is at most (p2+0.98(1p2))N. Hence, there exists a realization with at most (p2+0.98(1p2))N violations. Removing one graph from each violation leaves a simple family satisfying all properties with size ||0.02(1p2)N. Taking the logarithm yields Property 5.

4.2 Separating conditional Max Cut instances

Now we show that distinct graphs in the hard family admit incompatible sets of near-optimal right-assignments once the left assignment x is fixed at random. In particular, for two different graphs G1,G2, with high probability over the choice of x, there does not exist any right-assignment that is simultaneously near-optimal for both conditional Max Cut instances (G1,x) and (G2,x). We will later show how to lift this to a lower bound for the standard (unconditional) Max Cut problem.

Define the density parameter Cden106, and a corresponding regularity parameter k1/(105Cdenε)2. Let ε0>0 be a sufficiently small absolute constant such that k is large enough to invoke the prior lemma for all εε0. The slack threshold is defined as τnk2000. We will invoke Lemma 10 with ηtail18000, ηnear108, and Cdeg10.

Lemma 11 (Slack vs. minimum magnitude).

Let 𝐗,𝐘 be independent, symmetrically distributed random variables. Then 𝔼[slack(𝐗,𝐘)]=𝔼[min(|𝐗|,|𝐘|)].

Lemma 12 (Minimum magnitude of Rademacher sums).

Let 𝐗,𝐘 be independent Rademacher sums of lengths mX,mYm1. Let 𝐖min(|𝐗|,|𝐘|). Then 𝔼[𝐖]Csepm, where Csep9/5120.0175.

Lemma 13 (Typically no shared good assignments).

With the parameters we defined, let be as in Lemma 10 and let G1,G2 be distinct. Then

Pr𝒙{±1}L[GoodG1𝒙τGoodG2𝒙τ]0.01.
Proof.

Let F(x)vRadvG¯x(v). By Lemma 8, we have GoodG1xτGoodG2xτF(x)4τT. We now upper bound the probability over 𝒙{±1}L that F(𝒙)T. Note T=4nk2000=0.002nk.

First, we lower bound the expectation of F(𝒙). Let ρ106 and define the set of typical vertices Vtyp{vR:|NG1(v)NG2(v)|ρk}. By the low overlap property, 𝔼𝒗[|NG1(𝒗)NG2(𝒗)|]ηneark. By the setting of ηnear and Markov’s inequality, we conclude |Vtyp|0.99n.

Fix vVtyp. Because the graphs are simple (no parallel edges), when 𝒙{±1}L, μG¯𝒙(v) is a sum of |NG1(v)NG2(v)|ρk independent Rademacher random variables. Thus 𝔼[|μG¯𝒙(v)|]Var(μG¯𝒙(v))=|NG1(v)NG2(v)|ρk. Further, because G1,G2 are k-right regular, μG¯𝒙1(v), μG¯𝒙2(v) are independent sums of mk|NG1(v)NG2(v)|(1ρ)k independent Rademacher random variables. Since μG¯𝒙1(v),μG¯𝒙2(v) are independent symmetric variables, by Lemmas 12 and 11,

𝔼[slack(μG¯𝒙1(v),μG¯𝒙2(v))]=𝔼[min(|μG¯𝒙1(v)|,|μG¯𝒙2(v)|)]Csepm.

We finally have, sampling 𝒙{±1}L:

𝔼[advG¯𝒙(v)]𝔼[slack(μG¯𝒙1(v),μG¯𝒙2(v))]4𝔼[|μG¯𝒙(v)|]Csepm4ρkk(Csep1ρ4ρ).

Substituting our constants (ρ=106,Csep0.0175), we deduce 𝔼[advG¯𝒙(v)]0.0135k. The total expectation therefore satisfies 𝔼[F(𝒙)]0.99n0.0135k0.0133nk. The required deviation for a failure is t𝔼[F(𝒙)]T0.011nk.

Now, we apply McDiarmid’s bounded differences inequality to the function F:{±1}L applied to the independent Rademacher variables (𝒙u{±1})uL. Given a fixed x{±1}L, flipping xu changes δGi𝒙(v) by 2 if vNGi(u) and 0 otherwise. Hence, by Lemma 9, the maximum change in F(x) from flipping xu is strictly bounded by cu4(degG1(u)+degG2(u)).

The variance proxy Σ is elegantly bounded via the squared 2-norm of degrees property (Lemma 10, Item 2), applying the algebraic inequality (a+b)22a2+2b2:

Σ=uLcu216u(degG1(u)+degG2(u))232u(degG1(u)2+degG2(u)2)640nk2.

Applying McDiarmid’s inequality:

Pr[F(𝒙)T]exp(2t2Σ)exp(2(0.011nk)2640nk2)=exp(Ω(nk)).

Since nCstretchk, taking Cstretch sufficiently large this failure probability is at most 0.01.

4.3 Reducing conditional Max Cut to Max Cut

Definition 14 (Gadget graph).

Let L,R be disjoint vertex sets. For x{±1}L, we define the following “gadget” graph Hx: The vertex set is LR{s+1,s1}, where s+1,s1 are two new “sink” vertices; there is an edge of weight Wsinksink105nk between s+1 and s1, and, for each uL, an edge between u and sxu with weight Wsinkleft2k.

Note that the graphs G and Hx are individually bipartite, but their union GHx need not be.

Lemma 15.

Let the parameters be as in Section 4.2. Suppose G and x{±1}L. Let z{±1}LR{s±1} be an assignment to the graph GHx. If 𝗏𝖺𝗅GHx(z)(1ε)𝗈𝗉𝗍GHx, then zRGoodGxτ, where zR denotes the induced assignment on the vertices R.

Proof.

Let

𝗈𝗉𝗍GHx𝗏𝖺𝗅GHx(z),

denote the loss of the assignment z, so that we have assumed ε𝗈𝗉𝗍GHx. We have 𝗈𝗉𝗍GHxCdennk (since the latter upper-bounds the total weight in GHx), hence εCdennk. By the setting of Cden, we have k=1/(1010ε2Cden2)1/(1010ε2Cden2), and hence εk1/(105Cden). This guarantees

nk10000. (8)

Consider the assignment z{±1}LR{s±1} defined by z(s+1)+1, z(s1)1, z(u)xu for uL, and z(v)sign(δGx(v)) for vR. This assignment cuts the sink-sink edge and all sink-left vertex edges. Hence

𝗈𝗉𝗍GHx𝗏𝖺𝗅GHx(z)=Wsinksink+nWsinkleft+optGx. (9)

If z(s+1)=z(s1), then the sink-sink edge is not cut, so 𝗏𝖺𝗅GHx(z)nWsinkleft+|E(G)|. Equation 9 then gives Wsinksink(|E(G)|optGx)105nknk, contradicting Equation 8. Hence, z(s+1)z(s1). By symmetry, we assume that z(s+1)=+1 and z(s1)=1.

Let Δ{uL:zL(u)xu}. We claim that

uΔ(2kdegG(u))+lossGx(zR). (10)

Indeed, consider the “intermediate” assignment z{±1}LR{s±1} which matches z on the right vertices and z (and therefore x) on the left vertices. (That is, z(s±1)=±1, z(u)=xu for uL, and z(v)=zv for vR.) We have

=𝗈𝗉𝗍GHx𝗏𝖺𝗅GHx(z)𝗏𝖺𝗅GHx(z)𝗏𝖺𝗅GHx(z)=(𝗏𝖺𝗅GHx(z)𝗏𝖺𝗅GHx(z))sinkleft+(𝗏𝖺𝗅GHx(z)𝗏𝖺𝗅GHx(z))leftright.

For the first term, sinkleft, we have 𝗏𝖺𝗅GHx(z)=Wsinksink+nWsinkleft+optGx, while 𝗏𝖺𝗅GHx(z)=Wsinksink+nWsinkleft+valGx(zR). (In other words, both assignments satisfy all edges incident to the sinks. Here, zR denotes the assignment z restricted to the right vertices.) Hence, the difference is sinkleft=lossGx(zR). Meanwhile, we can write the second term as

leftright=uΔ((weight of edges incident to u satisfied by z but not z)(weight of edges incident to u satisfied by z but not z)).

For every uΔ, the first term is at least Wsinkleft=2k, while the second is pessimistically at most degG(u). Hence,

lossGx(zR)+uΔ(2kdegG(u)). (11)

Finally, recall the definition of the “tail vertices” TailG(2k)={u:degG(u)>2k}. We split the sum in Equation 11 over uΔ into uTailG(2k) and uTailG(2k); in the latter case, we have immediately that (2kdegG(u))0, while in the former, we use the pessimistic lower bound 2kdegG(u)degG(u). Therefore:

lossGx(zR)uTailG(2k)degG(u)=lossGx(zR)TailDegG(2k).

By the light tail property and our setting of ηtail, TailDegG(2k)nk8000. Rearranging yields:

lossGx(zR)+TailDegG(2k)nk10000+nk8000<nk2000=τ.

4.4 Streaming reduction

We prove Theorem 1 by reducing from the Identity problem on , the hard family of graphs from Lemma 10.

Proof of Theorem 1.

The hard distribution 𝒟 is as follows: pick 𝑮 uniformly from , and 𝒙 uniformly from {±1}L. The stream is 𝑮H𝒙, where denotes ordered concatenation (and 𝑮 and H𝒙 themselves may be in arbitrary order).

Assume 𝒜 uses space S. By Yao’s minimax principle and averaging, there is a deterministic algorithm 𝒜 and subset with ||12|| such that for every G,

Pr𝒙{±1}L[𝗏𝖺𝗅GH𝒙(𝒜(GH𝒙))(1ε)𝗈𝗉𝗍GH𝒙]0.51.

This implies, by Lemma 15 and taking the complement, that

Pr𝒙{±1}L[𝒜R(GH𝒙)GoodGxτ]0.49,

where 𝒜R(GHx) denotes the projection of the assignment 𝒜(GHx) to only the vertices R.

Assume for contradiction that S<log2(||). By the pigeonhole principle, there exist distinct G1,G2 generating identical memory states before Hx arrives. Hence, for every x{±1}L, 𝒜(G1,x)=𝒜(G2,x) and in particular 𝒜R(G1,x)=𝒜R(G2,x). So by a union bound,

Pr𝒙{±1}L[𝒜R(G1H𝒙)GoodG1𝒙τ𝒜R(G1H𝒙)GoodG2𝒙τ]0.98.

Hence, GoodG1𝒙τGoodG2𝒙τ is non-empty with probability 0.02. This directly contradicts Lemma 13, which bounds this collision probability strictly 0.01.

Thus, Slog(||)=Ω(nklog(n/k)). Substituting k=Θ(ε2) yields the final bound S=Ω(ε2nlog(nε2)).

5 Upper bound for maximum cut in dense graphs

Theorem 16.

There exists an insertion-only randomized streaming algorithm which, given an undirected graph G=(V,E) on n vertices and mαn2 edges and ε(0,1), outputs x:V{0,1} which has 𝗏𝖺𝗅G(x)(1ε)𝗈𝗉𝗍G in O(nε2α2) bits of space with probability at least 2/3.

Proof.

We use the F0 estimation sketch of [14] which estimates F0 up to a multiplicative 1±ε error with failure probability δ, using O(log(1/δ)ε2+logN) bits of space. Here, the universe is the set of all N=(n2) possible edges of the input graph G.

During the stream, we maintain an F0 sketch with εm=ε/10 and δm=1/9 to estimate m which is the number of distinct edges (recall that edges can appear multiple times - we aim to allow repeated edges but ignore their multiplicities). Let m^ denote its estimate for m. We feed the stream of inserted edges into a second F0 sketch, instantiating it with ε=εα10 and failure probability δ=192n. The space used is therefore O(nε2α2+logn)=O(nε2α2) bits.

For any cut x:V{0,1}, let 𝒞(x)(V2) denote the set of edges crossing the cut in the complete graph on V. The number of edges of G crossing the cut is exactly |E𝒞(x)|. By the inclusion-exclusion principle:

|E𝒞(x)|=m+|𝒞(x)||E𝒞(x)|.

After the stream, we iterate over all 2n1 possible cuts x. For each cut, we instantiate a copy of the F0 sketch’s memory state and feed the offline edges of 𝒞(x) into it. The sketch then outputs an estimate 𝑼^x for |E𝒞(x)|. We estimate the cut value as V^x=m^+|𝒞(x)|𝑼^x.

By a union bound, with probability at least 2/3, for all 2n1 estimates (one per cut x) we have that the estimate 𝑽^xm^+|𝒞(x)|𝑼^x approximates the true cut value with additive error

|𝑽^x|E𝒞(x)||=|m^m|+|𝑼^x|E𝒞(x)||εmm+ε|E𝒞(x)|.

Since |E𝒞(x)|(n2)n2/2 for every cut x, this yields a uniform additive error bound of at most εmm+εn2/2 per cut.

With εm=ε/10 and ε=εα/10, using assumption mαn2, we have

εmm+εn22=εm10+εαn220εm10+εm20εm.

So, every normalized cut value is approximated within additive error at most ε, and selecting the cut x that maximizes V^x yields a (1ε)-approximation.

6 Randomized lower bound for maximum cut in dense graphs (Theorem 2)

In this section, we prove Theorem 2, establishing a linear lower bound on the space of any streaming algorithm which outputs a (1ε)-approximate cut given a dense bipartite graph.

Definition 17.

Let γ[0,1]. Two graphs G,G on [n] are (1γ)-disjoint if 𝖦𝗈𝗈𝖽Gγ𝖦𝗈𝗈𝖽Gγ=.

We prove the following combinatorial theorem on the existence of many disjoint instances of Max-Cut:

Theorem 18.

There exists α,C>0 such that the following holds. For ε014 and every 0<ε<ε0, let n be sufficiently large. Then there exists a set 𝒢 such that:

  1. 1.

    Each G𝒢 is an undirected simple graph on [n] with α(n2) edges.

  2. 2.

    |𝒢|2Cn.

  3. 3.

    Each G𝒢 is bipartite, i.e., 𝗈𝗉𝗍G=1.

  4. 4.

    For every GG𝒢, G and G are (1ε)-disjoint (in the sense of Definition 17).

Theorem 18 immediately implies Theorem 2:

Proof of Theorem 2 assuming Theorem 18.

We reduce from the Identity problem on 𝒢. The protocol is simple:

  • Alice receives a graph G𝒢. She runs the hypothesized streaming algorithm for Max-Cut on G and sends its state 𝝁 to Bob.

  • Bob takes 𝝁 and runs the Max-Cut algorithm to produce a cut 𝒙. Now, say G𝒢 is good if 𝒙𝖦𝗈𝗈𝖽Gε. If there is a unique good G𝒢, Bob outputs it, and otherwise, he fails.

We claim that w.p. at least δ over the randomness of the streaming algorithm, Bob successfully identifies Alice’s input G. Indeed, by the algorithm’s correctness condition, w.p. at least δ, the cut 𝒙 satisfies 𝒙𝖦𝗈𝗈𝖽Gε, and therefore G is good.

Now, condition on any 𝒙 such that G is good. We claim that no other GG𝒢 can be good. Indeed, if GG𝒢 is good, then 𝒙𝖦𝗈𝗈𝖽Gε, and in particular 𝖦𝗈𝗈𝖽Gε𝖦𝗈𝗈𝖽Gε. This contradicts the (1ε)-disjointness promised by Theorem 18.

Next, we turn to the proof of Theorem 18. We reduce this theorem, in turn, to the problem of constructing a large set 𝒮{0,1}n with certain nice properties. For x{0,1}n and δ[0,1], let

𝖡𝖺𝗅𝗅δ(x){y{0,1}n:d(x,y)δ}

denote the set of strings of normalized Hamming distance at most δ from x, and let

𝖡𝖺𝗅𝗅±δ(x)𝖡𝖺𝗅𝗅δ(x)𝖡𝖺𝗅𝗅δ(1x)

denote the union of these balls around x and its entrywise complement. (Note also that Bδ(1x)={y{0,1}n:d(x,y)1δ}.) We prove the following:

Lemma 19.

For every 0<δ<1/2, there exists C>0 such that for sufficiently large n, there exists a set 𝒮{0,1}n such that:

  1. 1.

    |𝒮|2Cn.

  2. 2.

    For every x𝒮, w(x)[1/3,2/3].

  3. 3.

    For every xx𝒮, 𝖡𝖺𝗅𝗅±δ(x)𝖡𝖺𝗅𝗅±δ(x)=.

(w(x) denotes the relative Hamming weight of x.) Such a construction does not follow from a greedy packing/covering argument (since the sets 𝖡𝖺𝗅𝗅±() are not balls in a metric, unlike the sets 𝖡𝖺𝗅𝗅()), but we can still apply the probabilistic method.

The remainder of this section is split into two subsections: in the first, we reduce proving Theorem 18 to proving Lemma 19, and in the second, we prove Lemma 19.

6.1 Reducing to a combinatorial problem

We first prove Theorem 2 assuming Lemma 19.

Let n. For S,T[n] with ST=, let

ST{{u,v}:uS,vT}

denote the “unordered Cartesian product” of S and T. Note that this product operation is symmetric, i.e., ST=TS. Also, |ST|=|S||T|.

For S[n], let

𝖪𝖻(S):=(n,SS¯)

denote the complete bipartite graph on [n] between S and S¯. Thus, 𝖪𝖻(S)=𝖪𝖻(S¯), and 𝖪𝖻(S) has m=|S||S¯| edges. We will use graphs of this form as our instances in Theorem 18, and we turn to analyzing their Max-Cut structure.

Figure 1: The value of the cut T in the complete bipartite graph 𝖪𝖻(S). There are edges between S and S¯; the thick solid edges stay on the same side of T, while the thick dashed edges are cut by T. This cut only has large value if either (i) S is “very close” to T (so that ST and S¯T¯ are large while ST¯ and S¯T are small) or (ii) S is “very close” to T¯ (so that ST and S¯T¯ are small while ST¯ and S¯T are large).

Now let T[n] be a set, (possibly) distinct from S. We partition the vertices in the graph 𝖪𝖻(S) into four distinct subsets,

[n]=(ST)(ST¯)(S¯T)(S¯T¯).

We similarly partition the edges,
SS¯=((ST)(S¯T))((ST)(S¯T¯))((ST¯)(S¯T))((ST¯)(S¯T¯)).

Only the second and third types of edges are cut by the cut T; thus, the value of the cut T is
𝗏𝖺𝗅𝖪𝖻(S)(1T)=|S||S¯||ST||S¯T||ST¯||S¯T¯||S||S¯|=1((1p(S,T))q(S,T)+p(S,T)(1q(S,T))), (12)

where we define

p(S,T)|ST¯||S| and q(S,T)|S¯T||S¯|. (13)

Qualitatively, the cut value can only be close to 1 iff either (i) p and q are both very close to 0, i.e., S and T are almost the same, or (ii) p and q are both very close to 1, i.e., S and T¯ are almost the same. (See Figure 1 for a visual depiction.) We now make this qualitative statement quantitative.

Claim 20.

Let 0<ε<1/4. Then ε1ε2ε.

Claim 21.

Suppose S,T[n], p=p(S,T) and q=q(S,T) are as in Equation 13, and 0<ε<1/4. If 𝗏𝖺𝗅𝖪𝖻(S)(1T)1ε, then either max{p,q}2ε or min{p,q}12ε.

Note that the relative Hamming distance between the binary strings 1S and 1T is:

d(1S,1T)|ST¯|+|S¯T|n=|S|p(S,T)+|S¯|q(S,T)n. (14)

We now get:

Lemma 22.

Suppose S,T[n] and 0<ε<1/4. If 𝗏𝖺𝗅𝖪𝖻(S)(1T)1ε, then either d(1S,1T)2ε or d(1S,1T)12ε.

Finally, we use Lemma 22 to prove Theorem 18 assuming Lemma 19.

Proof of Theorem 18 assuming Lemma 19.

Let 𝒮{0,1}n be the set of strings promised by Lemma 19 for δ=2ε. For each string x{0,1}n, we let S=supp(x) denote the support of x, and we create a corresponding graph G=𝖪𝖻(S). We let 𝒢 denote the set of graphs so created, and we claim that 𝒢 fulfills the desiderata of Theorem 18. Indeed:

  1. 1.

    For each G𝒢, the number of edges in G=𝖪𝖻(S) for S=supp(x) is |S|(n|S|), and by assumption on w(x), 13n|S|23n.

  2. 2.

    |𝒢|=|𝒮|2Cn.

  3. 3.

    Each G𝒢 is bipartite by definition.

  4. 4.

    We show that for every y{0,1}n, there do not exist GG𝒢 such 𝗏𝖺𝗅G(y)1ε and 𝗏𝖺𝗅G(y)1ε. Let Ssupp(x), Ssupp(x), and Tsupp(y). Let G𝖪𝖻(S) and G𝖪𝖻(S). Then 1T=y and 𝗏𝖺𝗅𝖪𝖻(S)(1T)1ε and 𝗏𝖺𝗅𝖪𝖻(S)(1T)1ε. We apply Lemma 22 to deduce that (i) either d(x,y)2ε or d(x,y)12ε and (ii) either d(x,y)2ε or d(x,y)12ε. Thus, y𝖡𝖺𝗅𝗅±2ε(x) and y𝖡𝖺𝗅𝗅±2ε(x), contradicting the third guarantee of Lemma 19.

6.2 Solution to the combinatorial problem

We recall two useful simple properties of the binary entropy function: (i) 𝖧(δ) is strictly increasing over the interval [0,1/2] and (ii) 𝖧(1/2)=1 (so 𝖧(δ)<1 for δ[0,1/2)).

Proof of Lemma 19.

Let T be a size parameter to be chosen later. We claim that a set 𝒮{0,1}n of T independent and uniformly random strings fulfills the desiderata, even if T is exponentially large.

Firstly, we observe that for every x{0,1}n, |𝖡𝖺𝗅𝗅δ(x)|K2n𝖧(δ), where 𝖧(δ)=plog2p(1p)log2(1p) is the binary entropy function. This follows from a simple counting argument: |𝖡𝖺𝗅𝗅δ(x)|=|𝖡𝖺𝗅𝗅δ(0)| by translation symmetry; |𝖡𝖺𝗅𝗅δ(0)| is the number of n-binary strings of fractional Hamming weight δ. Thus, we have by Lemma 4 (and increasingness of 𝖧()) that

|𝖡𝖺𝗅𝗅δ(0)|=i=0δn(ni)2n𝖧(δn/n)2n𝖧(δ)=K

since δ<1/2.

Now we have immediately that |𝖡𝖺𝗅𝗅±δ(x)||𝖡𝖺𝗅𝗅δ(x)|+|𝖡𝖺𝗅𝗅δ(1x)|=2K (indeed, this will be an equality since δ<1/2).

Next, we consider a fixed y{0,1}n and uniformly random 𝒙{0,1}n: By the previous paragraph and symmetry, Pr𝒙[y𝖡𝖺𝗅𝗅±δ(𝒙)]=Pr[𝒙𝖡𝖺𝗅𝗅±δ(y)]=2K2n.

Now consider fixed y{0,1}n and T i.i.d. uniform strings 𝒙1,,𝒙T{0,1}n. By independence and a union bound,

Pr𝒙1,,𝒙T[ij[T]:y𝖡𝖺𝗅𝗅±δ(𝒙i)𝖡𝖺𝗅𝗅±δ(𝒙j)](2TK2n)2.

Finally, consider taking a union bound over all y{0,1}n: We deduce

Pr𝒙1,,𝒙T[y{0,1}n,ij[T]:y𝖡𝖺𝗅𝗅±δ(𝒙i)𝖡𝖺𝗅𝗅±δ(𝒙j)](2TK)22n.

This probability is strictly less than 1 if T2<2n(2K)2=2n2(1+n𝖧(δ))=22+(12𝖧(δ))n, i.e., if T<21+(12𝖧(δ))n/2. As long as δ is sufficiently small, (12𝖧(δ))/2>0 (i.e., 𝖧(δ)<1/2) and so T can therefore be exponentially large.

(We can also take a union bound over 𝒙1,,𝒙T to guarantee that w(𝒙i)[1/3,2/3] for each i[T]. This happens except w.p. 2Ω(n) where the constant does not depend on δ, and so for sufficiently small δ we can do a union bound.)

7 Deterministic lower bound for maximum cut value (Theorem 3)

In this section we prove Theorem 3, establishing an Ω(nlogn/ε2) space lower bound for deterministic streaming algorithms that output a (1±ε)-approximation to the value of the maximum cut.

Our proof follows the same high-level strategy as the randomized lower bound from Section 4, but differs in two important ways: (i) we work with deterministic algorithms, and (ii) we assume access to value queries instead of cut queries.

7.1 Constructing the hard family

Lemma 23.

For every k and η>0, there exists Csize>0 such that for sufficiently large n, there is a family of bipartite k-regular graphs on the same vertex-set LR with |L|=|R|=k such that

  1. 1.

    Bipartite regularity: Every G is a bipartite k-regular graph LR.

  2. 2.

    Mild differences between graphs: For every G1G2, |E(G1)E(G2)|ηnk.

  3. 3.

    Size: log2||Csizenklogn.

This can be proved similarly to Lemma 10, by considering the distribution 𝒢(n,k) corresponding to the union of k independent uniformly random perfect bipartite matchings on LR, where L and R are two fixed (disjoint) vertex sets of size n.

7.2 The augmentation gadget for maximum cuts

Let A be a graph on vertex set V with |V|=N, and let x{±1}V. We define an augmentation gadget that encodes the cut value 𝗏𝖺𝗅A(x) into the maximum cut value of a larger graph. Specifically, for any x{±1}V, we create a new graph on vertex-set V{s+1,s1}, where s+1,s1 are two new “sink” vertices. Specifically, Hx has an edge between s+1 and s1 with weight 5000Nk, and then, for every wLR, an edge between sxw and w with weight 100k.

Lemma 24.

For every k-regular graph A on vertex-set V with |V|=N and cut assignment x{±1}V, we have: 𝗈𝗉𝗍AHx=5000Nk+100Nk+𝗏𝖺𝗅A(x).

7.3 Reducing graph distinguishing to value separation

Lemma 25.

Let A1,A2 be two k-regular bipartite matchings on LR. If A1,A2 differ in ηnk edges, then there exists a cut z{±1}LR such that |𝗏𝖺𝗅A1(z)𝗏𝖺𝗅A2(z)|>Ω(ηnk).

7.4 Completing the lower bound

The lower bound follows from Lemmas 25, 23, and 24 and setting k1/ε2. Specifically, every candidate pair of graphs G1G2 differs in Ω(n/ε2) edges, and therefore by Lemma 25, there is some cut z on which G1 and G2 have maximum cuts differing in Ω(n/ε) by weight. This discrepancy can be detected via a single application of an ε-approximate maximum cut oracle.

8 Densest subgraph and extensions

8.1 Densest subgraph

We first formally set-up the problem. For an undirected G=(V,E) and SV (with S), we define the density of S as

𝖽𝖾𝗇G(S)|E[S]||S|

where G[S] is the induced subgraph on S and |E[S]| is the number of edges in G whose endpoints are both in S. (𝖽𝖾𝗇G(S) is the same as twice the average degree of this induced subgraph.) We define

𝗆𝖺𝗑𝖽𝖾𝗇GmaxSVS𝖽𝖾𝗇G(S)

as the maximum density of any subgraph. The ε-approximate Densest-Subgraph problem is to, given G, output a set SV of vertices such that 𝖽𝖾𝗇G(S)(1ε)𝗆𝖺𝗑𝖽𝖾𝗇G for a given ε(0,1); again, there is also a value approximation version of this problem (output v s.t. v(1±ε)𝗆𝖺𝗑𝖽𝖾𝗇G).

We give the following results.

Theorem 26.

For constant ε>0, any randomized streaming algorithm which returns v[0,1] such that (1ε)𝗆𝖺𝗑𝖽𝖾𝗇Gv𝗆𝖺𝗑𝖽𝖾𝗇G or returns a set SV such that 𝖽𝖾𝗇G(S)(1ε)𝗆𝖺𝗑𝖽𝖾𝗇G with probability at least 2/3 requires Ω(nlogn) bits of space.

Theorem 27.

There exists an insertion-only streaming algorithm which, given an undirected graph G=(V,E) on n vertices and mαn2 edges and ε(0,1), outputs S[n] which has 𝖽𝖾𝗇G(S)(1ε)𝗆𝖺𝗑𝖽𝖾𝗇G in O(nε2α4) bits of space with probability at least 2/3.

Theorem 28.

For constant ε>0, any randomized streaming algorithm which outputs a set SV such that 𝖽𝖾𝗇G(S)(1ε)𝗆𝖺𝗑𝖽𝖾𝗇G for input graph G on n vertices and m=Θ(n2) edges with probability at least 2/3 requires Ω(n) bits of working space.

8.2 Extensions

8.2.1 All CSPs

We first extend the upper bound for Max-Cut to all other CSPs with constant alphabet size and arity.

Max-CSPk,q is an abstraction of the widely-studied constraint satisfaction problem. Let k,q and let V be a finite set of variables. A constraint is a pair (v,Π), where v:[k]V is an injective function (i.e., v(i)v(j) for ij[k]) and Π:[q]k{0,1} is a function called the predicate. An assignment is a function x:V[q], and x satisfies the constraint (v,Π) if Π(x(v(1)),,x(v(k)))=1. An instance Φ of Max-CSPk,q is a set of constraints, and the value of an assignment on an instance is the probability a random constraint is satisfied:

𝗏𝖺𝗅Φ(x)𝔼(𝒗,𝚷)Unif(Φ)[𝚷(x(𝒗(1)),,x(𝒗(k)))]

and the value of an instance is the maximum value of any assignment:

𝗈𝗉𝗍Φmaxx:V[q]𝗏𝖺𝗅Φ(x).

Max-Cut is a special case of Max-CSPk,q where k=q=2 and every predicate is Π:{0,1}2{0,1} with Π(y1,y2)=1 iff y1y2. Other problems captured by Max-CSPk,q include maximum directed cut, maximum unique games, and many others.

Theorem 29.

Let k,q. There exists an insertion-only streaming algorithm which, given an instance Φ on n vertices with mαnk constraints and ε(0,1), outputs x:V[q] which has 𝗏𝖺𝗅Φ(x)(1ε)𝗈𝗉𝗍Φ in O(nε2α2) bits of space with probability at least 2/3.

8.2.2 Similarity and Rarity

We give our algorithms for Similarity and Rarityk here. Given two datasets made up of elements from [N], similarity is a measure of how similar two datasets are and is useful for estimating transitive closures [25], web page duplication detection [15], and data mining [27]. [29] give an insertion-only algorithm using O(1/ε2(logN+logm)) bits of space for an additive ±ε approximation, where m is the total length of the stream. [34] improve this with an insertion-only streaming algorithm using O(logN/ε2) bits of space. Note that in their paper they specify their space in words. We further improve this with an algorithm that only uses O(1/ε2+logN) bits of space. Interestingly, we do not require the stream to be dense.

Given a stream of elements from [N], Rarityk is the problem of estimating the number of elements (out of Q total distinct elements) that occur k times in a dataset. This is a useful quantity which can be used to compute the value of any symmetric function on the frequency of stream elements. In particular, it can be used to estimate the number of distinct elements [36], frequency moments [3], capped statistics of a stream [26], the objective function of M-estimators [41], and for applications including computing degree distributions in large graphs [16], detecting malicious IP traffic in a network [46], and other various problems in databases [28]. (See [18] for more.) The first work to compute rarity in a stream was by [29] which gave a insertion-only algorithm using O(1/ε2(logN+logm)) bits of space for an additive ±ε approximation where m is the total length of the stream. [18] improved this to O(1/ε2+logN) bits of space. They also give a O(1/ε2log(1/ε)+logN+loglogm)-space algorithm for a ±εmQ approximation. In the dense case, we match their first algorithm’s space of O(1/ε2+logN). However, we are able to present a substantially simpler analysis.

Theorem 30.

For every ε>0 and N, there exists an insertion-only streaming algorithm which, given as input a sequence of insertions to two sets 𝒜,[N], outputs

v|𝒜||𝒜|±ε

with probability at least 2/3 in O(1/ε2+logN) bits of space.

Theorem 31.

For every ε,α>0 and N,k, there exists an insertion-only streaming algorithm which, given as input a sequence of insertions to a multiset 𝒮[N], letting Sk denote the number of distinct elements in 𝒮 of multiplicity k and D the total number of distinct elements in 𝒮, assuming DαN, outputs

vSkD±ε

with probability at least 2/3 in O(logk/(αε2)+logN) bits of space and O(1) time (in arithmetic operations) per update. The multiplicity of an element can be unbounded.

References

  • [1] Kook Jin Ahn and Sudipto Guha. Graph Sparsification in the Semi-streaming Model. In Susanne Albers, Alberto Marchetti-Spaccamela, Yossi Matias, Sotiris Nikoletseas, and Wolfgang Thomas, editors, Automata, Languages and Programming, pages 328–338. Springer, 2009. doi:10.1007/978-3-642-02930-1_27.
  • [2] Noga Alon, W.Fernandez de la Vega, Ravi Kannan, and Marek Karpinski. Random sampling and approximation of MAX-CSPs. J. Comput. Syst. Sci., 67(2):212–243, 2003. Conference version in STOC 2002. doi:10.1016/S0022-0000(03)00008-4.
  • [3] Noga Alon, Yossi Matias, and Mario Szegedy. The space complexity of approximating the frequency moments. Journal of Computer and System Sciences, 58(1):137–147, 1999. doi:10.1006/jcss.1997.1545.
  • [4] Albert Angel, Nick Koudas, Nikos Sarkas, Divesh Srivastava, Michael Svendsen, and Srikanta Tirthapura. Dense subgraph maintenance under streaming edge weight updates for real-time story identification. VLDB J., 23(2):175–199, 2014. Conference version in VLDB 2012. doi:10.1007/s00778-013-0340-z.
  • [5] Sanjeev Arora, David Karger, and Marek Karpinski. Polynomial Time Approximation Schemes for Dense Instances of 𝐧𝐩-Hard Problems. J. Comput. Syst. Sci., 58(1):193–210, 1999. Conference version in STOC 1995. doi:10.1006/jcss.1998.1605.
  • [6] Sanjeev Arora, Carsten Lund, Rajeev Motwani, Madhu Sudan, and Mario Szegedy. Proof verification and the hardness of approximation problems. J. ACM, 45(3):501–555, 1998. Conference version in FOCS 1992. doi:10.1145/278298.278306.
  • [7] Sepehr Assadi, Gillat Kol, Raghuvansh R. Saxena, and Huacheng Yu. Multi-Pass Graph Streaming Lower Bounds for Cycle Counting, MAX-CUT, Matching Size, and Other Problems. In 2020 IEEE 61st Annual Symposium on Foundations of Computer Science, pages 354–364. IEEE Computer Society, 2020. doi:10.1109/FOCS46700.2020.00041.
  • [8] Sepehr Assadi and Vishvajeet N. Graph streaming lower bounds for parameter estimation and property testing via a streaming XOR lemma. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, pages 612–625. Association for Computing Machinery, 2021. doi:10.1145/3406325.3451110.
  • [9] Amir Azarmehr, Soheil Behnezhad, Shane Ferrante, and Mohammad Saneian. Half-Approximating Maximum Dicut in the Streaming Setting, December 2025. doi:10.48550/arXiv.2512.22729.
  • [10] Bahman Bahmani, Ravi Kumar, and Sergei Vassilvitskii. Densest subgraph in streaming and MapReduce. In Proceedings of the 38th International Conference on Very Large Data Bases, volume 5 (5), pages 454–465. VLDB Endowment, 2012. doi:10.14778/2140436.2140442.
  • [11] Boaz Barak, Moritz Hardt, Thomas Holenstein, and David Steurer. Subsampling mathematical relaxations and average-case complexity. In Proceedings of the Twenty-Second Annual ACM-SIAM Symposium on Discrete Algorithms, pages 512–531. Society for Industrial and Applied Mathematics, 2011. doi:10.5555/2133036.2133077.
  • [12] Aditya Bhaskara, Samira Daruki, and Suresh Venkatasubramanian. Sublinear Algorithms for MAXCUT and Correlation Clustering. In 45th International Colloquium on Automata, Languages, and Programming, volume 107 of LIPIcs, pages 16:1–16:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2018. doi:10.4230/LIPIcs.ICALP.2018.16.
  • [13] Sayan Bhattacharya, Monika Henzinger, Danupon Nanongkai, and Charalampos Tsourakakis. Space- and Time-Efficient Algorithm for Maintaining Dense Subgraphs on One-Pass Dynamic Streams. In Proceedings of the Forty-Seventh Annual ACM Symposium on Theory of Computing, pages 173–182. Association for Computing Machinery, 2015. doi:10.1145/2746539.2746592.
  • [14] Jaroslaw Blasiok. Optimal Streaming and Tracking Distinct Elements with High Probability. In Artur Czumaj, editor, Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2018, New Orleans, LA, USA, January 7-10, 2018, pages 2432–2448. SIAM, 2018. doi:10.1137/1.9781611975031.156.
  • [15] Andrei Z. Broder. Identifying and filtering near-duplicate documents. In Raffaele Giancarlo and David Sankoff, editors, Combinatorial Pattern Matching, pages 1–10, Berlin, Heidelberg, 2000. Springer Berlin Heidelberg. doi:10.1007/3-540-45123-4_1.
  • [16] Luciana Buriol, Stefano Leonardi, Debora Donato, and Tobias Matzner. Using data stream algorithms for computing properties of large graphs, 2005.
  • [17] Moses Charikar. Greedy Approximation Algorithms for Finding Dense Components in a Graph. In Klaus Jansen and Samir Khuller, editors, Approximation Algorithms for Combinatorial Optimization, volume 1913 of LNCS, pages 84–95. Springer, 2000. doi:10.1007/3-540-44436-X_10.
  • [18] Justin Y. Chen, Piotr Indyk, and David P. Woodruff. Space-optimal profile estimation in data streams with applications to symmetric functions, 2023. doi:10.48550/arXiv.2311.17868.
  • [19] Lijie Chen, Gillat Kol, Dmitry Paramonov, Raghuvansh Saxena, Zhao Song, and Huacheng Yu. Towards Multi-Pass Streaming Lower Bounds for Optimal Approximation of Max-Cut. In Proceedings of the 2023 Annual ACM-SIAM Symposium on Discrete Algorithms, 2023. doi:10.1137/1.9781611977554.ch35.
  • [20] Chi-Ning Chou, Alexander Golovnev, Amirbehshad Shahrasbi, Madhu Sudan, and Santhoshini Velusamy. Sketching Approximability of (Weak) Monarchy Predicates. In Amit Chakrabarti and Chaitanya Swamy, editors, Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, volume 245 of LIPIcs, pages 35:1–35:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPIcs.APPROX/RANDOM.2022.35.
  • [21] Chi-Ning Chou, Alexander Golovnev, Madhu Sudan, Ameya Velingker, and Santhoshini Velusamy. Linear Space Streaming Lower Bounds for Approximating CSPs. In Proceedings of the 54th Annual ACM Symposium on Theory of Computing. Association for Computing Machinery, 2022. doi:10.1145/3519935.3519983.
  • [22] Chi-Ning Chou, Alexander Golovnev, Madhu Sudan, and Santhoshini Velusamy. Approximability of all Boolean CSPs with linear sketches, 2021. arXiv:2102.12351v7.
  • [23] Chi-Ning Chou, Alexander Golovnev, Madhu Sudan, and Santhoshini Velusamy. Sketching Approximability of All Finite CSPs. Journal of the ACM, 71(2):15:1–15:74, 2024. Conference version in FOCS 2021. doi:10.1145/3649435.
  • [24] Chi-Ning Chou, Alexander Golovnev, and Santhoshini Velusamy. Optimal Streaming Approximations for all Boolean Max-2CSPs and Max-kSAT. In 2020 IEEE 61st Annual Symposium on Foundations of Computer Science, pages 330–341. IEEE Computer Society, 2020. doi:10.1109/FOCS46700.2020.00039.
  • [25] Edith Cohen. Size-estimation framework with applications to transitive closure and reachability. Journal of Computer and System Sciences, 55(3):441–453, 1997. doi:10.1006/jcss.1997.1534.
  • [26] Edith Cohen. Stream sampling for frequency cap statistics. In Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’15, pages 159–168, New York, NY, USA, 2015. Association for Computing Machinery. doi:10.1145/2783258.2783279.
  • [27] Edith Cohen, Mayur Datar, Shinji Fujiwara, Aristides Gionis, Piotr Indyk, Rajeev Motwani, Jeffrey D. Ullman, and Cheng Yang. Finding interesting associations without support pruning. IEEE Trans. on Knowl. and Data Eng., 13(1):64–78, 2001. doi:10.1109/69.908981.
  • [28] Graham Cormode, Senthilmurugan Muthukrishnan, and Irina Rozenbaum. Summarizing and mining inverse distributions on data streams via dynamic inverse sampling. In Proceedings of the 31st International Conference on Very Large Data Bases, pages 25–36, 2005.
  • [29] Mayur Datar and S. Muthukrishnan. Estimating rarity and similarity over data stream windows. In Rolf Möhring and Rajeev Raman, editors, Algorithms — ESA 2002, pages 323–335, Berlin, Heidelberg, 2002. Springer Berlin Heidelberg. doi:10.1007/3-540-45749-6_31.
  • [30] Hossein Esfandiari, MohammadTaghi Hajiaghayi, and David P. Woodruff. Brief Announcement: Applications of Uniform Sampling: Densest Subgraph and Beyond. In Proceedings of the 28th ACM Symposium on Parallelism in Algorithms and Architectures, pages 397–399. Association for Computing Machinery, 2016. doi:10.1145/2935764.2935813.
  • [31] Jittat Fakcharoenphol and Phanu Vajanopath. MAX-CUT on Samplings of Dense Graphs. In 19th International Joint Conference on Computer Science and Software Engineering, pages 1–6, 2022. doi:10.1109/JCSSE54890.2022.9836261.
  • [32] Yumou Fei, Dor Minzer, and Shuo Wang. Multi-Pass Streaming Lower Bounds for Approximating Max-Cut. In Proceedings of the 66th IEEE Symposium on Foundations of Computer Science (FOCS 2025). IEEE Computer Society, December 2025.
  • [33] Yumou Fei, Dor Minzer, and Shuo Wang. A Dichotomy Theorem for Multi-Pass Streaming CSPs. In Proceedings of the 58th ACM Symposium on Theory of Computing (STOC 2026), Salt Lake City, UT, USA, 2026. Association for Computing Machinery.
  • [34] Guy Feigenblat, Ely Porat, and Ariel Shiftan. d-k-min-wise independent family of hash functions. Journal of Computer and System Sciences, 84:171–184, 2017. doi:10.1016/j.jcss.2016.09.005.
  • [35] W. Fernandez de la Vega. MAX-CUT has a randomized approximation scheme in dense graphs. Random Structures & Algorithms, 8(3):187–198, 1996. doi:10.1002/(SICI)1098-2418(199605)8:3<187::AID-RSA3>3.0.CO;2-U.
  • [36] Philippe Flajolet and G. Nigel Martin. Probabilistic counting algorithms for data base applications. Journal of Computer and System Sciences, 31(2):182–209, 1985. doi:10.1016/0022-0000(85)90041-8.
  • [37] Giorgio Gallo, Michael D. Grigoriadis, and Robert E. Tarjan. A Fast Parametric Maximum Flow Algorithm and Applications. SIAM Journal on Computing, 18(1):30–55, 1989. doi:10.1137/0218003.
  • [38] Venkatesan Guruswami, Pravesh K. Kothari, and Peter Manohar. Algorithms and Certificates for Boolean CSP Refutation: “Smoothed is no harder than Random”. In Proceedings of the 54th Annual ACM Symposium on Theory of Computing, 2022. doi:10.1145/3519935.3519955.
  • [39] Venkatesan Guruswami and Runzhou Tao. Streaming Hardness of Unique Games. In Dimitris Achlioptas and László A. Végh, editors, Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, volume 145 of LIPIcs, pages 5:1–5:12. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019. doi:10.4230/LIPIcs.APPROX-RANDOM.2019.5.
  • [40] Venkatesan Guruswami, Ameya Velingker, and Santhoshini Velusamy. Streaming Complexity of Approximating Max 2CSP and Max Acyclic Subgraph. In Klaus Jansen, José D. P. Rolim, David Williamson, and Santosh S. Vempala, editors, Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, volume 81 of LIPIcs, pages 8:1–8:19. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.APPROX-RANDOM.2017.8.
  • [41] Rajesh Jayaram, David P. Woodruff, and Samson Zhou. Truly perfect samplers for data streams and sliding windows, 2021. arXiv:2108.12017.
  • [42] John Kallaugher and Ojas Parekh. The Quantum and Classical Streaming Complexity of Quantum and Classical Max-Cut. In 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science, pages 498–506. IEEE Computer Society, 2022. doi:10.1109/FOCS54457.2022.00054.
  • [43] Michael Kapralov, Sanjeev Khanna, and Madhu Sudan. Streaming lower bounds for approximating MAX-CUT. In Proceedings of the 26th Annual ACM-SIAM Symposium on Discrete Algorithms, pages 1263–1282. Society for Industrial and Applied Mathematics, 2015. doi:10.1137/1.9781611973730.84.
  • [44] Michael Kapralov, Sanjeev Khanna, Madhu Sudan, and Ameya Velingker. (1+ω(1))-approximation to MAX-CUT requires linear space. In Proceedings of the 28th Annual ACM-SIAM Symposium on Discrete Algorithms, pages 1703–1722. Society for Industrial and Applied Mathematics, 2017. doi:10.5555/3039686.3039798.
  • [45] Michael Kapralov and Dmitry Krachun. An optimal space lower bound for approximating MAX-CUT. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, pages 277–288. Association for Computing Machinery, 2019. doi:10.1145/3313276.3316364.
  • [46] Vijay Karamcheti, Davi Geiger, Zvi Kedem, and S. Muthukrishnan. Detecting malicious network traffic using inverse distributions of packet contents. In Proceedings of the 2005 ACM SIGCOMM Workshop on Mining Network Data, MineNet ’05, pages 165–170, New York, NY, USA, 2005. Association for Computing Machinery. doi:10.1145/1080173.1080176.
  • [47] Dmitry Kogan and Robert Krauthgamer. Sketching cuts in graphs and hypergraphs. In Proceedings of the 6th Annual Conference on Innovations in Theoretical Computer Science, pages 367–376. Association for Computing Machinery, 2015. doi:10.1145/2688073.2688093.
  • [48] Tommaso Lanciano, Atsushi Miyauchi, Adriano Fazzone, and Francesco Bonchi. A Survey on the Densest Subgraph Problem and its Variants. ACM Comput. Surv., 56(8):208:1–208:40, 2024. doi:10.1145/3653298.
  • [49] Florence Jessie MacWilliams and Neil James Alexander Sloane. The Theory of Error Correcting Codes. Number 16 in North-Holland Mathematical Library. North-Holland Publishing Company, 1977.
  • [50] Claire Mathieu and Michel de Rougemont. Large Very Dense Subgraphs in a Stream of Edges. In Proceedings of the 2020 ACM-IMS on Foundations of Data Science Conference, pages 107–117. Association for Computing Machinery, 2020. doi:10.1145/3412815.3416884.
  • [51] Claire Mathieu and Warren Schudy. Yet another algorithm for dense max cut: Go greedy. In Proceedings of the Nineteenth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 176–182. Society for Industrial and Applied Mathematics, 2008. doi:10.5555/1347082.1347102.
  • [52] Andrew McGregor, David Tench, Sofya Vorotnikova, and Hoa T. Vu. Densest Subgraph in Dynamic Graph Streams. In Giuseppe F. Italiano, Giovanni Pighizzini, and Donald T. Sannella, editors, Mathematical Foundations of Computer Science 2015, pages 472–482. Springer, 2015. doi:10.1007/978-3-662-48054-0_39.
  • [53] Slobodan Mitrovic and Theodore Pan. Faster Streaming and Scalable Algorithms for Finding Directed Dense Subgraphs in Large Graphs. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of PLMR, pages 35876–35891, 2024. doi:10.5555/3692070.3693532.
  • [54] Prasad Raghavendra, Satish Rao, and Tselil Schramm. Strongly refuting random CSPs below the spectral threshold. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, pages 121–131. Association for Computing Machinery, 2017. doi:10.1145/3055399.3055417.
  • [55] Raghuvansh Saxena, Noah G. Singer, Madhu Sudan, and Santhoshini Velusamy. Streaming Algorithms via Local Algorithms for Maximum Directed Cut. In Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, pages 3392–3408. Society for Industrial and Applied Mathematics, 2025. doi:10.1137/1.9781611978322.111.
  • [56] Raghuvansh R. Saxena, Noah Singer, Madhu Sudan, and Santhoshini Velusamy. Improved streaming algorithms for Maximum Directed Cut via smoothed snapshots. In 63rd Annual Symposium on Foundations of Computer Science, pages 855–870. IEEE Computer Society, 2023. doi:10.1109/FOCS57990.2023.00055.
  • [57] Raghuvansh R. Saxena, Noah G. Singer, Madhu Sudan, and Santhoshini Velusamy. Streaming complexity of CSPs with randomly ordered constraints. In Proceedings of the 2023 Annual ACM-SIAM Symposium on Discrete Algorithms, pages 4083–4103. Society for Industrial and Applied Mathematics, 2023. doi:10.1137/1.9781611977554.ch156.
  • [58] Noah Singer, Madhu Sudan, and Santhoshini Velusamy. Streaming approximation resistance of every ordering CSP. Computational Complexity, 33:6, 2024. Conference version in APPROX 2021. doi:10.1007/s00037-024-00252-5.
  • [59] Noah G. Singer. Oblivious algorithms for the Max-kAND problem. In Nicole Megow and Adam D. Smith, editors, Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, volume 275 of LIPIcs, 2023. doi:10.4230/LIPIcs.APPROX/RANDOM.2023.15.
  • [60] Xiaoming Sun and David P. Woodruff. Tight Bounds for Graph Problems in Insertion Streams. In Naveen Garg, Klaus Jansen, Anup Rao, and José D. P. Rolim, editors, Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, volume 40 of LIPIcs, pages 435–448. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2015. doi:10.4230/LIPIcs.APPROX-RANDOM.2015.435.
  • [61] Salil P. Vadhan. Pseudorandomness, volume 7. Now Publishers, Inc., 2012.
  • [62] Mariano Zelke. Algorithms for Streaming Graphs. PhD-thesis, Mathematisch-Naturwissenschaftliche Fakultät II, Humboldt-Universität zu Berlin, 2009.