Challenge: Existing research demonstrates the effectiveness of grammar-based code representations in small-scale models, showing their ability to reduce syntax errors and enhance performance.
Approach: They develop a series of billion-scale grammar-based code representations that incorporate grammar rules into the code generation process.
Outcome: Experiments on HumanEval and MBPP show that grammar-based representations reduce syntax errors and improve performance even in billion-scale models.

Similar Papers

Can LLMs Help Create Grammar?: Automating Grammar Creation for Endangered Languages with In-Context Learning (2025.coling-main)

Copied to clipboard

Challenge: a new study examines the potential of large language models for documenting endangered languages . the model can be used to generate grammatical information for low-resource languages despite limitations .
Approach: They examine the efficacy of LLMs in generating grammatical information for low-resource languages . they use bilingual dictionaries and parallel sentences of the unknown language as a case study .
Outcome: The proposed model produces coherent grammatical rules and lexical entries using bilingual dictionaries and parallel sentences of the unknown language without building the model from scratch.
GRAMMAR-LLM: Grammar-Constrained Natural Language Generation (2025.findings-acl)

Copied to clipboard

Challenge: Existing approaches to fine-tuning and prompting are insufficient to ensure compliance with predefined taxonomies, syntactic structures, or domain-specific rules.
Approach: They propose a framework that integrates formal grammatical constraints into the decoding process to enforce syntactic correctness in linear time while maintaining expressiveness in grammar rule definition.
Outcome: The proposed framework enforces syntactic correctness in linear time while maintaining expressiveness in grammar rule definition.
code-transformed: The Influence of Large Language Models on Code (2026.findings-eacl)

Copied to clipboard

Challenge: Using Large Language Models, code generation capabilities have transformed programming practices.
Approach: They analyze 20,000 GitHub repositories linked to arXiv papers published between 2020 and 2025 . they identify measurable trends in the evolution of coding style that align with LLM-generated code .
Outcome: The proposed study examines 20,000 GitHub repositories linked to arXiv papers . it finds that LLMs influence code style, and that they can be observed in real-world code .
Grammar-Constrained Decoding Makes Large Language Models Better Logical Parsers (2025.acl-industry)

Copied to clipboard

Challenge: Large Language Models (LLMs) have shown capabilities in various natural language processing tasks, yet struggle with logical reasoning.
Approach: They propose to combine Large Language Models with symbolic reasoners to improve syntactic correctness and semantic accuracy in logical parsing tasks.
Outcome: The proposed approach improves syntactic correctness and semantic accuracy in logical parsing tasks.
Can docstring reformulation with an LLM improve code generation? (2024.eacl-srw)

Copied to clipboard

Challenge: Existing approaches focus on training, fine-tuning or prompting LLMs to generate better outputs given the same input.
Approach: They propose to optimize part of the input, the docstring, via reformulation with an LLM to improve code generation.
Outcome: The proposed methods improve code generation on the original HumanEval benchmark and multiple curated variants on the same input.
How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advances (2023.emnlp-main)

Copied to clipboard

Challenge: Large language models (LLMs) are impressive in solving tasks, but they can quickly be outdated after deployment.
Approach: They provide a review of recent advances in aligning deployed large language models with the ever-changing world knowledge.
Outcome: The proposed models can be used to perform various tasks directly through in-context learning or for further fine-tuning for domain-specific uses.
PythonSaga: Redefining the Benchmark to Evaluate Code Generating LLMs (2024.findings-emnlp)

Copied to clipboard

Challenge: *HumanEval* and *MBPP* are two popular benchmarks for Python code generation.
Approach: They propose a large-scale human evaluation of two popular Python benchmarks . they propose 185 hand-crafted prompts in a balanced representation of 38 programming concepts across diverse difficulty levels.
Outcome: The proposed benchmarks show a critical bias towards a limited set of programming concepts, neglecting most of the other concepts entirely.
The Program Testing Ability of Large Language Models for Code (2024.emnlp-industry)

Copied to clipboard

Challenge: Recent development of large language models (LLMs) for code shows promise in achieving code intelligence.
Approach: They explore the ability of large language models to generate automated test cases . they show +11.77% and +4.22% higher code pass rates on HumanEval+ .
Outcome: The proposed models show higher pass rates on humanEval+ compared with the current state-of-the-art models.
TokDrift: When LLM Speaks in Subwords but Code Speaks in Grammar (2026.acl-long)

Copied to clipboard

Challenge: Large language models (LLMs) for code rely on subword tokenizers learned from mixed natural language text and programming language code but driven by statistics rather than grammar.
Approach: They propose a framework that applies semantic-preserving rewrite rules to create code variants differing only in tokenization.
Outcome: The proposed framework can create code variants differing only in tokenization . the findings highlight the need for grammar-aware tokenization for future code LLMs.
The impact of lexical and grammatical processing on generating code from natural language (2022.findings-acl)

Copied to clipboard

Challenge: Yin and Neubig (2018) identify four key components of importance for natural language to code translation.
Approach: They propose a seq2seq-based architecture that relies on a grammar-based decoder and a lexical substitution component for natural language to code translation.
Outcome: The proposed architecture relies on a grammar-based decoder and a BERT encoder . the proposed architecture is based on lexical substitutions in natural language to code translation .

What is GenGO?

GenGO is an NLP powered publication search system. It currenctly indexes 30k+ papers from ACL Anthology, and implements multi-aspect summarization, semantic search, and more!

Information

About
Limitations