Learning Randomized Reductions and Program Properties
Erata, Ferhat, Paradise, Orr, Antonopoulos, Timos, Nguyen, ThanhVu, Goldwasser, Shafi, Piskac, Ruzica
–arXiv.org Artificial Intelligence
The correctness of computations remains a significant challenge in computer science, with traditional approaches relying on automated testing or formal verification. Self-testing/correcting programs introduce an alternative paradigm, allowing a program to verify and correct its own outputs via randomized reductions, a concept that previously required manual derivation. In this paper, we present Bitween, a method and tool for automated learning of randomized (self)-reductions and program properties in numerical programs. Bitween combines symbolic analysis and machine learning, with a surprising finding: polynomial-time linear regression, a basic optimization method, is not only sufficient but also highly effective for deriving complex randomized self-reductions and program invariants, often outperforming sophisticated mixed-integer linear programming solvers. We establish a theoretical framework for learning these reductions and introduce RSR-Bench, a benchmark suite for evaluating Bitween's capabilities on scientific and machine learning functions. Our empirical results show that Bitween surpasses state-of-the-art tools in scalability, stability, and sample efficiency when evaluated on nonlinear invariant benchmarks like NLA-DigBench. Bitween is open-source as a Python package and accessible via a web interface that supports C language programs.
arXiv.org Artificial Intelligence
Dec-23-2024
- Country:
- Africa > Sudan (0.04)
- Asia > Vietnam
- Hải Dương Province > Hải Dương (0.04)
- Europe
- France > Auvergne-Rhône-Alpes
- Italy > Lazio
- Rome (0.04)
- Spain (0.04)
- Switzerland > Basel-City
- Basel (0.04)
- United Kingdom > England
- Cambridgeshire > Cambridge (0.04)
- North America
- Canada
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- Quebec > Montreal (0.04)
- British Columbia > Metro Vancouver Regional District
- United States
- California
- Santa Clara County > Palo Alto (0.04)
- Santa Cruz County > Santa Cruz (0.04)
- Connecticut > New Haven County
- New Haven (0.04)
- Illinois > Cook County
- Chicago (0.04)
- New Jersey
- Mercer County > Princeton (0.04)
- Middlesex County > Piscataway (0.04)
- New York > Monroe County
- Rochester (0.04)
- Virginia > Fairfax County
- Fairfax (0.04)
- California
- Canada
- Oceania > New Zealand
- North Island > Auckland Region > Auckland (0.04)
- Genre:
- Research Report > New Finding (0.48)