mlsanityData to 14 Oct 2026

Understanding Code Semantics: An Evaluation of Transformer Models in Summarization

arXiv 2310.16314 ↗First posted 25 Oct 2023cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

This paper delves into the intricacies of code summarization using advanced transformer-based language models. Through empirical studies, we evaluate the efficacy of code summarization by altering function and variable names to explore whether models truly understand code semantics or merely rely on textual cues. We have also introduced adversaries like dead code and commented code across three programming languages (Python, Javascript, and Java) to further scrutinize the model's understanding. Ultimately, our research aims to offer valuable insights into the inner workings of transformer-based LMs, enhancing their ability to understand code and contributing to more efficient software development practices and maintenance workflows.

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

Builds on

11 of 17 references.

References · 11

  1. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  2. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  3. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
  4. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
  5. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  6. 2021Unified Pre-training for Program Understanding and Generationcited by 366
  7. 2021CoTexT: Multi-task Learning with Code-Text Transformercited by 61
  8. 2021On the Evaluation of Neural Code Summarizationcited by 48
  9. 2022On the Transferability of Pre-trained Language Models for Low-Resource Programming Languagescited by 30
  10. 2022An Extractive-and-Abstractive Framework for Source Code Summarizationcited by 18
  11. 2022Learning code summarization from a small and local datasetcited by 5

Built on by

Not cited yet.