A self-corrector for a function $f$ takes a black-box oracle computing $f$ that is correct on most inputs and turns it into one that is correct on every input with high probability. Self-correctors exist for any function that is randomly self-reducible (RSR), where the value $f$ at a given point $x$ can be recovered by computing $f$ on random correlated points. While RSRs enable powerful self-correction capabilities and have applications in complexity theory and cryptography, their discovery has traditionally required manual derivation by experts. We present Bitween, a method and tool for automated learning of randomized self-reductions for mathematical functions. We make two key contributions: First, we demonstrate that our learning framework based on linear regression outperforms sophisticated methods including genetic algorithms, symbolic regression, and mixed-integer linear programming for discovering RSRs from correlated samples. Second, we introduce Agentic Bitween, a neuro-symbolic approach where large language models dynamically discover novel query functions for RSR property discovery, leveraging vanilla Bitween as a tool for inference and verification, moving beyond the fixed query functions ($x+r$, $x-r$, $x \cdot r$, $x$, $r$) previously used in the literature. On RSR-Bench, our benchmark suite of 80 scientific and machine learning functions, vanilla Bitween surpasses existing symbolic methods, while Agentic Bitween discovers new RSR properties using frontier models to uncover query functions.
翻译:函数$f$的自校正器接收一个在大多数输入上正确计算$f$的黑盒预言机,并将其转化为一个以高概率在每个输入上都正确的预言机。自校正器存在于任何随机自可归约的函数中,其中给定点$x$处的值$f$可以通过计算$f$在随机相关点上的值来恢复。尽管随机自可归约能够实现强大的自校正能力,并在复杂性理论和密码学中有应用,但它们的发现传统上需要专家进行手动推导。我们提出了Bitween,一种用于自动学习数学函数随机自可归约的方法和工具。我们做出了两个关键贡献:首先,我们证明了基于线性回归的学习框架在从相关样本中发现随机自可归约方面,优于包括遗传算法、符号回归和混合整数线性规划在内的复杂方法。其次,我们引入了Agentic Bitween,一种神经符号方法,其中大型语言模型动态发现用于随机自可归约属性发现的新查询函数,利用原始Bitween作为推理和验证的工具,超越了文献中先前使用的固定查询函数($x+r$, $x-r$, $x \cdot r$, $x$, $r$)。在RSR-Bench(我们包含80个科学和机器学习函数的基准测试套件)上,原始Bitween超越了现有的符号方法,而Agentic Bitween则利用前沿模型发现新的查询函数,从而揭示了新的随机自可归约属性。