4.6 Article

Do Pretrained Language Models Indeed Understand Software Engineering Tasks?

期刊

IEEE TRANSACTIONS ON SOFTWARE ENGINEERING
卷 49, 期 10, 页码 4639-4655

出版社

IEEE COMPUTER SOC
DOI: 10.1109/TSE.2023.3308952

关键词

Overinterpretation; deep learning; pre-trained language model; software engineering

向作者/读者索取更多资源

This article investigates the extent to which pre-trained language models understand software engineering tasks and discovers an overinterpretation phenomenon where the models confidently make decisions without salient features. The study explores strategies to mitigate this phenomenon and highlights the importance of designing input for AI4SE tasks.
Artificial intelligence (AI) for software engineering (SE) tasks has recently achieved promising performance. In this article, we investigate to what extent the pre-trained language model truly understands those SE tasks such as code search, code summarization, etc. We conduct a comprehensive empirical study on a board set of AI for SE (AI4SE) tasks by feeding them with variant inputs: 1) with various masking rates and 2) with sufficient input subset method. Then, the trained models are evaluated on different SE tasks, including code search, code summarization, and duplicate bug report detection. Our experimental results show that pre-trained language models are insensitive to the given input, thus they achieve similar performance in these three SE tasks. We refer to this phenomenon as overinterpretation, where a model confidently makes a decision without salient features, or where a model finds some irrelevant relationships between the final decision and the dataset. Our study investigates two approaches to mitigate the overinterpretation phenomenon: whole word mask strategy and ensembling. To the best of our knowledge, we are the first to reveal this overinterpretation phenomenon to the AI4SE community, which is an important reminder for researchers to design the input for the models and calls for necessary future work in understanding and implementing AI4SE tasks.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.6
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据