CS Semineri: “TranSQLate: Translating Enriched Natural Language Sentences to SQL Queries Using Transformers”, Mousa Farshkar Azari, 16:00 5 Eylül (EN)

TranSQLate: Translating Enriched Natural Language Sentences to SQL Queries Using Transformers
by Mousa Farshkar Azari, M.S. in Computer Engineering

Advisor: Prof. Dr. Özgür Ulusoy
The seminar will be on Monday, September 5, 2022 at 16:00 pm

***This is an online seminar. To obtain the event link, please send a message to department.

A large amount of the structured data owned by different enterprises is typically stored in Relational Database Management Systems, and a decent knowledge of Structured Language Query (SQL) is required to extract desired information from the relational databases. Many naive users need to access the information from databases and they do not have the necessary skills or knowledge. Additionally, even some expert users might find it challenging to provide complex SQL queries when they do not know the schema underlying the database. To this end, a considerable amount of research has been conducted recently for the translation of queries formulated by users in a natural language to SQL queries to be processed by database systems. In this thesis, we provide some deep intelligent strategies to be used in natural language to SQL translation. We propose TranSQLate, a novel method to enrich the input sequences and provide more effective Natural Language Interface to Database (NLIDB) systems. We apply our strategies to the Vanilla transformer and T5 transformer models in three different ways. With enriched inputs, we achieve up to 16.5% improvement in translation accuracy, 6.5 points in SacreBLEU score, and 18 points in the n-gram precision, compared to not enriched versions. Our method surpasses the strategies used in the state-of-the-art systems NALIR, TEMPLAR, and DBTagger, in translation accuracy over IMDB, scholar, and Yelp datasets.