paper-with-me

홈 › Papers

Can LLMs substitute SQL? Comparing Resource Utilization of Querying LLMs versus Traditional Relational Databases

2024-04-12 · Xiang Zhang, Khatoon Khedri, Reza Rawassizadeh

Large Language Models (LLMs) can automate or substitute different types of tasks in the software engineering process. This study evaluates the resource utilization and accuracy of LLM in interpreting and executing natural language queries against traditional SQL within relational database management systems. We empirically examine the resource utilization and accuracy of nine LLMs varying from 7 to 34 Billion parameters, including Llama2 7B, Llama2 13B, Mistral, Mixtral, Optimus-7B, SUS-chat-34B, platypus-yi-34b, NeuralHermes-2.5-Mistral-7B and Starling-LM-7B-alpha, using a small transaction dataset. Our findings indicate that using LLMs for database queries incurs significant energy overhead (even small and quantized models), making it an environmentally unfriendly approach. Therefore, we advise against replacing relational databases with LLMs due to their substantial resource utilization.

📄 PDF Abstract BibTeX arXiv:2404.08727

Code (1)

xiangzhang-zx/llm-stockquery-dataset 공식 구현

Tasks

ManagementNatural Language Queries

Similar Papers 제목 키워드 기반

Query-Free Attacks on Industry-Grade Face Recognition Systems under Resource Constraints

2018-02-13 · Di Tang, XiaoFeng Wang, Kehuan Zhang

To launch black-box attacks against a Deep Neural Network (DNN) based Face Recognition (FR) system, one needs to build \textit{substitute} models to simulate the target model, so the adversarial examples discovered from …

Face Recognition

DualCF: Efficient Model Extraction Attack from Counterfactual Explanations

2022-05-13 · Yongjie Wang, Hangwei Qian, Chunyan Miao

Cloud service providers have launched Machine-Learning-as-a-Service (MLaaS) platforms to allow users to access large-scale cloudbased models via APIs. In addition to prediction outputs, these APIs can also provide other …

counterfactualCounterfactual ExplanationmodelModel extraction

Self-Resource Allocation in Multi-Agent LLM Systems

2025-04-02 · Alfonso Amayuelas, Jingbo Yang, Saaket Agashe, Ashwin Nagarajan 외

With the development of LLMs as agents, there is a growing interest in connecting multiple agents into multi-agent systems to solve tasks concurrently, focusing on their role in task assignment and coordination. This pap…

The Why, When, and How to Use Active Learning in Large-Data-Driven 3D Object Detection for Safe Autonomous Driving: An Empirical Exploration

2024-01-30 · Ross Greer, Bjørk Antoniussen, Mathias V. Andersen, Andreas Møgelmose 외

Active learning strategies for 3D object detection in autonomous driving datasets may help to address challenges of data imbalance, redundancy, and high-dimensional data. We demonstrate the effectiveness of entropy query…

3D Object DetectionActive LearningAutonomous Drivingobject-detection+1

NEO-BENCH: Evaluating Robustness of Large Language Models with Neologisms

2024-02-19 · Jonathan Zheng, Alan Ritter, Wei Xu

The performance of Large Language Models (LLMs) degrades from the temporal drift between data used for model training and newer text seen during inference. One understudied avenue of language change causing data drift is…

Machine TranslationNatural Language UnderstandingSentence