arXiv:2601.13731cs.SCcs.LG2026-01被引 1

用自监督任务预训练模型,显著提升代数分解变量排序效率

Breaking the Data Barrier in Learning Symbolic Computation: A Case Study on Variable Ordering Suggestion for Cylindrical Algebraic Decomposition

  • 设计可生成大量标注数据的关联任务,解决数据稀缺难题
  • 在公开数据集上,预测排序平均优于最佳启发式方法
  • 适合对符号计算加速感兴趣的算法与系统研究者

符号计算依赖现代计算机代数系统,在数学推理中通过精确高维计算发挥重要作用。其效率受制于高维深度计算,导致利用监督学习加速时标签数据难以获取。柱状代数分解(CAD)是实数上一阶逻辑公式推理的核心方法,广泛应用于形式化验证与自动定理证明,其效率极大依赖变量顺序。由于标注数据匮乏,现有学习方法仅能媲美最优专家启发式。本文通过设计一系列紧密关联的任务,可轻松生成大量标注数据,先用这些数据预训练Transformer模型,再在CAD排序数据集上微调。实验表明,新模型预测的变量顺序在公开数据集上平均显著优于最佳启发式方法。

原文摘要 · Abstract (English)

Symbolic computation, powered by modern computer algebra systems, has important applications in mathematical reasoning through exact deep computations. The efficiency of symbolic computation is largely constrained by such deep computations in high dimension. This creates a fundamental barrier on labelled data acquisition if leveraging supervised deep learning to accelerate symbolic computation. Cylindrical algebraic decomposition (CAD) is a pillar symbolic computation method for reasoning with first-order logic formulas over reals with many applications in formal verification and automatic theorem proving. Variable orderings have a huge impact on its efficiency. Impeded by the difficulty to acquire abundant labelled data, existing learning-based approaches are only competitive with the best expert-based heuristics. In this work, we address this problem by designing a series of intimately connected tasks for which a large amount of annotated data can be easily obtained. We pre-train a Transformer model with these data and then fine-tune it on the datasets for CAD ordering. Experiments on publicly available CAD ordering datasets show that on average the orderings predicted by the new model are significantly better than those suggested by the best heuristic methods.

符号计算变量排序TransformerCAD

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。