Manuscript Offprint
arXiv:2610.41666A Better Lower Bound for Sublinear Metric Steiner Tree
Abstract
In the metric Steiner tree problem, we are given an -point metric space and a set of terminals , and we are interested in the smallest total weight of a tree that contains every terminal and may also use points of . We work in the distance-oracle model: the algorithm knows and in advance and learns only by querying a single entry at a time. The goal is to estimate with the minimum number of queries.
A factor of 2 is achievable with nearly linear number of queries, so the interesting question is the query complexity of algorithms with an approximation ratio strictly below 2. We prove that for every fixed , every randomized -approximation algorithm must make more than queries, improving upon the previously known bound of . Given that the best known upper bound shows that queries suffice, the exponent of this problem now lies between and , up to logarithmic factors.
1 Introduction
The Steiner tree problem asks for a minimum-cost network connecting a prescribed set of terminals, with the option of using additional nonterminal vertices to reduce the cost. It is one of the oldest problems in combinatorial optimization and one of Karp's original NP-complete problems [Kar72]. It is also among the most well-studied problems in combinatorial optimization: the minimum spanning tree on the terminals is a 2-approximation for Steiner tree, and the best ratio known is [BGRS13]. Further, no polynomial-time algorithm can achieve a ratio better than 96/95 unless [CC08]. Steiner tree and its variants have also been studied in a broad range of computational models beyond the standard offline setting, including streaming [CJKV22], dynamic [IW91, GK14, LOP15], online [IW91, GGK13, AAB96, BC97, BDM22], and sublinear-query models [CKT23a, MRTV25].
An instance of the metric Steiner tree problem consists of a finite set of points , a metric on , and a set of terminals . A feasible solution is a tree in the complete graph on whose vertex set contains , and the points of that it can optionally use. We write for the smallest weight of a feasible solution, and throughout we put and .
We study the problem in the distance-oracle model: an algorithm may query any unordered pair and is told , and its cost is the number of such queries. The input has entries, so the question of interest is what can be done with far fewer than queries.
A factor of 2 is the natural baseline in this model. Indeed, the minimum spanning tree of the metric restricted to has weight between and , and hence gives a 2-estimation if computed exactly. Moreover, by a result of Czumaj and Sohler [CS09], its weight
*Microsoft Research. Email: smahabadi@microsoft.com.
†Microsoft Research. Email: jatarnaw@microsoft.com.
‡Rutgers University. Email: a.vakilian@rutgers.edu. Supported in part by NSF CAREER Award CCF-2542925.
| Problem | Lower bound | Upper bound | Reference |
|---|---|---|---|
| Estimation within | [CS09] | ||
| Estimation within this paper, | [CKT23a, MRTV25]Theorem 1.1 | ||
| Estimation within | [CKT23a] | ||
| Return a tree of weight | [CKT23a] | ||
| Return a tree of weight | [CKT23a] |
Table 1: Known bounds for metric Steiner tree in the distance-oracle model, and the line that Theorem 1.1 improves. The bound holds for one particular constant ; Theorem 1.1 holds for every fixed , in particular for that .
can be estimated within a factor of using queries. Consequently, a -estimation is achievable with near-linear query complexity. The natural question is therefore what the best achievable running time or query complexity is for obtaining an approximation factor strictly below 2.
Chen, Khanna and Tan [CKT23a] began this line of work and settled most of the landscape. They showed that getting within a factor needs queries even when . They further showed that returning a tree of weight strictly less than needs queries, matching an upper bound. Finally, they showed that some constant factor can be estimated with queries. Mahabadi, Roghani, Tarnawski and Vakilian [MRTV25] improved the last bound to . For lower bounds on estimation below 2, the only previously known result is that of [CKT23a]: queries are needed, which reads as when . Estimating below the factor 2 is thus the one task in this landscape whose complexity remains open.
The metric Steiner tree belongs to a broader line of work on graph optimization problems in the distance-oracle model, including minimum spanning tree (MST) [CRT05, CS09], maximal independent set (MIS) [NO08, YYI09, MRTV26], matching [YYI09, KMNFT20, Beh21, BRR23, BRRS23, ABRR25, MRT25, BRR24, BKS23], metric Steiner Forest [MRTV26], and metric TSP [CKK20, CKT23b].
Theorem 1.1. For every constant there are constants and such that the following holds for every . There is a distribution over -point metric Steiner tree instances , with and with every distance between two distinct points lying in , on which every deterministic algorithm that returns a number with
and making at most queries fails with probability greater than . Consequently, every randomized algorithm that returns such a number with probability at least on every instance makes more than queries.
We remark that following [CKT23a, MRTV25] we require the algorithm to output a value that is at least the optimum and at most times the optimum. The proof uses only that the interval of acceptable answers has its two endpoints in the ratio .
Moreover, although Theorem 1.1 is stated for worst-case query complexity, the same lower bound holds, up to a constant factor, for expected query complexity. Indeed, after constant-probability amplification, an algorithm using queries in expectation can be truncated after a sufficiently large constant multiple of queries, and Markov's inequality decreases its success probability by only a constant. The same argument then applies to the truncated algorithm.
1.2 Overview of the proof
The two distributions. Fix a constant integer and a growing integer , and set , , and .
The point set is partitioned into terminals and non-terminals. There are ordinary terminals, split into hidden clusters of each. We set the distance of any two ordinary terminals of one cluster to be , so a cluster is a tight group that costs almost nothing to connect up. There are special terminals, forming a hidden uniformly random subset of the terminal labels, so an algorithm does not know which terminals are ordinary and which are special. Finally there are public blocks of non-terminal points, which we call centers.
Independently in each block, the special terminals are split into hidden groups of each, and each group which we denote by is given of the block's centers, a publicly announced row of the block. What is hidden is the order of centers within that row. A center is at distance 1 from a certain subset of its row's group of terminals , and at distance 2 from everything else, and further all distances not yet named are 2. The two distributions differ only in these subsets:
-
In the NO distribution, the centers of a group 's row contain the two-element subsets of , together with empty subsets. Every center is then at distance 1 from at most two terminals, so no center is worth using.
-
In the YES distribution one hidden block is different. There the subsets contain itself once, and copies of for each . Note that in this case, one center per group is now at distance 1 from all members of the group, and joining a group through that center costs instead of the that separate points would cost.
Both families use exactly centers, so the two distributions live on point sets of the same size and the accounting matches.
The gap in cost. In a NO instance no center helps, so the optimum contracts each cluster at essentially no cost and then pays 2 for each of the remaining pieces, for a total of about . In a YES instance each of the groups can additionally be gathered into a star for units, leaving only pieces, for a total of about . The ratio tends to
which is above once . This is where the constant comes from, and why the ratio approaches 2 without reaching it.
Why the difference is hard to see. The two families of centers are built to be indistinguishable locally. In both, each group's row has exactly centers, each terminal of the group has exactly of them at distance 1, and the group accounts for exactly terminal-center pairs at distance 1. Lemma 3.3 says more: for any at most terminals of a group there is a one-to-one correspondence between the two families that preserves what those terminals see. A difference appears only for terminals of one group, since in the YES family one center is at distance 1 from all three of them and in the NO family no center ever is.
So call a group exposed if the algorithm has queried three of its members against centers in this very group's row, and a block exposed if it contains an exposed group. Lemma 4.2 turns the correspondence into a coupling argument and shows that the two distributions of query-answer transcripts differ by at most the probability that the hidden block is exposed.
Counting exposed groups. Two things must be counted. First, how many special terminals the algorithm can single out at all. A special terminal is noticed if either it ever gets the answer 1, or if it is queried many times, or if the algorithm has poked around its centers a great deal. Two exchange arguments (Lemmas 5.2 and 5.3) show that these events are rare: conditioned on everything seen so far, a fresh query returns 1 at a given terminal with probability , and a given terminal is special with probability , which are roughly equal to their unconditional probabilities. Feeding this back into the run gives for the set of noticed terminals (Lemma 5.5).
Second, how often a set that small contains three members of a common group. Since is chosen by the algorithm using everything it has seen, we need a bound valid for all sets at once. Lemma 6.1 supplies one: with probability , every set of at most special terminals meets three-in-a-group in at most of the block-group pairs. Together with a bound on lucky queries that land on an unnoticed terminal at one of its own group's centers, this gives
With , and the leading term is , and . Since the whole point set has points, this is the exponent 7/5 of Theorem 1.1.
Generalization. One natural question is whether this construction can be generalized to to obtain stronger lower bounds. In particular, can we construct YES and NO families for which distinguishing the two requires more than three local queries? In Section A, we sketch how the construction can be generalized to larger values of . However, while this modification increases the number of queries required to distinguish the two families, it comes at the cost of reducing the gap between their optimal Steiner tree costs. Our discussion outlines an argument that such a generalization leads to a query lower bound of for achieving an -estimation.
Comparison with the earlier construction. We build on the framework of [CKT23a, Section 7]: tight clusters of ordinary terminals, rare special terminals hidden among them, and public blocks of nonterminal centers. Their special groups are fixed across blocks. Each NO block uses a matching to connect special terminals to centers by unit-weight edges. The YES instance replaces each group's matching by a star in a separately chosen hidden block. The distinguishing witness is a center at distance 1 from two special terminals.
Our improved exponent comes from two qualitatively new sources of hardness. First, our NO gadgets themselves contain centers shared by pairs of special terminals. Each gadget occupies a public row of centers, and we balance the two cases so that the complete view of any two group members has the same distribution under the hidden center ordering. Thus the earlier shared-center witness is inconclusive, and a third member must be probed against the row (Lemmas 4.2 and 3.3). Second, we regroup the special terminals independently in each block, in contrast to the single global grouping in [CKT23a]. Only one uniformly random hidden block carries the YES gadgets. Learning one block's grouping does not identify the grouping in another. Our new uniform sparsity bound (Lemma 6.1) ensures that few queries expose only a small fraction of the blocks, making it unlikely that any exposed block is the hidden one. Together with the indistinguishability of two-terminal views, this raises the query exponent from 6/5 to 7/5.
1.3 Organization
Section 2 fixes notation and records two standard facts. Section 3 defines the two distributions and Section 3.1 computes their optimal costs exactly. Section 3.2 proves the local indistinguishability of the two families of centers and Section 4 turns it into a coupling. Sections 5 and 6 bound the probability that the hidden block is exposed, and Section 7 assembles Theorem 1.1. Section A generalizes the construction and proves the trade-off between the exponent and the approximation factor.
2 Preliminaries
Definition 2.1 (Metric Steiner tree). The input is a triple in which is a metric on the finite set and is the set of terminals. A feasible solution is a tree in the complete graph on whose vertex set contains , and its weight is the sum of the weights of its edges. We write for the smallest weight of a feasible solution.
Requiring a tree rather than any connected subgraph loses nothing, since a connected subgraph containing contains a tree containing of no larger weight.
An algorithm learns only by querying unordered pairs and receiving . The set , the set , and the distribution the instance is drawn from are all known to it in advance. Its query cost is the largest number of queries it makes, over all inputs and all random choices.
Transcripts. For a deterministic algorithm and an instance , write for the query-history transcript of the run: the sequence of queried pairs and their answers, where . We extend the notation to distributions: if is a distribution over instances, denotes the distribution over the transcripts when the instance is drawn from . We use two facts about the transcripts where both use only that is deterministic:
(R1) the -th pair is determined by the first pairs and answers; and
(R2) the transcript determines the output of .
To show that cannot tell two distributions apart, it suffices to make their transcripts agree with high probability, i.e., with high probability.
For probability distributions on a common finite set we write , and we use the identity , the maximum being over all subsets of the ground set. We also use two standard facts.
Proposition 2.2 (see, e.g., [Cam73]). Let be distributions on a finite set , let a fair coin decide which of the two the observation is drawn from, and let a possibly randomized rule guess the answer from the observation. The rule is correct with probability at most .
Proposition 2.3 (Yao's min-max principle [Yao77]). Let be a distribution over inputs. If every deterministic algorithm making at most queries is correct with probability less than 2/3 on an input drawn from , then every randomized algorithm making at most queries is wrong with probability more than 1/3 on at least one input in the support of .
3 The two distributions
Throughout the rest of the paper we fix and the constant integers
so that and . We also fix the absolute constant . Let be a growing integer and set
The points. The point set is fixed in advance and is known to the algorithm. It consists of
• a set of terminals, and
- disjoint blocks of non-terminals, called centers, with for each . Each block is divided once and for all into labeled rows of centers each.
Thus
Note that it is public which points are terminals, and that which block each center belongs to, and which row of that block it lies in.
The hidden data. A configuration consists of the following five objects, drawn independently and each uniformly at random from its range.
(C1) A set with . Its members are the special terminals. The other terminals are ordinary.
(C2) A partition of the ordinary terminals into labeled clusters , each of size .
(C3) For each block , a partition of into labeled groups , each of size . The partitions are independent of one another. We use to refer to a generic group of special terminals that could replace any of .
(C4) For each block and each row , a uniformly random ordering
of the centers of that row. Note that the orderings are independent of one another.
(C5) An index , the hidden block index.
All configurations are equally likely. Both distributions below draw this way. However the index has no effect at all on the NO metric, which is exactly what makes it useful in Section 4.


a line means distance 1; every pair not joined by a line is at distance 2
Figure 1: The centers of one group's row, for a group of special terminals, under in (a) and in (b). In both pictures the group's row has centers, each terminal has exactly centers at distance 1, and there are exactly terminal-center pairs at distance 1. By Lemma 3.3 the agreement goes further: from the viewpoint of any one or two terminals of the group, the two pictures are the same. Only three terminals of one group can tell them apart, because in (b) one center is at distance 1 from three of them, which never happens in (a).
Neighbor sets. Fix a block and a row , and let be any fixed ordering of the terminals in . Now define the neighbor set of a center denoted by in each of YES and NO instances as follows. For the NO instance set it as
and for the YES instance set it as
Note that both lists have exactly entries. We use and to denote blocks in the YES and NO instances, respectively, as defined above. Two consequences will be used repeatedly: in a NO block , every center has at most two neighbors, whereas in a YES block , each row contains one center adjacent to its entire group and centers with one neighbor each. Figure 1 shows the two lists for .
The two metrics. Given a configuration , the NO metric uses in every block, and the YES metric uses in block and in every other block. In both cases, for distinct points ,
and .
Distributions. Let and be the resulting distributions on instances, for chosen uniformly at random. Finally the input distribution of our algorithm will be with probability and with probability , i.e., .
Lemma 3.1. Every instance in the support of or of is a metric.
Proof. The function is symmetric, vanishes exactly on the diagonal, and is positive elsewhere, so only the triangle inequality needs checking. Since every distance is at most 2, a violation would need , so the two distances on the right are either and , or and 1 in some order.
If , then lie in a common cluster and so do . Further the clusters are disjoint, so and lie in a common cluster too and .
If one of the two distances is and the other is 1, say and , then y is an ordinary terminal by the first line of (6), while the second line of (6) forces y to be either a center or a special terminal. This is impossible, so no such pair of distances occurs.
3.1 Comparison of the Optimal Costs of the Two Instances
We compute exactly in both worlds. Note first that in either YES or NO instance, the optimal solution may be assumed to contain, inside each cluster, a spanning tree of -edges: all members of a cluster are at distance 2 from every point outside the cluster, so any solution may be rerouted so that only one member of the cluster meets the rest of the tree, and the other members are connected to it at cost each. This costs in total and leaves terminal pieces: the contracted clusters and the special terminals.
For a set of centers (or nonterminals), let be the bipartite graph whose vertices are the terminal pieces together with the centers in , with an edge whenever the distance is 1. Only special terminals have such edges, since ordinary terminals are at distance 2 from every center. Let denote the largest number of edges in a cycle-free subgraph of ; equivalently, .
Lemma 3.2. In either instance, , the maximum being over all sets X of centers. Moreover
Proof. Upper bound. Fix and take a cycle-free subgraph of with edges. Added to the -spanning trees of the clusters, these edges of weight 1 leave connected pieces among the terminal pieces and the centers of . Any two distinct pieces contain a pair of points at distance exactly 2: such a pair cannot be at distance , because each cluster lies inside a single piece, and it cannot be at distance 1, because an edge of between two distinct pieces could have been added without creating a cycle, contradicting the choice of . So the pieces can be connected by edges of weight 2. So the total weight of the resulting tree is
Lower bound. Let be any feasible tree and let be the set of centers it uses, so that has vertices and edges. Split its edges by weight into , and . Since the -edges of form a cycle-free subgraph of the disjoint union of the clusters, as we discussed earlier, . Contracting the connected pieces of turns
into a tree, so and the weight of equals
Finally, the edges of join special terminals to centers of , so they are edges of , and they form no cycle because is a tree and contracting the clusters does not affect them. Hence and the weight of is at least . This proves the identity.
The saving in NO instances. Group the vertices of by connected component, and let and denote the numbers of terminal pieces and centers in a component. Then
Consider one component. Since it is connected, it has edges. On the other hand, every edge is incident to exactly one center, so its number of edges is the sum of the degrees of its centers. In a NO block every center has degree at most 2, and hence the component has at most edges. Therefore , or equivalently . Thus every term in (7) is nonpositive, so for every . Equality is attained for , when every component consists of a single terminal piece (i.e., the constructed tree uses no nonterminal vertex.).
The saving in YES instances. Consider a component of containing terminal pieces, centers of degree and centers of degree at most 2. By the two counts just made similar to the above we have , so . Centers of degree occur only in block , one per group, so summing over components bounds (7) by . This is attained by taking to be exactly those centers: the components of are then the stars, each with and .
By Lemma 3.2, the costs of the optimal trees in these two instances are the following values.
the same for every configuration. Since and , the ratio tends to , which by (1) is larger than . Hence there is an with
3.2 One or two terminals see nothing
Fix a block and a row , and let , and for any , write and for the neighbor set of given by (4) and by (5). For call the view of from .
Lemma 3.3. Let with . There is a permutation of [b] with
The lemma will be later used in the following form. Let be the set of members of that the algorithm has probed against centers of , and suppose . Then reordering that row carries its NO neighbor sets onto its YES ones without changing the answer to any pair already asked, and by (C4) the ordering of a row is hidden and uniform, so the reordering costs nothing: on that row the two instances are indistinguishable. Note that the terminals outside do not matter as they all lie at distance 2 from every center of in both instances.
Proof. It suffices to check that, for each possible view, the two blocks have the same number of centers whose neighbor set has that view, and matching them within each view class defines .
Let with . In exactly one neighbor set is ; exactly are pairs with , and likewise are pairs ; and the remaining ones, namely the pairs avoiding together with the empty ones, have empty view. Their count is
In exactly one neighbor set is , whose view is ; the equal to have view , and likewise for ; and the equal to for have empty view. The two counts agree, and they sum to as they should.
Let . In the neighbor sets with view are the pairs containing . In they are together with the copies of , again in all. The remaining have empty view in either block. For every view is empty and both blocks have centers per row.
The count in Lemma 3.3 is tight: for the neighbor set has a view of size 3 in , while in every view has size at most 2. This is the only way the two instances can be told apart locally, and the next section makes that precise.
4 The Coupling
Given a configuration, its YES and NO instances differ only inside the hidden block , and by Lemma 3.3 that difference is indistinguishable to any one or two members of a group. This section turns that local statement into one about the whole run: unless three members of some single group of block have been probed against their corresponding centers set, the transcript of a NO run could equally well have come from a YES or instance. So the two distributions can be told apart only through that one event, and Sections 5 and 6 bound its probability.
Fix a deterministic algorithm that makes queries and run it on a NO instance.
Definition 4.1. For a block and a row , let
be the subset of the special terminals that were probed against the centers in . The pair is exposed if , and the block is exposed if is exposed for some .
Lemma 4.2. For every deterministic algorithm making queries,
Proof. Let be a configuration for which block is not exposed, in the sense of Definition 4.1, in the NO run. Define a new configuration by keeping (C1), (C2), (C3), (C5) and the ordering of every row outside block unchanged, and reordering the rows of block by setting
where is the map of Lemma 3.3, applied to the group , i.e., . Note that this is legitimate because for every . Since each is a permutation of , each is again an ordering of the row , so is a configuration. Write .
The YES instance of gives the same transcript as the NO instance of . We show by induction on that the first pairs and answers agree. Given that the first agree, property (R1) says the -th pair is the same in both runs, so it suffices to check that this pair receives the same answer. Distances between two terminals remain unchanged by (C1) and (C2), and two centers are always at distance 2. It remains to look at a pair with a terminal and is a center in . The answer to such a pair is 1 when lies in the neighbor set of and 2 otherwise, so we need to ensure that lies in the neighbor set of in one instance exactly when it does in the other. Let be the index of the row containing , and let be the index with in , so that in . Since the rows are fixed once and for all, we have that and are the same in both. The answer to is thus decided by in the NO run and by in the YES run. Both are subsets of , so if the answer is 2 in both. If , then . Block is not exposed, so and Lemma 3.3 applies: the two sets just named have the same intersection with . Since lies in , it belongs to both of them or to neither, and the answer is again the same in both runs.
is one-to-one. Suppose is given. The transcript of the YES run on equals that of the NO run on , by the previous paragraph, and the rows are public. So, by (11) the sets are determined by . Hence so are the maps , and the orderings can be recovered from the by inverting them. All other parts of are visible in already.
Now fix any set of transcripts. Write for the finite set of all configurations and, for a configuration , write and for the two metrics it determines; both and draw uniformly from , so the two worlds differ only in which of the two metrics the algorithm is run on. Define
and let be the set of configurations whose block is not exposed in the NO run, so that is defined on . Since injects into , we have , and dividing by turns this into not exposed] . Thus
It remains to show that an algorithm making few queries exposes few blocks. The difficulty is that the algorithm chooses which terminals to investigate as it goes, using everything it has seen.
5 What few queries can reveal
We showed to bound it suffices to bound . In this section (and Section 6) we assume the algorithm is run on a NO instance. We assume no pair is queried twice, which only helps the algorithm. We write for everything in the transcript before the -th query, that is, for the prefix . Note that by (R1) the -th pair is determined by .
5.1 A counting principle
To show that few configurations are bad, we find at least ways to change each bad configuration into one that is still consistent with what the algorithm has seen, and we check that no bad configuration is reached in more than ways. Counting these changes twice then bounds the fraction of bad configurations by , which is the lemma below.
Lemma 5.1. Let be a finite set, let , and let be a set of ordered pairs, called moves. Suppose every appears as the first entry of at least moves and every appears as the second entry of at most moves. Then .
Proof. Counting the moves in two ways, .
We apply this as follows. Condition on the transcript before time and let be the set of configurations consistent with it, i.e., the set of configurations under which the first queries of receive exactly the answers listed in . Since all configurations are equally likely and the transcript is a function of the configuration, the conditional distribution of the configuration given is uniform on .
Let be an event whose conditional probability we want to bound. We use Lemma 5.1 with in the role of : we exhibit a set of moves such that every is the first entry of at least of them and every is the second entry of at most of them. The lemma then gives , and since the conditional law is uniform on ,
Note that both and may depend on and on the transcript, which create no issue since (12) is a bound on a conditional probability.
The moves are of one kind throughout. Given a configuration and two terminal labels and , transposing and means putting each in the other's place in (C1), (C2) and (C3) at once, and leaving (C4) and (C5) alone: the two labels exchange their roles as special or ordinary, their positions in the clusters, and their positions in every one of the group partitions, so that the subsets attached to the centers have replaced by and vice versa. The result is the second entry of the move. Two things then have to be checked in each application, and they are what the exclusion rules in the proofs below are for. A move must land in : the transposition must leave every one of the first answers as it was. Moreover, one must bound , by bounding the number of moves that could have produced a given target .
5.2 Bookkeeping
Call an ordinary terminal marked once some query involving it has returned . Let be the first time at which ordinary terminals are marked, and set if this never happens. Define the event . All quantities below refer to the first queries; conditioned on (i.e., ), all quantities hold for the first queries.
For a terminal let be the number of queries involving before time . For a cluster (of ordinary terminals) let be the number of terminals outside that have been queried against a member of before time ; since a query has two ends,
For a special terminal let
count the ordinary terminals that have been tried against a center locating at distance 1 from . In a NO block every center has at most two terminals at distance 1, so each query contributes to for at most two terminals and
5.3 Clusters are hard to find
Lemma 5.2. .
Proof. Let be the number of terminals that get marked at some time . On we have , so by Markov's inequality, and to show the lemma it is enough to prove . Classify a mark, occurring at time at a terminal lying in cluster , by the first of the following that applies.
(i) . At most terminals are ever queried times, and each is marked at most once.
(ii) . By (13) at most clusters ever reach , and each has members, so this accounts for at most marks.
(iii) and . Fix and one of the two ends of the -th pair, and let be the other end. Let be the set of configurations in for which is unmarked, and lie in a common cluster with , and . Now on the -th answer is and marks . As moves, take the transposition of with an ordinary terminal outside , excluding if
(a) is marked;
(b) has been queried against a member of ; or
(c) the cluster of contains a terminal that has been queried against .
Rule (a) rules out fewer than labels because , rule (b) fewer than because , and rule (c) at most because and each cluster has members; the requirement rules out more. As , at least choices of remain, since and for every , so (as in Lemma 5.1).
Each such move stays in . Queries involving neither nor are unaffected, since only the positions of and in (C2) change and both remain ordinary, so no terminal-center answer changes either. Neither nor has received the answer , so no earlier answer is destroyed. Further, no earlier answer becomes , since a new at would need an earlier query between and the cluster of , excluded by (c), while a new at would need an earlier query between and , excluded by (b).
Finally, fix a configuration reached by such a move. In the terminal lies in the cluster of , and the move is determined by , so at most moves reach and . By Lemma 5.1, . Summing over the ends of the queries bounds the expected number of marks of type (iii) by .
Summing over all three cases, .
5.4 Special terminals are hard to recognize
Lemma 5.3. Let and suppose that, according to , the terminal satisfies and has never received the answer 1. Then, for every block , every row and every center ,
Proof. One argument proves all three bounds. The moves are the same in each case, so the lower bound on the number of moves available at a configuration is shown once and for all. What separates the three bounds from each other is only the upper bound B on the number of moves that can reach a given target.
Fix which of the three bounds is being proved. Let be the set of configurations in satisfying the event in question. As moves, consider swapping the role of with an ordinary terminal : i.e., put in the position of in (C2) and put in place of in (C1) and in every one of the group partitions (C3), so that the subsets attached to the centers have replaced by . Exclude if
(a) x is marked;
(b) the cluster of x contains a terminal that has been queried against u; or
(c) x is one of the terminals counted by .
Rule (a) rules out fewer than labels since , rule (b) at most since , and rule (c) fewer than on . Hence at least choices remain and .
Each move stays in . Queries involving neither nor are unaffected. A query between and another terminal was answered 2 before the move, since was special, and could become only if 's new cluster had already been queried against , which (b) excludes. A query between and another terminal was answered 2 before the move, because was unmarked by (a), and is answered 2 after it, because is now special. A query between and a center was answered 2 before the move by hypothesis, and is answered 2 after it because is now ordinary. A query between and a center was answered 2 before the move and could become 1 only if that center were at distance 1 from before the move, which (c) excludes.
It remains to count, for a configuration reached by a move, how many moves reach it. A move is determined by the label , and in that label is special, so at most moves reach and (15) follows from Lemma 5.1: , as . For (16), the move turns into , and in the NO world at most two terminals are at distance 1 from , so at most two moves reach and . For (17), the move places in the group , which has members, so at most moves reach and .
5.5 Few noticed terminals, few lucky queries
The three bounds in Lemma 5.3 are proved under the same hypotheses for a terminal: no earlier query to it was answered 1, it has received fewer than earlier queries, and . Terminals that fail at least one of these hypotheses are precisely the ones on which the algorithm has already obtained some leverage. We collect them in the following definition.
Definition 5.4. A special terminal is noticed if, at some time , it receives the answer 1, or its query count reaches D, or reaches . We write W for the set of noticed special terminals.
Few terminals are noticed in q queries.
Lemma 5.5. .
Proof. Charge each noticed terminal to the first of the three events that makes it noticed.
If the answer 1 comes first, the terminal had no earlier answer 1, fewer than earlier queries, and at the time. A pair receiving the answer 1 consists of a terminal and a center, so (16) applies with the center end of the -th pair and its terminal end, and bounds the conditional probability by . Summing over the at most queries gives .
If the count comes first, then at the time has had no answer 1 and , so (15) bounds the conditional probability that is special by . To turn this into a bound on the expected number of terminals charged here, let be the set of times at which the -th query brings some terminal's count to , and for let be that terminal. Whether , and the identity of , are determined by : query counts are read off the transcript, and by (R1) the -th pair is itself determined by . The number of terminals charged in this case is therefore at most , whose expectation is by (15). Every terminal reaches the count at most once and the query counts sum to , so . Since and , this case contributes .
If comes first, then by (14) at most terminals can ever be charged this way.
Finally, let count the queried pairs , at times , for which is a center, is a special terminal that is not in , and belongs to the group . The pair is determined by the rows being public. Not being in means that such a has, at the time of the query, no earlier answer 1, fewer than earlier queries, and , so (17) applies and bounds the conditional probability of each such occurrence by . Summing over the at most queries,
6 Few groups have three noticed members
The set of Lemma 5.5 is chosen by the algorithm using everything it has seen, so we need a statement that holds for all sets of terminals at once. Recall that the partitions (C3) are independent, and that .
A pair can only become exposed if three members of the group have been touched, and the members we have no individual control over are the noticed ones. What we need is therefore a bound on the number of groups, counted across all blocks, that contain three or more members of a given set of special terminals. Moreover, we need it for every at once, since the set that will be substituted for is chosen by the algorithm and is not fixed in advance. The quantity below counts exactly those groups.
Lemma 6.1. For a set , define . For all sufficiently large , with probability at least the following holds simultaneously for every with :
Note that, within one block, the groups are disjoint, so at most pairs with that block can be counted, and always holds. The above lemma replaces the trivial factor by .
Proof. Fix with , fix with , and let . Call a witness list a set of distinct pairs in which each and each is a three-element subset of , and in which whenever and . If , pick pairs with and pick three members of inside each. Note that the groups of one block are disjoint, so this is a witness list, and for some , for every . Hence
The number of witness lists is at most .
Fix a witness list and bound its probability. Write for the number of triples of the list attached to block , so that . Fix a block ; its triples are pairwise disjoint, so . Realize the partition of block as a uniformly random one-to-one map from onto , the group of a terminal being the first coordinate of its image. Reveal on those triples one at a time. Suppose the first of them have been revealed, so is known on terminals and is a uniformly random one-to-one map from the rest onto the remaining places, and let the -th triple be . Revealing leaves at most free places in its group out of free places overall, and revealing in that same group then leaves at most out of . As and , both denominators are at least once is large, so the conditional probability that lands in one group is at most . Multiplying these conditional probabilities bounds by the chance that every triple of block lands in one group. The partitions (C3) are independent, so for a fixed witness list
Therefore
Both constants are absolute: , so . Since we have , so .
Now set . For all sufficiently large such that , we have . Therefore, . For a fixed , the number of possible sets of size is at most , where the last inequality uses . Hence, the probability that there exists a set of size with is at most . Taking a union bound over gives . Finally, for we have . Thus, every such set satisfies .
The words “simultaneously for every Q” is what makes this usable: they allow Q to be the set W, even though W depends on the whole transcript.
7 Proof of the theorem
This section puts the pieces together. An algorithm that estimates the optimal cost within a factor must tell from , since by (10) the two optimal costs are further apart than that. By Lemma 4.2, it can do so only when the hidden block is exposed, and Sections 5 and 6 show that queries leave all but a few of the blocks unexposed. Since is drawn at random and leaves no trace in a NO configuration, it is unlikely to be one of those few, and this factor is what turns the counts of the last two sections into the exponent 7/5. Lemma 7.1 carries this out, and the theorem follows by taking small enough to keep the two transcripts close.
Lemma 7.1. For every deterministic algorithm making at most q queries and every sufficiently large m,
for a constant depending only on d.
Proof. By Lemma 4.2 it suffices to bound the probability that block is exposed in NO instances. Let us work on the event (i.e., ), so that all the quantities of Section 5 refer to the whole run.
First, the number of exposed pairs is at most . Indeed, let be exposed, so . If at least three members of lie in then and is counted by . Otherwise some lies outside . By (11) the algorithm queried a pair with a center of row of block , and , so this queried pair is counted by . Distinct exposed pairs are charged to distinct queried pairs, because every center lies in exactly one row. Since an exposed block contains an exposed pair, the number of exposed blocks is at most as well.
Second, is drawn in (C5) independently of everything else, and the NO metric does not involve it, so is independent of the whole NO instance and hence of , and . Conditioning on the instance,
Let be the event of Lemma 6.1. Write , and split . For the second term, a union bound gives . For the first, note that is determined by the NO instance and the run on it. Hence is independent of , and so we may keep the conditioning on the instance: on we have by Lemma 6.1 applied with , which is legitimate because there (and trivial if , since then ). Hence
the last step dropping the indicator. Putting the two halves together,
By Lemma 5.5 the first term is and by (18) the second is . By Lemma 5.2 the third is , and the fourth is at most . Finally by Lemma 5.5 and Markov's inequality the fifth is at most . Collecting terms bounds by the right-hand side of the lemma, and Lemma 4.2 turns that into the stated bound on the distance between the two transcripts.
With , and we have
Proof of Theorem 1.1. Set with as in Lemma 7.1, and let . Then the first term of Lemma 7.1 is at most 1/12, while the second is at most and the third is . By (19) both tend to 0, so each is at most 1/12 for large . Hence there is an such that
for every deterministic algorithm A making at most q queries.
Distinguishing is impossible. Let and let . By (R2) the output of a deterministic algorithm is a function of its transcript, so by (20) and Proposition 2.2 every deterministic algorithm making at most queries guesses correctly which of the two distributions produced its input with probability at most .
Estimating is impossible. Let with as in (10), and let be a deterministic algorithm making at most queries. Follow by the rule that answers YES if its output satisfies and NO otherwise. The threshold is a number fixed in advance by (9), so this rule costs no queries. On a YES instance an output with satisfies , and on a NO instance such an output satisfies by (10). So the composed algorithm guesses correctly whenever lies in the required interval. By the previous paragraph the composed algorithm is correct with probability at most under , so produces a number in the required interval with probability at most , and fails with probability at least .
From one size to all sizes. So far, the point set has points, by (3). Let be large and let be the largest integer with . Since we have , and as . Add further non-terminal points, publicly named, and put every distance between one of them and another point equal to 2, keeping 0 on the diagonal. The result is still a metric, since every distance is now at most 2 and at least the pairwise distances that were already there, and any two distances involving a new point sum to at least 2.
Note that the optimal solution does not change. A new point is not a terminal, so it may be omitted, and omitting it never costs anything: in a tree using it, a new point of degree 1 can simply be deleted, and one of degree contributes 2r to the weight and may be deleted after joining its r former neighbors by a path of r - 1 edges of weight at most 2 each, at a cost of at most 2r - 2. Repeating removes all new points without increasing the weight, so both and , and the gap (10), are unchanged. Moreover any algorithm running on the enlarged instance can be run on the original one at no extra cost, by answering 2 to every query that involves a new point and passing on the others. So the bound (20) carries over.
By (19) and we have , so shrinking the constant to some makes for every large . This proves the statement for deterministic algorithms. The instances have terminals by (3), and every distance between two distinct points is , 1 or 2, with . Finally Proposition 2.3 turns the statement for deterministic algorithms into the statement for randomized ones.
AI Disclosure
A lower bound of , improving upon [CKT23a], was initially discovered using a custom agentic harness developed by the authors, which incorporated GPT-5.6 Sol and Opus 5. The resulting proof followed, at a high level, ideas similar to the lower-bound construction of [CKT23a]. Subsequently, through interaction with GPT-5.6 Sol, we developed a substantially different construction, which appears in the main theorem of this paper and is further generalized in Section A.
The human authors independently verified the arguments, simplified the proofs, and rewrote the presentation. AI tools were also used to assist with drafting and language polishing. The authors take full responsibility for the content and correctness of the paper.
References
[AAB96] Baruch Awerbuch, Yossi Azar, and Yair Bartal. On-line generalized steiner problem. In Proceedings of the Seventh Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 68–74, 1996.
[ABRR25] Amir Azarmehr, Soheil Behnezhad, Mohammad Roghani, and Aviad Rubinstein. Tight pair query lower bounds for matching and earth mover's distance. In 2025 IEEE 66th Annual Symposium on Foundations of Computer Science (FOCS), pages 2666–2693. IEEE, 2025.
[BC97] Piotr Berman and Chris Coulston. On-line algorithms for steiner tree problems. In Proceedings of the Twenty-Ninth Annual ACM Symposium on Theory of Computing (STOC), pages 344–353, 1997.
[BDM22] Etienne Bamas, Marina Drygala, and Andreas Maggiori. An improved analysis of greedy for online steiner forest. In Proceedings of the 2022 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 3202–3229, 2022.
[Beh21] Soheil Behnezhad. Time-optimal sublinear algorithms for matching and vertex cover. In 62nd IEEE Annual Symposium on Foundations of Computer Science, FOCS, pages 873–884, 2021.
[BGRS13] Jaroslaw Byrka, Fabrizio Grandoni, Thomas Rothvoß, and Laura Sanità. Steiner tree approximation via iterative randomized rounding. Journal of the ACM, 60(1):6:1–6:33, 2013. Preliminary version in STOC 2010.
[BKS23] Sayan Bhattacharya, Peter Kiss, and Thatchaphol Saranurak. Sublinear algorithms for -approximate matching. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, pages 254–266, 2023.
[BRR23] Soheil Behnezhad, Mohammad Roghani, and Aviad Rubinstein. Sublinear time algorithms and complexity of approximate maximum matching. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC, pages 267–280. ACM, 2023.
[BRR24] Soheil Behnezhad, Mohammad Roghani, and Aviad Rubinstein. Approximating maximum matching requires almost quadratic time. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, pages 444–454, 2024.
[BRRS23] Soheil Behnezhad, Mohammad Roghani, Aviad Rubinstein, and Amin Saberi. Beating greedy matching in sublinear time. In Proceedings of the 2023 ACM-SIAM Symposium on Discrete Algorithms, SODA, pages 3900–3945. SIAM, 2023.
[Cam73] Lucien Le Cam. Convergence of estimates under dimensionality restrictions. The Annals of Statistics, 1(1):38–53, 1973.
[CC08] Miroslav Chlebík and Janka Chlebíková. The Steiner tree problem on graphs: Inap-proximability results. Theoretical Computer Science, 406(3):207–214, 2008.
[CJKV22] Artur Czumaj, Shaofeng H.-C. Jiang, Robert Krauthgamer, and Pavel Veselý. Streaming algorithms for geometric steiner forest. In 49th International Colloquium on Automata, Languages, and Programming (ICALP), volume 229 of Leibniz International Proceedings in Informatics (LIPIcs), pages 47:1–47:20. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022.
[CKK20] Yu Chen, Sampath Kannan, and Sanjeev Khanna. Sublinear algorithms and lower bounds for metric TSP cost estimation. In 47th International Colloquium on Automata, Languages, and Programming (ICALP), volume 168 of LIPIcs, pages 30:1–30:19, 2020.
[CKT23a] Yu Chen, Sanjeev Khanna, and Zihan Tan. Query complexity of the metric Steiner tree problem. In Proceedings of the 2023 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 4893–4935, 2023. Full version: arXiv:2211.03893.
[CKT23b] Yu Chen, Sanjeev Khanna, and Zihan Tan. Sublinear algorithms and lower bounds for estimating mst and tsp cost in general metrics. In 50th International Colloquium on Automata, Languages, and Programming (ICALP), volume 261 of Leibniz International Proceedings in Informatics (LIPIcs), pages 37:1–37:16, 2023.
[CRT05] Bernard Chazelle, Ronitt Rubinfeld, and Luca Trevisan. Approximating the minimum spanning tree weight in sublinear time. SIAM Journal on computing, 34(6):1370–1379, 2005.
[CS09] Artur Czumaj and Christian Sohler. Estimating the weight of metric minimum spanning trees in sublinear time. SIAM Journal on Computing, 39(3):904–922, 2009.
[GGK13] Albert Gu, Anupam Gupta, and Amit Kumar. The power of deferral: Maintaining a constant-competitive steiner tree online. In Proceedings of the Forty-Fifth Annual ACM Symposium on Theory of Computing (STOC), pages 525–534, 2013.
[GK14] Anupam Gupta and Amit Kumar. Online steiner tree with deletions. In Proceedings of the Twenty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 455–467, 2014.
[IW91] Makoto Imase and Bernard M. Waxman. Dynamic steiner tree problem. SIAM Journal on Discrete Mathematics, 4(3):369–384, 1991.
[Kar72] Richard M. Karp. Reducibility among combinatorial problems. In Raymond E. Miller and James W. Thatcher, editors, Complexity of Computer Computations, pages 85–103. Plenum Press, New York, 1972.
[KMNFT20] Michael Kapralov, Slobodan Mitrović, Ashkan Norouzi-Fard, and Jakab Tardos. Space efficient approximation to maximum matching size from uniform edge samples. In Proceedings of the Fourteenth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 1753–1772. SIAM, 2020.
[LOP+15] Jakub Łącki, Jakub Oćwieja, Marcin Pilipczuk, Piotr Sankowski, and Anna Zych. The power of dynamic distance oracles: Efficient dynamic algorithms for the steiner tree. In Proceedings of the Forty-Seventh Annual ACM Symposium on Theory of Computing (STOC), pages 11–20, 2015.
[MRT25] Sepideh Mahabadi, Mohammad Roghani, and Jakub Tarnawski. A 0.51-approximation of maximum matching in sublinear time. In 52nd International Colloquium on Automata, Languages, and Programming, ICALP, volume 334 of LIPIcs, pages 116:1–116:17. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2025.
[MRTV25] Sepideh Mahabadi, Mohammad Roghani, Jakub Tarnawski, and Ali Vakilian. Sub-linear metric Steiner tree via improved bounds for set cover. In 16th Innovations in Theoretical Computer Science Conference (ITCS), volume 325 of LIPIcs, pages 74:1–74:24, 2025.
[MRTV26] Sepideh Mahabadi, Mohammad Roghani, Jakub Tarnawski, and Ali Vakilian. Sub-linear metric steiner forest via maximal independent set. In Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 5941–5959. SIAM, 2026.
[NO08] Huy N Nguyen and Krzysztof Onak. Constant-time approximation algorithms via local improvements. In 2008 49th annual IEEE symposium on foundations of computer science, pages 327–336. IEEE, 2008.
[Yao77] Andrew Chi-Chih Yao. Probabilistic computations: Toward a unified measure of complexity. In 18th Annual Symposium on Foundations of Computer Science (FOCS), pages 222–227, 1977.
[YYI09] Yuichi Yoshida, Masaki Yamamoto, and Hiro Ito. An improved constant-time approximation algorithm for maximum~ matchings. In Proceedings of the forty-first annual ACM symposium on Theory of computing, pages 225–234, 2009.
A The approximation-query trade-off
The construction of Section 3 is the case of a family indexed by an integer : its two neighbor-set lists agree on every set of at most two terminals of a group, and the family replaces two by . Raising raises the exponent of the lower bound, because an algorithm must now make queries inside a single group before it sees anything. However, it also lowers the approximation factor that the construction can separate. In what follows, we outline how the proof of Theorem 1.1 can be adapted to show that for any integer parameter , estimating the Steiner tree cost within a factor of requires queries (see Theorems A.2 and A.3).
A.1 Local lists of higher order
Let be a group of special terminals. A local list on is a multiset of subsets of , listed in a fixed order as its entries; the neighbor sets (4) and (5) of Section 3 are the case . For write
so that records containments and is the multiset of traces on a panel . By inclusion-exclusion, for every ,
so two lists have equal traces on every panel of size at most precisely when their containment counts agree on every set of size at most . Call such a pair -safe.
Lemma A.1. Fix and , and put for . Let contain copies of every -subset of for each with , and let contain copies of every -subset for each with , together with one copy of itself. Then and have the same number of entries and are -safe, while no support of has more than elements and contains a support of size .
Proof. The coefficients are chosen so that, for every with , the signed number of supports containing is exactly 1; this will cancel the single copy of in .
Fix such an , and let . For each , exactly of the -subsets of contain . Hence . We claim that this sum is 1. Set , , and , so . Then the sum becomes .
By the binomial theorem, is the coefficient of in . Thus the r-th summand above is the coefficient of in . Since , terms with cannot contribute to the coefficient of , so our sum is the coefficient of in . But . Since , the coefficient of in this polynomial is 1, proving the claim.
Thus for every with . By (21), the two lists therefore have identical traces on every panel of size at most , so they are -safe. Taking also shows that they contain the same number of entries.
Finally, every support appearing in has size at most by construction, whereas contains the support , which has size .
For the lemma returns the pair used throughout the paper: consists of the pairs together with empty supports and of one full support together with copies of each singleton, both with entries. For the roles of the sizes shift by one: consists of every 3-subset once together with copies of each singleton, and of one full support, copies of each pair and empty supports, both with entries. Here, even the NO world has centers serving three terminals, so its profit is no longer zero () and the factor the construction can separate falls from 2 to 3/2. A list of order would give the matching-versus-star pair, in which a single probe already separates the two worlds.
A.2 The hierarchy
We keep the architecture of Section 3. Ordinary terminals are in hidden clusters of size , special terminals regrouped independently in each of blocks, one hidden block, and distances in and replace the YES and NO blocks by the described and . Say that a group is exposed when of its members have been probed at centers of its own row. Every step of Sections 3.2 and 4 goes through with in place of 2: Lemma A.1 supplies, for each panel of size at most , a permutation of matching the entries of the two lists so as to preserve all incidences with , and the injection of Lemma 4.2 is built from those permutations.
As in Section 3, a configuration determines two instances on the same point set: the NO instance , which uses in every block, and the YES instance , which uses in block and elsewhere. For the rest of this section and denote their distributions, being uniform; for these are the instances and distributions of Section 3.
Theorem A.2. Fix an integer and a constant . For infinitely many these distributions live on -point instances and satisfy
while every randomized algorithm that estimates the metric Steiner tree cost within a factor with probability at least makes queries, where .
The exponent comes from the parameters , , , for which and ; the case is Theorem 1.1. The separation of the costs is the computation of Section 3.1 carried out for general . Writing and for , a component with special terminals and centers satisfies and hence has profit , so the profit available in the NO world is at most , whereas the full stars of the hidden block give the YES world profit at least . Hence, the ratio of the two optimal costs tends to .
A.3 A ceiling for exact trace matching
The ratio is not merely what the above computation delivers; it is a barrier for the whole architecture, and it is what makes the trade-off unavoidable.
Theorem A.3. Let two local lists be -safe in the sense above, and place them in the single-scale architecture of Section 3. Then the optimal costs of the two resulting instances differ by a factor strictly smaller than .
Proof. Since is the multiplicity of the full trace on the panel , -safety gives the coverage property: if and for some support of one rule, then for some support of the other.
Consider an optimal incidence forest for whichever of the two systems has the larger profit, and let be that profit. Root each nontrivial component at a terminal. A center with one parent and terminal children contributes to . Split those children into groups of size at most ; adjoining the parent turns each group into a certificate of size at most , so coverage supplies, on the other side, a support containing it. Selecting one such center per certificate and merging repetitions yields an incidence graph that connects every pair the original forest connected, uses at most centers and has no more components than the original. A spanning forest of it therefore has profit at least
the inequality being the elementary bound , checked by writing modulo . So if are the two maximum profits then .
Write for the common part of the cost identity of Section 3.1, so that each optimal cost equals minus the corresponding maximum profit. A nonempty incidence forest has profit at most , so , and therefore