HierarchyNet: Learning to Summarize Source Code with Heterogeneous Representations
원문 초록
We propose a novel method for code summarization utilizing Heterogeneous Code Representations (HCRs) and our specially designed HierarchyNet. HCRs effectively capture essential code features at lexical, syntactic, and semantic levels by abstracting coarse-grained code elements and incorporating fine-grained program elements in a hierarchical structure. Our HierarchyNet method processes each layer of the HCR separately through a unique combination of the Heterogeneous Graph Transformer, a Tree-based CNN, and a Transformer Encoder. This approach preserves dependencies between code elements and captures relations through a novel Hierarchical-Aware Cross Attention layer. Our method surpasses current state-of-the-art techniques, such as PA-Former, CAST, and NeuralCodeSum.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Natural Language Generation and Understanding of Big Code for AI-Assisted Programming: A Review
CASTLE: Benchmarking Dataset for Static Code Analyzers and LLMs towards CWE Detection
Building A Coding Assistant via the Retrieval-Augmented Language Model
AutoCoder: Enhancing Code Large Language Model with \textsc{AIEV-Instruct}
Breaking the Silence: the Threats of Using LLMs in Software Engineering
Graph Convolutions Enrich the Self-Attention in Transformers!
토론
이 논문과 연결된 포럼 글이 아직 없습니다.