Open Research Newcastle
Browse

DeepAM: migrate APIs with multi-modal sequence to sequence learning

Download (366.32 kB)
conference contribution
posted on 2025-05-11, 13:20 authored by Xiaodong Gu, Hongyu ZhangHongyu Zhang, Sunghun Kim
Computer programs written in one language are often required to be ported to other languages to support multiple devices and environments. When programs use language specific APIs (Application Programming Interfaces), it is very challenging to migrate these APIs to the corresponding APIs written in other languages. Existing approaches mine API mappings from projects that have corresponding versions in two languages. They rely on the sparse availability of bilingual projects, thus producing a limited number of API mappings. In this paper, we propose an intelligent system called DeepAM for automatically mining API mappings from a large-scale code corpus without bilingual projects. The key component of DeepAM is based on the multi-modal sequence to sequence learning architecture that aims to learn joint semantic representations of bilingual API sequences from big source code data. Experimental results indicate that DeepAM significantly increases the accuracy of API mappings as well as the number of API mappings when compared with the state-of-the-art approaches.

History

Source title

Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)

Name of conference

Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)

Location

Melbourne

Start date

2017-08-19

End date

2017-08-25

Pagination

3675-3681

Editors

Sierra, C.

Publisher

International Joint Conferences on Artificial Intelligence

Place published

Melbourne

Language

  • en, English

College/Research Centre

Faculty of Engineering and Built Environment

School

School of Electrical Engineering and Computer Science

Usage metrics

    Publications

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC