Back to search

University of Ontario Institute of Technology

Database entity recognition using language models

Abstract

dc:description.abstract

Natural language interfaces to databases require grounding user questions to the tables, columns, and values of a relational schema. In text-to-SQL systems this grounding is implicit, making it hard to evaluate apart from SQL generation. This thesis formalizes Database Entity Recognition (DB-ER), a sequence labeling task that assigns each query token a label from {O,T,C,V} for background, table, column, or value. We study two settings: an open world tagger built on T5, and a closed world verifier that grounds predictions against a target database via semantic similarity. To address the scarcity of token-level supervision, we release a 1,000-example human benchmark drawn from Spider and BIRD, and a synthetic pipeline that yields 15,000 training examples from paired SQL via AST parsing and an integer linear program. T5-Large with synthetic augmentation reaches 80.8% two-class F1; closed world verification raises this to 93.2%.

Degree

thesis:*
Name thesis:degree_name
Master of Science (MSc)
Discipline thesis:degree_discipline
Computer Science
Grantor
University of Ontario Institute of Technology
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Fu, Zikun
Advisors dc:contributor.advisor
  • Pu, Ken
  • Davoudi, Kourosh

Subjects

dc:subject × 5

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10155/2082

Chain of custody

source
Harvested from
Ontario Institute of Technology
Base URL
ontariotechu.scholaris.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Fu, Zikun. Database entity recognition using language models. University of Ontario Institute of Technology, 2026. https://hdl.handle.net/10155/2082