arXiv:2611.02374cs.DSNov 2026

Manuscript Offprint

arXiv:2611.02374

Submodularity Is Barely Testable

Diptaksho Palit, Yuichi Yoshida

Abstract

In 2010, Seshadhri and Vondrák asked: is submodularity testable? For functions f:{0,1}n→Rf : \{0,1\}^n \to \mathbb{R}, they gave a tester that makes 2O(nlog⁡n)2^{O(\sqrt{n}\log n)} queries. We show that every tester, even an adaptive one with two-sided error, must make 2Ω(n)2^{\Omega(\sqrt{n})} 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 f:2[n]→Rf: 2^{[n]} \to \mathbb{R} is submodular if

f(S)+f(T)≥f(S∪T)+f(S∩T)for all S,T⊆[n].f(S) + f(T) \geq f(S \cup T) + f(S \cap T) \qquad \text{for all } S,T \subseteq [n].

Equivalently, the marginal value f(S∪{i})−f(S)f(S \cup \{i\}) - f(S) of an element ii can only decrease as SS 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 nn, so it sees only a tiny fraction of the 2n2^n 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 ε\varepsilon-far from submodularity if at least an ε\varepsilon 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 ε\varepsilon. An ε\varepsilon-tester queries the function at points of its choice. It must accept every submodular function and reject every function that is ε\varepsilon-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 2n2^n queries. Their tester samples (1/ε)O(nlog⁡n)(1/\varepsilon)^{O(\sqrt{n}\log n)} random squares {S,S∪{i},S∪{j},S∪{i,j}}\{S, S \cup \{i\}, S \cup \{j\}, S \cup \{i,j\}\} and checks whether the slack of the square,

f(S∪{i})+f(S∪{j})−f(S)−f(S∪{i,j}),f(S \cup \{i\}) + f(S \cup \{j\}) - f(S) - f(S \cup \{i,j\}),

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(n/ε)(n/\varepsilon) queries, or with poly(n)(n) queries for constant ε\varepsilon; 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 Ω(n2/log⁡n)\Omega(n^2/\log n) queries. For constant ε\varepsilon, the query complexity of testing submodularity was thus known only to lie between Ω(n2/log⁡n)\Omega(n^2/\log n) and 2O(nlog⁡n)2^{O(\sqrt{n}\log n)}, 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 ε∈(0,1108)\varepsilon \in (0, \frac{1}{10^8}), every ε\varepsilon-tester for submodularity must make at least 2n/52^{\sqrt{n}/5} queries on functions from {0,1}n\{0,1\}^n to R\mathbb{R}.

This bound holds even for adaptive testers with two-sided error. For constant ε\varepsilon, it matches the upper bound of Seshadhri and Vondrák up to a logarithmic factor in the exponent.

References (30)