Tolerant Testers of Image Properties
Open Access
- 10 October 2022
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Algorithms
- Vol. 18 (4) , 1-39
Abstract
We initiate a systematic study of tolerant testers of image properties or, equivalently, algorithms that approximate the distance from a given image to the desired property. Image processing is a particularly compelling area of applications for sublinear-time algorithms and, specifically, property testing. However, for testing algorithms to reach their full potential in image processing, they have to be tolerant, which allows them to be resilient to noise. We design efficient approximation algorithms for the following fundamental questions: What fraction of pixels have to be changed in an image so it becomes a half-plane? A representation of a convex object? A representation of a connected object? More precisely, our algorithms approximate the distance to three basic properties (being a half-plane, convexity, and connectedness) within a small additive error ε, after reading poly (1/ε) pixels, independent of the image size. We also design an efficient agnostic proper PAC learner of convex sets (continuous and discrete) in two dimensions under the uniform distribution. Our algorithms require very simple access to the input: uniform random samples for the half-plane property and convexity, and samples from uniformly random blocks for connectedness. However, the analysis of the algorithms, especially for convexity, requires many geometric and combinatorial insights. For example, in the analysis of the algorithm for convexity, we define a set of reference polygons P ε such that (1) every convex image has a nearby polygon in P ε and (2) one can use dynamic programming to quickly compute the smallest empirical distance to a polygon in P ε .Keywords
Funding Information
- NSF CAREER (CCF-0845701)
- NSF award (CCF-1422975, CCF-1909612)
- Boston University’s Hariri Institute for Computing and Center for Reliable Information Systems and Cyber Security
- Simons Investigator grant to Salil Vadhan
This publication has 28 references indexed in Scilit:
- Is Submodularity Testable?Algorithmica, 2012
- Strong Lower Bounds for Approximating Distribution Support Size and the Distinct Elements ProblemSIAM Journal on Computing, 2009
- Agnostically Learning HalfspacesSIAM Journal on Computing, 2008
- Extremal problems for convex lattice polytopes: a survey2008
- Tolerant property testing and distance approximationJournal of Computer and System Sciences, 2006
- Property Testing in Bounded Degree GraphsAlgorithmica, 2002
- Property testing and its connection to learning and approximationJournal of the ACM, 1998
- Decision theoretic generalizations of the PAC model for neural net and other learning applicationsInformation and Computation, 1992
- A general lower bound on the number of examples needed for learningInformation and Computation, 1989
- A theory of the learnableCommunications of the ACM, 1984