Mapping APIs in Dynamic-typed Programs by Leveraging Transfer Learning
Application Programming Interface (API) migration is a common task for adapting software across different programming languages and platforms, where manually constructing the mapping relations between APIs is indeed time-consuming and error-prone. To facilitate this process, many automated API mapping approaches have been proposed. However, existing approaches were mainly designed and evaluated for mapping APIs of statically-typed languages, while their performance on dynamically-typed languages remains unexplored. In this article, we conduct the first extensive study to explore existing API mapping approaches’ performance for mapping APIs in dynamically-typed languages, for which we have manually constructed a highquality dataset. According to the empirical results, we have summarized several insights. In particular, the source code implementations of APIs can significantly improve the effectiveness of API mapping. However, due to the confidentiality policy, they may not be available in practice. To overcome this, we propose a novel API mapping approach, named Matl, which leverages the transfer learning technique to learn the semantic embeddings of source code implementations from large-scale open-source repositories and then transfers the learned model to facilitate the mapping of APIs. In this way, Matl can produce more accurate API embedding of its functionality for more effective mapping without knowing the source code of the APIs. To evaluate the performance of Matl, we have conducted an extensive study by comparing Matl with state-of-the-art approaches. The results demonstrate that Matl is indeed effective as it improves the state-of-the-art approach by at least 18.36% for mapping APIs of dynamically-typed language and by 30.77% for mapping APIs of the statically-typed language
Mon 23 JunDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
10:30 - 12:30 | Library and Product LineIndustry Papers / Journal First / Ideas, Visions and Reflections / Demonstrations at Pirsenteret 150 Chair(s): Andrea Arcuri Kristiania University of Applied Sciences | ||
10:30 10mTalk | Drop the Golden Apples: Identifying Third-Party Reuse by DB-Less Software Composition Analysis Ideas, Visions and Reflections Lyuye Zhang Nanyang Technological University, Chengwei Liu Nanyang Technological University, Wu Jiahui , Shiyang Zhang Tianjin University, CHENGYUE LIU , Zhengzi Xu Imperial Global Singapore, Sen Chen Nankai University, Yang Liu Nanyang Technological University | ||
10:40 20mTalk | Quantifying the benefits of code hints for refactoring deprecated Java APIs Industry Papers Cristina David University of Bristol, Pascal Kesseli Meta, Daniel Kroening Amazon, Hanliang Zhang University of Bristol | ||
11:00 20mTalk | Mapping APIs in Dynamic-typed Programs by Leveraging Transfer Learning Journal First Zhenfei Huang Tianjin University, Junjie Chen Tianjin University, Jiajun Jiang Tianjin University, Yihua Liang Tianjin University, Hanmo You Tianjin University, Fengjie Li Tianjin University | ||
11:20 10mTalk | Dirty-Waters: Detecting Software Supply Chain Smells Demonstrations Raphina Liu KTH Royal Institute of Technology, Sofia Bobadilla KTH Royal Institute of Technology, Sweden, Benoit Baudry KTH Royal Institute of Technology, Martin Monperrus KTH Royal Institute of Technology | ||
11:30 10mTalk | Pursuit of Automotive Software Variant Reduction for Engineering Simplicity Industry Papers Vard Antinyan Volvo Car Group | ||
11:40 20mTalk | Software Product Line Engineering via Software Transplantation Journal First Leandro Oliveira de Souza Federal Institute of Bahia, Irecê, Bahia, Brazil, Eduardo Almeida , Paulo Anselmo da Mota Silveira Neto Federal Rural University of Pernambuco, Recife, Pernambuco, Brazil, Earl T. Barr University College London, Justyna Petke University College London | ||
12:00 10mTalk | Beyond Software Families: Community-Driven Variability Ideas, Visions and Reflections Roman Bögli University of Bern, Alexander Boll University of Bern, Alexander Schultheiß Paderborn University, Timo Kehrer University of Bern Pre-print | ||
12:10 20mTalk | The Promise and Pitfalls of WebAssembly: Perspectives from the Industry Industry Papers Ningyu He Hong Kong Polytechnic University, Shangtong Cao Beijing University of Posts and Telecommunications, Haoyu Wang Huazhong University of Science and Technology, Yao Guo Peking University, Xiapu Luo Hong Kong Polytechnic University |
This room is located outside Clarion Hotel
This room is located in the Pirsenteret (The Pier Center) convention center. It is just outside the hotel, on the back, towards the fjord.
You should be able to go through the emergency exit at Clarion, just on the side of the Cosmos 3 wing, which will be bring you close to Pirsenteret.
The entrance to the center is from here:
https://maps.app.goo.gl/dU3qH6kAimXGBNHe7
Once inside, go all straight and you will find signage to reach the room. The room is known as room 150 inside the center.