Manuscript Offprint
arXiv:2611.02374Submodularity Is Barely Testable
Abstract
In 2010, Seshadhri and Vondrák asked: is submodularity testable? For functions , they gave a tester that makes queries. We show that every tester, even an adaptive one with two-sided error, must make queries, thereby concluding: submodularity is barely testable.
*This project was carried out during his participation in the 2026 NII International Internship Program. †Supported by JSPS KAKENHI Grant Numbers 25K24465 and 26K21777
1 Introduction
A set function is submodular if
Equivalently, the marginal value of an element can only decrease as grows. Submodular functions are a discrete analog of convex functions in combinatorial optimization [Edm01, NWF78, Lov82, Sch00, IFF01], they model the valuations of buyers in algorithmic game theory [LLN02, DS06, Von08], and they measure the information collected by a set of sensors in machine learning [GKS05, KGGK06, KSG08].
Algorithms for submodular functions usually access the function through a value oracle. Such an algorithm generally runs in time polynomial in , so it sees only a tiny fraction of the values, even though its guarantees rely on a global property of the function. Seshadhri and Vondrák [SV14] therefore asked whether one can efficiently test if a function is submodular. In the context of property testing [GGR98], a function is -far from submodularity if at least an fraction of its values must be changed to make it submodular, that is, if its normalized Hamming distance to every submodular function is at least . An -tester queries the function at points of its choice. It must accept every submodular function and reject every function that is -far from submodular, each with probability at least 2/3. We give the formal definitions in Section 2.
Seshadhri and Vondrák showed that submodularity can be tested with far fewer than queries. Their tester samples random squares and checks whether the slack of the square,
is negative, rejecting if so. This is an equivalent definition of submodularity: every square must have nonnegative slack (Theorem 2.2). The tester is nonadaptive and has one-sided error. This query complexity is subexponential, but far from polynomial, and they asked whether there is a tester with poly queries, or with poly queries for constant ; perhaps an adaptive one or one that searches for obstructions other than violated squares [SV14, Section 6]. The best known lower bound for this problem was only polynomial, due to Hatami and Vondrák [HV16], who showed that every (even adaptive, two-sided error) tester must make queries. For constant , the query complexity of testing submodularity was thus known only to lie between and , and resolving this gap has been a major open question in property testing [Ses11].
We show that the answer to the question of Seshadhri and Vondrák is negative, and that their tester is nearly optimal.
Theorem 1.1. For , every -tester for submodularity must make at least queries on functions from to .
This bound holds even for adaptive testers with two-sided error. For constant , it matches the upper bound of Seshadhri and Vondrák up to a logarithmic factor in the exponent.
Bounded ranges and special classes. Raskhodnikova and Yaroslavtsev [RY13] showed that every submodular function can be represented as a pseudo-Boolean 2k-DNF. Their learning algorithm for such representations gives a tester for submodularity of these functions that makes poly queries when and is constant. Chakrabarty and Huang [CH15] gave an exact learning algorithm for coverage functions, a subclass of submodular functions, which also yields a tester for this subclass [RY13]. More recently, Haris and Palit [HP26] studied testing -submodularity, a generalization of submodularity to partial partitions of the ground set that has been studied in optimization [WZ14, OY15]. They gave a constant-query tester in distance, subexponential-query testers in Hamming distance for the two local conditions that together characterize -submodularity, and a tester for monotone -submodular functions with bounded integer range. For , -submodularity is ordinary submodularity, so our lower bound applies to this case.
Testing in distance. Berman, Raskhodnikova and Yaroslavtsev [BRY14] introduced -testing, which measures the distance between functions by instead of the fraction of points where they differ. Feldman and Vondrák [FV16] showed that every submodular function is -close in distance to a function of variables, and used this to test submodularity in distance with poly queries. Blais and Bommireddi [BB17] extended the testing-by-implicit-learning framework [DLM+07] to obtain, for every , -testers whose number of queries is independent of , for submodularity and for several other classes of valuation functions. Our lower bound is consistent with these results. In our construction, a YES function and a NO function with the same random choices differ by exactly on a quarter of the domain and agree elsewhere. So every NO function is exponentially close to a submodular function in every distance, even though it is (with high probability) far from submodularity in Hamming distance.
Learning submodular functions. Testing and learning are closely related [GGR98], and several of the testers above come from learning algorithms [CH15, RY13, FV16, BB17]. Learning submodular functions and related classes of valuation functions has been studied extensively [GHIM09, BH12, GHRU13, CKKL12, BCIW12, BDF+12, FKV13, RY13, FV16]. For example, Goemans, Harvey, Iwata and Mirrokni [GHIM09] showed how to approximate a nonnegative monotone submodular function everywhere within a factor of using polynomially many value queries, and Balcan and Harvey [BH12] introduced the PMAC model for learning submodular functions from random examples. A learning algorithm may assume that its input is submodular, whereas a tester must also handle inputs that are far from submodular [SV14].
1.2 Open questions
The logarithmic factor. For constant , the query complexity of testing submodularity lies between and . Resolving this log-factor is still open.
Bounded ranges. Our hard functions take superpolynomially many distinct values, whereas submodularity of functions into can be tested with poly queries for constant when [RY13]. At which range size does testing become superpolynomially hard? For example, can functions with range size poly be tested with poly queries?
Lower bounds for -submodularity. For , no nontrivial lower bound is known for testing -submodularity: lower bounds for submodularity do not transfer directly, since natural embeddings can destroy pairwise monotonicity [HP26]. A nontrivial lower bound for testing -submodularity or even monotone -submodularity would be interesting.
1.3 Technical overview
We construct two distributions over functions . Every function in the YES distribution is submodular, a function in the NO distribution is far from submodular with high probability, and an algorithm that makes fewer than queries receives almost the same answers under both. This overview explains where each part of the construction comes from. We start from two results of Seshadhri and Vondrák [SV14] that shaped our goals, then add the components of the construction one at a time, and finally sketch the two halves of the analysis.
What a hard instance must look like. A NO function must have violated squares, that is, squares with negative slack, and an algorithm that finds one knows that the function is not submodular. The tester of Seshadhri and Vondrák samples random squares, and its analysis shows how rare violated squares can be. They repair a violated square by lowering the function, by the amount of the violation, on all points below the square, or on all points above it; this fixes the square without creating new violations [SV14, Lemma 2.2]. If there are at most violated squares, these repairs change at most values in total [SV14, Lemma 2.3]. So for constant , a function that is -far from submodular has at least a fraction of violated squares.
The violated squares of a hard NO function must therefore form at least a fraction of all squares. We aim for a fraction, at random positions, so that an algorithm needs about queries before it sees one.
One violated square that forces many changes. Our starting point is a function of Seshadhri and Vondrák with only one violated square, which nevertheless needs many changes to become submodular [SV14, Section 3.2]. It has two special coordinates, which we call action coordinates; the remaining coordinates are control coordinates. Fixing the action coordinates to gives a copy of , which we call the slice . For a fixed with , the function is
The square spanned by the two action coordinates at has slack , so it is violated exactly when , and every other square has nonnegative slack.

Figure 1: The function on its four slices, where . The dots are the four points , which form the square spanned by the two action coordinates at . Its slack is , since all other terms cancel.
To see why needs many changes, let be submodular. Then differs from at one of the four points . In that slice, is linear in , so is submodular, and . A submodular function cannot have a lone nonzero value in the middle of the cube. If , then is nonzero on at least half of the subcube above [SV14, Lemma 3.5]; if , then is nonzero at no fewer than points [SV14, Lemma 3.6]. So repairs propagate: the single violated square forces changes.
This example has two shortcomings. First, changes are an exponentially small fraction of the domain; we need many violated squares whose forced changes do not overlap much. Second, the violated square is easy to find: the values and for reveal . Our construction keeps the skeleton of this example (two action coordinates, slices on which the function is linear on suitable subcubes, and a distance term that vanishes exactly at the violated squares) and fixes both shortcomings.
Hiding the violated squares with addresses. To hide the violated squares, we want the distance term to vanish on a random set of points that queries cannot reveal. This seems to clash with the distance argument, which needs linear slices: a slice that is linear in all control coordinates is determined by of its values, so its zeros can be learned, as in the example. But the argument propagates a change within a single slice, so each slice needs to be linear only in the coordinates along which the change propagates. This is why we split the control coordinates into two halves and ; we write points as with , and the slice. In slices 00 and 01, we propagate changes by varying , so these slices may depend on arbitrarily, and in particular randomly; in slices 10 and 11, the roles of and are exchanged. Since the square spanned by the action coordinates at involves all four slices, whether it is violated can depend randomly on both halves.
We give every an address and every an address , and we replace by the Hamming distance between the two addresses. The square spanned by the action coordinates at is then violated exactly when ; we call such pairs centers. If the addresses were uniformly random, the centers would form a random fraction of all pairs, and an algorithm could not locate them.

Figure 2: Top: the coordinates (shown with blocks of four). Bottom: the addresses. is a center when both pairs joined by arrows are equal, which happens with probability . Each comparison involves the structured part of one half and the random part of the other, so for fixed the term in slice 01 is a sum over the blocks of , and for fixed the term in slice 11 is a sum over the blocks of .
However, uniformly random addresses would make the distance term random in both halves, while every slice that contains it must be structured in one of them. We therefore make each address half structured and half random. We divide each half into blocks and of coordinates each (so that ), and let
Here the structured part lists the parities of the blocks , and the random part is a uniformly random label, drawn independently for every set ; is defined in the same way. Note the order: each part of is compared with the part of of the other kind. As a result, the distance splits into two terms,
each of which compares a structured part of one half with a random part of the other (Figure 2). We place in slice 01 and in slice 11, so that the slack gains (Figure 1). For a fixed , the term is a sum of terms, each depending only on the parity of one block . Symmetrically, for a fixed , the term is a sum of terms each depending only on one block .
Every component we add keeps this property: in slices 00 and 01, for each fixed , the function is a sum of functions of single blocks , and in slices 10 and 11 the same holds with the roles of and exchanged. This is weaker than linearity, but it is enough for the distance argument. On every subcube in which exactly one coordinate per block is free, a sum of functions of single blocks is modular, and modularity is all the argument needs.
At the same time, the centers stay hidden. A pair is a center when the parities of equal the label of and the label of equals the parities of . Labels are independent of everything else, so an algorithm knows nothing about the label of a set before querying it.
Hiding the sign with a shared random table. The YES and NO functions differ only in the sign of the slack at centers. We cannot simply add to slice 01: all other terms are integers, so the fractional part of a single answer would reveal . Instead, we sample a table that assigns an independent uniform value in to every address. We add to slice 01 and to slice 11. The slack of the square spanned by the action coordinates at becomes
At a center, the two table values coincide, and the slack is exactly : positive for YES and negative for NO. Away from centers, the distance term is at least 1, while the table values and the sign together contribute at least -1, so the slack is nonnegative (Theorem 3.10). A query in slice 01 reveals , a uniform value on a grid shifted by , which says nothing about on its own. The shift becomes visible only if the algorithm also sees unshifted, which happens only in slice 11 at a set with , that is, after it has found a center.
Keeping the other squares submodular. The random terms can create violated squares spanned by two control coordinates. In slice 01, for example, depends on Y through the random label , so it behaves like an arbitrary function of Y with values in . We absorb these fluctuations with the base components
using in slices 00 and 01, and in slices 10 and 11. Each summand is a concave function of a count. So has slack 8m on squares spanned by two coordinates of , and slack 8 on squares spanned by two coordinates of one block of , or by one coordinate from each half (Theorem 3.11). This is more than the random terms can take away. Only squares spanned by coordinates of two different blocks of get slack 0 from , and there the random terms are sums over blocks as well, so they contribute slack 0 too (Theorem 3.12). This is the first role of the blocks. A single concave function such as a large enough multiple of would also absorb the random terms, but it is not a sum of functions of single blocks of , so the restrictions used in the distance argument would no longer be modular.
Squares spanned by one action coordinate and one control coordinate need one more term. The slack of such a square is the decrease, when a control element is added, of the difference between two neighboring slices. These differences contain and the random terms, which can grow by when one element is added (Theorem 3.13). We therefore subtract the linear correction once in slices 01 and 10 and twice in slice 11. Every difference between neighboring slices then drops by whenever an element is added, which outweighs any growth of the other terms (Theorem 3.14). The linear terms have slack 0 on every square spanned by control coordinates, and they cancel on every square spanned by action coordinates, so the computations above stay intact.
Why the NO functions are far from submodular. Let be submodular. As in the example, must differ from at one of the four points of every center ; say , so that we work with fixed. Let contain exactly one element of each block. On the subcube in which the coordinates of are free and all other coordinates are fixed, is modular, so is submodular there (Theorem 2.3). Restrictions of this kind replace the linear slices of the example (Figure 3).

Figure 3: Left: a set (shaded) and a set (stars) with one element in each block. Right: and have union and intersection . Fixing every coordinate outside gives a cube with one free coordinate per block, on which is submodular. If , the inequality shows that is nonzero at or , or positive at , from where the change propagates upward. If , the change propagates upward from itself.
Suppose , and that is balanced, meaning that each block contains between roughly and elements. If , a weighted version of [SV14, Lemma 3.5] (Theorem 3.15) shows that for at least a quarter of the choices of . If , submodularity applied to and , whose union is and whose intersection is , gives
So is nonzero at or at , or , in which case the positive case applies at . In every case, is nonzero at one of , and for at least a quarter of all pairs (Theorem 3.6).
Each balanced center therefore forces many changes, but different centers may force the same ones. To control this overlap, we define the load of a set as the number of triples , with a center (recall that is fixed), such that is one of the three candidate sets. This load is independent of , so the resulting distance bound holds simultaneously for all submodular . By Cauchy–Schwarz, the number of changed points is at least the square of the number of forced changes, counted with multiplicity, divided by the sum of squared loads (Equation (1)). Because the centers are random, the loads are close to uniform: the expected sum of squared loads is within a constant factor of its value under perfectly even loads (Theorem 3.8). Together with the fact that most centers are balanced (Theorem 3.9), this shows that is -far from submodular with probability at least .
The two roles of the blocks. The blocks serve two purposes. First, as explained above, they let the base components absorb the random terms while remaining sums of functions of single blocks, so that restrictions with one free coordinate per block are modular and changes propagate. Second, they control the second-moment calculation in Theorem 3.8. If each half had blocks of size , the expected sum of squared loads would exceed its value under even loads by roughly a factor of : one factor of per block. This stays bounded when . On the other hand, the lower bound comes from the random bits in each label and is . Taking balances the two requirements; it gives and a lower bound of .
Why the two distributions are hard to distinguish. Slices 00 and 10 are the same in both distributions, and the sign enters only through slice 01, masked by the table. We couple the two distributions so that they use the same labels, and so that the NO table equals the YES table shifted by , cyclically, on every address that the algorithm first sees in slice 01. The two runs then receive identical answers until the algorithm sees some address in both slice 01 and slice 11, that is, until it finds a center, or until a shift wraps around, which has probability per address (Theorem 3.20). Finding a center is hard. When the algorithm first queries slice 01 at a set , the label is uniform and independent of all earlier answers, so each set that appeared in an earlier slice-11 query satisfies with probability ; queries in slice 11 are symmetric. An algorithm that makes queries therefore finds a center with probability at most (Theorem 3.19), which is small unless .
2 Preliminaries
Notation. For a positive integer , let . For a finite set , we write for the family of subsets of , and we identify each subset with its incidence vector in . For , we write if for every , and we write and for the coordinatewise maximum and minimum; for sets, these are the union and the intersection. We write for the -th unit vector, and for the indicator of an event or statement . We use bold symbols for random objects and the corresponding nonbold symbols for their realizations.
Submodularity and squares. We formally define submodularity.
Definition 2.1 (Submodularity). A function is submodular if
A square is given by a point and two coordinates with . We write , and , and we say that the square with corners , and is spanned by and at . The slack of the square with respect to is
The slack is linear in : the slack of is the slack of plus the slack of . A function is modular if every square has slack 0. For example, every function of the form is modular, because it changes by the same amount along opposite sides of every square.
Lemma 2.2 (Characterizations of submodularity). For , the following are equivalent.
(a) f is submodular.
(b) Every square has nonnegative slack.
(c) (Diminishing returns.) For all and every coordinate u with ,
The equivalence of (a) and (c) is standard (see, e.g., [SV14, Section 1]). We include a short proof of all three for completeness.
Proof. (a) implies (b). Apply the definition to and , using and .
(b) implies (c). Let be the coordinates in which is 1 and is 0 (none of them is ). Put and , so that . For each , the square spanned by and at has corners , , and , so its nonnegative slack says
Chaining these inequalities gives (c).
(c) implies (a). Let , and let be the coordinates in which is 1 and is 0. Put and , so that , , and . For each , we have , and coordinate is 0 in both, so (c) gives
Summing over gives , which is (a).
Next we state two properties of submodular functions that we will use in our proofs.
Lemma 2.3 (Restrictions and modular shifts). Let be submodular.
(a) Fixing any set of coordinates gives a submodular function of the remaining coordinates.
(b) For every modular function , the function is submodular.
Proof. We use Lemma 2.2(b). For (a), every square of the smaller cube is also a square of . For (b), the slack of equals the slack of on every square.
Distance and testers. A property is a set of functions for each ; for example, submodularity is the property consisting of all submodular functions.
Definition 2.4 (Distance). For , let
The distance of to a property is . For , we say is -far from if .
Next we define a tester.
Definition 2.5 (-tester). Let be a property and let . An -tester for is a randomized algorithm that is given and query access to a function , where each query asks for the value at a point of the algorithm's choice. For all sufficiently large , it must satisfy the following.
• If , it accepts with probability at least 2/3.
• If is -far from , it rejects with probability at least 2/3.
The tester may choose its next query based on the answers to previous queries, that is, it may be adaptive, and it may err on both kinds of inputs, that is, it has two-sided error. Its query complexity is the maximum number of queries it makes on functions over , as a function of .
To rule out testers with polynomial query complexity, it suffices to prove a superpolynomial lower bound for infinitely many .
Probability tools. We use the following standard inequalities.
Lemma 2.6 (Markov's inequality). If is a nonnegative random variable and , then
Lemma 2.7 (Chebyshev's inequality). If is a random variable and , then
Lemma 2.8 (Chernoff bound). Let be a sum of independent random variables taking values in , and let . For every ,
Lemma 2.9 (Cauchy–Schwarz inequality). For real numbers and ,
3 Lower Bound
We prove the following lower bound.
Theorem 3.1 (Theorem 1.1, restated). For , every -tester for submodularity must make at least queries on functions from to .
As mentioned in Section 2, it suffices to prove a lower bound for infinitely many input dimensions . Our construction can also be extended to work for all large enough by standard padding arguments, but that is outside the scope of this paper.
We use Yao's minimax principle [Yao77] in the form of Theorem A.1 to prove the theorem. In Section 3.1, we define our YES and NO distributions. In Section 3.2, we prove that the distributions are correctly supported, that is, every function in the YES distribution is submodular, and functions in the NO distribution are -far from submodularity with probability at least . In Section 3.3, we prove that the distributions are hard to distinguish, and complete the proof of Theorem 3.1.
Throughout the rest of the section, let be a large enough integer.
3.1 Construction
Divide the input coordinates into 2 action coordinates and control coordinates. We hide violations along the action coordinates. Call the subcube induced by fixing the action coordinates a slice. Divide the control coordinates into two halves and , each of length . Divide each half into blocks and , each of length . Thus . We use for symmetric difference of sets and for bitwise addition modulo two; for bit vectors , the quantity is their Hamming distance.
For , let be defined as . Similarly define for .
Choose random maps and by sampling all their values independently and uniformly. Define the addresses by concatenation:
Define the random set of centers
Equivalently, if and only if and . For the NO distribution, the squares along the action coordinates will violate submodularity precisely at centers. For every and ,
The YES and NO functions have the following components.
- Base components. To ensure submodularity on squares spanned by two control coordinates, define the submodular functions
- Sign component. Let be the sign distinguishing the two distributions. To mask the shift in slice 01, sample a table
with independent uniform entries, independently of and .
- Correction components. To ensure submodularity on squares (nonnegative slack) spanned by the action coordinates at non-centers, define
We also use the linear correction to ensure submodularity on squares spanned by one action coordinate and one control coordinate.
Define by
The YES distribution sets , and the NO distribution sets . At a center , we have and . In the square spanned by the two action coordinates, the terms involving and cancel as well, leaving slack .
3.2 Correctness
To analyze the correctness of our distributions, we require the following characterization of the slack of squares in .
Lemma 3.2. When , the slack in squares along the action coordinates is exactly . For all other squares the slack is always nonnegative for large enough .
We prove this in Section 3.2.1. Completeness follows as an immediate corollary.
Proposition 3.3 (Completeness). For large enough m, the function is submodular.
Proof. Plugging in in Theorem 3.2 shows that every square of has nonnegative slack, meaning it is submodular by Theorem 2.2.
The rest of the section is used to prove the following soundness proposition.
Proposition 3.4 (Soundness). For large enough m, the function is -far from submodularity with probability at least 8/10.
Proof. Counting one changed corner per center only gives a bound proportional to the density of centers, whose expectation is . We use submodularity on restrictions to force further changes, then bound how often the same input is counted.
Fix realizations and a submodular function . By Theorem 3.2, for every center , at least one slice must satisfy . This is because the square has negative slack in by Theorem 3.2, while it has nonnegative slack in by Theorem 2.2.
Fix and , and define by
In these slices, is a sum of terms, each depending only on for some . We therefore consider sets of free coordinates that select one element from each block:
Define analogously using the blocks; both families have members. For , fixing all coordinates outside gives an -dimensional cube. On this cube, each block contributes a function of a single free bit, so the restriction of is modular. Subtracting this restriction from preserves submodularity, and hence is submodular on the cube. For , we instead fix and define by . The same reasoning applies using .
For , define the parity class
For , the sets for which is a center form the family
Changes induced by repairing centers. We first define a balanced set.
Definition 3.5 (Balanced set). A set (resp. ) is balanced if (resp. ) for all .
For a balanced , the margin of one ensures that for every and . We use the following lemma, which is proved in Section 3.2.2.
Lemma 3.6. Let be balanced, let and , and suppose . For at least pairs , is nonzero at one of the following sets.
Charging centers to changed points. To turn the count in Theorem 3.6 into a lower bound on the number of changed inputs, we must control how many tuples lead to each input.
Definition 3.7 (Load). For and , define the load as the number of triples with and for which is one of the following sets.
Define analogously by fixing and using coordinate sets from . For each slice , assign the corresponding load to each pair :
Let be the set of inputs at which and differ, and let are balanced}. The sum of squared loads over the whole domain is
Every center in has a changed corner in at least one slice. Choose one such slice for each center and apply Theorem 3.6 in the corresponding half. For each center, at least pairs of coordinate sets lead to a changed point in the chosen slice, and each pair contributes to the load of that point. Consequently,
where the last step is Cauchy–Schwarz (Theorem 2.9). Both and depend only on , so Equation (1) holds simultaneously for all submodular functions . Our targets are
which together imply , a constant fraction of the full domain.
Bounding the sum of squared loads. Fix and condition on , leaving random. The set contains each point of independently with probability . Thus the expected size of the set is
So the expected number of triples is . If these tuples covered the space of uniformly, then the sum of squared loads would be
We show that the expected sum of squared loads is within a constant factor of this, and then sum over to upper bound .
Lemma 3.8. For ,
Here the expectation is over , with and fixed.
We prove Theorem 3.8 in Section 3.2.3.
Summing Theorem 3.8 over , taking expectation over , and using the analogous bound with and interchanged gives
Applying Markov's inequality (Theorem 2.6), with probability at least ,
Bounding the number of balanced centers. The expected number of centers is . We show that the number of balanced centers is at least a quarter of this with high probability.
Lemma 3.9. For large enough m,
We prove Theorem 3.9 in Section 3.2.4.
Bounding distance to submodularity. Combining these bounds, we are ready to complete the proof of soundness. By Equations (1) and (2) and Theorem 3.9, with probability at least 8/10, the following bound holds simultaneously for all submodular functions G:
Thus the distance to submodularity is at least with probability at least .
3.2.1 Proof of Theorem 3.2
We prove Theorem 3.2 for every . Every square is spanned by two action coordinates, by two control coordinates, or by one coordinate of each kind. Theorems 3.10, 3.12 and 3.14 treat these three cases separately.
Recall that a square is given by a point and two coordinates with . Writing , and for with coordinate , coordinate , or both set to 1, the slack of the square is
We write points as , where and , and is the slice. Adding a control coordinate means replacing by if , or by if .
Two action coordinates. This is the simplest case.
Claim 3.10. For all and , the slack of the square spanned by the two action coordinates at is if , and nonnegative otherwise.
Proof. The square consists of the four points with , and its slack is
After substituting the definitions, the terms and cancel, and so do the multiples of . What remains is the expression
If , then and , so . Moreover , so the two table values cancel, and the slack is exactly .
If , then or , so . Every table value lies between 0 and , so the difference of the two table values is at least . Finally . Adding the three bounds shows that the slack is at least 0.
Two control coordinates. We first compute the slack of the base terms.
Claim 3.11. Let be control coordinates. The slack of at every square spanned by and is
• 0 if and lie in different blocks of ;
• 8 if and lie in the same block of , or if one lies in and the other in ;
• 8m if both lie in .
The same holds for with the roles of and exchanged. In particular, and are submodular.
Proof. The -th summand of is , where is the number of elements of . Suppose that adding increases by and adding increases it by . The slack of the summand is then
So the -th summand contributes 8 if both and lie in , and 0 otherwise. Summing over gives the three values. The statement for follows by symmetry.
Claim 3.12. Every square spanned by two control coordinates has nonnegative slack.
Proof. Both action coordinates are fixed, so the square lies inside one slice. Inside a slice, the linear term and the constant contribute zero slack, because they change by the same amount along opposite sides of the square. Hence:
• in slice 00, the slack is the slack of ;
• in slice 01, it is the slack of plus the slack of ;
• in slice 10, it is the slack of ;
• in slice 11, it is the slack of plus the slack of .
Exchanging the roles of and turns into and into a table value depending only on plus . This differs from only in the sign of , and the bounds below do not use this sign. We therefore treat slices 00 and 01; slices 10 and 11 are the same with and exchanged.
By Claim 3.11, every square in slice 00 has nonnegative slack. In slice 01, we add the slack of to the slack of from Claim 3.11, in three cases.
Different halves. Let and , and write and . The slack of is 8. The slack of is
The table term depends only on the second argument, so it cancels inside each bracket. Adding changes the parity of and no other entry of , so it changes by exactly +1 or -1, whatever is. Hence each bracket equals , the slack of is at least -2, and the total slack is at least .
Both in half . Suppose first that and with . The slack of is 0. Since is fixed, is a constant. Moreover, counts the blocks for which the parity of differs from , so it is a sum of terms, the -th depending only on . Adding changes only the -th term and adding changes only the -th, so the slack of is 0. The total slack is 0.
Suppose next that . The slack of is 8. As in the previous case, is a constant, and only the -th term of changes. This term depends only on the parity of . The corners and have one parity, and the corners and have the other. So if the term equals at , the slack of is
and the total slack is at least 8 - 2 = 6.
Both in half . Let and both lie in , in the same block or not. The slack of is . Since and , every value of lies in an interval of length , namely . The slack of is a sum of two of its values minus a sum of two others, so it is greater than . The total slack is greater than .
One action coordinate and one control coordinate. We first bound how much the terms of can grow when one control element is added.
Claim 3.13. Let be obtained from by adding one control element. Going from to :
(a) each of , and increases by less than 1;
(b) the absolute changes of and add up to at most ;
(c) increases by less than .
Proof. (a) Each table value lies in [0,1), so it increases by less than 1. Adding an element changes X or Y but not both, so at most one of and changes, and the same bound applies to their difference.
(b) Adding an element of changes exactly one entry of , so changes by exactly +1 or -1. It also replaces the label by the label of a different set, so , which lies between 0 and , changes by at most . Adding an element of is symmetric.
(c) Adding an element changes only the -th summand of , by , where . It decreases every summand of , since grows. So increases by at most . Adding an element of decreases each of the summands of by , where again , so by less than ; it also decreases . So increases by less than .
Claim 3.14. For , every square spanned by one action coordinate and one control coordinate has positive slack.
Proof. Let be the base point of the square, so its action coordinate is in , and let be with that coordinate set to 1. If the control coordinate lies in , the slack of the square is
and if , the same holds with in place of . So it suffices to show that adding one control element strictly decreases the difference . There are four such differences, one for each pair of slices that differ in one action coordinate:
Each difference is plus a remainder. Adding one control element lowers the first part by exactly . Each remainder consists of a constant and at most one part of each kind in Claim 3.13: table terms, correction terms, and . By Claim 3.13, the remainder therefore increases by less than
For this is less than , because
where both steps use . So every difference strictly decreases, and the slack is positive.
3.2.2 Proof of Theorem 3.6
We first prove the following fact about submodular functions, which is a weighted version of [SV14, Lemma 3.5].
Claim 3.15. Let and let be submodular with , and let be such that independently for all . Then
Proof. Induct on . For , the assumption gives . Now let and write .
Case . Then , so by diminishing returns (Theorem 2.2(c)), for every with . So on every edge the two values differ, and at least one of them is nonzero. Condition on the first coordinates of . Then is the lower end of that edge with probability and the upper end with probability , so .
Case . The restrictions and are submodular on and positive at the origin. By induction, each is nonzero with probability at least under the first coordinates of . Conditioning on expresses as a weighted average of these two probabilities, so it is at least .
Recall that the function is submodular on every cube with one free coordinate per block. Suppose . For this case, it suffices to assume the weaker bounds for all . Choose uniformly from , equivalently by choosing one coordinate from each block independently and uniformly, and put
For each , choose uniformly from and , with all choices independent. Then has the same distribution as . For each tuple with , define
The function is a restriction to a cube with one free coordinate per block, so it is submodular and . By Theorem 3.15, . Averaging over gives . Since is arbitrary, at least a quarter of all pairs satisfy the conclusion.
Next suppose . For each , the sets and lie in the cube with free coordinates and all other coordinates fixed as in . Submodularity on this cube gives
If or is nonzero, then all choices of count. Otherwise, . Since is balanced, for every . These are the weaker bounds used in the positive case, so at least a quarter of the choices satisfy .
3.2.3 Proof of Theorem 3.8
Recall that and are fixed, and the expectation is taken over . Separate the load according to the operation that produces . For , let , , and count triples , with and , satisfying
respectively. A triple counted by may satisfy more than one of these conditions, so
We bound the expected sum of squared loads for by counting pairs of coordinates within each block.
Expanding the squared loads. Write for the prescribed parity vector. For , let . These indicators are independent Bernoulli variables with mean . For , define
Thus, for all ,
Since takes values in , we have . For , independence gives . Expanding the square and separating the terms with from those with yields
(3)
The inequality includes the diagonal terms in the second sum, all of which are nonnegative.
Splitting the count by blocks. To compute the two sums over in Equation (3), write , and
For , define the corresponding counts within block by
Each choice of one pair per block specifies a pair , so
for all . For each , we need both the sum of these counts and the sum of their squares:
Since the choices of can be combined freely across blocks,
Summing Equation (3) over and then summing separately over each gives
(4)
We now compute and .
Claim 3.16. Fix and let . The following is true.
Proof. The first two cases follow from nearly identical arguments.
- The condition requires and either or . The coordinate is arbitrary, giving choices in either case. If , only has the required parity, and its count is . Otherwise, there are possible sets , each with count . Hence
-
An analogous argument proves this by observing that if and only if and either or , thus replacing the term with .
-
We have
Suppose first that . Then has the same parity as , so it must equal . Thus gives distinct choices of , each with choices of . Consequently,
Now suppose that . In this case , or equivalently
The cases , , and give the following counts.
| Form of | Number of such sets | |
|---|---|---|
| 1 | w | |
| 2 | ||
| 1 |
In the second row, the two missing elements can be assigned to and in either order. Summing the counts in the table, and then their squares, yields the desired result.
Summing over the subsets of a block. We next bound the two block sums in Equation (4).
Claim 3.17. For and all , the following is true.
Proof. For and either parity , exactly subsets of parity contain a specified coordinate, and exactly contain two specified distinct coordinates. Indeed, after fixing those one or two coordinates, half the assignments of the remaining coordinates have the required parity. Expanding
we obtain
(5)
Adding the second identity for the two parities gives
Use the values of and from Theorem 3.16. Since , for we get
For , separating the two parities and using Equation (5) gives
For and , the exact same bounds hold by summing over the set instead. This is because is a bijection, and Equation (5) holds for both parities. For , the two parity cases both satisfy : when , we have , and when both sides vanish. Using Equation (6), we get
where the last inequality follows from for .
Substituting the block sums. Substitute the bounds from Theorem 3.17 into Equation (4).
(7)
Here we used and . Combining this bound with proves the lemma, since .
3.2.4 Proof of Theorem 3.9
Call a pair balanced if both and are balanced. We first show that for large enough , the total number of balanced pairs is at least half of the hypercube .
Claim 3.18. For large enough m, the number of balanced pairs is at least .
Proof. Let and be independent uniform subsets of and respectively. For , if is not balanced then for some ; the analogous statement holds for . By the
Chernoff Bound (Theorem 2.8), for every ,
and analogously for Y. Taking a union bound over all 2m blocks,
for sufficiently large m. Thus the number of balanced pairs is at least .
Now we bound the number of balanced centers. Since each pair is a center with probability , the mean satisfies
The indicators of membership in for and are independent unless or . There are at most ordered pairs sharing one of these subsets, and each covariance is at most 1. Bounding each indicator's variance by its mean (because they are Bernoulli random variables) yields
Chebyshev's inequality (Theorem 2.7) thus gives
for sufficiently large m.
3.3 Indistinguishability
Let be a deterministic algorithm making queries. We bound the difference between the acceptance probabilities of for the distributions and .
The sign term enters only through slice 01, where it is added to . Slice 11 also uses the table on , and the other two slices are the same in both distributions. We say that algorithm discovers a center if it makes queries and such that , that is, .
We first bound the probability that discovers a center.
Lemma 3.19. For both distributions and , discovers a center] .
Proof. A query in slice 01 uses the address , a query in slice 11 uses , and queries in slices 00 and 10 use neither. The answers depend on only through for sets in slice-01 queries, and on only through for sets in slice-11 queries. Suppose first discovers a center at its -th query, say . Then does not appear in an earlier slice-01 query, since otherwise the center would have been discovered earlier, so is uniform given the first answers. A center with from an earlier slice-11 query requires , which has probability for each of the at most such sets. A slice-11 query is symmetric, with fresh. Summing over gives at most .
Next we bound the difference between the acceptance probabilities of for the two distributions.
Proof. Run on and with the same , drawing each table entry the first time it is needed. For a new address, draw uniformly from . The YES run uses . The NO run uses if the address is first needed in slice 11, and , taken cyclically, if it is first needed in slice 01. After the first center discovery or wraparound, continue each run by sampling previously unassigned table entries independently and uniformly. A cyclic shift is a bijection, so both tables are uniform. Until discovers a center, no address is needed in both slices, and the two runs receive the same answers: in slice 01 both answer plus the same remaining terms, unless the shift wraps around, which has probability for each of the at most addresses. So the outputs differ with probability at most discovers a center] + , and Theorem 3.19 completes the proof.
We are now ready to complete the proof of Theorem 3.1.
Proof of Theorem 3.1. We use Yao's minimax principle as stated in Theorem A.1. Fix and for sufficiently large . By Theorems 3.3 and 3.4, the distributions and satisfy the conditions of Theorem A.1 with . For a deterministic algorithm making
queries, Theorem 3.20 says that the acceptance probability of for the two distributions differs by at most (for large enough ), which is less than . Thus Theorem A.1 yields the desired lower bound.
AI Disclosure
The authors used GPT-6 Astra to assist with the lower bound construction. The authors then tried to independently come up with their own construction in an attempt to simplify it. The proofs are entirely human generated. The authors also used GPT-6 Astra and Claude Opus 5.5 for proofreading and clarity improvements to the final draft.
References
[BB17] Eric Blais and Abhinav Bommireddi. Testing submodularity and other properties of valuation functions. In Proceedings of the 8th Innovations in Theoretical Computer Science Conference (ITCS), volume 67 of LIPIcs, pages 33:1–33:17, 2017. 3
[BBM12] Eric Blais, Joshua Brody, and Kevin Matulef. Property testing lower bounds via communication complexity. Comput. Complex., 21(2):311–358, 2012. 3
[BCIW12] Maria-Florina Balcan, Florin Constantin, Satoru Iwata, and Lei Wang. Learning valuation functions. In Proceedings of the 25th Annual Conference on Learning Theory (COLT), volume 23 of JMLR Proceedings, pages 4.1–4.24, 2012. 3
[BDF 12] Ashwinkumar Badanidiyuru, Shahar Dobzinski, Hu Fu, Robert Kleinberg, Noam Nisan, and Tim Roughgarden. Sketching valuation functions. In Proceedings of the 23rd Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1025–1035, 2012. 3
[BH12] Maria-Florina Balcan and Nicholas J. A. Harvey. Learning submodular functions. In Machine Learning and Knowledge Discovery in Databases: Proceedings of the European Conference (ECML PKDD), Part II, volume 7524 of Lecture Notes in Computer Science, pages 846–849, 2012. 3
[BK20] Umang Bhaskar and Gunjan Kumar. Partial function extension with applications to learning and property testing. In Proceedings of the 31st International Symposium on Algorithms and Computation (ISAAC), volume 181 of LIPIcs, pages 46:1–46:16, 2020. 3
[BRY14] Piotr Berman, Sofya Raskhodnikova, and Grigory Yaroslavtsev. -testing. In Proceedings of the Symposium on Theory of Computing (STOC), pages 164–173, 2014. 3
[CH15] Deeparnab Chakrabarty and Zhiyi Huang. Recognizing coverage functions. SIAM J. Discret. Math., 29(3):1585–1599, 2015. 3
[CKKL12] Mahdi Cheraghchi, Adam R. Klivans, Pravesh Kothari, and Homin K. Lee. Submodular functions are noise stable. In Proceedings of the 23rd Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1586–1592, 2012. 3
[DLM 07] Ilias Diakonikolas, Homin K. Lee, Kevin Matulef, Krzysztof Onak, Ronitt Rubinfeld, Rocco A. Servedio, and Andrew Wan. Testing for concise representations. In Proceedings of the 48th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 549–558, 2007. 3
[DS06] Shahar Dobzinski and Michael Schapira. An improved approximation algorithm for combinatorial auctions with submodular bidders. In Proceedings of the 17th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1064–1073, 2006. 2
[Edm01] Jack Edmonds. Submodular functions, matroids, and certain polyhedra. In Combinatorial Optimization – Eureka, You Shrink! Papers Dedicated to Jack Edmonds, 5th International Workshop, Revised Papers, volume 2570 of Lecture Notes in Computer Science, pages 11–26, 2001. 2
[FKV13] Vitaly Feldman, Pravesh Kothari, and Jan Vondrák. Representation, approximation and learning of submodular functions using low-rank decision trees. In Proceedings of the
26th Annual Conference on Learning Theory (COLT), volume 30 of JMLR Workshop and Conference Proceedings, pages 711–740, 2013. 3
[FLN+02] Eldar Fischer, Eric P. Lehman, Ilan Newman, Sofya Raskhodnikova, Ronitt Rubinfeld, and Alex Samorodnitsky. Monotonicity testing over general poset domains. In Proceedings of the 34th Annual ACM Symposium on Theory of Computing (STOC), pages 474–483, 2002. 3
[FV16] Vitaly Feldman and Jan Vondrák. Optimal bounds on approximation of submodular and XOS functions by juntas. SIAM J. Comput., 45(3):1129–1170, 2016. 3
[GGR98] Oded Goldreich, Shafi Goldwasser, and Dana Ron. Property testing and its connection to learning and approximation. J. ACM, 45(4):653–750, 1998. 2, 3
[GHIM09] Michel X. Goemans, Nicholas J. A. Harvey, Satoru Iwata, and Vahab S. Mirrokni. Approximating submodular functions everywhere. In Proceedings of the 20th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 535–544, 2009. 3
[GHRU13] Anupam Gupta, Moritz Hardt, Aaron Roth, and Jonathan R. Ullman. Privately releasing conjunctions and the statistical query barrier. SIAM J. Comput., 42(4):1494–1520, 2013. 3
[GKS05] Carlos Guestrin, Andreas Krause, and Ajit Paul Singh. Near-optimal sensor placements in Gaussian processes. In Proceedings of the 22nd International Conference on Machine Learning (ICML), volume 119 of ACM International Conference Proceeding Series, pages 265–272, 2005. 2
[HP26] Themistoklis Haris and Diptaksho Palit. Testing k-submodularity. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (AP-PROX/RANDOM), volume 392 of LIPIcs, pages 52:1–52:21, 2026. 3, 4
[HV16] Pooya Hatami and Jan Vondrák. Testing real-valued modularity and submodularity. Manuscript, 2016. 2, 3
[IFF01] Satoru Iwata, Lisa Fleischer, and Satoru Fujishige. A combinatorial strongly polynomial algorithm for minimizing submodular functions. J. ACM, 48(4):761–777, 2001. 2
[KGGK06] Andreas Krause, Carlos Guestrin, Anupam Gupta, and Jon M. Kleinberg. Near-optimal sensor placements: maximizing information while minimizing communication cost. In Proceedings of the 5th International Conference on Information Processing in Sensor Networks (IPSN), pages 2–10, 2006. 2
[KSG08] Andreas Krause, Ajit Paul Singh, and Carlos Guestrin. Near-optimal sensor placements in Gaussian processes: Theory, efficient algorithms and empirical studies. J. Mach. Learn. Res., 9:235–284, 2008. 2
[LLN02] Benny Lehmann, Daniel Lehmann, and Noam Nisan. Combinatorial auctions with decreasing marginal utilities. CoRR, cs.GT/0202015, 2002. 2
[Lov82] László Lovász. Submodular functions and convexity. In Mathematical Programming: The State of the Art, 11th International Symposium on Mathematical Programming, pages 235–257, 1982. 2
[NWF78] George L. Nemhauser, Laurence A. Wolsey, and Marshall L. Fisher. An analysis of approximations for maximizing submodular set functions - I. Math. Program., 14(1):265–294, 1978. 2
[OY15] Naoto Ohsaka and Yuichi Yoshida. Monotone k-submodular function maximization with size constraints. In Advances in Neural Information Processing Systems 28, pages 694–702, 2015. 3
[PRR02] Michal Parnas, Dana Ron, and Ronitt Rubinfeld. On testing convexity and submodularity. In Proceedings of the 6th International Workshop on Randomization and Approximation Techniques (RANDOM), volume 2483 of Lecture Notes in Computer Science, pages 11–25, 2002. 2
[RY13] Sofya Raskhodnikova and Grigory Yaroslavtsev. Learning pseudo-Boolean k-DNF and submodular functions. In Proceedings of the 24th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1356–1368, 2013. 3, 4
[Sch00] Alexander Schrijver. A combinatorial algorithm minimizing submodular functions in strongly polynomial time. J. Comb. Theory B, 80(2):346–355, 2000. 2
[Ses11] C. Seshadhri. Problem 37: Testing submodularity. Open Problems in Sublinear Algorithms, 2011. Suggested at the Bertinoro Workshop on Sublinear Algorithms 2011. Problem 37. 2
[SV14] C. Seshadhri and Jan Vondrák. Is submodularity testable? Algorithmica, 69(1):1–25, 2014. 2, 3, 4, 5, 8, 9, 19
[Von08] Jan Vondrák. Optimal approximation for the submodular welfare problem in the value oracle model. In Proceedings of the 40th Annual ACM Symposium on Theory of Computing (STOC), pages 67–74, 2008. 2
[WZ14] Justin Ward and Stanislav Zivný. Maximizing k-submodular functions and beyond. CoRR, abs/1409.1399, 2014. 3
[Yao77] Andrew Chi-Chih Yao. Probabilistic computations: Toward a unified measure of complexity (extended abstract). In Proceedings of the 18th Annual Symposium on Foundations of Computer Science (FOCS), pages 222–227, 1977. 11, 29
A Yao's Minimax Principle
We use the following form of Yao's minimax principle [Yao77].
Claim A.1 (Yao's principle). Let be a property of functions over the Boolean hypercube, let , and let . Let and be distributions over functions on the domain , such that is always in and is -far from with probability at least . Suppose that every deterministic algorithm that makes at most queries satisfies
Then every -tester for makes more than q queries on functions over .
Proof. Suppose that is an -tester for that makes at most queries on functions over , and let denote its random coins. For every fixed value of , the algorithm that runs with coins is deterministic and makes at most queries. Every in the support of is in , so . Every that is -far from is accepted with probability at most , so . Hence
so some fixed value r satisfies the same inequality, and contradicts the assumption.