Pith. sign in

REVIEW 1 cited by

Multi-View Graph Representation for Programming Language Processing: An Investigation into Algorithm Detection

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 2202.12481 v1 pith:CE2WXSSX submitted 2022-02-25 cs.LG cs.PLcs.SE

classification cs.LGcs.PLcs.SE
keywords representationcodeprogramgraphsourcealgorithmchallengingdataset
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Program representation, which aims at converting program source code into vectors with automatically extracted features, is a fundamental problem in programming language processing (PLP). Recent work tries to represent programs with neural networks based on source code structures. However, such methods often focus on the syntax and consider only one single perspective of programs, limiting the representation power of models. This paper proposes a multi-view graph (MVG) program representation method. MVG pays more attention to code semantics and simultaneously includes both data flow and control flow as multiple views. These views are then combined and processed by a graph neural network (GNN) to obtain a comprehensive program representation that covers various aspects. We thoroughly evaluate our proposed MVG approach in the context of algorithm detection, an important and challenging subfield of PLP. Specifically, we use a public dataset POJ-104 and also construct a new challenging dataset ALG-109 to test our method. In experiments, MVG outperforms previous methods significantly, demonstrating our model's strong capability of representing source code.

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. CodeSAM: Source Code Representation Learning by Infusing Self-Attention with Multi-Code-View Graphs

    cs.SE 2024-11 conditional novelty 6.0 of 10

    Code-view graphs can be infused into a transformer as self-attention masks, yielding small but consistent gains on code search, clone detection, and program classification.

Pith tools