Back to search

Iowa State University

Representation learning for algorithms implementation search using pseudo code

Abstract

dc:description.abstract

The major success of any machine learning algorithm heavily relies on an efficient representation learning of the data. Having inefficient representation learning of the data leads to loss of important information that can lead to poor performance of the downstream tasks. Graph representation learning is getting more popular due to the introduction of structural information with its own feature to get effective representation learning on graph data. In this work, we developed an efficient graph-based program representation learning for an effective search for algorithms implementation from repositories using pseudo-code as a query. We designed the {\it p-language} to specify an algorithm, which we call {\it p-code}. By automatically analyzing {\it p-code}, we extract control flow, math, and natural language information from the algorithm descriptions. The three types of features of {\it p-code} and source code are encoded by a graph neural network and used by the code retrieval technique for search. We implemented our technique in a tool called {\it Beryllium} and performed the experiments on Java, C, and the mixed languages of Java and C. The results of our search tool Beryllium, show that the effective graph representation learning for algorithm and program greatly help to identify the algorithm implementations in different languages and outperform the state-of-the-art code search tools.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
thesis
Discipline thesis:degree_discipline
Computer science
Department dc:contributor.department
Department of Computer Science
Grantor
Iowa State University
Year dc:date.issued
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Sium, Yonas Afewerki
Advisors dc:contributor.advisor
  • Li, Qi
  • Le, Wei
  • Cohen, Myra

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Iowa State University
Base URL
dr.lib.iastate.edu/server/oai/request
Last updated
2026-11-18
Source record
OAI-PMH GetRecord
related terms
citation

Sium, Yonas Afewerki. Representation learning for algorithms implementation search using pseudo code. thesis thesis, Iowa State University, 2022. https://doi.org/10.31274/td-20240329-633