Pith. sign in

REVIEW 3 cited by

Exploring the Robustness of Large Language Models for Solving Programming Problems

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 2306.14583 v1 pith:ERZNNMCP submitted 2023-06-26 cs.CL cs.AIcs.SE

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

Using large language models (LLMs) for source code has recently gained attention. LLMs, such as Transformer-based models like Codex and ChatGPT, have been shown to be highly capable of solving a wide range of programming problems. However, the extent to which LLMs understand problem descriptions and generate programs accordingly or just retrieve source code from the most relevant problem in training data based on superficial cues has not been discovered yet. To explore this research question, we conduct experiments to understand the robustness of several popular LLMs, CodeGen and GPT-3.5 series models, capable of tackling code generation tasks in introductory programming problems. Our experimental results show that CodeGen and Codex are sensitive to the superficial modifications of problem descriptions and significantly impact code generation performance. Furthermore, we observe that Codex relies on variable names, as randomized variables decrease the solved rate significantly. However, the state-of-the-art (SOTA) models, such as InstructGPT and ChatGPT, show higher robustness to superficial modifications and have an outstanding capability for solving programming problems. This highlights the fact that slight modifications to the prompts given to the LLMs can greatly affect code generation performance, and careful formatting of prompts is essential for high-quality code generation, while the SOTA models are becoming more robust to perturbations.

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 5 citations worldwide. Full citation record

  1. Smaller = Weaker? Benchmarking Robustness of Quantized LLMs in Code Generation

    cs.SE 2025-06 reject novelty 5.0 of 10

    Quantized code LLMs appear more robust than full-precision ones in a majority of tested adversarial and noise scenarios, but the proposed Relative Robustness Score is misspecified.

  2. Enhancing LLM Character-Level Manipulation via Divide and Conquer

    cs.CL 2025-02 conditional novelty 4.0 of 10

    ToCAD, a three-stage divide-and-conquer prompt, atomizes words into spaced letters, edits them, and reconstructs, sharply improving LLM exact-match accuracy on deletion, insertion, and substitution tasks.

  3. Evaluating and Improving Robustness in Large Language Models: A Survey and Future Directions

    cs.CL 2025-06 conditional novelty 3.0 of 10

    LLM robustness research is organized into adversarial robustness, out-of-distribution robustness, and evaluation, with an accompanying GitHub collection of papers.

Pith tools