A Review of Schema Representation and Compression Techniques in Large Language Models

With the increasing application of large language models (LLMs) in text-to-Structured Query Language (Text-to-SQL) and intelligent data querying, database schemas have become an important context that affects query understanding, schema linking, and SQL generation. Based on benchmarks including WikiSQL, Spider, BIRD, and Spider 2.0, this paper reviews six directions: natural-language representation and prompt construction, semantic representation and embedding, relevance modeling and dynamic selection, schema compression and token optimization, structural relation modeling and auxiliary information enhancement, and LLM-driven Text-to-SQL applications. This paper compares the publicly reported results of representative methods, including RESDSQL, CHESS, RSL-SQL, CodeS, DAIL-SQL, and MAC-SQL, as well as RAT-SQL, SDSQL, and LGESQL, and points out that schema compression is not simple text deletion. Instead, it combines retrieval, ranking, pruning, structural constraints, and dynamic sub-database construction to balance information retention and context cost. Existing research still has several prominent problems: relevance ranking has difficulty considering both semantic matching and join-path completeness; compression effectiveness lacks unified and comparable evaluation metrics; and some methods do not adequately report token costs and end-to-end latency. In addition, the generalization ability of related methods in complex, real-world business databases remains to be verified. In response to these problems, this paper summarizes research gaps concerning dynamic K values, unified compression metrics, end-to-end efficiency, and real-world database validation, and proposes directions such as a closed loop of retrieval, compression, generation, and execution verification.

Authors

Institutions

Publication Details

Journal
Computers and artificial intelligence.
Published
2026-11-26
DOI
https://doi.org/10.70267/cai.v3n6.261276
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Review of Schema Representation and Compression Techniques in Large Language Models

Qibin He
Computers and artificial intelligence.
Topic Modeling
article

A Review of Schema Representation and Compression Techniques in Large Language Models

Qibin He
article en

Abstract

With the increasing application of large language models (LLMs) in text-to-Structured Query Language (Text-to-SQL) and intelligent data querying, database schemas have become an important context that affects query understanding, schema linking, and SQL generation. Based on benchmarks including WikiSQL, Spider, BIRD, and Spider 2.0, this paper reviews six directions: natural-language representation and prompt construction, semantic representation and embedding, relevance modeling and dynamic selection, schema compression and token optimization, structural relation modeling and auxiliary information enhancement, and LLM-driven Text-to-SQL applications. This paper compares the publicly reported results of representative methods, including RESDSQL, CHESS, RSL-SQL, CodeS, DAIL-SQL, and MAC-SQL, as well as RAT-SQL, SDSQL, and LGESQL, and points out that schema compression is not simple text deletion. Instead, it combines retrieval, ranking, pruning, structural constraints, and dynamic sub-database construction to balance information retention and context cost. Existing research still has several prominent problems: relevance ranking has difficulty considering both semantic matching and join-path completeness; compression effectiveness lacks unified and comparable evaluation metrics; and some methods do not adequately report token costs and end-to-end latency. In addition, the generalization ability of related methods in complex, real-world business databases remains to be verified. In response to these problems, this paper summarizes research gaps concerning dynamic K values, unified compression metrics, end-to-end efficiency, and real-world database validation, and proposes directions such as a closed loop of retrieval, compression, generation, and execution verification.

Computers and artificial intelligence.Vol. 3(6)
Minzu University of China (CN)
Topic Modeling
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.

Laika access coming soon