Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
110 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Multi-View Graph Representation for Programming Language Processing: An Investigation into Algorithm Detection (2202.12481v1)

Published 25 Feb 2022 in cs.LG, cs.PL, and cs.SE

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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (6)
  1. Ting Long (7 papers)
  2. Yutong Xie (68 papers)
  3. Xianyu Chen (14 papers)
  4. Weinan Zhang (322 papers)
  5. Qinxiang Cao (16 papers)
  6. Yong Yu (219 papers)
Citations (17)

Summary

We haven't generated a summary for this paper yet.