Quality control in sublinear time: a case study via random graphs

Abstract

Many algorithms are designed to work well on average over inputs. When running such an algorithm on an arbitrary input, we must ask: Can we trust the algorithm on this input? We identify a new class of algorithmic problems addressing this, which we call "Quality Control Problems." These problems are specified by a (positive, real-valued) "quality function" and a distribution D such that, with high probability, a sample drawn from D is "high quality," meaning its -value is near 1. The goal is to accept inputs x D and reject potentially adversarially generated inputs x with (x) far from 1. The objective of quality control is thus weaker than either component problem: testing for "(x) ≈ 1" or testing if x D, and offers the possibility of more efficient algorithms. In this work, we consider the sublinear version of the quality control problem, where D ∈ (\0,1\N) and the goal is to solve the (D ,)-quality problem with o(N) queries and time. As a case study, we consider random graphs, i.e., D = Gn,p (and N = n2), and the k-clique count function k := Ck(G)/EG' Gn,p[Ck(G')], where Ck(G) is the number of k-cliques in G. Testing if G Gn,p with one sample, let alone with sublinear query access to the sample, is of course impossible. Testing if k(G)≈ 1 requires p-(k2) samples. In contrast, we show that the quality control problem for Gn,p (with n ≥ p-ck for some constant c) with respect to k can be tested with p-O(k) queries and time, showing quality control is provably superpolynomially more efficient in this setting. More generally, for a motif H of maximum degree (H), the respective quality control problem can be solved with p-O((H)) queries and running time.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…