Towards Modeling Human Attention from Eye Movements for Neural Source Code Summarization
원문 초록
Neural source code summarization is the task of generating natural language descriptions of source code behavior using neural networks. A fundamental component of most neural models is an attention mechanism. The attention mechanism learns to connect features in source code to specific words to use when generating natural language descriptions. Humans also pay attention to some features in code more than others. This human attention reflects experience and high-level cognition well beyond the capability of any current neural model. In this paper, we use data from published eye-tracking experiments to create a model of this human attention. The model predicts which words in source code are the most important for code summarization. Next, we augment a baseline neural code summarization approach using our model of human attention. We observe an improvement in prediction performance of the augmented approach in line with other bio-inspired neural models.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Variational Prefix Tuning for Diverse and Accurate Code Summarization Using Pre-trained Language Models
Source Code Summarization in the Era of Large Language Models
A Prompt Learning Framework for Source Code Summarization
Revisiting File Context for Source Code Summarization
Distilled GPT for Source Code Summarization
Semantic Similarity Loss for Neural Source Code Summarization
토론
이 논문과 연결된 포럼 글이 아직 없습니다.