Il prossimo mercoledì 15 aprile presso la Sala riunioni della sezione di Informatica e Automazione (Via della Vasca Navale 79, stanza 114, 1° piano) si terrà il seminario del Prof. Paolo Papotti dal titolo "Can Reinforcement Learning Teach Small Language Models to Reason for Text2SQL?"
Abstract
The ability to interact with complex databases using natural language (NL) is a key step in democratizing data access, a long-standing goal in the enterprise world. While Large Language Models (LLMs) have shown remarkable promise in translating NL questions into SQL queries (Text2QL), their performance stall when faced with the complexities of real-world enterprise databases. This talk will report a promising solution to enhance the reasoning capabilities of LLMs for this task. Our "Think2SQL" methodology investigates various strategies for improving LLM performance, including Zero-Shot Learning (ZSL), Supervised Fine-Tuning (SFT), and Reinforcement Learning (RL). RL, using rewards crafted around SQL execution accuracy, significantly boosts the performance of small models, achieving results comparable to those of frontier LLMs on complex datasets. Finally, we will highlight the path forward for Text2SQL systems capable of navigating the nuances of human language, such as ambiguity, in a real-world enterprise context.
Link identifier #identifier__31182-1Locandina
