mlsanityData to 7 Oct 2026

CatCode: A Comprehensive Evaluation Framework for LLMs On the Mixture of Code and Text

arXiv 2403.01784 ↗First posted 4 Mar 2024cs.AI cs.PLcited by 0

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) such as ChatGPT are increasingly proficient in understanding and generating a mixture of code and text. Evaluation based on such textitmixture can lead to a more comprehensive understanding of the models' abilities in solving coding problems. However, in this context, current evaluation methods are either limited in task coverage or lack standardization. To address this issue, we propose using category theory as a framework for evaluation. Specifically, morphisms within a code category can represent code debugging and transformation, functors between two categories represent code translation, and functors between a code category and a natural language category represent code generation, explanation, and reproduction. We present an automatic evaluation framework called CatCode (Category Code) that can comprehensively assess the coding abilities of LLMs, including ChatGPT, Text-Davinci, and CodeGeeX.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 25 references that are in the map. First posted on arXiv 4 Mar 2024.

Builds on

17 of 25 references.

References · 17

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  4. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  5. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  6. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  7. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
  8. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  9. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  10. 2021Unified Pre-training for Program Understanding and Generationcited by 361
  11. 2020IntelliCode Compose: Code Generation Using Transformercited by 225
  12. 2022Multi-lingual Evaluation of Code Generation Modelscited by 158
5 more
  1. 2019Adversarial Examples for Models of Codecited by 61
  2. 2020Semantic Robustness of Models of Source Codecited by 43
  3. 2020On the Generalizability of Neural Program Models with respect to Semantic-Preserving Program Transformationscited by 41
  4. 2019Testing Neural Program Analyzerscited by 1
  5. 2022Category Theory for Programmingcited by 1

Built on by

Not cited yet.