Self-Correction Makes LLMs Better Parsers

Ziyan Zhang, Yang Hou, Chen Gong, Zhenghua Li
4/19/2025
cs.CL

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) have achieved remarkable success across various natural language processing (NLP) tasks. However, recent studies suggest that they still face challenges in performing fundamental NLP tasks essential for deep language understanding, particularly syntactic parsing. In this paper, we conduct an in-depth analysis of LLM parsing capabilities, delving into the specific shortcomings of their parsing results. We find that LLMs may stem from limitations to fully leverage grammar rules in existing treebanks, which restricts their capability to generate valid syntactic structures. To help LLMs acquire knowledge without additional training, we propose a self-correction method that leverages grammar rules from existing treebanks to guide LLMs in correcting previous errors. Specifically, we automatically detect potential errors and dynamically search for relevant rules, offering hints and examples to guide LLMs in making corrections themselves. Experimental results on three datasets with various LLMs, demonstrate that our method significantly improves performance in both in-domain and cross-domain settings on the English and Chinese datasets.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2025selfcorrection,
  title  = {Self-Correction Makes LLMs Better Parsers},
  author = {Ziyan Zhang and Yang Hou and Chen Gong and Zhenghua Li},
  year   = {2025},
  eprint = {2504.14165},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.14165v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.14165.svg)](https://codeofpaper.com/paper/2504.14165)

Discussion