Skip to main content
Cornell University
Learn about arXiv becoming an independent nonprofit.
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2505.13252

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Computation and Language

arXiv:2505.13252 (cs)
[Submitted on 19 May 2025 (v1), last revised 31 Mar 2026 (this version, v4)]

Title:A Reality Check of Language Models as Formalizers on Constraint Satisfaction Problems

Authors:Rikhil Amonkar, Ceyhun Efe Kayan, Qimei Lai, Ronan Le Bras, Li Zhang
View a PDF of the paper titled A Reality Check of Language Models as Formalizers on Constraint Satisfaction Problems, by Rikhil Amonkar and 4 other authors
View PDF
Abstract:Recent work shows superior performance when using large language models (LLMs) as formalizers instead of as end-to-end solvers for symbolic reasoning problems. Given the problem description, the LLM generates a formal program that derives a solution via an external solver. We systematically investigate the formalization capability of LLMs on real-life constraint satisfaction problems on 4 benchmarks, 6 LLMs, and 2 types of formal languages. We show that LLM-as-formalizer by no means trivializes the problem but underperforms LLM-as-solver in 15 out of 24 model-dataset combinations, despite the former's verifiability and interpretability. Although the formalization space is magnitudes smaller than the search space, our scaling analysis shows that LLM-as-formalizer still drastically degrades as problem complexity increases similar to LLM-as-solver. To better understand this limitation, we observe excessive, solver-like reasoning tokens that sometimes lead to hard-coded solutions, highlighting a key challenge for improving LLM-based formalization.
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2505.13252 [cs.CL]
  (or arXiv:2505.13252v4 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2505.13252
arXiv-issued DOI via DataCite

Submission history

From: Li Zhang [view email]
[v1] Mon, 19 May 2025 15:35:17 UTC (9,246 KB)
[v2] Fri, 19 Sep 2025 15:19:24 UTC (1,847 KB)
[v3] Fri, 6 Feb 2026 02:01:10 UTC (10,752 KB)
[v4] Tue, 31 Mar 2026 14:53:46 UTC (1,854 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled A Reality Check of Language Models as Formalizers on Constraint Satisfaction Problems, by Rikhil Amonkar and 4 other authors
  • View PDF
  • TeX Source
license icon view license

Current browse context:

cs.CL
< prev   |   next >
new | recent | 2025-05
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status

Advertisement
Advertisement