Distributed Quantum Advantage in
Locally Checkable Labeling Problems11
1
This work was originally presented at SODA 2026 [6]
Alkida Balliu · Gran Sasso Science Institute
Filippo Casagrande · Gran Sasso Science Institute
Francesco d’Amore · Gran Sasso Science Institute
Massimo Equi · Aalto University
Barbara Keller · Aalto University
Henrik Lievonen · Aalto University
Dennis Olivetti · Gran Sasso Science Institute
Gustav Schmid · University of Freiburg
Jukka Suomela · Aalto University
Abstract.
In this paper, we present the first known example of a locally checkable labeling problem (LCL) that admits asymptotic distributed quantum advantage in the LOCAL model of distributed computing: our problem can be solved in communication rounds in the quantum-LOCAL model, but it requires communication rounds in the classical randomized-LOCAL model.
We also show that distributed quantum advantage cannot be arbitrarily large: if an LCL problem can be solved in rounds in the quantum-LOCAL model, it can also be solved in rounds in the classical randomized-LOCAL model. In particular, an LCL problem that is strictly global classically is also almost-global in quantum-LOCAL.
This solves a major open question at the intersection of distributed graph algorithms and quantum computing. LCL problems [Naor and Stockmeyer, STOC 1993] have been extensively studied in the past decade and they are by now very well-understood in the classical LOCAL model, yet whether any of them admits a genuine quantum advantage has remained open. Coiteux-Roy et al. [STOC 2024] showed that for some specific LCL problems, if quantum helps, it cannot help by much. Akbari et al. [STOC 2025] showed that, for some LCLs, in rooted trees, quantum-LOCAL and randomized-LOCAL have the same power. Balliu et al. [STOC 2025] showed that quantum helps in solving locally checkable problems faster when the maximum degree of the graph is super-constant; however, this does not give any asymptotic quantum advantage for LCLs. The above-mentioned works repeatedly asked the key question of whether quantum helps for LCLs. We solve this open question by giving the first example of an LCL problem that admits a super-constant distributed quantum advantage, and by also giving the first result that puts limits on distributed quantum advantage for LCLs in general graphs.
Our second result also holds for -dependent probability distributions. As a corollary, if there exists a finitely dependent distribution over valid labelings of some LCL problem , then the same problem can also be solved in rounds in the classical randomized-LOCAL and deterministic-LOCAL models. That is, finitely dependent distributions cannot exist for global LCL problems.
1 Introduction
Does quantum computation and communication help with solving graph problems in the distributed setting? We study this question in the usual LOCAL model of distributed computing, more precisely comparing these two settings (see Section 2 for precise definitions):
- •
Randomized-LOCAL model: Each node of the input graph is a classical computer (that can store an arbitrary number of classical bits), and each edge is a classical communication channel (that can transmit an arbitrary number of classical bits per communication round). Each node is initialized with its own independent random bit string.
- •
Quantum-LOCAL model: Each node of the input graph is a quantum computer (that can store an arbitrary number of qubits), and each edge is a quantum communication channel (that can transmit an arbitrary number of qubits per communication round). Each node is initialized with its own unentangled qubits.
Given a graph problem (e.g. graph coloring), we say that it can be solved in rounds if there is a distributed algorithm such that in any -node graph after communication rounds each node terminates and outputs its own part of the solution (e.g. its own color).
1.1 Prior work on distributed quantum advantage
It is not at all obvious if quantum-LOCAL could possibly admit any advantage over randomized-LOCAL; after all, we did not put any limits on the amount of local computation, local storage, or number of bits communicated per round. Could it be the case that any quantum-LOCAL algorithm can be simulated with a classical algorithm in the same number of rounds (at least asymptotically), if we just encode the local state of qubits with an exponentially larger number of classical bits?
Surprisingly, this turns out not to be the case: [31] show that there are graph problems that can be solved in rounds in quantum-LOCAL but that require rounds in classical randomized-LOCAL. However, the problem studied in [31] is very different from problems commonly studied in the theory of distributed graph algorithms. In particular, their problem has an inherently global specification.
1.2 Prior work on LCL problems
In recent years, a large body of literature has focused on locally checkable labeling problems, or LCLs in brief, first introduced by [33]. These are graph problems in which valid solutions can be specified by listing a finite set of valid labeled neighborhoods. LCLs strike a balance between being broad enough so that they contain a large number of interesting graph problems and being narrow enough so that it is possible to prove strong theorems that apply to all LCL problems, see e.g. [33, 17, 15, 11, 10, 5, 4, 34, 19]. There are numerous results about LCL problems in the classical LOCAL model, yet we do not know if all of these results hold also in the quantum-LOCAL model. Hence, this is the key question that we study: do any LCL problems admit a distributed quantum advantage?
There are several papers that have so far delivered mainly negative results: we have learned about cases in which quantum cannot help, at least not much [18, 20, 1, 8], and we have also learned about barriers for studying such questions [1]. The main exception is the very recent work [3] that showed the following separation result: there is a family of LCL problems parameterized by maximum degree such that can be solved in rounds in quantum-LOCAL but it requires rounds in randomized-LOCAL. However, this does not yield a super-constant separation for any fixed LCL problem: for any fixed , problem is an LCL that can be solved in rounds (albeit with very different constants) in both quantum-LOCAL and randomized-LOCAL.
1.3 Contribution 1: first LCL problem with a quantum advantage
In this work we show that the answer is yes: quantum-LOCAL is strictly stronger than randomized-LOCAL for LCL problems. More precisely, in Sections 3 and 5 we prove:
Theorem 1.1.
There is an LCL problem such that the round complexity of is in quantum-LOCAL but in randomized-LOCAL.
This brings us both good news and bad news: The good news is that this demonstrates that distributed quantum computing indeed helps even when restricted to the family of LCL problems. The bad news is that there is now no longer hope that we could prove a theorem that shows that quantum-LOCAL and randomized-LOCAL are asymptotically equally strong for LCL problems, enabling us to lift a large body of prior work from classical models to the quantum model—to fully characterize an LCL problem, we may need to separately classify its locality in deterministic-LOCAL, randomized-LOCAL, and quantum-LOCAL.
1.4 Contribution 2: limits on quantum advantage for LCLs
While Theorem 1.1 resolves the open question, the separation that we have between the classical and quantum models is tiny, especially if we compare this with the non-LCL problem from [31] that admits an -round quantum algorithm and requires rounds in classical models. Could we demonstrate such a separation with LCL problems?
In this work we show that the answer is no: there is no LCL with a linear-in- gap between classical and quantum round complexities. Formally, in Section 4 we show:
Theorem 1.2.
Let be any LCL problem that can be solved in rounds in quantum-LOCAL. Then can be solved in rounds in randomized-LOCAL.
In particular, if the classical round complexity is , i.e., the problem is inherently global, then also in the quantum-LOCAL model we need rounds (here we are using and to hide polylogarithmic factors).
The main open question after this work is narrowing down the gap between Theorems 1.1 and 1.2: can we construct LCLs where quantum-LOCAL helps more than some doubly-logarithmic factors? Currently, there is a larger gap between deterministic-LOCAL and randomized-LOCAL than randomized-LOCAL and quantum-LOCAL, which seems counterintuitive: is access to classical randomness already almost as good as the ability to manipulate qubits?
While we do not know yet if Theorem 1.2 is tight, in Section 1.6 we will see that there is a direct generalization of Theorem 1.2 to stronger (super-quantum) models, and there the result turns out to be close to the best possible, in the sense that we may have a gap of between classical models and super-quantum models. Hence to strengthen the claim of Theorem 1.2, we need techniques that do not generalize far beyond quantum-LOCAL.
1.5 Key ideas in the proof of Theorem 1.1
In the proof of Theorem 1.1, the key novel ingredient is the observation that the problem from [3] can be linearized (with high-degree nodes replaced by paths in a way that preserves local checkability), and then further padded with the technique from [4] to construct a genuine LCL problem that admits a quantum advantage. We summarize here the key elements of the proof.
LCL problems.
As our goal is to construct an LCL problem that exhibits distributed quantum advantages, let us recall what kind of entities LCL problems are. We will present a formal definition in Section 2, but the following informal description suffices for now: An LCL problem can be specified by listing a finite set of valid labeled radius- neighborhoods for some constant . The task is to label nodes and/or edges of the input graph , and a solution is feasible if for every node , the radius- neighborhood of is isomorphic to one of the neighborhoods in .
In particular, this implies that the set of node labels and edge labels has to be also finite, and must be a bounded-degree graph in order to admit a solution to . This leads to another equivalent way of characterizing LCL problems: they are graph problems for bounded-degree graphs, where the task is to label nodes and/or edges with labels from a finite alphabet, and the validity of a solution can be verified in a distributed manner by checking all constant-radius local neighborhoods.
The restrictions may sound at first technical, but this exact definition originally introduced by [33] has been tremendously successful: this is a problem family that is now very well-understood especially for the classical LOCAL model. What we seek to demonstrate is that inside this well-understood yet restrictive family there is indeed a problem that admits a super-constant quantum advantage.
Starting point: the iterated GHZ problem.
Let us next recall the key elements of the problem family from [3]. Here is a family of LCL problems, parameterized by . The problem family is defined so that hard instances are bipartite graphs, where one part consists of white nodes of degree and the other part consists of black nodes of degree . White nodes represent players and black nodes represent games—more precisely, they are instances of the GHZ game [27, 32], which is a -party game where players can win the game without communication if they hold entangled qubits. The games are labeled with colors , so that each player is adjacent to one game of each color.
Crucially, for each player, the input that they have in game of color is the output they got from game of color . The key idea is that for a classical algorithm to win in a color- game, it first has to know the outputs of color- games, and spend additional communication rounds after that to coordinate a feasible solution for the color- game. Such a strategy is inherently sequential, taking rounds, and it can be shown with the round elimination technique [13] that this is indeed the best that a classical algorithm can do (at least in neighborhoods that are tree-like). However, a quantum algorithm can do much better: we can use one communication round to establish a set of shared qubits for each game, and then the players can do the rest locally, by applying appropriate measurements to the shared qubits; this is rounds independently of .
At this point it is also good to recall that in the classical LOCAL model, time and distances are interchangeable: a -round algorithm is equivalent to a function that maps radius- neighborhoods to local outputs (and vice versa). So the key point is this: any classical algorithm that solves has to see up to distance , in neighborhoods that locally look like a two-colored tree in which all white nodes have degree and black nodes have degree (we will call it a -biregular tree).
Now is a well-defined graph problem even if we plug in e.g. , but then we cannot claim that any classical algorithm for solving it requires rounds, simply because we can no longer construct a hard instance that would be a -biregular tree of depth with at most nodes, which certainly does not exist. However, a more modest choice of makes sense and results in a graph problem that admits an -round quantum algorithm but requires rounds for any classical deterministic algorithm (the case of classical randomized algorithms is more involved, but let us put it aside for now for the purposes of this informal overview). However, this is not an LCL problem. It is some labeling problem in which validity of a solution is locally verifiable, but it cannot be described with any finite set of valid neighborhoods; in particular, we will need super-constant degrees in the input graph.
Yet this is a useful source of inspiration for the present work. We aim at engineering a graph problem that captures the spirit of “what would happen if we take and plug in something like ,” and at the same time is a genuine LCL problem in the strict sense of [33], without any cheating.
Linearizing the iterated GHZ problem.
The key new observation is that happens to have a very convenient property: for each player, the set of valid labels on the incident edge number only depends on the labels of the incident edge number . In particular, there is a finite automaton that processes the labels of the incident edges in the order specified by the colors of the games and determines if a solution is valid from the player’s perspective. This makes it possible to linearize the problem so that we can replace a player of degree with a path of nodes. This way we can (1) eliminate high-degree nodes, (2) preserve the property that we have a finite set of labels, and (3) preserve the property that the feasibility of a solution can be verified locally.
Therefore we can define an LCL problem , where all nodes have low degrees, and a path with white nodes behaves as if it was a degree- player in the original problem. However, while doing this translation, we lose all control over the degrees of the players. What if the adversary constructs an input where there is a white path of length ? Even a quantum algorithm would have to spend rounds to just emulate the behavior of a single -degree player, and hence there is no room for quantum advantage (as any problem can be solved in rounds by brute force).
We circumvent this challenge with a commonly-used solution: instead of a path we use a tree-like construction (a balanced binary tree where each level forms a path). In particular, this way the white nodes that represent a -degree player will be within distance from each other, and even in the worst case the overhead of simulating one such node is . We can furthermore add additional rules that ensure that if the adversary presents a graph that does not represent a valid instance, we can nevertheless produce a valid labeling in rounds; let us call the resulting LCL problem .
Padding.
Unfortunately, as constructed above does not admit any distributed quantum advantage. To construct a hard instance for classical algorithms, we would need to construct a -biregular tree of depth , and then replace each degree- node with our tree-like construction. But we will have to use so that we do not run out of nodes. To construct a worst-case instance, we would now take an -deep -biregular tree and replace each white degree- node with a tree-like construction of diameter . This replacement process increases the diameter of the graph from to . But the diameter of the entire graph would be still bounded by , and a classical algorithm could solve it trivially in rounds by gathering everything. On the other hand, a quantum algorithm needs rounds to merely simulate one player in the worst case, so we gained nothing.
We circumvent this issue by borrowing the idea of padding from [4]. In essence, we replace each edge between a player (white node) and a game (black node) with another tree-like construction, where the adversary gets to choose the height of the tree.
It turns out that this is enough to construct an LCL problem that exhibits a distributed quantum advantage! In essence, the reason for this is as follows:
- •
Quantum algorithms: In the worst case the adversary can add padding of depth , and the total overhead that we have in simulating the original -round quantum algorithm is rounds to simulate the activities of the players plus rounds to transmit information across a padded edge, in total rounds.
- •
Classical algorithms: The adversary can select a suitable super-constant and use trees of height to represent players and trees of height for padding. We can start with a -instance with e.g. players, and we can then afford to use e.g. nodes for each tree that we use in padding. This results in an instance in which the algorithm has to see beyond padded edges, in total up to distance , which is worse than the complexity of the quantum algorithm for a super-constant .
This is the essence of the construction. We give a more formal high-level overview in Section 3 and the technical details are postponed to Section 5.
Generalizations and future work.
We note here that exactly the same framework is applicable to a wide range of problems beyond , as we are only making essential use of the fact that the validity of a solution for high-degree nodes can be verified with a finite automaton that processes edges in a sequential order, and hence we can linearize the problem. In particular, the widely-studied maximal matching problem has the same property.
Therefore we expect that the same construction will find use in engineering LCL problems that separate other models. For example, the maximal matching problem would be a good candidate for proving a separation between the quantum-LOCAL model and the SLOCAL model [26].
1.6 Key ideas in the proof of Theorem 1.2
To prove Theorem 1.2, we first take a step from distributed quantum algorithms to bounded-dependence distributions, and then observe that while such distributions cannot be efficiently sampled in the randomized-LOCAL model, we can nevertheless do a combination of partial sampling and brute-force completion to solve the same LCL problem.
Bounded-dependence distributions.
The statement of Theorem 1.2 refers to the quantum-LOCAL model, but it will be much more convenient to work in the bounded-dependence model [1], which is a generalization of finitely-dependent distributions [29, 28, 30].
Informally, a -dependent distribution is a probability distribution over labelings of some graph where the following holds: if we choose two sets of nodes and such that their -radius neighborhoods do not overlap, then restricted to is independent of restricted to .
While it is easy to see that the output of a -round randomized-LOCAL algorithm results in a -dependent distribution, it also holds that the output of a -round quantum-LOCAL algorithm results in a -dependent distribution. Hence it suffices to show that if we have a -dependent distribution over valid solutions of some LCL problem , we can construct a randomized-LOCAL algorithm that solves the same problem in rounds.
Sampling is hard.
It would be tempting to now design a randomized-LOCAL algorithm that produces a sample from distribution . However, this is not possible. Indeed, if we could sample efficiently from any -dependent distribution, we would also have a classical algorithm that efficiently simulates the distributed quantum algorithm from [31], which is known to require rounds.
Partial sampling is easy.
We will exploit the clustering algorithm from [18]. In particular, with it we can partition nodes into well-separated clusters where the diameter of each cluster is , the number of unclustered leftover nodes is , and clusters can be constructed in rounds in the randomized-LOCAL model.
We will split the leftover nodes into components that are at distance from each others; in the worst case all leftover nodes are in the same component and it will have diameter .
Now if and are two components of leftover nodes, they are sufficiently far from each other so that restricted to is independent of restricted to . Hence we can sample from independently in each such component, and the joint distribution will be a sample from restricted to all leftover nodes.
To recap, so far we have used rounds to compute a clustering, and another rounds to sample from in each component of leftover nodes. All leftover nodes have now committed to an output.
Completability helps us next.
Now it would be tempting to switch to the clusters and locally sample from conditioned on what has already been sampled, with the hope of globally getting a sample from . But as we discussed above, this cannot work, as it would let us simulate any quantum algorithms too efficiently in the classical models.
This is the point in which we will have to use the assumption that is an output distribution that solves the LCL problem with high probability. In the previous step, we have produced a sample from restricted to the leftover nodes. Equivalently, we can imagine that is constructed by the following process: we have first sampled a labeling of the entire graph from , and then discarded the labels inside the clusters (keeping only the values of the leftover nodes). Now with high probability is a valid solution to , so with high probability our partial solution can be extended to some globally valid solution of . Furthermore, we can find such a completion independently for each cluster, e.g., simply by brute force: collect the entire cluster and the partial solution at its boundaries and find a valid completion. Here we exploit the fact that is a locally checkable problem: any completion that is locally valid in each cluster is also globally valid. As the clusters had diameter , this step takes also rounds, and the total running time is also .
Put together, given a -round quantum-LOCAL algorithm for some LCL problem , we can construct a randomized-LOCAL algorithm that solves the same problem in rounds. We will give the details of the proof in Section 4.
Generalizations and future work.
As we took a route through bounded-dependence distributions, we immediately get a stronger result: -dependent distributions over LCLs can be simulated in randomized-LOCAL in rounds. In particular, this shows that there cannot exist an LCL that admits a finitely dependent distribution (i.e., -dependent distribution) but requires rounds to solve with classical algorithms—previously this was only known in trees [1, 20].
Our general proof strategy can be pushed further, towards stronger models. It works directly in the component-wise version of the online-LOCAL model [2, 1]. Furthermore, online-LOCAL algorithms with locality can be turned into component-wise algorithms [1], and hence we also get a result that puts limits on the gap between the online-LOCAL and classical LOCAL models. Our simulation result is also close to the best possible, as a much stronger result would contradict with the known bounds for the problem of -coloring bipartite graphs, which is a problem that can be solved with locality in (component-wise) online-LOCAL yet requires rounds in the classical randomized-LOCAL model [2, 18, 1, 16, 12]. We will discuss the extension of our result to component-wise online-LOCAL more in Appendix A.
2 Preliminaries
Graphs.
We work with simple undirected graphs unless otherwise specified. Let be any graph. If the set of nodes and the set of edges are not specified, we refer to them by the notation and , respectively. For any subset of nodes , the subgraph of induced by is denoted by . The distance between any two nodes is the number of edges composing a shortest path between and , and is denoted by . The notion of distance can be easily extended to subsets of nodes: Given any node and any two subsets , the distance between and is and the distance between and is . When the graph is clear from the context, we omit the suffix and write only instead of .
For any non-negative integer , the radius- (closed) neighborhood of a node in a graph is the set . More generally, the radius- neighborhood of any subset of node is .
We adopt the nomenclature half-edge to refer to any pair where and is an edge incident to . In order to be able to define the class of problems we consider, we need to define what a labeled graph is.
Definition 2.1 (Labeled graph).
Let and be sets of labels. A graph is said to be -labeled if the following statements are satisfied:
- 1.
Each node is assigned a label from ;
- 2.
Each half-edge satisfying is assigned a label from .
We also define the notion of centered graph, that is, a graph with a distinguished node that we call the center.
Definition 2.2 (Centered graph).
Let be any graph, and let be any node of . The pair is said to be a centered graph and is said to be the center of .
We will focus on problems that ask to produce labelings over graphs that satisfy some constraints in all radius- neighborhoods of any node. We remind the reader that the eccentricity of a node of a graph is the maximum distance between and any other node of .
Definition 2.3 (Set of constraints).
Let be constants, a finite set of indices, and a tuple of finite label sets. Let be a finite set of centered graphs where each is a -labeled graph of degree at most and has eccentricity at most . Then, is said to be an -set of constraints over .
With the following definition, we explain what it means to satisfy a set of constraints.
Definition 2.4 (Labeled graph satisfying a set of constraints).
Let be a -labeled graph for some finite sets of labels and . Let be an -set of constraints over for some finite . The graph satisfies if the following statement is satisfied:
- •
For every node , the -labeled graph is such that .
We are now ready to define the class of problems of interest.
Definition 2.5 (Locally checkable labeling (LCL) problems).
Let be constants. A locally checkable labeling (LCL) problem is a tuple where , , , and are finite label sets and is an -set of constraints over .
We now explain what it means to solve an LCL problem . We are given as input a -labeled graph . For any node and half-edge , let us denote the input label of by , and the input label of by . We want to produce an output labeling on so that we obtain a -labeled graph. Let us denote by and by the output labels of and , respectively. Consider the -labeled graph where the labeling is defined as follows: the label of each node is , and the label of each half-edge is . Now, the -labeled graph must satisfy the -set of constraints over according to Definition 2.4.
The LOCAL model.
In the LOCAL model of computing, we are given a distributed system of processors/nodes. The processors are connected through a communication network that is modeled by a graph . Computation proceeds in synchronous rounds: in each round, nodes simultaneously exchange messages with their neighbors, perform some local computation, and update their states variables based on the received messages. Note that communication bandwidth is unconstrained (i.e., messages can be of any size) and nodes are capable of arbitrary local computation, and it is assumed that all processes are fault-free and messages cannot be corrupted. At the beginning of computation, all processors are identical and start with identical copies of the same state variables, except for a distinguished local variable which stores input data for node . Input data for a node encodes the number of nodes in the network, a unique identifier from the set where is a fixed constant, and possible inputs defined by the problem of interest (we assume nodes store both input node labels and input half-edge labels). If computation is randomized, also encodes a private, infinite random bit string that is independent of the random bits of all other nodes. In this case, we refer to the model as the randomized LOCAL model as opposed to the deterministic LOCAL model. The goal of the computation is to assign to each node an output label and computation ends when all nodes have decided on their output labels. The running time of an algorithm is the number of communication rounds required to solve a problem. If computation is randomized, we also ask that the algorithm solves the problem of interest with probability at least , where is any polynomial function in . Since computation and message size is unbounded, we can look at -rounds LOCAL algorithms as functions mapping radius- neighborhoods of nodes to output labels (in the deterministic case) or probability distributions over output labels (in the randomized case). That is why we refer to the parameter as the locality of the algorithm.
The quantum-LOCAL model.
The quantum-LOCAL model of computing is similar to the deterministic LOCAL model above, where we replace the classical processors with quantum processors and the classical communication links with quantum communication links. More precisely, the quantum processors can manipulate local states consisting of an unbounded number of qubits with arbitrary unitary transformations, while the communication links are quantum communication channels, and the local outputs can be the result of any quantum measurement. As in the deterministic LOCAL model, adjacent nodes can exchange any number of qubits. We refer to the randomized LOCAL model of computing as classical LOCAL , as opposed to the quantum-LOCAL model of computing. Akin to the classical LOCAL model, also in quantum-LOCAL we ask that a problem is solved with probability at least . This is just an intuitive definition of the model which is sufficient for our purposes, but the interested reader can find a formal definition in [23].
3 Quantum advantage: high level ideas
In this section, we provide a high-level explanation of how the LCL problem that exhibits quantum advantage is defined, and we explain why its quantum and classical complexities differ. All the formal details are deferred to Section 5.
Proper instances.
In Section 1.5, we explained how we would like a graph to be in order to have an instance that is easy for a quantum algorithm but hard for any classical algorithm. We call the family of graphs explained in Section 1.5 proper instances, i.e., these graphs are graphs that can be obtained by starting from an arbitrary (not necessarily connected) graph and then replacing each node, and each edge, with a tree-like construction.
LCLs must be promise-free.
However, a standard LCL must be defined on any graph, that is, it must not require the promise that the given input graph satisfies some specific conditions. That is, our LCL problem must be well-defined even in graphs that do not look at all like proper instances. In particular, we want a problem that, on any graph, even on those that look completely different from a proper instance, should still be solvable in rounds by a quantum algorithm.
Overview of the problem .
On a high level, our (promise-free) LCL problem will be defined such that it requires solving two problems, called and . More in detail, in classical deterministic rounds, nodes can produce a labeling that marks invalid parts of the graph, that is, parts of the graph that do not look like subgraphs of a proper instance. On the other hand, the problem will be defined such that marking as invalid the parts of the graph that are actually valid is not possible. We will formally define this labeling as an LCL called . Then, the problem will require to solve some other problem in parts of the graph that are not marked.
How we define .
The problem will satisfy the following properties.
- •
It is an LCL with promise, that is, it is guaranteed that the input graph is a proper instance.
- •
In proper instances, the complexity is for quantum algorithms but for classical randomized algorithms.
How we define .
The problem will satisfy the following properties.
- •
This problem is promise-free, that is, any input graph is allowed.
- •
There is a special output label for called .
- •
In classical deterministic rounds it is possible to produce a solution for such that the subgraph induced by nodes labeled is a proper instance.
How we define .
Our LCL problem will then be defined as follows.
- •
Nodes need to solve .
- •
On the subgraph induced by nodes that output for , nodes need to solve .
Quantum upper bound.
Then, we will show that our problem can be solved in quantum rounds, as follows.
- •
Nodes spend classical deterministic rounds to mark invalid parts of the graph, guaranteeing that the subgraph induced by nodes labeled is a proper instance.
- •
Nodes spend quantum rounds to solve in the subgraph induced by nodes labeled .
Classical lower bound.
Finally, we will show that our problem requires classical randomized rounds, as follows.
- •
As a lower bound graph, we consider a graph that is a proper instance. This implies that, on this graph, any solution for must label all nodes .
- •
The (proper) instance is constructed as follows. Let be a lower bound graph for , where is an appropriately chosen degree, as a function of . We replace nodes and edges with tree-like constructions, as follows.
- –
Tree-like constructions used to replace nodes will have an appropriate height to guarantee that they have leaves.
- –
Tree-like constructions used to replace edges will have height .
- –
- •
We show that if can be solved in randomized classical rounds on these graphs, then we reach a contradiction with the lower bound for . For this purpose, we will exploit the fact that, informally, each edge has been stretched by a factor.
3.1 The tree-like gadget
A basic building block for our construction is a structure called tree-like gadget, that has already been used in different ways in several works related to LCLs (see, e.g., [4, 9, 7]). An example of tree-like gadget is shown in Figure 1. In Section 5.1, we will formally define tree-like gadgets and state their properties.
Local checkability of tree-like gadgets.
Informally, a tree-like gadget is a perfect binary tree in which all nodes that are at the same depth are connected via a path. It is known from previous work that this structure is locally checkable, that is, there exist a set of labels and a set of constraints (checkable by inspecting the -radius neighborhood of each node) satisfying the following properties.
- •
Any tree-like gadget can be labeled with labels from such that the constraints are satisfied on all nodes.
- •
For any connected graph that is not a tree-like gadget, and for any labeling from , there exists at least one node for which the constraints are not satisfied.
The LCL problem .
While local checkability is a very useful property, in order to define our problem we need an even stronger property: if there is an error somewhere in the graph we want all nodes to be able to quickly detect the error. In previous works, it is shown that tree-like gadgets indeed satisfy this stronger property. More in detail, there exists an LCL problem satisfying the following properties.
- •
There is a special output label for , called .
- •
For any connected graph , there exists a solution for satisfying that, if is not a tree-like gadget, then no node of is labeled .
- •
Such a solution can be computed in deterministic classical rounds.
On a high level, the problem is defined as follows.
- •
Labels from are an input for the problem .
- •
Nodes that do not satisfy the constraints can directly output an error.
- •
It is possible to prove that, if there is an error somewhere, all other nodes must see an error within distance , and allows outputting pointers to prove that there is an error somewhere.
- •
The constraints on the output of are carefully defined so that, on tree-like gadgets that are properly labeled with labels from (i.e., the constraints are satisfied on all nodes), no cheating is allowed, that is, it is not possible to output pointers in some carefully crafted way that gives a valid output for .
- •
Nodes that do not output errors or pointers must output .
For reasons that will become clear later, nodes will have an additional input for , which is either , i.e., unmarked nodes, or , i.e., marked nodes, and is defined such that marked nodes are always allowed to output an error. An example of valid solution of is depicted in Figure 2.
How we will use .
We will define a more complex gadget, called octopus, which consists of many tree-like structures connected in a specific way. We will define a problem that allows to mark invalid octopus gadgets. In the definition of , we will use as a subproblem. Informally, our final problem will satisfy that, if the adversary really wants nodes to solve (i.e., to make the problem non-trivial), then it needs to properly label tree-like gadgets and octopus gadgets, so that the output for the problems and needs to be everywhere.
3.2 The octopus gadget
In Section 5.2, we will formally define the notion of octopus gadget, and we will prove some useful properties of this object. Informally, an octopus gadget is a graph that can be obtained as follows. Let be an integer power of . Start with a tree-like gadget that has leaves, and with additional tree-like gadgets . For each , add an edge between the -th leaf of the gadget and the root of the gadget . The tree-like gadget is called head gadget, while all the other tree-like gadgets are called port gadgets. The formal definition of octopus gadget in Section 5.2 will be more general: to each leaf of the head gadget we will connect either or port gadgets. In this way, we will be able to handle also cases in which is not a power of . An example of octopus gadget is depicted in Figure 3.
Local checkability of octopus gadgets.
We will prove that, similarly to the case of tree-like gadgets, also octopus gadgets are locally checkable. More in detail, we will prove that there exists a set of input labels and a set of constraints over these labels satisfying the following properties.
- •
Any octopus gadget can be labeled with labels from such that the constraints are satisfied on all nodes.
- •
For any connected graph that is not an octopus gadget, and for any labeling from , there exists at least one node for which the constraints are not satisfied.
In order to define and , we will extend and , as follows.
- •
Each edge will be additionally labeled to denote whether the edge is part of a tree-like gadget, i.e., internal edge, or if it is an edge connecting different tree-like gadgets, i.e., external edge.
- •
Each node will be additionally labeled to denote whether it is part of the head gadget or if it is part of a port gadget.
- •
will be defined such that, in the subgraph induced by internal edges, the constraints must hold, and such that nodes belonging to the same tree-like gadget must either be all labeled head or all labeled port.
- •
will contain additional constraints to make sure that external edges are properly connected.
The LCL problem .
As in the case of tree-like gadgets, we need the stronger property that, if there is some error somewhere, then all nodes are able to prove this fact in deterministic classical rounds, such that no cheating is allowed (i.e., in properly labeled octopus gadgets, the output must be everywhere). For this purpose, we define an LCL problem . On a high level, this problem is defined by requiring nodes to solve multiple times, each time having potentially more marked nodes (and hence allowed to directly output error). More in detail, we define as follows.
- •
Nodes that do not satisfy some of the constraints of are marked.
- •
Nodes need to solve in the subgraph induced by internal edges. Observe that it could be the case that some node is in a valid tree-like gadget, but some constraint of is not satisfied on the node (e.g., because some external edge is wrongly connected). In this case, since the node is marked, it is allowed to produce an error when solving . Let be the output labeling produced by the nodes at this point.
- •
Nodes that are labeled to be part of a head gadget need to solve again. This time, however, a node is marked also if it has an incident external edge connecting it to a node that did not output in . Let be the output labeling produced by the nodes at this point.
- •
Nodes that are labeled to be part of a port gadget need to solve again. Similarly as before, this time, a node is marked also if it has an incident external edge connecting it to a node that did not output in .
Thanks to our triple usage of , we will be able to handle bad cases like the following. Assume that there is a broken port gadget connected to a valid head gadget, and all other port gadgets connected to the head gadget are valid. In this case, we want to allow a solution in which no node outputs . Indeed, allows the following solution.
- •
In the first instance of , all nodes part of the broken port gadget can output something different from , while all other nodes output .
- •
In the second instance of , the node of the head gadget that is connected to the broken gadget will be marked, and hence all nodes of the head gadget can output something different from .
- •
In the third instance of , all the roots of the port gadgets will be marked, and hence all nodes can output something different from .
In fact, we will prove that in all graphs that are not a valid octopus gadget, nodes can compute a solution in deterministic classical rounds such that no node outputs , while in valid octopus gadgets, we still maintain the property that the only allowed output is everywhere. Figure 4 shows an example of a solution of in a broken octopus gadget.
Similarly as in the case of , also in the case of nodes will have an additional input for , which is either , i.e., unmarked nodes, or , i.e., marked nodes, and is defined such that nodes that are marked for are also marked for . We will use this fact later when defining .
3.3 The family of proper instances
In Section 5.3, we will formally define the family of proper instances. Informally, a proper instance is a graph that can be obtained as follows. Let be a bipartite graph that is not necessarily connected and that could contain parallel edges. Assume each node has a degree that is an integer power of (we will get rid of this assumption, and only require to not have degree , in Section 5.3). For each node , we put an octopus gadget in , and for each node , we put a node in . These latter types of nodes are called inter-octopus nodes. Then, let be the -th edge incident to , for some given order. We add an edge in between the left-most leaf of the -th port gadget of and . We call these edges inter-octopus edges. Figure 5 shows an example of a proper instance.
Local checkability of proper instances.
Similarly as in the case of tree-like gadgets and octopus gadgets, we will define a set of input labels and a set of constraints satisfying the following properties.
- •
Any proper instance can be labeled with labels from such that the constraints are satisfied on all nodes.
- •
For any connected graph that is not a proper instance, and for any labeling from , there exists at least one node for which the constraints are not satisfied.
Similarly as in the case of octopus gadgets, in order to define and , we will extend and . For example, we will use additional labels for labeling inter-octopus edges. These edges will have additional constraints, to ensure that they are properly connected to octopus gadgets and to inter-octopus nodes.
The LCL problem .
Similarly as in the case of tree-like gadgets and octopus gadgets, we would like nodes to be able to quickly prove that the graph is not a proper instance, if that is the case. Unfortunately, this seems to be not possible. However, a weaker guarantee is sufficient. We will define a problem satisfying the following properties.
- •
There is a special output label for , called .
- •
For any graph , there exists a solution for satisfying that the subgraph induced by nodes labeled is a proper instance.
- •
Such a solution can be computed in deterministic classical rounds.
This problem will be defined by first marking nodes that do not satisfy , and then requiring the nodes to solve on the subgraph induced by nodes that are not inter-octopus. Moreover, there will be a special output allowed for inter-octopus nodes that do not satisfy .
3.4 The LCL problem
We will formally define our LCL problem in Section 5.5. Informally, it is defined as follows.
- •
The input given to becomes an input for the problem .
- •
Nodes need to solve .
- •
Let be the subgraph induced by the nodes outputting . On , nodes need to solve .
In other words, on a high level, we use to transform the promise-problem into a promise-free LCL problem . That is, all the machinery that we have defined until this point are what we use to make promise-free. More in detail, everything is defined so that on proper instances, the only valid solution for is the one assigning to all nodes, and hence it is required to solve on all nodes. Hence, a worst-case instance for can be translated into a worst-case instance for .
In order to make promise-free, we pay a cost: it takes rounds to mark invalid parts of the graph, and hence to restrict to a subgraph that is a proper instance. Since this cost is still lower than the randomized classical complexity of , we are still able to prove a promise-free separation between quantum and classical randomized.
3.5 The problem
Before giving an overview of the problem , we first discuss a family of problems that can be used, as a starting point, in order to define . In fact, our construction does not only work for a specific problem, but it works for an entire family of problems that we call linearizable problems. A linearizable problem is defined as follows.
Definition 3.1 (Linearizable problem).
Let be a hypergraph, and let be its bipartite incidence graph. Let the nodes of corresponding to the nodes of be called white nodes, and let the nodes of corresponding to the hyperedges of be called black nodes.
- •
The task is to label each edge of with a label from some finite set .
- •
There is a list of allowed black node configurations , which is a list of multisets of labels from that describes valid labelings of edges incident on a black node. We say that a black node satisfies the black constraint if its incident edges are labeled in a valid way. It is assumed that the rank of , and hence the maximum degree of black nodes, is a constant.
- •
Constraints on white nodes are described as a triple , where (which stands for first) and (which stands for last) are finite sets of labels, and (which stands for pairs) is a finite set of ordered pairs of labels. In this formalism, it is assumed that an ordering on the incident edges of a white node is given, and it is required that:
- –
The first edge is labeled with a label from ;
- –
The last edge is labeled with a label from ;
- –
Each pair of consecutive edges must be labeled with a pair of labels from .
We say that a white node satisfies the white constraint if its incident edges are labeled in a valid way.
- –
When solving a linearizable problem in the distributed setting, it is assumed that each node knows whether it is white or black.
An example of a definition of a problem using this formalism is shown in Figure 6. The useful feature of this family of problems is that, even if the labels of a node are laid down on a (possibly very long) path, it is still possible to locally check for correctness. This property will be crucial for defining . Moreover, as discussed in Section 1, the family of problems can be described as a single linearizable problem.
We are now ready to discuss . Let be a linearizable problem. The problem is defined as a function of the chosen problem , as follows. While in Section 5.4 we will handle the case in which each leaf of the head gadgets is connected to either or port gadgets, in the following we consider the simpler setting in which each leaf of the head gadgets is connected to a single port gadget.
- •
Each port gadget of our construction corresponds to an edge of . We require all nodes of each port gadget to output a label of , with the requirement that all nodes of a port gadget are labeled with the same label.
- •
In our construction, nodes corresponding to black nodes of are marked in a special way, and hence they know to be nodes corresponding to black nodes. Let be one such node, and let be the multiset containing the output labels of the neighboring nodes (which are nodes belonging to port gadgets) of . We require to be a configuration allowed by the black constraint of .
- •
Thanks to the input of the problem , leaves of a head gadget know that they are leaves of a head gadget, and additionally, the left-most leaf and the right-most leaf know that they are, respectively, the left-most and the right-most leaves. Let be the output label of the port node connected to , let be the output label of the port node connected to , and let be the output label of the port node connected to the -th leaf. We require that , that , and that each pair is in .
Thanks to these constraints, we have that, in a valid labeling, each octopus gadget encodes a labeling that satisfies the white constraint of . We will give all the details about in Section 5.4.
3.6 The complexity of
We now provide an overview on how we will prove lower and upper bounds for the problem . Since our goal is to prove a separation between quantum-LOCAL and classical randomized-LOCAL, our upper bound will be a quantum algorithm, while the lower bound will hold for classical randomized algorithms.
Upper bound.
In the case of upper bounds, we will assume the existence of a quantum algorithm for with some complexity (for example, in the case of , we know that ), and we will show that, with overhead, it can be converted into an algorithm that solves . On a high level, algorithm works as follows.
- •
First, nodes spend deterministic classical rounds to solve . The result will be a labeling satisfying that nodes labeled induce a proper instance.
- •
Consider the graph obtained by contracting each octopus gadget into a single node. The graph is an instance of , and each quantum communication round on can be simulated with overhead in the original graph. Hence, it is possible to solve in the original graph in quantum rounds.
- •
Once is solved, nodes can spend additional rounds to produce a labeling that is valid for on the subgraph induced by nodes labeled for .
Therefore, algorithm solves in quantum rounds. The details are given in Section 5.6.
Lower bound.
Suppose we know that the problem requires classical randomized rounds. We prove that, if can be solved in classical randomized rounds, then can be solved in classical randomized rounds, violating the lower bound. This result will be achieved by showing the following. Suppose for a contradiction that there exists an algorithm that solves in classical randomized rounds, we construct an algorithm for as follows.
- •
Let be an instance of . Nodes construct a virtual graph , which is an instance of , by imagining themselves to be a valid octopus gadget where each port gadget has height , and imagining each (hyper)edge to be a black node connecting different gadgets.
- •
In this virtual graph, the only solution for is the one assigning to all nodes.
- •
By assumption, the problem can be solved in rounds in , and the -radius neighborhood of each node in is contained in -radius neighborhood of each node in . Hence, nodes can solve by communicating for only rounds on , and then obtain a solution for .
There are some details that we need to take care of, like the fact that the number of nodes in and are different, and we will show how to handle all these details in Section 5.7.
4 Upper bounding quantum advantage
In this section, we prove Theorem 1.2. We start by defining -dependent distributions and the bounded-dependence model using outcomes. In Section 4.1, we follow the outline of Section 1.6 and provide and prove lemmas for each of the intermediate steps. We then combine these lemmas to prove Theorem 1.2.
Preliminary definitions.
We start by introducing some key definitions. Let and be two graphs. We define the union of and to be the graph where and . The intersection is similarly defined, with where and . The graph difference is defined as where and ; note that here we only take the difference of the edge sets. We define the ring neighborhood between and of a node (for ) as . We use an analogous notation for subsets of nodes. Consider any node (or any subset ): with an abuse of notation, we define the open induced subgraph as the graph (or ). In practice, in this definition we are removing from the classical notion of neighborhood the edges that connect nodes that are at distance from (or ) as the graph that (or ) sees by moving hops away does not include them.
For any function and any subset , we denote by the function such that for all . For any input distributed network to any problem, where encodes input data for all , and any subset of nodes , the radius- view of is . Basically, includes everything that can be seen by the nodes in with rounds of communication, including input data (degree, ports, identifiers and input labels—if any, etc.). Suppose has nodes, and fix any subset of nodes . Given any two graphs with inputs and any two subset of nodes and , it is natural to define the notion of isomorphism between views. We say that is isomorphic to if there exists a function such that the following holds:
- 1.
is an isomorphism between and ;
- 2.
is an isomorphism between and ;
- 3.
for all .
Consider any -round (deterministic or randomized) LOCAL algorithm run by the nodes of , and any subset of nodes . Run on for rounds and look at the output distribution over . Clearly, such distribution depends only on , while everything that is outside cannot influence the output distribution, even if some adversary changes the graphs and the inputs outside (apart from the number of nodes, as this is an input to the algorithm). The cause of outputs in cannot be influenced by any action of an adversary outside .
This property is the so-called no-signaling from the future principle in physics, which states that no signals can be sent from the future to the past, and is equivalent to the causality principle [22]. Such principle holds in every physical distributed network running any kind of synchronous distributed algorithm, including quantum ones.
To see how this principle formally translates in our setting, let us define the notion of outcome, which is some kind of generalization of an algorithm. Here, we restrict to finite sets of input and output labels since we focus on LCL problems. For a graph , let us denote by the set containing all tuple of the form where and is a half-edge incident to . Let us define the notion of labeling function for a graph as follows: a function is a labeling function if, for two different half-edges , of the same node , , where by we mean the first component of the tuple . In words, the labeling function must assign to a node only one possible label. For any node , the label assigned to is any for any half-edge incident to . The label assigned to a half-edge is . With an abuse of notation, if has no incident edges we still assume that the writing is well-defined and only assigns a label from to .
Definition 4.1 (Outcome).
Let be finite sets of labels. Let be the family of all input distributed networks , where is a -labeled graph and encodes input data (identifiers, ports, possible random bits, input labels, etc.). An outcome is a function that maps every input distributed network to distribution over output labelings , where is defined as follows: is a finite set of indices. The function is a labeling function that we call output labeling function. The value is the probability that occurs.
This definition is easily generalizable to the case of infinite label sets, but we avoid it for the sake of simplicity. Notice that all synchronous distributed algorithms yield outcomes: it is just the assignment of an output distribution (the one that is the result of the algorithmic procedure) to the input graph. We remark we have defined the domain set of outcomes to include all possible graphs. This is not restrictive: Even classical (or quantum) algorithms can run on every possible graph. One can just introduce some garbage output label so that whenever a node running an algorithm needs to do something that is not well-defined (given its local view), it can just output the garbage label.
We say that an outcome solves a problem over a family of graphs with probability if, for every and every input data , it holds that
Let be any outcome and fix an input . Consider any subset of nodes . Let be the subset of that contains all elements where . The restriction of the output distribution to is the distribution such that
and is denoted by or . We also say that two labeling distributions over two graphs are isomorphic if there is an isomorphism between and such that .
We are now ready to define non-signaling outcomes.
Definition 4.2 (Non-signaling outcome).
Let be any outcome. Suppose there exists a non-negative integer with the following property: For any two subsets such that is an isomorphism between and , then the restrictions and are isomorphic under . In this case, we say that is non-signaling beyond distance or, alternatively, that has locality .
Running -rounds classical or quantum-LOCAL algorithms without shared resources, we obtain the following property on the output labeling distribution: for every two subset of nodes such that , then the output distributions restricted to and are independent. Let us formalize this notion.
Definition 4.3 (-dependent distribution).
Let be finite sets of labels, and a finite set of indices. Let be the family of all input distributed networks , where is a -labeled graph and contains input data (identifiers, ports, possible random bits, etc.). An output labeling distribution is -dependent if, for any two subsets of nodes such that , we have that is independent of
We can think now of non-signaling outcomes that produce such distributions.
Definition 4.4 (Bounded-dependent outcome).
Let be any outcome that is non-signaling beyond distance . We say that is bounded-dependent with locality if for any input we have that is -dependent. Furthermore, when (i.e., it does not depend on the input graph), we say that is a finitely-dependent distribution. Moreover, if for all inputs it holds that does not depend on identifiers and port numbers, we say that is invariant under subgraph isomorphism.
With the addition of this further property, we can define the bounded-dependence model, first formalized in [1].
The bounded-dependence model.
The bounded-dependence model is a computational model that produces bounded-dependent outcomes. The required success probability when solving a problem must be at least .
4.1 Limits on quantum advantage
With these definitions, we are ready to prove Theorem 1.2. Formally, in this section, we prove the following theorem:
Theorem 4.5.
Let be an LCL problem with checking radius . Let be a bounded-dependent outcome with locality of labelings that solve problem with probability . Then there exists a rand-LOCAL algorithm solving with locality with probability at least .
Like in the overview, we start by clustering the graph into small well-separated clusters. Formally, we mean the following:
Definition 4.6 (-clustering).
Given a graph , an -clustering is a partition meeting the following conditions:
- •
The distance between two nodes , from different clusters , is at least 2.
- •
For every , the diameter of is at most .
- •
contains at most vertices.
To actually compute such clustering, we use the following clustering algorithm by [18]:
Theorem 4.7.
For any , an -clustering can be computed with locality
rounds in the deterministic LOCAL model.
By the definition of clustering, we only get that nodes in different clusters are mutually non-adjacent. However, to ensure that the labelings in each cluster are mutually independent given a labeling for the unclustered nodes, we require nodes of different clusters to be at distance at least , where denotes the checkability radius of our LCL problem . We can fix this by running the algorithm from Theorem 4.7 on the power graph . By doing so and choosing we obtain the following corollary.
Corollary 4.8.
A -clustering can be computed with locality
in the deterministic LOCAL model. Additionally, any two nodes from different clusters have distance at least in for any pre-chosen constant .
This clustering ensures that the clusters are well-separated enough such that their labelings can be completed independently given a labeling in the unclustered nodes . Our next step is to produce a labeling on by sampling for the bounded-dependence original distribution. To be able to do this, we need to partition into well-separated partitions whose outputs are independent. Formally, we do the following:
Lemma 4.9.
For any subset of nodes of size at most , we can partition into such that
- •
for every , the diameter of is in , and
- •
for every , if and then .
Moreover, this partitioning can be computed in the LOCAL model with locality .
The latter condition allows us to sample the outputs for each partition independently as, by the definition of bounded-dependence distributions, their outputs are independent. The former condition makes sure that each partition has a low diameter and hence the sampling can be done with low locality. Intuitively, the partitioning is done by finding the connected components in the power graph :
Proof.
Each node in iteratively runs the following exploration procedure: The node looks at its radius- neighborhood in the original graph to see if there are other nodes that belong to . If not, the node stops as it has found all nodes of that are within distance of it, and hence all other nodes must belong to different partitions. Otherwise the node adds newly-found nodes to its own partition and repeats this exploration procedure from these newly-found nodes.
It is clear that this algorithm produces a partitioning that satisfies the latter condition. It remains to prove that the algorithm stops within steps. Since nodes only start another iteration if they find a new node from the set , this procedure stops after at most iterations. As each iteration has locality , the total running time of the algorithm is bounded by
This also implies that the diameter of each cluster is . ∎
We now have the nodes of graph clustered into , and nodes partitioned into . Let be an input for and consider a -dependent labeling distribution over that is given by a bounded-dependent outcome with locality . We now show that a randomized LOCAL algorithm can sample a labeling for from if it is given an oracle to .
Lemma 4.10.
Let be a bounded-dependent outcome with locality . There exists a rand-LOCAL algorithm that runs on with clustered as , partitioned as and an oracle to , and outputs labelings for that follow the distribution . This algorithm has locality .
Proof.
Since if , for all , for any sequence , the restrictions of to are mutually independent by definition of -dependent distribution. Let be any output labeling function. For a given subset of nodes , let us denote the probability that actually yields the output on by . For all , for any sequence , we have
It follows that, for , a rand-LOCAL algorithm can gather the subgraph induced by and sample a labeling from distribution independently from the other , . The equality above ensures that the final labeling obtained in this way for is sampled with the same probability as if we sampled it from . As the algorithm samples the labeling for each independently, it is obvious that the locality of the algorithm is bounded by . ∎
In other words, the output labels of nodes belonging to different partitions can be sampled independently while respecting the locality of the bounded-dependent distribution. This implies that, by sampling a function from the bounded-dependent outcome , we can first fix the output labels , and then label the remaining nodes in by brute force. We first show that, if the original outcome has success probability , then there exists an extension of to a labeling for that is a solution for with probability at least . Actually finding such a labeling for by brute force will follow as a corollary.
Lemma 4.11.
Let be a bounded-dependent outcome that solves the LCL problem on with success probability , and let be a labeling for sampled from . Then, with probability at least , there exists at least one labeling for such that is a restriction of to , namely , and is a solution for on .
Proof.
If we sample labeling from , we can be in three possible cases.
- 1.
Labeling for is the restriction of some labeling for , and solves in . In this case we are guaranteed that at least the extension exists.
- 2.
Labeling for is the restriction of some labeling for , is a solution for on , but is not a solution for in . Even if we cannot take the extension , it might still be possible to find a different that does not belong to but that is a solution on nonetheless.
- 3.
Labeling for is the restriction of some labeling for , and is not a solution for on . Then, no correct extension is possible.
The first case occurs with probability , while with probability either the second or the third occur. Since a correct extension of could be possible even in the second case, it follows that the overall probability of finding a correct extension of is at least . ∎
Corollary 4.12.
Let be a labeling for such that there exists a non-empty set of labelings for where each is a solution for on and is a restriction of to , namely . There exists a LOCAL algorithm that runs on with clustered as and outputs a labeling . This algorithm has locality
Proof.
Every node in a given gathers its radius- neighborhood, making sure that this radius is not smaller than the diameter of plus . Then we know that every node in sees every other node in the same , plus a frontier of depth in . We can then compute by brute force a valid solution to restricted to by testing every possible labeling .
The procedure just described clearly has locality , and it is always correct because has checkability radius , and Corollary 4.8 guarantees that nodes in different clusters have distance at least in . Thus, the radius- neighborhood of any node in can intersect only the same and . Since the labeling for is already fixed by , we can safely check whether an output labeling solves in . ∎
We can now prove Theorem 4.5:
Proof of Theorem 4.5:
Let be an LCL problem with checking radius and that admits a bounded-dependence distribution with locality and success probability . We construct a rand-LOCAL algorithm that solves problem with locality . The algorithm works in four steps:
- 1.
It first computes a -clustering . By Corollary 4.8, this can be done with locality .
- 2.
The algorithm then partitions the unclustered nodes into partitions such that each partition has distance at least to every other partition. By Lemma 4.9, this can be done with locality .
- 3.
The algorithm then samples a labeling for each partition independently. This too can be done with locality thanks to Lemma 4.10 as each partition has diameter and partitions are at distance at least from each other, which means that their distributions are independent.
- 4.
Finally, the algorithm completes the labeling for each cluster independently. This succeeds with probability at least by Lemma 4.11, and the brute force completion of Corollary 4.12 takes locality as this is the bound on the diameter of each cluster.
The locality of the algorithm is dominated by the first step. In total, the algorithm has locality .
The only part in this algorithm where we use randomness is in Item 3 when sampling from the bounded-dependence distribution. By Lemma 4.11, we sample a labeling that is extendable to a labeling for the whole graph with probability at least . As the rest of the algorithm is deterministic, the algorithm succeeds with probability at least . ∎
Finally, we note that Theorem 4.5 can also be derandomized e.g. by using techniques by [25] combined with a modern network decomposition [24], assuming that the original bounded-dependence distribution succeeds with high enough probability. This gives us the following result:
Corollary 4.13.
Let be an LCL problem with checking radius . Let be a bounded-dependent outcome with locality of labelings that solve problem with probability strictly larger than . Then there exists a det-LOCAL algorithm solving with locality .
5 Quantum advantage: technical details
Preliminary definitions.
For any -labeled graph , and for any node and any edge , we denote by the label of the half-edge . We also want to be able to refer to the endpoint of a path that starts from some node and follows a given sequence of labels over half-edges. We define the function as follows: Consider any node and any sequence of edge labels . Let be a path in such that and, for any edge , the half-edge is labeled with . Then, we set if the path exists and is unique, and otherwise.
5.1 Tree-like gadget
In order to define our LCL problem, we will use, as a basic building block, an object called tree-like gadget, which has already been used in different works related to LCLs [4, 9, 7]. An example of tree-like gadget is shown in Figure 1. We report here the definition provided in [4].
Definition 5.1 (Tree-like gadget [4]).
A graph is a tree-like gadget of height if it is possible to assign coordinates to each node , where
- •
denotes the depth of in the tree, and
- •
denotes the position of (according to some order) in layer ,
such that there is an edge connecting two nodes with coordinates and if and only if:
- •
and , or
- •
and , or
- •
and .
A useful property of this gadget is that it can be made locally checkable, in the sense that there exists a set of labels that can be assigned to each node-edge pair, and a constraint over the labels , satisfying the following.
Lemma 5.2 ([4]).
Let be a graph that is labeled with labels in such that is satisfied for all nodes in . Then, each connected component of is a tree-like gadget.
Lemma 5.3 ([4]).
Each tree-like gadget graph can be labeled with labels in such that is satisfied for all nodes in .
The set of labels is defined in [7] as (the labels stand for “left”, “right”, “parent”, “left child”, and “right child”, respectively). The set of local constraints is defined in [7] as follows.
An example of tree-like gadget labeled from labels in such that is satisfied for all nodes is shown in Figure 1.
Moreover, in [9], it is shown that it is easy for the nodes to prove that the graph in which they are is an invalid tree-like gadget. More formally, in [9], it is defined an LCL problem satisfying the following. Nodes have input or , and nodes with input are called marked. Node-edge pairs have an input label from . Recall that a graph with such an input is called -labeled graph. The set of outputs labels for contains a special label called , and in this problem there are only node output labels (hence, there are no half-edge output labels).
Lemma 5.4 ([9]).
There exists an LCL problem satisfying the following properties.
- •
Let be a -labeled graph where is satisfied on all nodes and all nodes are not marked. Then, the only valid solution for is the one assigning to all nodes.
- •
Let be a connected -labeled graph where either is not satisfied on at least one node, or there is at least one marked node. Then, there exists a solution for where all nodes produce an output different from . Moreover, such a solution can be computed in deterministic rounds in the LOCAL model.
On a high level, we will later use as a black box, and we will mark nodes that witness some local errors that are not related to the tree-like gadget itself. In this way, we will be able to use to also prove errors that are unrelated to the tree-like gadget itself. An example of valid solution of is depicted in Figure 2.
5.2 Octopus gadget
In this section, we formally define the notion of octopus gadget, then we prove that an octopus gadget is locally checkable, and finally we define the LCL problem and prove some properties about it.
Definition 5.5 (Octopus gadget).
Let be a natural number, and a vector of entries in . Let be a family of positive integer weights, where is the set containing all pairs satisfying and .
A graph is an -octopus gadget if there exists a labeling of the nodes of such that the following holds.
- 1.
For each element , let be the subgraph of induced by nodes labeled with . Then, for all , must be a tree-like gadget according to Definition 5.1.
- 2.
For all such that , and must be disjoint.
- 3.
has height and, for all , has height .
- 4.
For all , there is an edge connecting the node of that has coordinates with the node of that has coordinates .
is called the head-gadget and, for all , is called a port-gadget.
Local checkability.
While Definition 5.5 gives the definition of octopus gadget from a global perspective, we now define a finite set of labels and a set of local constraints satisfying that a connected graph is a properly labeled octopus gadget if and only if these local constraints are satisfied by all nodes.
We first define the sets of labels and , and then we define a set of local constraints over these labels. We will prove that a connected graph can be (, )-labeled such that the constraints are satisfied on all nodes if and only if is an (, , )-octopus gadget, for some , , and .
The sets of labels are defined as follows:
where stands for “head-port link” and stands for “port-head link”, respectively. Recall that the labels in are node labels, while are labels for node-edge pairs.
We now define the set of constraints . An edge is called internal if and only if , and external otherwise.
Lemma 5.6.
Let be a connected graph that is (, )-labeled such that is satisfied at all nodes. Then, is an octopus gadget.
Proof.
In the following, by labels of an edge we denote the labels and . By constraint 2, for each edge it holds that the labels of are either both in , or both in . Hence, internal edges have only labels from and external edges have only labels from . Moreover, by constraint 2, an external edge has exactly two labels from , and these two labels cannot be .
By constraint 0 and Lemma 5.2, each connected component in the subgraph induced by internal edges is a tree-like gadget (possibly, a graph without edges). Moreover, for each connected component, by constraint 1, it must hold that all nodes in the component are either all labeled , or all labeled .
Summarizing what we have showed so far, each connected component in the subgraph induced by internal edges is either a tree-like gadget where all nodes are labeled or a tree-like gadget where all nodes are labeled , and external edges have labels or labels . Hence, we only need to prove that external edges are properly connected.
Suppose is non-empty. Let be a node in . We prove that the connected component (in , including external edges) containing is an octopus gadget.
Let be the connected component containing in the graph induced by internal edges. As discussed, is a tree-like gadget. We start by proving that, in , there must be a tree-like gadget where all nodes are labeled . If itself is labeled , we are done. If is marked , then by constraint 6 the node in the tree-like gadget that has no incident half-edge labeled (i.e., the node with coordinates ) must have an edge satisfying . By constraint 2, for some , and by constraint 4 no node labeled can have incident edges with label for any . Hence, must be a node labeled .
Let be the connected component containing in the graph induced by internal edges. must be a tree-like gadget. By constraint 5, only nodes in the last layer of can have an incident edge labeled for some , and such nodes must have at least one such edge. By constraint 7, each of these nodes cannot have other edges labeled with . Let be an arbitrary such edge, where for some . By constraint 2, it must hold that . Moreover, by constraint 7, node cannot have additional incident edges labeled . By constraint 3, node must be labeled and by constraints 6, 0, and 1, node must be the root of a tree-like gadget where all nodes are labeled . By constraint 6, no other node of can have edges labeled . Furthermore, by constraint 8, each node in the last layer of must have an incident edge labeled if it has an incident edge labeled .
We thus get that, for each head-gadget , there is at least one port-gadget connected to each leaf of and at most two of them, and that is connected to exactly one head-gadget via its root. Hence, is an octopus gadget. Let be the height of the tree-like gadget . Now, we assign the label root to all nodes in , and the label to all nodes in the port-gadget if is connected to via the leaf of having coordinates through the edge such that . By this assignment, we have shown that satisfies Definition 5.5.
Finally, since is connected, then . ∎
Lemma 5.7.
Let be an octopus gadget. Then, can be (, )-labeled such that is satisfied at all nodes.
Proof.
Let be an octopus gadget. We can assign the labels in this way.
- •
We assign the label to all the nodes of the head-gadget.
- •
We assign the label to all the nodes of the port-gadgets.
- •
By Lemma 5.3, we can assign labels to each tree-like gadget such that the constraints of are satisfied.
- •
Let be an edge connecting a head-gadget to a port-gadget (i.e., the edges of point 4 of Definition 5.5), where is the node in the head-gadget. If has the label in Definition 5.5, we set and .
By construction, all the constraints of are satisfied. ∎
The LCL problem .
We now define an LCL problem that, on a high level, allows the nodes to prove that the graph in which they are is not an octopus gadget. Similarly as in the case of , nodes also receive a binary input, where nodes that receive are called marked. Again, we will use this input later, to mark nodes that witness errors that may be unrelated to the octopus gadget itself. On a high level, the problem will satisfy the following properties.
- •
Nodes receive as input whether they are marked or not.
- •
There are two possible types of output: a node can either produce an empty output (), or it can output an error. In the latter case, a node needs to also output a locally checkable proof of the fact that the graph is not an octopus gadget or that it contains at least one marked node.
- •
If the octopus gadget is valid and it does not contain any marked node, the constraint of the problem are defined such that the only valid solution to the problem is the one where all nodes output .
- •
Otherwise, if the graph is not an octopus gadget or it contains at least one marked node, all nodes are able to spend round in the LOCAL model to produce a proof of this fact.
We now give a formal definition of the LCL problem . The inputs are defined as follows.
- •
Each node receives an input pair from the set , that is, each node receives a pair, where the first element denotes whether the node is marked or not, while the second element of the pair is an element from the previously described set .
- •
Each half-edge receives an input from the previously described set .
Let be the node output labels of the LCL problem . The possible output labels are the following.
- •
The label , which represent an empty output.
- •
A pair , where is a triple, and each element of the triple is a label from .
We denote the pairs as error outputs. On a high level, the constraints are defined such that the output is always allowed, while the constraints on the error outputs are defined such that these outputs encode a proof of the fact that there is an error in the graph. Informally, the error output triples will be used as follows.
- •
If the first element of a triple of some node is not , it means that, in the connected component of the subgraph induced by internal edges that contains there is some error.
- •
If the second element of a triple of some node is not , it means that, even if the connected component of may be correct, node is in a head gadget connected to at least one broken port gadget.
- •
If the third element of a triple of some node is not , it means that, even if the connected component of may be correct, and even if is in a correct port gadget connected to a correct head gadget, node is in a port gadget connected to a head gadget that is connected to at least one broken port gadget.
In order to allow this labeling, we allow more and more nodes to be marked, as follows.
- •
For the first instance of , only marked nodes and nodes that have already witnessed some error are marked.
- •
For the second instance, additionally, nodes in head gadgets that are neighbors of nodes of port gadgets that output an error in the previous instance are marked.
- •
For the third instance, additionally, nodes in port gadgets that are neighbors of nodes of head gadgets that output an error in the previous instance are marked.
More formally, the constraints are defined as follows.
Lemma 5.8.
Let be a , -labeled graph where is satisfied for all nodes and all nodes are not marked. Then, the only valid solution for is the one assigning to all nodes.
Proof.
For a contradiction, assume that some node in outputs for some labels , , . By the definition of in constraint 2, for all nodes it must hold that , and by constraint 3 and Lemma 5.4 we thus get that . Similarly, by the definition of in constraint 4, for all nodes it must hold that , and by constraint 5 and Lemma 5.4 we thus get that . Again, by the definition of in constraint 6, for all nodes it must hold that , and by constraint 7 and Lemma 5.4 we thus get that . The claim then follows by the fact that constraint 1 forbids the triple . ∎
Lemma 5.9.
Let be a connected , -labeled graph where either is not satisfied on at least one node, or there is at least one marked node. Then, there exists a solution for where all nodes produce an output different from . Moreover, such a solution can be computed in deterministic rounds in the LOCAL model.
Proof.
In order to produce the claimed solution, we will use, as a black box, the algorithm for reported in Lemma 5.4. The algorithm for solving works as follows. Each node spends rounds to compute . By Lemma 5.4, nodes can spend deterministic classical rounds to compute a solution for , where is the input of for the problem, and, if in the subgraph induced by internal edges, in the connected component containing , there is at least one marked node or a node not satisfying , then outputs a label different from . For each node , let be this output.
Then, each node spends rounds to compute , and again, as before, nodes spend rounds to compute a solution for , where this time the input of node is .
Finally, each node spends rounds to compute and spends rounds to compute a solution for , where the input of node is now . If a node satisfies , then it outputs . Otherwise, it outputs .
The correctness of the output directly follows from the definition of , and the runtime is clearly upper bounded by deterministic classical rounds. We now prove that, if contains at least one marked node, or at least one node not satisfying , then all nodes output a label different from .
Let be the graph obtained by contracting each connected component induced by internal edges into a single node. If there are multiple edges between different connected components, we have parallel edges in . By the definition of the algorithm, it holds that all nodes of corresponding to the same node of , in the first output of (i.e., the values ), either all output or all output something different. Let us label (which stands for error) each node of satisfying that all its nodes output something different from . We label all the other nodes either (head) or (port), as follows. If a node of is not labeled , then either all its nodes of have input , or all its nodes of have input . In the former case, we label the node , while in the latter case we label the node .
By Lemma 5.6, at least one node of is labeled . Moreover, by the definition of , the graph must satisfy the following properties.
- •
Each node labeled must have degree .
- •
Nodes labeled must form an independent set.
- •
Nodes labeled must form an independent set.
We thus get that each connected component of induced by nodes not labeled must form stars centered at nodes labeled . Moreover, we observe that each node labeled must have at least one neighbor labeled , since otherwise we would get that, in , there is a connected component not containing , which in corresponds to a valid octopus gadget. By the definition of the algorithm, we thus get that, in each connected component corresponding to a node labeled , at least one node is marked when solving for the second time. Let us update the labeling of by changing nodes labeled into nodes labeled if their connected component contains nodes not outputting . We get that, after this update, no node of is labeled . Hence, all nodes of labeled have a neighbor labeled . By the definition of the algorithm, we thus get that, in each connected component corresponding to a node labeled , at least one node is marked when solving for the third time. Let us update the labeling of by changing nodes labeled into nodes labeled if their connected component contains nodes not outputting . We get that, after this update, no node of is labeled . Hence, all nodes of are labeled , and hence no node of outputs .
∎
5.3 The family of proper instances
In Section 3.3, we informally defined the family of graphs called proper instances that we will use to prove our main result. We now provide a formal definition of such graphs. The main ingredient is the octopus gadget defined in Definition 5.5.
Definition 5.10 (Proper instance).
Let be a graph. We say that is a proper instance if there exists a node labeling function with the following properties.
- 1.
Every connected component in the subgraph induced by nodes labeled intra-octopus is an octopus gadget (according to Definition 5.5).
- 2.
The subgraph induced by nodes labeled inter-octopus does not contain any edge.
- 3.
A node labeled intra-octopus is connected to a node labeled inter-octopus if and only if has coordinates in the port-gadget containing , where is the height of (that is, is the left-most leaf of the port-gadget containing ).
Local checkability.
While Definition 5.10 gives the definition of proper instances from a global perspective, we now define a finite set of labels and a set of local constraints satisfying that a connected graph is a properly labeled valid instance if and only if these local constraints are satisfied by all nodes.
We first define the sets of labels and , and then we define a set of local constraints over these labels. We will prove that a connected graph can be (, )-labeled such that the constraints are satisfied on all nodes if and only if is a proper instance.
The sets of labels are defined as follows. The node labels are defined as , where stands inter-octopus node. The half-edge labels are defined as , where stands for “portinter-octopus link” and stands for “inter-octopusport link”.
We now define the set of constraints . An edge is called intra-octopus if and only if , and inter-octopus otherwise.
Lemma 5.11.
Let be any non-empty connected graph that is -labeled such that is satisfied at all nodes. Then, is a proper instance according to Definition 5.10.
Proof.
We start by proving that there must be at least one node not labeled . Since the graph is non-empty, it contains at least some node , which is either labeled or not. In the latter case we are done. In the former case, by constraint , has an incident edge such that . By constraints and , is labeled with and . Hence, a node not labeled exists.
We thus know that the subgraph induced by nodes not labeled is non-empty, and, by constraint 0, is such that each connected component is an octopus gadget.
By constraint 2, each node that is the left-most leaf of its gadget must have an incident edge such that , and no other node is allowed to have such an incident edge. By constraint 1 and 3, must be labeled and . This in particular implies that the set is non-empty.
By constraint 3, all edges incident to nodes in are labeled . Moreover, by constraint 3, no nodes in have incident half-edges labeled . By constraint 1, each edge incident to an node , must satisfy , and, by constraint 2, must be a left-most leaf of a port gadget. Summarizing, we obtained the following.
- •
Each connected component in the subgraph induced by intra-octopus edges is an octopus gadget.
- •
Only left-most leaves of port gadgets have incident inter-octopus edges.
- •
Inter-octopus edges must have an endpoint that is a left-most leaf of a port gadget and an endpoint that is an inter-octopus node.
Hence, is a proper instance. ∎
Lemma 5.12.
Let be a proper instance as defined in Definition 5.10. Then, there exists a -labeling of that satisfies the constraints in at all nodes.
Proof.
We properly label all nodes and edges in octopus gadgets respecting as in Lemma 5.7. To all nodes that are outside octopus gadgets, we assign the label . To all edges that connect a node labeled with to a node labeled with , we assign labels so that and . All constraints are satisfied by construction. ∎
The LCL problem .
We now define an LCL problem that, on a high level, allows the nodes to prove that the graph in which they are is not a proper instance labeled in a valid way. Differently from the cases of and , we cannot guarantee the property that, if the graph is invalid, then nodes can spend rounds to produce a solution in which no node outputs . This time, the problem will satisfy the following weaker guarantee, which will be sufficient for our purposes: nodes can spend rounds to produce a solution in which the graph induced by nodes outputting is a proper instance. On a high level, the problem will satisfy the following properties.
- •
There are three possible types of output: a node can either produce an empty output (), or it can output an error, and there are two types of errors. In the latter case, a node needs to also output a locally checkable proof of the fact that the graph is not a proper instance.
- •
If the graph is a proper instance, the constraints of the problem are defined such that the only valid solution to the problem is the one where all nodes output .
- •
Otherwise, if the graph is not a proper instance, nodes are able to spend deterministic classical rounds to label invalid parts of the graph, such that the graph induced by nodes outputting is a proper instance, and such that the labeling on the invalid parts of the graph encodes a proof that these parts are indeed invalid.
We now give a formal definition of the LCL problem . The inputs are defined as follows.
- •
Each node receives as input a label .
- •
Each half-edge receives as input a label from .
The possible node output labels for the problem are the following.
- •
The empty output .
- •
A pair , where . This label will be allowed only on intra-octopus nodes.
- •
The labels and . These labels will be allowed only on inter-octopus nodes.
We call error outputs all labels that are different from . Informally, the label will be used by inter-octopus nodes that do not satisfy the constraints , while will be used by inter-octopus nodes satisfying that all their intra-octopus neighbors output errors. On a high level, these labels will be used as follows. Inter-octopus nodes that are not properly connected to intra-octopus nodes output . Then, intra-octopus nodes connected to inter-octopus nodes that are outputting an error are marked. Then, nodes solve in the subgraph induced by intra-octopus nodes. Finally, inter-octopus nodes output if they satisfy the following two properties: they did not output previously, and all their neighbors (which are intra-octopus nodes) output an error. We now define the constraints .
Lemma 5.13.
Let be a , -labeled graph where is satisfied for all nodes. Then, the only valid solution for is the one assigning to all nodes.
Proof.
Since is satisfied at all nodes, an inter-octopus node cannot output . This implies that the input for satisfies for all intra-octopus nodes . Since each connected component of the subgraph induced by intra-octopus nodes is a properly labeled octopus gadget, intra-octopus nodes must output . This implies that inter-octopus nodes cannot output . We thus get that all nodes must output . ∎
Lemma 5.14.
Let be a , -labeled graph. There exists a solution for where each connected component induced by nodes outputting is a proper instance. Moreover, such a solution can be computed in classical deterministic rounds.
Proof.
In order to produce the claimed solution, we will use the algorithm for reported in the proof of the Lemma 5.9. The algorithm for solving works as follows.
Each node satisfying spends rounds to check whether it satisfies . If these constraints are not satisfied, outputs . Then, each intra-octopus node spends rounds to compute . By Lemma 5.9, intra-octopus nodes can spend deterministic classical rounds to compute a solution for , where is the input of node for the problem. Such a solution satisfies that the following property: if in the subgraph induced by intra-octopus edges, in the connected component containing , there is at least one marked node or a node not satisfying , then outputs a label different from . For each node , let be this output. If , then outputs , otherwise outputs . Finally, each inter-octopus node that did not output spends rounds to check if at least one neighbor output some error in the previous phase, and in that case it outputs .
The solution clearly satisfies the constraints of , and the runtime is clearly . We now prove that the subgraph induced by nodes outputting is a proper instance.
Let be the subgraph induced by nodes outputting . By the definition of the algorithm, each connected component of the subgraph of induced by intra-octopus nodes must be a valid octopus gadget. Moreover, the inter-octopus nodes incident to intra-octopus gadgets of must not be labeled , since otherwise their neighbors in octopus gadgets would have satisfied and hence output something different from . Also, inter-octopus nodes incident to intra-octopus gadgets of cannot be labeled , since they have at least one intra-octopus neighbor outputting . We thus get that inter-octopus nodes that are neighbors of intra-octopus gadgets of are all labeled . Additionally, all left-most leaves of octopus ports must have an inter-octopus neighbor, since otherwise they would have output an error. We thus get that, in , is satisfied on all nodes, and by Lemma 5.11 this implies that is a proper instance. ∎
5.4 The problem
In this section, we define the problem as a function of a given problem (see Definition 3.1 for the definition of linearizable problems). As mentioned in Section 3.5, the problem will be defined such that it is required to solve on the whole graph, and it is required to solve on the subgraph induced by nodes that output for .
Recall that the problem allows to output on all nodes, even on graphs that are not proper instances. If an algorithm produces such an output, then it is required to solve on a graph that is not a proper instance. However, when proving a lower bound for , we will use a proper instance, and when proving an upper bound for , we will define an algorithm satisfying that the subgraph induced by nodes outputting for is always a proper instance. In other words, it does not matter how is defined on graphs that are not proper instances, as it will not affect the lower and the upper bounds that we prove. For this reason, we will define the constraints of under the assumption that the given graph is a proper instance labeled such that all nodes satisfy . This will make the definition easier to read. Then, the definition of is lifted to any arbitrary graph as follows.
- •
Let be the distance that each node needs to inspect to check whether it satisfies (on a proper instance).
- •
If all nodes that are within distance from (including ) satisfy , then needs to satisfy .
- •
Otherwise, any output is considered incorrect.
In this way, whenever a node needs to satisfy , the radius- neighborhood of is a subgraph of a proper instance, and hence the constraints of are well-defined.
Let us proceed with some nomenclature. If is labeled and for all incident to , then we call head-leaf. If is labeled and for all incident to , then we call port-root. For each head-leaf , let count the number of port gadgets that are connected to (which are either 1 or 2).
We are now ready to define . The node input set for is , while the node-edge input set for is . The node output set is . Let us denote with the output of a node for . The constraints of are defined as follows.
We now prove some facts about the relation between and . As informally explained in Section 3.3, a proper instance can be obtained by replacing the nodes belonging to one side of a bipartite graph with octopus gadgets. We now provide a formal definition of this construction.
Definition 5.15 (Lift of a bipartite graph).
Let be a bipartite graph that is not necessarily connected and that may contain parallel edges. A lift of is a pair , where is a graph that is a proper instance (according to Definition 5.10), and is a function, with the following properties.
- 1.
For each node of any head gadget, .
- 2.
If are nodes of the same head gadget, then .
- 3.
If are nodes of different head gadgets, then .
- 4.
For any node of any port gadget, .
- 5.
If are nodes of the same port gadget, then .
- 6.
If are nodes of different port gadgets, then .
- 7.
Let be a node of a port gadget , and let be a node of a head gadget . The edge is incident to the node if and only if is connected to .
- 8.
If is an inter-octopus node, then .
- 9.
Let be a node of a port gadget , and let be an inter-octopus node. The edge is incident to the node if and only if is connected to .
Furthermore, for a proper instance and a bipartite graph , if there exists a function for which is a lift of , then we say that can be compressed to .
In the following, for a bipartite graph , by ordering assigned to the edges of we denote a function that takes as input a node and returns a function , where the function gives an ordering of the incident half-edges of . That is, assigns, to each node , an injective function mapping each edge incident to to an integer in , where is the degree of .
Observation 5.16.
Let be a bipartite graph, and let be a lift of that is -labeled such that is satisfied on all nodes. Then, the function uniquely defines, for each node , the ordering of the edges incident to .
Proof.
For each node , let be the octopus gadget whose nodes map either to or to its incident edges according to the function . We now define an ordering of the port gadgets of which will automatically induce an ordering of the edges incident to , and hence an ordering assigned to the edges of . Assume that has height . Consider two port gadgets and of , and let and be their root nodes, respectively. Furthermore, let and be the head-leaf nodes of that are connected to and , respectively. Assume that and for some . We say that if and only if or, if , and . Let be the -th port of according to this ordering, and let be an arbitrary node of . The -th edge of is the edge . ∎
In the definition of , the given bipartite graph comes with a local ordering of the edges of each node . We can then think of lifts that “respect” such an ordering.
Definition 5.17 (Edge-order preserving lift).
Let be a bipartite graph that is not necessarily connected and that may contain parallel edges, and let be an ordering assigned to the edges of . Let be a lift of , where is -labeled. Let be a function assigning to each the edge ordering defined via according to Observation 5.16. We say that is edge-order preserving with respect to if for all .
Lemma 5.18.
For each bipartite graph which comes with an ordering assigned to its edges, and for each integer , there exists a lift that is -labeled such that all nodes satisfy where all port gadgets of have height , and such that is edge-order preserving with respect to . Moreover, for each proper instance , there exists a bipartite graph such that can be compressed to .
Proof.
We first prove that for each bipartite graph with an edge-ordering and for each integer , there exists a lift where all port gadgets of have height and that is edge-order preserving w.r.t. . Recall that to each node is assigned an ordering of its incident edges.
For each node , we create an -octopus gadget , where the parameters , , and are chosen as follows.
- •
.
- •
is a vector satisfying that . Such a vector exists, since .
- •
All elements of are equal to .
Let be the set of edges that are incident to , ordered according to . For each , let be the -th port gadget connected to the octopus gadget (according to the natural order defined in the proof of Observation 5.16). For each black node , we create a node that is an inter-octopus node. If is connected to through some edge , then is connected to the left-most leaf of . It is trivial to see that admits a function to with the properties given in Definition 5.15.
We now prove that each proper instance can be compressed to some bipartite graph . We construct as follows. The set of white nodes contains a vertex for each head gadget . The set of black nodes contains a node for each inter-octopus node . Then, is connected to through an edge if and only if is connected to a port gadget that is, in turn, connected to . ∎
Lemma 5.19.
Let be the problem defined as a function of a linearizable problem as described in Section 5.4. Let be a proper instance, and let be the bipartite graph to which can be compressed to, according to Lemma 5.18. For each node , let be the ordering defined in Observation 5.16.
Then, there is a bijective function that maps solutions of on to solutions of on (with the aforementioned edge ordering).
Proof.
Let be the function that compresses to . First, suppose that we are given a solution for on . Consider any white node of and its set of incident edges ordered according to . Consider an arbitrary node of a port gadget such that . Then, the output of on the edge is defined to be the same as the output of . This labeling clearly satisfies the constraints of under the ordering of the edges defined by .
Now, suppose we are given a solution for on . Consider any white node of and its set of incident edges , ordered according to . For all nodes , we define the output of to be the same as the output of on . For all other nodes of , we define the output of to be . This labeling clearly satisfies the constraints of . ∎
5.5 The LCL problem
We are now ready to define our problem , as a function of the given problem . The input labels of are the same as the input labels and of . The set of output labels contains the following labels.
- •
, for all .
- •
, for all .
The constraints are defined as follows.
In other words, if nodes output a label, then this labeling must be a valid solution for . This allows nodes to mark invalid parts of the graph. Then, in the parts that are not marked as invalid, nodes need to solve .
5.6 Upper bound in quantum-LOCAL
In this section, we prove an upper bound on the quantum complexity of as a function of the quantum complexity of . More in detail, we prove the following.
Lemma 5.20.
Let be an upper bound on the quantum complexity of , that holds also if the given graph contains parallel edges. Then, the quantum complexity of is upper bounded by .
Proof.
Let be the graph in which we need to solve . The algorithm is composed of two parts, a classical deterministic part and a quantum part. The first part uses Lemma 5.14 to compute a solution for such that the nodes outputting induce a proper instance. This requires classical deterministic rounds. For each , let be its output for . Each node satisfying outputs for . Note that the graph induced by nodes that still did not output anything for is a proper instance.
The second part of the algorithm works as follows. Nodes that have already produced an output for do nothing. The other nodes simulate the quantum algorithm for as follows. The goal is to simulate in the graph obtained by contracting each octopus gadget of into a single node. Let be this graph. Observe that this is the graph that can be compressed to, according to Lemma 5.18. For each octopus gadget , the root of its head gadget is the node responsible for storing the quantum state of the node in corresponding to . The inter-octopus nodes are unaffected and simulate themselves in . Since the diameter of a valid octopus gadget is clearly upper bounded by , we get that the communication between nodes of can be simulated in quantum rounds in . Hence, after , all the roots of the head gadget computed a solution for in . With additional steps nodes can solve in , according to the mapping defined in Lemma 5.19. For each node in , let be its output for . Each node in outputs for .
The output clearly satisfies the constraints , and the runtime is clearly upper bounded by . ∎
5.7 Lower bound in LOCAL
In this section, we prove a lower bound on the classical randomized complexity of as a function of the classical randomized complexity of . More in detail, we prove the following.
Lemma 5.21.
Let be a lower bound on the time required to solve with a classical randomized algorithm that has failure probability at most . Then, any classical randomized algorithm for with failure probability at most requires rounds.
Proof.
For a contradiction, assume that there exists an algorithm that solves in rounds with failure probability at most . We show that we can construct an algorithm that solves in with failure probability at most , contradicting the hypothesis.
The algorithm works as follows. Let be an instance of . We construct an instance of by applying Lemma 5.18 to construct a lift of with parameter . On a high level, the algorithm will be defined such that the nodes of simulate the execution of on .
Recall that is constructed as follows. Each hyperedge of is replaced with an inter-octopus node . Each node of degree is replaced with an octopus gadget that contains exactly ports, such that each port gadget has height , and such that the number of nodes of each port gadget is strictly less than . For each node-hyperedge pair of , we add an edge to that connects the left-most leaf of the -th port of to , assuming that is the -th edge incident to according to the given ordering . We label such that it is a properly labeled valid instance. Observe that the labeling of the nodes of can be computed by without communication.
Since each port gadget has size strictly less than , and since the maximum degree of is , we obtain that has at most nodes. Observe that if two nodes are neighbors in , then the head gadgets of and are at distance in . Hence, each node of can spend rounds of communication in to gather its -radius neighborhood in . Since the runtime of on instances of size at most is upper bounded by , and since has size at most , then each node is able to compute the output of for on without further communication.
Since is a properly labeled valid instance, all nodes of must output labels of type . Hence, can reconstruct a solution for as a function of the output of the nodes in , without communication, according to Lemma 5.19.
The runtime of the algorithm for is , and its failure probability is upper bounded by , proving the claim. ∎
5.8 Instantiating the construction
In [3], the authors introduced a family of problems . While this set can be seen as a family of problems parametrized by the maximum degree of the graph, for the ease of presentation we will present this family as a single problem that we call iterated GHZ. We now formally define this problem, show that it can be defined as a linearizable problem, and then state its quantum and classical complexities.
The iterated GHZ problem.
An instance of the problem is a hypergraph of rank . However, for the ease of presentation, in the following, we will describe an input instance as a bipartite graph , where nodes in have degree exactly (equivalently, in order to remove this assumption, if a node in has degree different from , then it is unconstrained). Nodes in are called white nodes, or players, while nodes in are called black nodes, or games. Each node receives as input an ordering on its incident edges. Let be the -th edge incident to according to this order, where , and is the degree of . The problem is defined as follows. Each node must output two bits and on each incident edge . The following must hold.
- •
For each white node , it must hold that .
- •
For each white node , it must hold that , for all .
- •
Let be a black node, and let , , be its white neighbors. Let be the position of the edge according to the order of the edges incident to , for . Then, the following must hold.
- –
If , then it must hold that the multiset is equal to .
- –
Otherwise, if is even, then it must hold that .
- –
Otherwise, node is unconstrained.
- –
The original definition of of [3] is equivalent to the definition that we have provided, when restricted to the case in which the maximum degree of the graph is .
Lower bound for classical randomized algorithms.
In [3], the following lower bound is shown.
Theorem 5.22 ([3]).
Let be an integer. Any classical randomized algorithm that solves with high probability requires rounds.
In order to obtain the best possible lower bound stated solely as a function of , we take , and we obtain the following.
Corollary 5.23 ([3]).
Any classical randomized algorithm that solves iterated GHZ with high probability requires rounds.
Upper bound for quantum algorithms.
In [3], the lower and upper bounds for the problem are proved in a setting in which the input instances are -edge colored. In the construction described in this section, however, we would need to provide a different color to each port gadget belonging to the same octopus gadget. This would require input labels, which is not allowed in a proper LCL.
Since the lower bound of [3] holds in a -edge colored graph, this lower bound clearly holds in graphs that are not -edge colored (having such a coloring can only make the problem potentially easier). However, for an upper bound, we need to adapt the algorithm of [3] to the case in which the edge coloring is not provided. Moreover, in order to use Lemma 5.20, we need an algorithm that works also in the case of parallel edges.
Lemma 5.24.
The iterated GHZ problem can be solved in rounds with a quantum algorithm, even if parallel edges are present.
Proof.
The algorithm works in two rounds of communications, which are described in the following two points.
- 1.
Each white node does the following. Let be the -th neighbor of . Node sends to , for all , where is the degree of .
- 2.
Each black node has now received three port numbers from its three white neighbors . It then prepares three qubits in the GHZ state, i.e.,
If , then sends the pair to , the pair to , and the pair to . Otherwise, it just sends the qubit to , the qubit to , and the qubit to .
Now, all white nodes decide on their outputs without any further communication. First, all white nodes set . Now, observe that each white node has received a qubit through its -th incident edge. Furthermore, some white nodes have received a pair , where is a qubit and : we call such nodes lucky. Each lucky white node sets and (if ). Now we describe what each white node outputs for the -th incident edge. If a node is lucky, it does the following for each iteratively, while if a node is unlucky it does the following for each iteratively. Each node measures the qubit according to the well-known GHZ strategy (with input ) that wins the game with probability 1 [14], and sets the output accordingly. Then, node sets (if ).
We now argue about the correctness of the algorithm. White constraints are satisfied by construction of the algorithm. Suppose now that the constraints of some black node is not satisfied. This means that the three white neighbors of have some outputs that do not satisfy the constraints of the problem. We have three cases: If the three port numbers are such that , then, by point 2, the white nodes are lucky and have set the outputs to be , which is a valid solution. Suppose that at least a port number between is different from 1. If is odd, then any solution is valid. Suppose now that is even. Then, the outputs of the white nodes are constructed by measuring the three entangled qubits in the GHZ state prepared by . By the well-known GHZ winning strategy [14], the white nodes’ outputs are such that , which is a valid solution. ∎
The iterated GHZ problem as a linearizable problem.
We define a problem that encodes iterated GHZ as a linearizable problem. On a high level, each label will encode a pair of bits, and we will use special labels for the case in which . We define the set of possible first labels as . Then, we define the set of possible output labels as , and we define . The allowed pairs are defined as all the pairs satisfying the following.
- •
All pairs where and .
- •
All pairs where and .
Let be a multiset containing three elements from . If for some , then let and let . If for some , then let . Observe that now, for all , , and are defined. The set contains the multisets satisfying the following.
- •
All the multisets satisfying such that the multiset is equal to .
- •
All the multisets where, if , and is even, then .
- •
All the multisets where and is odd.
It is clear that and iterated GHZ are equivalent:
- •
both problems require outputting two bits per edge;
- •
the black constraint of iterated GHZ has the same requirements of the set on the pairs incident to a black node;
- •
both the white constraint of iterated GHZ and the triple requires that the second bit of a port is the same as the first bit of the next one.
Putting things together.
By combining the problem obtained as a function of iterated GHZ with Corollaries 5.23, 5.24, 5.21 and 5.20, we obtain the following result.
Theorem 5.25.
There exists an LCL problem with quantum complexity and classical randomized complexity .
Acknowledgements
This work was supported in part by the Research Council of Finland, Grants 359104 and 363558, by the MUR (Italy) Department of Excellence 2023–2027 for GSSI. Francesco d’Amore is supported by the project Decreto MUR n. 47/2025, CUP: D13C25000750001. This project was initiated at the Research Workshop on Distributed Algorithms (RW-DIST 2025) in Freiburg, Germany; we would like to thank all workshop participants and organizers for inspiring discussions. We would also like to thank Sebastian Brandt, Xavier Coiteux-Roy, François Le Gall, Augusto Modanese, Marc-Olivier Renou, Ronja Stimpert, Lucas Tendick, and Isadora Veeren for discussions that led to this project.
References
- [1] (2025) Online locality meets distributed quantum computing. In Proc. 57th ACM Symposium on Theory of Computing (STOC 2025), External Links: Link Cited by: item 1, §A.1, §A.1, §A.2, §A.2, §A.2, Remark A.3, §1.2, §1.2, §1.6, §1.6, §1.6, §4.
- [2] (2023) Locality in online, dynamic, sequential, and distributed graph algorithms. In 50th International Colloquium on Automata, Languages, and Programming, ICALP 2023, July 10-14, 2023, Paderborn, Germany, K. Etessami, U. Feige, and G. Puppis (Eds.), LIPIcs, Vol. 261, pp. 10:1–10:20. External Links: Document Cited by: §A.1, §A.2, Remark A.4, §1.6.
- [3] (2025) Distributed quantum advantage for local problems. In Proc. 57th ACM Symposium on Theory of Computing (STOC 2025), External Links: Link Cited by: §1.2, §1.2, §1.5, §1.5, §5.8, §5.8, §5.8, §5.8, §5.8, Theorem 5.22, Corollary 5.23.
- [4] (2020) How much does randomness help with locally checkable problems?. In PODC ’20: ACM Symposium on Principles of Distributed Computing, Virtual Event, Italy, August 3-7, 2020, Y. Emek and C. Cachin (Eds.), pp. 299–308. External Links: Document Cited by: §1.2, §1.5, §1.5, §3.1, §5.1, Definition 5.1, Lemma 5.2, Lemma 5.3.
- [5] (2021) Almost global problems in the LOCAL model. Distributed Computing 34 (4), pp. 259–281. External Links: Document Cited by: §1.2.
- [6] (2026) Distributed quantum advantage in locally checkable labeling problems. In Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 1268–1308. External Links: Document, Link, https://epubs.siam.org/doi/pdf/10.1137/1.9781611978971.49 Cited by: footnote 1.
- [7] (2021) Locally checkable labelings with small messages. In 35th International Symposium on Distributed Computing, DISC 2021, October 4-8, 2021, Freiburg, Germany (Virtual Conference), S. Gilbert (Ed.), LIPIcs, Vol. 209, pp. 8:1–8:18. External Links: Document Cited by: §3.1, §5.1, §5.1, §5.1.
- [8] (2025) New limits on distributed quantum advantage: dequantizing linear programs. In 39th International Symposium on Distributed Computing, DISC 2025, October 27-31, 2025, Berlin, Germany, D. Kowalski (Ed.), LIPIcs, Vol. 356. Cited by: §1.2.
- [9] (2025) Shared randomness helps with local distributed problems. In 52nd International Colloquium on Automata, Languages, and Programming, ICALP 2025, Aarhus, Denmark, July 8-11, 2025, K. Censor-Hillel, F. Grandoni, J. Ouaknine, and G. Puppis (Eds.), LIPIcs, Vol. 334, pp. 16:1–16:18. External Links: Link, Document Cited by: §3.1, §5.1, §5.1, Lemma 5.4.
- [10] (2018) New classes of distributed time complexity. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, Los Angeles, CA, USA, June 25-29, 2018, I. Diakonikolas, D. Kempe, and M. Henzinger (Eds.), pp. 1307–1318. External Links: Document Cited by: §1.2.
- [11] (2016) A lower bound for the distributed Lovász local lemma. In Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2016, Cambridge, MA, USA, June 18-21, 2016, D. Wichs and Y. Mansour (Eds.), pp. 479–488. External Links: Document Cited by: §1.2.
- [12] (2017) LCL problems on grids. In Proceedings of the ACM Symposium on Principles of Distributed Computing, PODC 2017, Washington, DC, USA, July 25-27, 2017, E. M. Schiller and A. A. Schwarzmann (Eds.), pp. 101–110. External Links: Document Cited by: §1.6.
- [13] (2019) An automatic speedup theorem for distributed problems. In Proceedings of the 2019 ACM Symposium on Principles of Distributed Computing, PODC 2019, Toronto, ON, Canada, July 29 - August 2, 2019, P. Robinson and F. Ellen (Eds.), pp. 379–388. External Links: Document Cited by: §1.5.
- [14] (2005) Quantum Pseudo-Telepathy. Foundations of Physics 35 (11), pp. 1877–1907. External Links: Document Cited by: §5.8, §5.8.
- [15] (2019) An exponential separation between randomized and deterministic complexity in the LOCAL model. SIAM Journal on Computing 48 (1), pp. 122–143. External Links: Document Cited by: §1.2.
- [16] (2023) A tight lower bound for 3-coloring grids in the online-LOCAL model. CoRR abs/2312.01384. External Links: Document, 2312.01384 Cited by: §1.6.
- [17] (2019) A time hierarchy theorem for the LOCAL model. SIAM Journal on Computing 48 (1), pp. 33–69. External Links: Document Cited by: §1.2.
- [18] (2024) No distributed quantum advantage for approximate graph coloring. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, STOC 2024, Vancouver, BC, Canada, June 24-28, 2024, B. Mohar, I. Shinkar, and R. O’Donnell (Eds.), pp. 1901–1910. External Links: Document Cited by: §1.2, §1.2, §1.6, §1.6, §4.1.
- [19] (2023) Brief announcement: distributed derandomization revisited. In 37th International Symposium on Distributed Computing, DISC 2023, October 10-12, 2023, L’Aquila, Italy, R. Oshman (Ed.), LIPIcs, Vol. 281, pp. 40:1–40:5. External Links: Document Cited by: §1.2.
- [20] (2024) Local problems in trees across a wide range of distributed models. In 28th International Conference on Principles of Distributed Systems, OPODIS 2024, December 11-13, 2024, Lucca, Italy, S. Bonomi, L. Galletta, E. Rivière, and V. Schiavoni (Eds.), LIPIcs, Vol. 324, pp. 27:1–27:17. External Links: Document Cited by: §1.2, §1.6.
- [21] (2025) On the limits of distributed quantum computing. Bulletin of the EATCS 145, pp. 51–91. External Links: Link Cited by: §A.1.
- [22] (2016) Quantum theory from first principles: an informational approach. Cambridge University Press. External Links: Document Cited by: §4.
- [23] (2009) What can be observed locally?. In Distributed Computing, 23rd International Symposium, DISC 2009, Elche, Spain, September 23-25, 2009. Proceedings, I. Keidar (Ed.), Lecture Notes in Computer Science, Vol. 5805, pp. 243–257. External Links: Document Cited by: §2.
- [24] (2023) Improved distributed network decomposition, hitting sets, and spanners, via derandomization. In Proceedings of the 2023 ACM-SIAM Symposium on Discrete Algorithms, SODA 2023, Florence, Italy, January 22-25, 2023, N. Bansal and V. Nagarajan (Eds.), pp. 2532–2566. External Links: Document Cited by: §4.1.
- [25] (2018) On derandomizing local distributed algorithms. In 59th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2018, Paris, France, October 7-9, 2018, M. Thorup (Ed.), pp. 662–673. External Links: Document Cited by: §4.1.
- [26] (2017) On the complexity of local distributed graph problems. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2017, Montreal, QC, Canada, June 19-23, 2017, H. Hatami, P. McKenzie, and V. King (Eds.), pp. 784–797. External Links: Document Cited by: §A.1, §1.5.
- [27] (1989) Going beyond Bell’s theorem. In Bell’s Theorem, Quantum Theory and Conceptions of the Universe, pp. 69–72. External Links: Document Cited by: §1.5.
- [28] (2018) Finitely dependent cycle coloring. Electronic Communications in Probability 23. External Links: Document Cited by: §1.6.
- [29] (2016) Finitely Dependent Coloring. Forum of Mathematics, Pi 4. External Links: Document Cited by: §1.6.
- [30] (2024) Symmetrization for finitely dependent colouring. Electronic Communications in Probability 29. External Links: Document Cited by: §1.6.
- [31] (2019) Quantum advantage for the LOCAL model in distributed computing. In 36th International Symposium on Theoretical Aspects of Computer Science, STACS 2019, March 13-16, 2019, Berlin, Germany, R. Niedermeier and C. Paul (Eds.), LIPIcs, Vol. 126, pp. 49:1–49:14. External Links: Document Cited by: §1.1, §1.4, §1.6.
- [32] (1990) Quantum mysteries revisited. American Journal of Physics 58 (8), pp. 731–734. External Links: Document Cited by: §1.5.
- [33] (1995) What can be computed locally?. SIAM Journal on Computing 24 (6), pp. 1259–1277. External Links: Document Cited by: §1.2, §1.5, §1.5.
- [34] (2020) Landscape of locality (invited talk). In 17th Scandinavian Symposium and Workshops on Algorithm Theory, SWAT 2020, June 22-24, 2020, Tórshavn, Faroe Islands, S. Albers (Ed.), LIPIcs, Vol. 162, pp. 2:1–2:1. External Links: Document Cited by: §1.2.
- [35] (2024) Open problems related to locality in distributed graph algorithms. External Links: Link Cited by: §1.2.
Appendix A Simulation of component-wise online-LOCAL in LOCAL
In this section, we extend the result of Section 4 to hold also for the component-wise randomized online-LOCAL model. We start by briefly discussing the state of the art and motivating the study of yet another variant of the LOCAL model. We then define formally what we mean by component-wise randomized online-LOCAL. Finally, we extend the proofs of Section 4 to hold also in this new model.
A.1 Motivation
Informally, component-wise randomized online-LOCAL is just like the component-wise deterministic online-LOCAL model (see [1, 21]), but generalized for the randomized case. In particular, a deterministic component-wise online-LOCAL algorithm is also a randomized one.
The component-wise deterministic online-LOCAL model was originally introduced because it allows simulation of randomized online-LOCAL in weaker models like SLOCAL in rooted trees and forests [1]. In particular, randomized online-LOCAL captures the power of non-signaling distributions [1], SLOCAL [26] and dynamic-LOCAL [2]. Hence, proving lower bounds for randomized online-LOCAL allows us to provide strong lower bounds that span across a wide variety of models.
One way to prove these lower bounds is by providing a simulation of stronger models in weaker ones. One such model is the component-wise randomized online-LOCAL, which is stronger than both the deterministic component-wise online-LOCAL and the bounded-dependence model.
Extending the simulation result of Section 4 to component-wise randomized online-LOCAL model improves the state of the art in two major ways:
- 1.
So far the only result known for component-wise deterministic online-LOCAL is the simulation result of [1] in rooted trees and forests. Our result works in all graphs, albeit with a worse locality.
- 2.
We provide a direct reduction from the bounded-dependence model to the component-wise randomized online-LOCAL. Previously, the reduction had to go through the non-signaling model, randomized online-LOCAL and component-wise deterministic online-LOCAL. This round-trip through randomized online-LOCAL incurs a doubly exponential cost in the locality. For localities in the region, our result is asymptotically tighter.
A.2 Definitions
We now formally define what we mean by component-wise randomized online-LOCAL. To do this, we first define the notion of partial online-LOCAL run of length , as introduced by [1]:
Definition A.1 (Partial online-LOCAL run of length ).
Let be a graph with an order of nodes , and let encode the input data on each vertex. Consider the subgraph induced by the radius- neighborhoods of the first nodes , i.e., . We call the partial -rounds online-LOCAL run of length of .
We denote by the tuple where is the connected component containing , is the maximal subsequence of of nodes that belong to , and is the restriction of the local inputs to this component. In such case, is the length of . Notice that .
Now we are ready to introduce the online-LOCAL model. We loosely follow the definitions given in by [1].
The online-LOCAL model.
The deterministic online-LOCAL model was first introduced in [2]. It is a centralized model of computing where the algorithm initially knows only the number of nodes of the input graph . The nodes are processed with respect to an adversarial input ordering sequence . Like in the LOCAL model, each node has some local state variable which encodes input data. In an algorithm with locality , the output of node depends on the partial -rounds online-LOCAL run of length of , that is, (see Definition A.1). In the randomized online-LOCAL model [1], every node has access to a private infinite random bit string, which is independent of the random bit strings of other nodes. Trivially, thanks to global memory, node knows the random bit strings of . In the randomized case, the solution to a problem should be correct with probability at least .
We now give a formal definition of the component-wise online-LOCAL model.
The component-wise online-LOCAL model.
The component-wise online-LOCAL model is similar to the online-LOCAL model above, but with some further restrictions. More specifically, let and be two -node input instances. Let be two indices such that
are isomorphic with the following properties: the isomorphism preserves the order, i.e., it brings to for every , and the isomorphism also preserves the inputs and in these neighborhoods. Then, the algorithm must produce the same output for and .
In the randomized component-wise online-LOCAL model, each node is given access to a private infinite random bit string, which is independent of the random bit strings of other nodes. When the algorithm needs to output a label for node , it can only use the random bit strings of nodes in . Again, in the randomized model a solution to a problem must be correct with probability at least .
To see why this matches the intuition of an algorithm being component-wise, imagine that is the real input and that consists of only a single component, that is
By the above definition, the algorithm must produce the same output for and . Then, effectively what the algorithm does on must depend only on what the algorithm has seen in , that is only the current component.
A.3 Simulation of component-wise randomized online-LOCAL in randomized LOCAL
It is intuitive that a bounded-dependence outcome implies the existence of a component-wise online-LOCAL algorithm with the same locality: we formalize this intuition through the following lemma.
Lemma A.2.
Let be any labeling problem with output node label set , and let be a bounded-dependent outcome solving with probability and locality on graphs of nodes. Then there exists a component-wise randomized online-LOCAL algorithm solving with probability with the same locality .
Proof.
Consider any graph of nodes, and any adversarial processing order of the nodes . We now construct a randomized component-wise online-LOCAL algorithm with the desired properties. When the adversary reveals and to , just samples an output for from . Now, when the adversary reveals and to , it samples an output for from the distribution conditional on the fact that the outputs of have already been sampled and are equal to . Let denote the probability measure induced by the algorithm on the outputs of the nodes, and let denote the probability measure induced by the bounded-dependence outcome on the outputs of the nodes. Fix any , and suppose
with . We first show that, for all , we have that
Let us start by induction on . The base case is . Since is the only node in , then it means that there are no nodes in the radius- neighborhood of which have been previously labeled (otherwise the partial online-LOCAL run would contain them). By construction of we are freely sampling from and the thesis is trivial. Suppose now . We have that
By the inductive hypothesis, and, by construction of , . Hence,
and the induction is complete. Let with where are induced by the ordering . The above argument implies that, for all it holds that
In fact, consider the partial online-LOCAL runs . Consider the maximal subsequence of partial online-LOCAL runs such that has no intersection with for all , . We have two properties: First, it trivially holds that . As for the second property, for any two , let
and
Then, . Hence, we can treat the two partial online-LOCAL runs as independent, and we can apply the inductive hypothesis separately to each of them to conclude the proof and get that the overall success probability is at least . ∎
Remark A.3.
The non-signaling model (see [1] for a definition) cannot be simulated in the component-wise online-LOCAL model because non-signaling can make use of globally shared resources, such as shared randomness, while component-wise online-LOCAL cannot.
Remark A.4.
Theorem 4.5 is almost-tight for the randomized component-wise online-LOCAL model. This is because [2] provides a deterministic -round component-wise online-LOCAL algorithm for -coloring bipartite graphs, and Theorem 4.5 would give a -round deterministic LOCAL algorithm for the same problem. However, we know that is a lower bound for the problem in the LOCAL model, as well as in the bounded-dependence model (and even in the non-signaling model).