English

Testing Monotonicity of Real-Valued Functions on DAGs

Data Structures and Algorithms 2026-03-24 v2

Abstract

We study monotonicity testing of real-valued functions on directed acyclic graphs (DAGs) with nn vertices. For every constant δ>0\delta>0, we prove a Ω(n1/2δ/ε)\Omega(n^{1/2-\delta}/\sqrt{\varepsilon}) lower bound against non-adaptive two-sided testers on DAGs, nearly matching the classical O(n/ε)O(\sqrt{n/\varepsilon})-query upper bound. For constant ε\varepsilon, we also prove an Ω(n)\Omega(\sqrt n) lower bound for randomized adaptive one-sided testers on explicit bipartite DAGs, whereas previously only an Ω(logn)\Omega(\log n) lower bound was known. A key technical ingredient in both lower bounds is positive-matching Ruzsa--Szemer\'edi families. On the algorithmic side, we give simple non-adaptive one-sided testers with query complexity O(m/(εn))O(\sqrt{m\,\ell}/(\varepsilon n)) and O(m1/3/ε2/3)O(m^{1/3}/\varepsilon^{2/3}), where mm is the number of edges in the transitive reduction and \ell is the number of edges in the transitive closure. For constant ε>0\varepsilon>0, these improve over the previous O(n/ε)O(\sqrt{n/\varepsilon}) bound when m=o(n3)m\ell=o(n^3) and m=o(n3/2)m=o(n^{3/2}), respectively.

Keywords

Cite

@article{arxiv.2602.15341,
  title  = {Testing Monotonicity of Real-Valued Functions on DAGs},
  author = {Yuichi Yoshida},
  journal= {arXiv preprint arXiv:2602.15341},
  year   = {2026}
}
R2 v1 2026-07-01T10:39:30.675Z