计算机科学 > 软件工程
[提交于 2021年11月10日]
标题:Data-Driven AI Model Signal-Awareness Enhancement and Introspection
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:AI modeling for source code understanding tasks has been making significant progress, and is being adopted in production development pipelines. However, reliability concerns, especially whether the models are actually learning task-related aspects of source code, are being raised. While recent model-probing approaches have observed a lack of signal awareness in many AI-for-code models, i.e. models not capturing task-relevant signals, they do not offer solutions to rectify this problem. In this paper, we explore data-driven approaches to enhance models' signal-awareness: 1) we combine the SE concept of code complexity with the AI technique of curriculum learning; 2) we incorporate SE assistance into AI models by customizing Delta Debugging to generate simplified signal-preserving programs, augmenting them to the training dataset. With our techniques, we achieve up to 4.8x improvement in model signal awareness. Using the notion of code complexity, we further present a novel model learning introspection approach from the perspective of the dataset.
提交历史
来自:Sahil Suneja[v1] 2021年11月10日 星期三 17:58:18 UTC