arXiv:2508.16531cs.DScs.LG2025-08被引 3

用少量查询检测随机图是否质量达标,效率远超传统方法。

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

  • 设计新框架:通过质量函数与分布匹配,实现亚线性时间验证。
  • 对k-团计数,仅需p^{-O(k)}次查询,比传统方法快指数级。
  • 适用于任意图基元,适合大规模图数据的快速质检场景。

许多算法在平均输入下表现良好,但面对任意输入时需判断其可信度。本文提出‘质量控制问题’新范式:给定一个质量函数ρ和分布D,其中从D采样的样本具有高ρ值(接近1),目标是接受来自D的输入,拒绝对抗生成的低质量输入。该任务弱于单独的分布测试或质量检验,但可实现更高效算法。本文研究亚线性版本,设D = G_{n,p}(N = inom{n}{2}),质量函数为ρ_k := C_k(G)/ℕ_{G' ∼ G_{n,p}}[C_k(G')],其中C_k(G)为图中k-团数量。单次采样下测试G ∼ G_{n,p}不可能;直接测试ρ_k ≈ 1需p^{-Ω(k^2)}样本。而本工作证明,在n ≥ p^{-ck}条件下,质量控制问题仅需p^{-O(k)}次查询与计算时间,效率呈超多项式提升。更一般地,对最大度Δ(H)的图基元H,所需查询与时间均为p^{-O(Δ(H))}。

原文摘要 · Abstract (English)

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 \sim 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) \approx 1$" or testing if $x \sim D$, and offers the possibility of more efficient algorithms. In this work, we consider the sublinear version of the quality control problem, where $D \in Δ(\{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 = G_{n,p}$ (and $N = \binom{n}2$), and the $k$-clique count function $ρ_k := C_k(G)/\mathbb{E}_{G' \sim G_{n,p}}[C_k(G')]$, where $C_k(G)$ is the number of $k$-cliques in $G$. Testing if $G \sim G_{n,p}$ with one sample, let alone with sublinear query access to the sample, is of course impossible. Testing if $ρ_k(G)\approx 1$ requires $p^{-Ω(k^2)}$ samples. In contrast, we show that the quality control problem for $G_{n,p}$ (with $n \geq 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.

图分析质量控制亚线性算法

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。