We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Mathematics/Autoformalize Mathematical Statements by Symbolic Equivalence and Semantic Consistency
Conference ProceedingsMathematics

Autoformalize Mathematical Statements by Symbolic Equivalence and Semantic Consistency

Checking your access to this record.

Abstract & Overview

Autoformalization, the task of automatically translating natural language descriptions into a formal language, poses a significant challenge across various domains, especially in mathematics. Recent advancements in large language models (LLMs) have unveiled their promising capabilities to formalize even competition-level math problems. However, we observe a considerable discrepancy between pass@1 and pass@k accuracies in LLM-generated formalizations. To address this gap, we introduce a novel framework that scores and selects the best result from k autoformalization candidates based on two complementary self-consistency methods: symbolic equivalence and semantic consistency. Elaborately, symbolic equivalence identifies the logical homogeneity among autoformalization candidates using automated theorem provers, and semantic consistency evaluates the preservation of the original meaning by informalizing the candidates and computing the similarity between the embeddings of the original and informalized texts. Our extensive experiments on the MATH and miniF2F datasets demonstrate that our approach significantly enhances autoformalization accuracy, achieving up to 0.22-1.35x relative improvements across various LLMs and baseline methods.

Cite this record

Zhongyu Li, Yifan Wu, Zhaoyu Li, Xinming Wei, Fan Yang, Xian Zhang, et al. (2024). Autoformalize Mathematical Statements by Symbolic Equivalence and Semantic Consistency. neural information processing systems. https://doi.org/10.52202/079017-1697

Copy in another style

Li, Z., Wu, Y., Li, Z., Wei, X., Yang, F., Zhang, X., & Ma, X. (2024). Autoformalize Mathematical Statements by Symbolic Equivalence and Semantic Consistency. neural information processing systems. https://doi.org/10.52202/079017-1697
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.