Table of Contents
Fetching ...

On Optimal Testing of Linearity

Vipul Arora, Esty Kelman, Uri Meir

TL;DR

This work combines different known techniques and observations about linearity testing in order to resolve two recent versions of this task, finding that sample-based testing is resilient to online manipulations, but still achieves optimal query complexity for linearity when $t$ is large.

Abstract

Linearity testing has been a focal problem in property testing of functions. We combine different known techniques and observations about linearity testing in order to resolve two recent versions of this task. First, we focus on the online manipulations model introduced by Kalemaj, Raskhodnikova and Varma (ITCS 2022 \& Theory of Computing 2023). In this model, up to $t$ data entries are adversarially manipulated after each query is answered. Ben-Eliezer, Kelman, Meir, and Raskhodnikova (ITCS 2024) showed an asymptotically optimal linearity tester that is resilient to $t$ manipulations per query, but their approach fails if $t$ is too large. We extend this result, showing an optimal tester for almost any possible value of $t$. First, we simplify their result when $t$ is small, and for larger values of $t$ we instead use sample-based testers, as defined by Goldreich and Ron (ACM Transactions on Computation Theory 2016). A key observation is that sample-based testing is resilient to online manipulations, but still achieves optimal query complexity for linearity when $t$ is large. We complement our result by showing that when $t$ is \emph{very} large, any reasonable property, and in particular linearity, cannot be tested at all. Second, we consider linearity over the reals with proximity parameter $\varepsilon$. Fleming and Yoshida (ITCS 2020) gave a tester using $O(1/\varepsilon\ \cdot log(1/\varepsilon))$ queries. We simplify their algorithms and modify the analysis accordingly, showing an optimal tester that only uses $O(1/\varepsilon)$ queries. This modification works for the low-degree testers presented in Arora, Bhattacharyya, Fleming, Kelman, and Yoshida (SODA 2023) as well, resulting in optimal testers for degree-$d$ polynomials, for any constant degree $d$.

On Optimal Testing of Linearity

TL;DR

This work combines different known techniques and observations about linearity testing in order to resolve two recent versions of this task, finding that sample-based testing is resilient to online manipulations, but still achieves optimal query complexity for linearity when is large.

Abstract

Linearity testing has been a focal problem in property testing of functions. We combine different known techniques and observations about linearity testing in order to resolve two recent versions of this task. First, we focus on the online manipulations model introduced by Kalemaj, Raskhodnikova and Varma (ITCS 2022 \& Theory of Computing 2023). In this model, up to data entries are adversarially manipulated after each query is answered. Ben-Eliezer, Kelman, Meir, and Raskhodnikova (ITCS 2024) showed an asymptotically optimal linearity tester that is resilient to manipulations per query, but their approach fails if is too large. We extend this result, showing an optimal tester for almost any possible value of . First, we simplify their result when is small, and for larger values of we instead use sample-based testers, as defined by Goldreich and Ron (ACM Transactions on Computation Theory 2016). A key observation is that sample-based testing is resilient to online manipulations, but still achieves optimal query complexity for linearity when is large. We complement our result by showing that when is \emph{very} large, any reasonable property, and in particular linearity, cannot be tested at all. Second, we consider linearity over the reals with proximity parameter . Fleming and Yoshida (ITCS 2020) gave a tester using queries. We simplify their algorithms and modify the analysis accordingly, showing an optimal tester that only uses queries. This modification works for the low-degree testers presented in Arora, Bhattacharyya, Fleming, Kelman, and Yoshida (SODA 2023) as well, resulting in optimal testers for degree- polynomials, for any constant degree .

Paper Structure

This paper contains 26 sections, 15 theorems, 28 equations, 1 table, 8 algorithms.

Key Result

Theorem 1

There exists a constant $c>0$ such that for all $n\in\mathbb{N}$, $\varepsilon \in (0, 1/2]$ and $t \leq c\cdot \min{\left\{ \varepsilon^2, 1/n^2 \right\}} \cdot 2^n$, there exists an $\varepsilon$-tester for linearity of multivariate functions $f:\{0,1\}^n\to\{0,1\}$ that is resilient to $t$-online

Theorems & Definitions (29)

  • Theorem 1: Doubly-optimal tester
  • Theorem 2
  • Theorem 3
  • Theorem 4
  • Definition 5: Types of adversaries
  • Definition 6: Online $\varepsilon$-tester
  • Remark
  • Lemma 7: Soundness
  • Lemma 8
  • proof
  • ...and 19 more