paper-with-me

홈 › Papers

Code to Comment Translation: A Comparative Study on Model Effectiveness & Errors

2021-06-15 · ACL (NLP4Prog) 2021 8 · Junayed Mahmud, Fahim Faisal, Raihan Islam Arnob, Antonios Anastasopoulos, Kevin Moran

Automated source code summarization is a popular software engineering research topic wherein machine translation models are employed to "translate" code snippets into relevant natural language descriptions. Most evaluations of such models are conducted using automatic reference-based metrics. However, given the relatively large semantic gap between programming languages and natural language, we argue that this line of research would benefit from a qualitative investigation into the various error modes of current state-of-the-art models. Therefore, in this work, we perform both a quantitative and qualitative comparison of three recently proposed source code summarization models. In our quantitative evaluation, we compare the models based on the smoothed BLEU-4, METEOR, and ROUGE-L machine translation metrics, and in our qualitative evaluation, we perform a manual open-coding of the most common errors committed by the models when compared to ground truth captions. Our investigation reveals new insights into the relationship between metric-based performance and model prediction errors grounded in an empirically derived error taxonomy that can be used to drive future research efforts

📄 PDF Abstract BibTeX arXiv:2106.08415

Code (1)

SageSELab/CodeSumStudy 공식 구현 pytorch

Tasks

Code SummarizationMachine TranslationSource Code SummarizationTranslation

Similar Papers 제목 키워드 기반

Revisiting the Role of Natural Language Code Comments in Code Translation

2026-01-23 · Monika Gupta, Ajay Meena, Anamitra Roy Choudhury, Vijay Arya 외 arxiv

The advent of large language models (LLMs) has ushered in a new era in automated code translation across programming languages. Since most code-specific LLMs are pretrained on well-commented code from large repositories …

Code Translation

Code to Comment "Translation": Data, Metrics, Baselining & Evaluation

2020-10-03 · David Gros, Hariharan Sezhiyan, Prem Devanbu, Zhou Yu

The relationship of comments to code, and in particular, the task of generating useful comments given the code, has long been of interest. The earliest approaches have been based on strong syntactic theories of comment-s…

Information RetrievalRetrievalTranslation

A Comparative Study of Different State-of-the-Art Hate Speech Detection Methods in Hindi-English Code-Mixed Data

2020-05-01 · LREC 2020 5 · Priya Rani, Shardul Suryawanshi, Koustava Goswami, Bharathi Raja Chakravarthi 외

Hate speech detection in social media communication has become one of the primary concerns to avoid conflicts and curb undesired activities. In an environment where multilingual speakers switch among multiple languages, …

Hate Speech Detection

Evaluating the Quality of Code Comments Generated by Large Language Models for Novice Programmers

2024-09-22 · Aysa Xuemo Fan, Arun Balajiee Lekshmi Narayanan, Mohammad Hassany, Jiaze Ke

Large Language Models (LLMs) show promise in generating code comments for novice programmers, but their educational effectiveness remains under-evaluated. This study assesses the instructional quality of code comments pr…

MultiMed-ST: Large-scale Many-to-many Multilingual Medical Speech Translation

2025-04-04 · Khai Le-Duc, Tuyen Tran, Bach Phan Tat, Nguyen Kim Hai Bui 외

Multilingual speech translation (ST) in the medical domain enhances patient care by enabling efficient communication across language barriers, alleviating specialized workforce shortages, and facilitating improved diagno…

Machine TranslationTranslation