paper-with-me

홈 › Papers

Cross-Language Learning for Program Classification using Bilateral Tree-Based Convolutional Neural Networks

2017-10-17 · Nghi D. Q. Bui, Lingxiao Jiang, Yijun Yu

Towards the vision of translating code that implements an algorithm from one programming language into another, this paper proposes an approach for automated program classification using bilateral tree-based convolutional neural networks (BiTBCNNs). It is layered on top of two tree-based convolutional neural networks (TBCNNs), each of which recognizes the algorithm of code written in an individual programming language. The combination layer of the networks recognizes the similarities and differences among code in different programming languages. The BiTBCNNs are trained using the source code in different languages but known to implement the same algorithms and/or functionalities. For a preliminary evaluation, we use 3591 Java and 3534 C++ code snippets from 6 algorithms we crawled systematically from GitHub. We obtained over 90% accuracy in the cross-language binary classification task to tell whether any given two code snippets implement the same algorithm. Also, for the algorithm classification task, i.e., to predict which one of the six algorithm labels is implemented by an arbitrary C++ code snippet, we achieved over 80% precision.

📄 PDF Abstract BibTeX arXiv:1710.06159

Code (1)

bdqnghi/bi-tbcnn tf

Tasks

Binary ClassificationC++ codeClassificationGeneral Classification

Similar Papers 제목 키워드 기반

Bilateral Spatial Reasoning about Street Networks: Graph-based RAG with Qualitative Spatial Representations

2025-12-17 · Reinhard Moratz, Niklas Daute, James Ondieki, Markus Kattenbeck 외 arxiv

This paper deals with improving the capabilities of Large Language Models (LLM) to provide route instructions for pedestrian wayfinders by means of qualitative spatial relations.

Spatial Reasoning

Program Language Translation Using a Grammar-Driven Tree-to-Tree Model

2018-07-04 · Mehdi Drissi, Olivia Watkins, Aditya Khant, Vivaswat Ojha 외

The task of translating between programming languages differs from the challenge of translating natural languages in that programming languages are designed with a far more rigid set of structural and grammatical rules. …

DecoderTranslation

Classification of the Chess Endgame problem using Logistic Regression, Decision Trees, and Neural Networks

2021-11-10 · Mahmoud S. Fayed

In this study we worked on the classification of the Chess Endgame problem using different algorithms like logistic regression, decision trees and neural networks. Our experiments indicates that the Neural Networks provi…

regression

PRISM-Net: Patient-specific reference-guided inter-breast symmetry matching for three-class breast DCE-MRI classification

2026-07-29 · Boya Zhang, Shuaiwen Zhou, Di Kong, Mingxu Wang 외 arxiv

Breast DCE-MRI AI is increasingly being explored for breast-level classification of no-lesion, benign, and malignant findings, beyond conventional lesion-centered diagnosis. Within this broader diagnostic scope, however,…

Representation Learning

TreeCaps: Tree-Based Capsule Networks for Source Code Processing

2020-09-05 · Nghi D. Q. Bui, Yijun Yu, Lingxiao Jiang

Recently program learning techniques have been proposed to process source code based on syntactical structures (e.g., Abstract Syntax Trees) and/or semantic information (e.g., Dependency Graphs). Although graphs may be b…