paper-with-me

Papers

Learning the Error Patterns of Language Models

2026-05-27 · Jinwoo Kim, Taylor Berg-KirkPatrick, Loris D'Antoni arxiv

When generating outputs for domains with specific validity constraints (e.g., a program should compile), LLMs often fail in a small number of focused ways: for example, by using Python function names when generating TypeScript. We observe that these error patterns can be represented using a small number of constraints that can be learned in practice. We propose \emph{prefix filters}, which are per-domain-and-LLM symbolic functions, as objects to capture the error patterns, Palla as an algorithm to learn prefix filters efficiently in practice, and implement Palla. Prefix filters learned by Palla i) help us quantitatively analyze the error patterns of LLMs, and ii) can be used to constrain the outputs of a model via constrained sampling algorithms. For example, Palla boosts compile rates for Qwen2.5-1.5B on TypeScript generation, by over 60%, allowing Qwen2.5-1.5B to achieve similar performance to Llama3.1-8B unconstrained.

📄 PDF Abstract BibTeX arXiv:2605.28328

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Error Classification of Large Language Models on Math Word Problems: A Dynamically Adaptive Framework

2025-01-26 · Yuhong Sun, Zhangyue Yin, Xuanjing Huang, Xipeng Qiu 외

Large Language Models (LLMs) have demonstrated remarkable capabilities across various domains. Math Word Problems (MWPs) serve as a crucial benchmark for evaluating LLMs' reasoning abilities. While most research primaril…

MathMathematical Reasoning

Spelling Error Trends and Patterns in Sindhi

2014-03-19 · Zeeshan Bhatti, Imdad Ali Ismaili, Asad Ali Shaikh, Waseem Javaid

Statistical error Correction technique is the most accurate and widely used approach today, but for a language like Sindhi which is a low resourced language the trained corpora's are not available, so the statistical tec…

Comparison of L2 Korean pronunciation error patterns from five L1 backgrounds by using automatic phonetic transcription

2023-06-19 · Eun Jung Yeo, Hyungshin Ryu, Jooyoung Lee, Sunhee Kim 외

This paper presents a large-scale analysis of L2 Korean pronunciation error patterns from five different language backgrounds, Chinese, Vietnamese, Japanese, Thai, and English, by using automatic phonetic transcription. …

ToolScan: A Benchmark for Characterizing Errors in Tool-Use LLMs

2024-11-20 · Shirley Kokane, Ming Zhu, Tulika Awalgaonkar, JianGuo Zhang 외

Evaluating Large Language Models (LLMs) is one of the most critical aspects of building a performant compound AI system. Since the output from LLMs propagate to downstream steps, identifying LLM errors is crucial to syst…

Adapting to Learner Errors with Minimal Supervision

2017-12-01 · CL 2017 12 · Alla Rozovskaya, Dan Roth, Mark Sammons

This article considers the problem of correcting errors made by English as a Second Language writers from a machine learning perspective, and addresses an important issue of developing an appropriate training paradigm fo…