Comparison of LLM Models and Strategies for Structured Query Construction from Natural Language Queries
The advent of large language models (LLM) has sharply increased the power of machine translation because of their remarkable success in many text processing tasks. This feature makes LLMs attractive options for specific tasks, such as translating natural language queries into keyword-based queries. Within this research, we compare the different techniques applied in LLMs for open and closed-source model options to facilitate decision-making for researchers and practitioners. Our findings present that while fine-tuning is a highly recommended option, prompting techniques allow us to achieve similar performance with commercial tools; however, before any model selection, it is essential to consider the amount of data, computational resources, and data privacy.
Authors
- Wouter Caarls (ORCID: https://orcid.org/0000-0001-9069-2378)
- Franklin Cardeñoso Fernández (ORCID: https://orcid.org/0000-0002-1367-4261)
- Robinson Luiz Souza Garcia (ORCID: https://orcid.org/0000-0002-0528-5151)
Institutions
- Pontifícia Universidade Católica do Rio de Janeiro (BR)
- Petrobras (Brazil) (BR)
Publication Details
- Published
- 2024-11-13
- DOI
- https://doi.org/10.1109/la-cci62337.2024.10814762
- Citations
- 2
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.69
Funders
- Coordenação de Aperfeiçoamento de Pessoal de Nível Superior