Hailong Li
· 7 previous affiliations
- Google (United States)Since 2021
- Researcher · Since 2022
- Software Engineer · Since 2021
- Flexport2020–2021
- Software Engineer · 2020–2021
- Amazon (United States)2015–2020
- Cloud Architect · 2015–2020
- Impact Data2014–2015
- DevOps and Backend Engineer · 2014–2015
- LEHAO Pty Ltd2013–2014
- Data Analyst · 2013–2014
- The University of Melbourne2011–2013
- MS student · 2011–2013
- University of Wollongong2010–2011
- Bachelor's degree, Telecommunications Engineering · 2010–2011
Research Overview
Hailong Li focuses on the intersection of Large Language Models (LLMs) and structured data interaction, with a specific emphasis on the Text-to-SQL task. His work addresses the challenges of translating natural language queries into executable SQL code through the development of multi-agent reasoning frameworks, synthetic data generation for cross-dialect adaptation, and reinforcement learning strategies designed to enhance the logical reasoning capabilities of generative models.
Research Trajectory
The available evidence indicates a significant evolution in Li’s research focus, moving from physical system control to the computational logic of language models. Early in his career, Li’s work was associated with Predictive Disturbance Compensation for Agile Robotics. This area of research addressed the limitations of traditional reactive feedback controllers, such as PID loops, which often suffer from persistent lag in high-speed or high-precision tasks. By focusing on predictive compensation, this work sought to mitigate tracking errors and instability caused by external disturbances before they could compromise robotic performance.
By 2025, Li’s research shifted decisively toward the field of natural language processing and database systems. This transition reflects a broader academic interest in the "reasoning" capabilities of LLMs, specifically how these models can be structured to handle the multi-step logical requirements of SQL generation. His recent trajectory is characterized by an move away from single-shot query generation toward more complex, iterative processes involving "test-time compute" and multi-path reasoning. This evolution suggests a focus on the reliability and verifiability of model outputs in structured environments. In SQL-GEN: Bridging the Dialect Gap for Text-to-SQL Via Synthetic Data And Model Merging, Li participated in generating dialect-specific synthetic training data from tutorials and merging self-attention layers with keyword-initialized expert gates to unify multi-dialect capabilities. Subsequently, in Know Your Context Bank: Repairing Inconsistency and Measuring Generalization in Context-Aware Text-to-SQL, Li led investigations into context bank rot, developing a decision-by-decision scorer to repair contradictory enterprise contexts and introducing Context-Aware Testing to quantify how model generalization degrades with logical distance from context.
Current Directions
Li’s current research is concentrated on three primary pillars within the Text-to-SQL domain: multi-agent reasoning, dialect generalization, and reward-driven optimization.
A central theme in his recent work is the optimization of "test-time compute." Rather than relying on a model to produce a correct SQL query in a single pass, Li explores frameworks that generate multiple reasoning paths and candidate queries. This approach necessitates the development of sophisticated selection mechanisms, often employing secondary agents to evaluate and rank candidates based on their logical consistency and predicted execution accuracy.
Another significant direction is the resolution of the "dialect gap." Most Text-to-SQL research has historically focused on the SQLite dialect due to the availability of benchmarks. However, Li investigates methods to adapt these systems to other SQL dialects like BigQuery and PostgreSQL. This involves the use of synthetic data generation guided by dialect-specific documentation, as well as model merging techniques to transfer knowledge across different database environments without the need for extensive manual data curation.
Finally, Li is active in applying reinforcement learning (RL) to the Text-to-SQL pipeline. This work focuses on moving beyond handcrafted inductive biases by using reward-driven self-exploration. By designing partial rewards tailored to specific subtasks—such as schema-linking and natural language understanding—Li aims to improve the generalization and reasoning depth of SQL generation models, mirroring recent advancements in reasoning-heavy models like DeepSeek R1 and OpenAI o1.
Representative Work
In CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQL, Li (as second author) contributed to the development of a multi-agent framework that prioritizes test-time computation to improve query accuracy. The system utilizes three distinct reasoning paths to generate a diverse set of candidate SQL queries. A fine-tuned selection agent then performs pairwise comparisons to identify the optimal candidate. This methodology achieved a record-breaking 73.0% accuracy on the BIRD benchmark, demonstrating that structured reasoning paths and preference optimization can significantly outperform traditional single-path generation methods.
Li also played a key role in SQL-GEN: Bridging the Dialect Gap for Text-to-SQL Via Synthetic Data And Model Merging. Serving as the third author, he contributed to a framework designed to overcome the high cost of collecting training data for diverse SQL dialects. SQL-GEN generates high-quality synthetic data by following dialect-specific tutorials, which is then used to fine-tune models for specific database environments. The research demonstrates that combining synthetic data with model merging techniques can effectively bridge the performance gap between common and specialized SQL dialects.
Additionally, Li participated in the research presented in Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQL. As a middle author, he supported the exploration of reinforcement learning frameworks that utilize domain-specific partial rewards. The study addresses the limitations of handcrafted reasoning paths by implementing a reward set that includes schema-linking accuracy, partial rewards from AI feedback, and n-gram overlap. This approach encourages the model to engage in self-exploration, leading to enhanced reasoning capabilities and better generalization across complex database schemas.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake