mlsanityData to 7 Oct 2026

ConCodeEval: Evaluating Large Language Models for Code Constraints in Domain-Specific Languages

arXiv 2407.03387 ↗First posted 3 Jul 2024cs.SE cs.AI cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Recent work shows Large Language Models (LLMs) struggle to understand natural language constraints for various text generation tasks in zero- and few-shot settings. While, in the code domain, there is wide usage of constraints in code format to maintain the integrity of code written in Domain-Specific Languages (DSLs) like JSON and YAML which are widely used for system-level programming tasks in enterprises. Given that LLMs are increasingly used for system-level code tasks, evaluating if they can comprehend these code constraints is crucial. However, no work has been done to evaluate their controllability over code constraints. Hence, we introduce ConCodeEval, a first-of-its-kind benchmark having two novel tasks for code constraints across five representations. Our findings suggest that language models struggle with code constraints. Code languages that perform excellently for normal code tasks do not perform well when the same languages represent fine-grained constraints.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 18 of its 30 references that are in the map. First posted on arXiv 3 Jul 2024.

Builds on

18 of 30 references.

References · 18

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2021Program Synthesis with Large Language Modelscited by 3,509
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  5. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  6. 2021Measuring Coding Challenge Competence With APPScited by 879
  7. 2023Large Language Modelscited by 774
  8. 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 729
  9. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
  10. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
  11. 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 186
  12. 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
6 more
  1. 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 132
  2. 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 116
  3. 2023Are Large Language Model-based Evaluators the Solution to Scaling Up Multilingual Evaluation?cited by 87
  4. 2023Evaluating Large Language Models on Controlled Generation Taskscited by 73
  5. 2020LightPAFF: A Two-Stage Distillation Framework for Pre-training and Fine-tuningcited by 25
  6. 2024DocCGen: Document-based Controlled Code Generationcited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.