Pith. sign in

REVIEW 1 cited by

GN-Transformer: Fusing Sequence and Graph Representation for Improved Code Summarization

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2111.08874 v1 pith:PCENH6LM submitted 2021-11-17 cs.LG cs.PL

classification cs.LGcs.PL
keywords codegraphsourcegn-transformermodelrepresentationsummarizationfused
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

As opposed to natural languages, source code understanding is influenced by grammatical relationships between tokens regardless of their identifier name. Graph representations of source code such as Abstract Syntax Tree (AST) can capture relationships between tokens that are not obvious from the source code. We propose a novel method, GN-Transformer to learn end-to-end on a fused sequence and graph modality we call Syntax-Code-Graph (SCG). GN-Transformer expands on Graph Networks (GN) framework using a self-attention mechanism. SCG is the result of the early fusion between a source code snippet and the AST representation. We perform experiments on the structure of SCG, an ablation study on the model design, and the hyper-parameters to conclude that the performance advantage is from the fused representation. The proposed methods achieve state-of-the-art performance in two code summarization datasets and across three automatic code summarization metrics (BLEU, METEOR, ROUGE-L). We further evaluate the human perceived quality of our model and previous work with an expert-user study. Our model outperforms the state-of-the-art in human perceived quality and accuracy.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Analysis on LLMs Performance for Code Summarization

    cs.SE 2024-12 reject novelty 4.0 of 10

    A comparative benchmark of four open-source LLMs for code summarization finds Mistral and Phi-3 leading, but the reported score tables contain implausible identical values.

Pith tools