TL;DR
This paper introduces Bitween, an automated system for discovering randomized self-reductions (RSRs), which are crucial for self-correcting programs and cryptographic protocols. Bitween, particularly its neuro-symbolic variant, significantly outperforms previous manual methods and pure neural approaches by learning RSRs for a vast number of functions and even discovering novel query functions.
What Problem Does This Paper Address?
Randomized self-reductions (RSRs) are powerful mathematical properties that allow a function $f(x)$ to be computed using evaluations of $f$ at randomly correlated points. These RSRs have important applications in areas like cryptography (e.g., self-correcting programs, instance-hiding protocols) and theoretical computer science. However, for over 40 years, discovering these RSRs has been a manual, expert-driven process, severely limiting their practical use. Existing automated methods were restricted to a small, fixed set of query functions, failing to capture the complex relationships needed for many real-world functions. The core challenge is to automatically discover both the appropriate query functions and the algebraic relationships that constitute an RSR.
Methods
The paper presents Bitween, a framework for automated RSR learning. It has two main variants:
- Vanilla Bitween (V-Bitween): This variant focuses on learning RSRs using a fixed set of query functions (e.g., $x+r$, $x-r$, $x \cdot r$, $x$, $r$). It formulates RSR discovery as a supervised learning problem, using linear regression (specifically, sparsifying linear regression) as a backend to find polynomial relationships between function evaluations. V-Bitween integrates and compares several symbolic regression backends, finding that linear regression performs best.
- Agentic Bitween (A-Bitween): This is a neuro-symbolic approach that enhances V-Bitween by incorporating Large Language Models (LLMs). The LLM agents dynamically propose novel query functions beyond the fixed set, allowing Bitween to explore a much richer hypothesis space. These agents leverage tools for symbolic verification and property inference to guide their search and ensure the discovered properties are mathematically sound.
The overall Bitween pipeline involves:
- Constructing a query class and recovery class.
- Simulating function evaluations using a program (II) and sampled data.
- Formulating an unsupervised learning problem and splitting data.
- Using regression models to find coefficients and reduce dimensionality.
- Applying rational approximation to convert coefficients to interpretable forms.
- Formally verifying discovered properties.
Datasets
The primary dataset used for evaluation is RSR-Bench, a newly introduced benchmark suite comprising 80 scientific and machine-learning functions across various categories (basic arithmetic, exponential, logarithmic, trigonometric, hyperbolic, inverse trigonometric, ML activations, and special mathematical functions). RSR-Bench was curated from self-testing literature and functional-equation theory. The paper also mentions evaluating on 17 additional benchmarks drawn from non-scalar algebraic structures (matrices, quaternions, etc.) to test the framework's generalization.
Key Insights and Ideas
- Automating RSR Discovery is Feasible: The paper demonstrates that RSR discovery, previously a manual and expert-intensive task, can be effectively automated.
- Linear Regression as a Strong Backend: For learning RSRs with fixed query functions, linear regression proved to be a surprisingly effective and efficient backend compared to more complex symbolic regression or mixed-integer programming approaches.
- LLMs Unlock Novel Query Functions: The most significant insight is the power of LLMs in Agentic Bitween to propose novel query functions. This dramatically expands the search space for RSRs, leading to the discovery of properties that were previously inaccessible.
- Neuro-Symbolic Approach is Key: Combining LLM-driven exploration with symbolic verification and regression backends creates a powerful synergy, leading to higher accuracy and fewer false positives than pure neural methods.
- RSRs Generalize to Algebraic Structures: The Bitween framework, particularly Agentic Bitween, shows remarkable ability to discover RSRs for non-scalar algebraic structures without architectural changes, highlighting its broad applicability.
Key Results
- V-Bitween (Linear Regression Backend): Discovered RSRs for 43 out of 80 functions (54%) in RSR-Bench, including the first known RSR for the sigmoid function.
- Agentic Bitween (A-Bitween): Discovered RSRs for 64 out of 80 functions (80%) in RSR-Bench, significantly outperforming V-Bitween and pure neural baselines.
- Novel Query Functions: A-Bitween discovered numerous novel query functions (e.g., $x + \log(k)$, $\sqrt{x^2+y^2}$) that enabled the discovery of RSRs for functions that V-Bitween could not handle.
- Algebraic Structures: A-Bitween successfully discovered verified RSRs for all 17 tested non-scalar algebraic structure benchmarks.
- Efficiency: V-Bitween-LR and V-Bitween-MILP were found to be the fastest symbolic backends, while A-Bitween's tool-use loop introduced some overhead compared to pure neural methods but yielded significantly more results.
Limitations and Future Work
- Incompleteness: The paper acknowledges that the absence of a discovered RSR does not imply non-existence. The infinite space of query functions, numerical precision limits, and the chosen degree bounds (2-3) constrain discovery. Functions requiring higher-degree terms or different mathematical representations might be missed.
- Redundancy: Discovered RSR properties may contain algebraic redundancies. While Gröbner basis reduction could address this, its NP-complete complexity makes it impractical at scale.
- Generalization to Finite Fields: The authors suggest future work on extending regression backends to finite-field arithmetic and exploring broader mathematical domains.
- Agnostic Setting: The current framework assumes functions are RSR-learnable. The agnostic setting, where this assumption doesn't hold, is left for future work.
- Hyperparameter Tuning: While the paper aimed for fair comparison without per-function tuning, more systematic hyperparameter searches might enable recently developed tools (like RAG-SR, MetaSymNet) to work under their constraints.
Summary updated