mlsanityData to 14 Oct 2026

TaskEval: Assessing Difficulty of Code Generation Tasks for Large Language Models

arXiv 2407.21227 ↗First posted 30 Jul 2024cs.SE cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) excel in code-related tasks like code generation, but benchmark evaluations often overlook task characteristics, such as difficulty. Moreover, benchmarks are usually built using tasks described with a single prompt, despite the formulation of prompts having a profound impact on the outcome. This paper introduces a generalist approach, TaskEval, a framework using diverse prompts and Item Response Theory (IRT) to efficiently assess LLMs' capabilities and benchmark task characteristics, improving the understanding of their performance. Using two code generation benchmarks, textitHumanEval+ and textitClassEval, as well as 8 code generation LLMs, we show that textitTaskEval is capable of characterising the properties of tasks. Using topic analysis, we identify and analyse the tasks of 17 and 21 topics within the benchmarks. We also cross-analyse tasks' characteristics with programming constructs (e.g., variable assignment, conditions, etc.) used by LLMs, emphasising some patterns with tasks' difficulty. Finally, we conduct a comparison between the difficulty assessment of tasks by human annotators and LLMs. Orthogonal to current benchmarking evaluation efforts, textitTaskEval can assist researchers and practitioners in fostering better assessments of LLMs. The tasks' characteristics can be used to identify shortcomings within existing benchmarks or improve the evaluation of LLMs.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 46 of its 92 references that are in the map. First posted on arXiv 30 Jul 2024.

Builds on

46 of 92 references.

References · 46

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  3. 2021Program Synthesis with Large Language Modelscited by 3,637
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  5. 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,898
  6. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
  7. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  8. 2024Qwen2 Technical Reportcited by 2,120
  9. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
  10. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  11. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  12. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
34 more
  1. 2023Teaching Large Language Models to Self-Debugcited by 988
  2. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  3. 2021Measuring Coding Challenge Competence With APPScited by 902
  4. 2022BERTopic: Neural topic modeling with a class-based TF-IDF procedurecited by 801
  5. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
  6. 2024Yi: Open Foundation Models by 01.AIcited by 719
  7. 2024A Survey on Large Language Models for Code Generationcited by 658
  8. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
  9. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
  10. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
  11. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  12. 2023State of What Art? A Call for Multi-Prompt LLM Evaluationcited by 310
  13. 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 216
  14. 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 168
  15. 2022Multi-lingual Evaluation of Code Generation Modelscited by 159
  16. 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 152
  17. 2023An Empirical Study of the Non-determinism of ChatGPT in Code Generationcited by 137
  18. 2023Rephrase and Respond: Let Large Language Models Ask Better Questions for Themselvescited by 123
  19. 2023InferFix: End-to-End Program Repair with LLMscited by 114
  20. 2022ReCode: Robustness Evaluation of Code Generation Modelscited by 103
  21. 2024A Systematic Survey and Critical Review on Evaluating Large Language Models: Challenges, Limitations, and Recommendationscited by 85
  22. 2023Evaluating the Code Quality of AI-Assisted Code Generation Tools: An Empirical Study on GitHub Copilot, Amazon CodeWhisperer, and ChatGPTcited by 71
  23. 2024Inadequacies of Large Language Model Benchmarks in the Era of Generative Artificial Intelligencecited by 68
  24. 2023On the Robustness of Code Generation Techniques: An Empirical Study on GitHub Copilotcited by 64
  25. 2024Bugs in Large Language Models Generated Code: An Empirical Studycited by 60
  26. 2021Comparing Test Sets with Item Response Theorycited by 57
  27. 2024Top Leaderboard Ranking = Top Coding Proficiency, Always? EvoEval: Evolving Coding Benchmarks via LLMcited by 40
  28. 2023Mind the instructions: a holistic evaluation of consistency and interactions in prompt-based learningcited by 31
  29. 2024Using AI Assistants in Software Development: A Qualitative Study on Security Practices and Concernscited by 28
  30. 2023Assessing the Security of GitHub Copilot Generated Code -- A Targeted Replication Studycited by 26
  31. 2024LLMs in Web Development: Evaluating LLM-Generated PHP Code Unveiling Vulnerabilities and Limitationscited by 22
  32. 2019β3-IRT: A New Item Response Model and its Applicationscited by 17
  33. 2024Validating LLM-Generated Programs with Metamorphic Prompt Testingcited by 6
  34. 2023β4-IRT: A New β3-IRT with Enhanced Discrimination Estimationcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.