A Comprehensive Evaluation of Neural SPARQL Query Generation From Natural Language Questions

被引:0
|
作者
Diallo, Papa Abdou Karim Karou [1 ]
Reyd, Samuel [2 ]
Zouaq, Amal [1 ]
机构
[1] Polytech Montreal, Dept Comp Engn & Software Engn, LAMA WeST Lab, Montreal, PQ H3T 1J4, Canada
[2] Telecom Paris, F-91120 Palaiseau, France
来源
IEEE ACCESS | 2024年 / 12卷
基金
加拿大自然科学与工程研究理事会;
关键词
Annotations; Large language models; Computer architecture; Transformers; Vocabulary; Query processing; Knowledge based systems; Encoding; SPARQL query generation; knowledge base; copy mechanism; non pre-trained; pre-trained encoders-decoders;
D O I
10.1109/ACCESS.2024.3453215
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In recent years, the field of neural machine translation (NMT) for SPARQL query generation has witnessed significant growth. Incorporating the copy mechanism with traditional encoder-decoder architectures and using pre-trained encoder-decoder and large language models have set new performance benchmarks. This paper presents various experiments that replicate and expand upon recent NMT-based SPARQL generation studies, comparing pre-trained language models (PLMs), non-pre-trained language models (NPLMs), and large language models (LLMs), highlighting the impact of question annotation and the copy mechanism and testing various fine-tuning methods using LLMs. In particular, we provide a systematic error analysis of the models and test their generalization ability. Our study demonstrates that the copy mechanism yields significant performance enhancements for most PLMs and NPLMs. Annotating the data is pivotal to generating correct URIs, with the "tag-within" strategy emerging as the most effective approach. Additionally, our findings reveal that the primary source of errors stems from incorrect URIs in SPARQL queries that are sometimes replaced with hallucinated URIs when using base models. This does not happen using the copy mechanism, but it sometimes leads to selecting wrong URIs among candidates. Finally, the performance of the tested LLMs fell short of achieving the desired outcomes.
引用
收藏
页码:125057 / 125078
页数:22
相关论文
共 50 条
  • [31] A Neural-Machine-Translation System Resilient to Out of Vocabulary Words for Translating Natural Language to SPARQL
    Borroto, Manuel
    Ricca, Francesco
    Cuteri, Bernardo
    AIXIA 2021 - ADVANCES IN ARTIFICIAL INTELLIGENCE, 2022, 13196 : 171 - 184
  • [32] Application and Evaluation of Large Language Models for the Generation of Survey Questions
    Maiorino, Antonio
    Padgett, Zoe
    Wang, Chun
    Yakubovskiy, Misha
    Jiang, Peng
    PROCEEDINGS OF THE 32ND ACM INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, CIKM 2023, 2023, : 5244 - 5245
  • [33] Natural Language Generation from Ontologies
    Nguyen, Van
    Son, Tran Cao
    Pontelli, Enrico
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES (PADL 2019), 2019, 11372 : 64 - 81
  • [34] Action generation from natural language
    Funatsu, S
    Koyama, T
    Saito, S
    Tokunaga, T
    Nakajima, M
    ADVANCES IN MULTIMEDIA INFORMATION PROCESSING - PCM 2004, PT 3, PROCEEDINGS, 2004, 3333 : 15 - 22
  • [35] Natural Language Generation from Graphs
    Dong, Ngan T.
    Holder, Lawrence B.
    INTERNATIONAL JOURNAL OF SEMANTIC COMPUTING, 2014, 8 (03) : 335 - 384
  • [36] An Unsupervised Method for Attribute Identification from a Natural Language Query
    Bhaskaran, Rohith
    Chandavarkar, B. R.
    PROGRESS IN INTELLIGENT COMPUTING TECHNIQUES: THEORY, PRACTICE, AND APPLICATIONS, VOL 1, 2018, 518 : 543 - 549
  • [37] Formation of SQL from Natural Language Query using NLP
    Uma, M.
    Sneha, V
    Sneha, G.
    Bhuvana, J.
    Bharathi, B.
    2019 SECOND INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE IN DATA SCIENCE (ICCIDS 2019), 2019,
  • [38] A divide-and-conquer approach to neural natural language generation from structured data
    Dethlefs, Nina
    Schoene, Annika
    Cuayahuitl, Heriberto
    NEUROCOMPUTING, 2021, 433 : 300 - 309
  • [39] Building natural language responses from natural language questions in the spatio-temporal context
    Landoulsi G.
    Mahmoudi K.
    Faïz S.
    International Journal of Intelligent Information and Database Systems, 2021, 14 (01) : 1 - 25
  • [40] Speech-to-SQL: toward speech-driven SQL query generation from natural language question
    Song, Yuanfeng
    Wong, Raymond Chi-Wing
    Zhao, Xuefang
    VLDB JOURNAL, 2024, 33 (04): : 1179 - 1201