LLM-PQA: LLM-enhanced Prediction Query Answering

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Li, Ziyu, Zhao, Wenjie, Katsifodimos, Asterios, Hai, Rihan
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914932258242560
author Li, Ziyu
Zhao, Wenjie
Katsifodimos, Asterios
Hai, Rihan
author_facet Li, Ziyu
Zhao, Wenjie
Katsifodimos, Asterios
Hai, Rihan
contents The advent of Large Language Models (LLMs) provides an opportunity to change the way queries are processed, moving beyond the constraints of conventional SQL-based database systems. However, using an LLM to answer a prediction query is still challenging, since an external ML model has to be employed and inference has to be performed in order to provide an answer. This paper introduces LLM-PQA, a novel tool that addresses prediction queries formulated in natural language. LLM-PQA is the first to combine the capabilities of LLMs and retrieval-augmented mechanism for the needs of prediction queries by integrating data lakes and model zoos. This integration provides users with access to a vast spectrum of heterogeneous data and diverse ML models, facilitating dynamic prediction query answering. In addition, LLM-PQA can dynamically train models on demand, based on specific query requirements, ensuring reliable and relevant results even when no pre-trained model in a model zoo, available for the task.
format Preprint
id arxiv_https___arxiv_org_abs_2409_01140
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LLM-PQA: LLM-enhanced Prediction Query Answering
Li, Ziyu
Zhao, Wenjie
Katsifodimos, Asterios
Hai, Rihan
Information Retrieval
Machine Learning
The advent of Large Language Models (LLMs) provides an opportunity to change the way queries are processed, moving beyond the constraints of conventional SQL-based database systems. However, using an LLM to answer a prediction query is still challenging, since an external ML model has to be employed and inference has to be performed in order to provide an answer. This paper introduces LLM-PQA, a novel tool that addresses prediction queries formulated in natural language. LLM-PQA is the first to combine the capabilities of LLMs and retrieval-augmented mechanism for the needs of prediction queries by integrating data lakes and model zoos. This integration provides users with access to a vast spectrum of heterogeneous data and diverse ML models, facilitating dynamic prediction query answering. In addition, LLM-PQA can dynamically train models on demand, based on specific query requirements, ensuring reliable and relevant results even when no pre-trained model in a model zoo, available for the task.
title LLM-PQA: LLM-enhanced Prediction Query Answering
topic Information Retrieval
Machine Learning
url https://arxiv.org/abs/2409.01140