Performance evaluation of LLMs in the Text-to-SQL task in Portuguese

Context: The rising need for consulting data in industry and academic contexts has fueled Text-to-SQL development, where natural language queries are translated into SQL, making data access easier. Problem: Most research focuses on English Text-to-SQL, leaving Portuguese—a language spoken by over 260 million people— underrepresented, creating challenges for organizations reliant on accurate data retrieval in Portuguese. Solution: This study evaluates the effectiveness of various Large Language Models (LLMs) on Portuguese Text-to-SQL tasks using a validated translation of the Spider benchmark. IS Theory: This research applies Task-Technology Fit (TTF) Theory to assess how well LLMs meet the needs of Portuguese Text-to-SQL tasks. TTF evaluates the match between LLM capabilities and task requirements, including language understanding, schema recognition, and SQL generation. Proper alignment is key for effective data retrieval, particularly for Portuguese-language applications in organizational decisionmaking. Method: A comparative analysis of seven LLMs—tested on both Portuguese and English Spider benchmarks—was performed. Exact Match (EM) and Execution Accuracy (EX) metrics measured performance, and a zero-shot prompting approach maintained consistency. Results Summary: Larger LLMs and specialized code models excelled, showing less performance variance between Portuguese and English tasks. Generalist models, however, produced verbose outputs, which may limit practical use in production systems. Contributions and Impact on IS: This research establishes baseline Portuguese Text-to-SQL metrics and insights into language adaptability in LLMs, offering guidance for organizations seeking Portuguese-language data solutions. By bridging language gaps, it advances data-driven practices and fosters growth in Portuguese-speaking regions.

Authors

Publication Details

Published
2025-05-07
DOI
https://doi.org/10.5753/sbsi.2025.246471
Citations
2
Primary Topic
Service-Oriented Architecture and Web Services
Type
article
Field-Weighted Citation Impact
6.49
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Performance evaluation of LLMs in the Text-to-SQL task in Portuguese

Denilson Alves Pereira, Marluce Rodrigues Pereira, Breno Carvalho Pedroso
2 citations
Service-Oriented Architecture and Web Services
6.49
article

Performance evaluation of LLMs in the Text-to-SQL task in Portuguese

Denilson Alves Pereira, Marluce Rodrigues Pereira, Breno Carvalho Pedroso
article en
2 citations

Abstract

Context: The rising need for consulting data in industry and academic contexts has fueled Text-to-SQL development, where natural language queries are translated into SQL, making data access easier. Problem: Most research focuses on English Text-to-SQL, leaving Portuguese—a language spoken by over 260 million people— underrepresented, creating challenges for organizations reliant on accurate data retrieval in Portuguese. Solution: This study evaluates the effectiveness of various Large Language Models (LLMs) on Portuguese Text-to-SQL tasks using a validated translation of the Spider benchmark. IS Theory: This research applies Task-Technology Fit (TTF) Theory to assess how well LLMs meet the needs of Portuguese Text-to-SQL tasks. TTF evaluates the match between LLM capabilities and task requirements, including language understanding, schema recognition, and SQL generation. Proper alignment is key for effective data retrieval, particularly for Portuguese-language applications in organizational decisionmaking. Method: A comparative analysis of seven LLMs—tested on both Portuguese and English Spider benchmarks—was performed. Exact Match (EM) and Execution Accuracy (EX) metrics measured performance, and a zero-shot prompting approach maintained consistency. Results Summary: Larger LLMs and specialized code models excelled, showing less performance variance between Portuguese and English tasks. Generalist models, however, produced verbose outputs, which may limit practical use in production systems. Contributions and Impact on IS: This research establishes baseline Portuguese Text-to-SQL metrics and insights into language adaptability in LLMs, offering guidance for organizations seeking Portuguese-language data solutions. By bridging language gaps, it advances data-driven practices and fosters growth in Portuguese-speaking regions.

Openalex Percentile: Top 4%
Service-Oriented Architecture and Web Services
6.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Performance evaluation of LLMs in the Text-to-SQL task in Portuguese — Denilson Alves Pereira, Marluce Rodrigues Pereira, et al. · (2025) | TGRS Research Map | TGRS