Multi-View Graph Representation for Programming Language Processing: An Investigation into Algorithm Detection
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 22 of its 32 references that are in the map. First posted on arXiv 25 Feb 2022.
Builds on
22 of 32 references.
References · 22
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2015Gated Graph Sequence Neural Networkscited by 792
- 2014Distributed Representations of Sentences and Documentscited by 677
- 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
- 2018code2vec: Learning Distributed Representations of Codecited by 249
- 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
- 2017Learning to Represent Programs with Graphscited by 219
- 2018Tree-to-tree Neural Networks for Program Translationcited by 93
- 2018Neural Code Comprehension: A Learnable Representation of Code Semanticscited by 59
10 more
- 2018Automated software vulnerability detection with machine learningcited by 34
- 2018Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairscited by 25
- 2017Dynamic Neural Program Embedding for Program Repaircited by 23
- 2019CoaCor: Code Annotation for Code Retrieval with Reinforcement Learningcited by 22
- 2021An Empirical Study on the Usage of BERT Models for Code Completioncited by 22
- 2015Learning Program Embeddings to Propagate Feedback on Student Codecited by 19
- 2017Query Expansion Based on Crowd Knowledge for Code Searchcited by 18
- 2020TreeCaps: Tree-Based Capsule Networks for Source Code Processingcited by 16
- 2017DeepAM: Migrate APIs with Multi-modal Sequence to Sequence Learningcited by 8
- 2019Learning Scalable and Precise Representation of Program Semanticscited by 6
Built on by
Citing papers per year: 2023: 2; 2024: 3; 2025: 1.
6 papers.
- 2024Enhancing Multiview Synergy: Robust Learning by Exploiting the Wave Loss Function with Consensus and Complementarity Principlescited by 12
- 2024CodeGRAG: Bridging the Gap between Natural Language and Programming Language via Graphical Retrieval Augmented Generationcited by 4
- 2023COMEX: A Tool for Generating Customized Source Code Representationscited by 3
- 2023Heterogeneous Directed Hypergraph Neural Network over abstract syntax tree (AST) for Code Classificationcited by 1
- 2024CodeSAM: Source Code Representation Learning by Infusing Self-Attention with Multi-Code-View Graphscited by 1
- 2025Enhancing Neural Code Representation with Additional Contextcited by 0
- 2025Enhancing Neural Code Representation with Additional Context14 Oct 2025
- 2024CodeSAM: Source Code Representation Learning by Infusing Self-Attention with Multi-Code-View Graphs21 Nov 2024
- 2024Enhancing Multiview Synergy: Robust Learning by Exploiting the Wave Loss Function with Consensus and Complementarity Principles13 Aug 2024
- 2024CodeGRAG: Bridging the Gap between Natural Language and Programming Language via Graphical Retrieval Augmented Generation3 May 2024
- 2023COMEX: A Tool for Generating Customized Source Code Representations10 Jul 2023
- 2023Heterogeneous Directed Hypergraph Neural Network over abstract syntax tree (AST) for Code Classification7 May 2023