MCP
arXivarXiv
Preprint
Published: September 18, 2024
cs.CL

You Only Read Once (YORO): Learning to Internalize Database Knowledge for Text-to-SQL

Abstract
While significant progress has been made on the text-to-SQL task, recent solutions repeatedly encode the same database schema for every question, resulting in unnecessary high inference cost and often overlooking crucial database knowledge. To address these issues, we propose You Only Read Once (YORO), a novel paradigm that directly internalizes database knowledge into the parametric knowledge of a text-to-SQL model during training and eliminates the need for schema encoding during inference. YORO significantly reduces the input token length by 66%-98%. Despite its shorter inputs, our empirical results demonstrate YORO's competitive performances with traditional systems on three benchmarks as well as its significant outperformance on large databases. Furthermore, YORO excels in handling questions with challenging value retrievals such as abbreviation.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Links
arXiv
arXiv
↗
PDF
↗
ACL Anthology
Conference paper
ACL Anthology
›
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first