Pith. sign in

REVIEW 3 cited by

LLM-Assisted Code Cleaning For Training Accurate Code Generators

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2311.14904 v1 pith:UYJ7M7JW submitted 2023-11-25 cs.LG cs.SE

classification cs.LGcs.SE
keywords codeperformancedatadatasetgenerationmodelsprogramsfind
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Natural language to code generation is an important application area of LLMs and has received wide attention from the community. The majority of relevant studies have exclusively concentrated on increasing the quantity and functional correctness of training sets while disregarding other stylistic elements of programs. More recently, data quality has garnered a lot of interest and multiple works have showcased its importance for improving performance. In this work, we investigate data quality for code and find that making the code more structured and readable leads to improved code generation performance of the system. We build a novel data-cleaning pipeline that uses these principles to transform existing programs by 1.) renaming variables, 2.) modularizing and decomposing complex code into smaller helper sub-functions, and 3.) inserting natural-language based plans via LLM based transformations. We evaluate our approach on two challenging algorithmic code generation benchmarks and find that fine-tuning CodeLLaMa-7B on our transformed modularized programs improves the performance by up to 30% compared to fine-tuning on the original dataset. Additionally, we demonstrate improved performance from using a smaller amount of higher-quality data, finding that a model fine-tuned on the entire original dataset is outperformed by a model trained on 15% of our cleaned dataset. Even in comparison to closed-source models, our models outperform the much larger AlphaCoder models.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. OpenAlex reports about 4 citations worldwide. Full citation record

  1. JARVIS: A Multi-Agent Code Assistant for High-Quality EDA Script Generation

    cs.SE 2025-05 conditional novelty 6.0 of 10

    A multi-agent LLM framework with rule enforcement, compiler feedback, and retrieval achieves 92/93/81% pass@1 on three self-built EDA benchmarks, up from 67/62/43% for the best single model.

  2. SecVulEval: Benchmarking LLMs for Real-World C/C++ Vulnerability Detection

    cs.SE 2025-05 conditional novelty 5.0 of 10

    SecVulEval provides a statement-level C/C++ vulnerability benchmark with context; state-of-the-art LLMs achieve only 23.83% F1 on locating vulnerable statements with correct reasoning.

  3. Readability-Robust Code Summarization via Meta Curriculum Learning

    cs.SE 2026-01 conditional novelty 4.0 of 10

    A meta-curriculum fine-tuning method improves summary quality on obfuscated Python code while slightly improving quality on clean code.

Pith tools