RESTBERTa: a Transformer-based question answering approach for semantic search in Web API documentation

被引:0
|
作者
Kotstein, Sebastian [1 ]
Decker, Christian [1 ]
机构
[1] Reutlingen Univ, Herman Hollerith Zentrum, Danziger Str 6, D-71034 Boblingen, Baden Wurttembe, Germany
关键词
Web API documentation; Semantic search; Endpoint discovery; Parameter matching; Question answering; BERT; SERVICES;
D O I
10.1007/s10586-023-04237-x
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
To enable machines to process state-of-practice Web API documentation, we propose a Transformer model for the generic task of identifying a Web API element within a syntax structure that matches a natural language query. We solve this semantic-search task with Transformer-based question answering and demonstrate the applicability of our approach to two different tasks, namely the discovery of endpoints and the identification of parameters in payload schemas. With samples from 2321 OpenAPI documentation, we prepare different datasets and fine-tune pre-trained BERT models to these two tasks. We evaluate the generalizability and the robustness of our fine-tuned models. We achieve accuracies of 81.95% for the parameter-matching and 88.44% for the endpoint-discovery task.
引用
收藏
页码:4035 / 4061
页数:27
相关论文
共 50 条
  • [1] Semantic Parameter Matching in Web APIs with Transformer-based Question Answering
    Kotstein, Sebastian
    Decker, Christian
    [J]. 2023 IEEE INTERNATIONAL CONFERENCE ON SERVICE-ORIENTED SYSTEM ENGINEERING, SOSE, 2023, : 114 - 123
  • [2] Question-answering Semantic Search System Based on the Semantic Web
    Ma, Yuanchao
    He, Yu
    [J]. PROCEEDINGS OF THE 5TH INTERNATIONAL CONFERENCE ON COOPERATION AND PROMOTION OF INFORMATION RESOURCES IN SCIENCE AND TECHNOLOGY(COINFO 10), 2010, : 1 - 5
  • [3] A Transformer-based Medical Visual Question Answering Model
    Liu, Lei
    Su, Xiangdong
    Guo, Hui
    Zhu, Daobin
    [J]. 2022 26TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2022, : 1712 - 1718
  • [4] APIBot: Question Answering Bot for API Documentation
    Tian, Yuan
    Thung, Ferdian
    Sharma, Abhishek
    Lo, David
    [J]. PROCEEDINGS OF THE 2017 32ND IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE'17), 2017, : 153 - 158
  • [5] Transformer-Based Extractive Social Media Question Answering on TweetQA
    Butt, Sabur
    Ashraf, Noman
    Fahim, Hammad
    Sidorov, Grigori
    Gelbukh, Alexander
    [J]. COMPUTACION Y SISTEMAS, 2021, 25 (01): : 23 - 32
  • [6] Transformer-Based Neural Network for Answer Selection in Question Answering
    Shao, Taihua
    Guo, Yupu
    Chen, Honghui
    Hao, Zepeng
    [J]. IEEE ACCESS, 2019, 7 : 26146 - 26156
  • [7] Question answering on the semantic web
    McGuinness, DL
    [J]. IEEE INTELLIGENT SYSTEMS, 2004, 19 (01): : 82 - 85
  • [8] Bi-Modal Transformer-Based Approach for Visual Question Answering in Remote Sensing Imagery
    Bazi, Yakoub
    Al Rahhal, Mohamad Mahmoud
    Mekhalfi, Mohamed Lamine
    Al Zuair, Mansour Abdulaziz
    Melgani, Farid
    [J]. IEEE TRANSACTIONS ON GEOSCIENCE AND REMOTE SENSING, 2022, 60
  • [9] SWFQA Semantic Web Based Framework for Question Answering
    Ali, Irphan
    Yadav, Divakar
    Sharma, Ashok Kumar
    [J]. INTERNATIONAL JOURNAL OF INFORMATION RETRIEVAL RESEARCH, 2019, 9 (01) : 88 - 106
  • [10] Question answering system based on ontology and Semantic Web
    Guo, Qinglin
    Zhang, Ming
    [J]. ROUGH SETS AND KNOWLEDGE TECHNOLOGY, 2008, 5009 : 652 - 659