Xiu Tang
· 1 previous affiliation
- Zhejiang UniversitySince 2019
- Assistant Professor · Since 2023
- PhD student · 2019–2023
Research Overview
Xiu Tang focuses on the intersection of database management systems and machine learning, specifically addressing challenges in SQL representation learning, automated database testing, and cloud resource optimization. Tang’s work explores how learning-based frameworks can replace or augment traditional heuristic-based database components, such as query optimizers and workload forecasters, to improve system performance and reliability.
Research Trajectory
Tang’s early research in 2021 concentrated on fundamental problems in high-dimensional data processing and efficient data labeling. This period was marked by an investigation into nearest neighbor (NN) search, specifically the limitations of locality-sensitive hashing (LSH). Tang addressed the "curse of dimensionality" by moving away from traditional random projections toward data-sensitive hashing functions designed to better distinguish between proximal and distant data points. Simultaneously, Tang explored the financial and labor costs associated with domain-specific data labeling, developing frameworks that combined active learning and reinforcement learning to optimize the selection of high-quality training data for tasks such as Named Entity Recognition (NER).
By 2022, Tang’s focus shifted toward the semantic understanding of structured query language (SQL). Recognizing that existing learning-based database models often relied on simplistic one-hot encoding—which fails to capture complex semantic contexts like query structure and database schema—Tang introduced pre-trained representation models for SQL. This work utilized graph neural networks and automata to encode the structural and relational nuances of queries, providing a foundation for downstream tasks like cardinality estimation and join order selection. During this time, Tang also contributed to research on machine learning robustness, specifically examining how data augmentation could alleviate robust overfitting in adversarial training.
In 2023, Tang’s research trajectory moved into the domain of database reliability and software testing. This work addressed a significant gap in generation-based testing: the detection of logic bugs in multi-table join optimizations. While previous tools were often limited to single-table queries, Tang developed frameworks to explore the complex query spaces of multi-table joins, utilizing data-guided schema generation and knowledge-guided exploration to identify improper implementations in query optimizers. This line of work culminated in the development of comprehensive logic bug detection systems for database management systems (DBMS).
Since 2024, Tang has expanded into cloud-native database challenges and the application of large language models (LLMs). This recent phase includes research into robust auto-scaling for cloud databases, where Tang addressed the inherent uncertainty of workload forecasting by shifting from single-valued predictions to probabilistic, quantile-based forecasting. Tang has also explored the integration of human-like cognitive reasoning into LLM-based text-to-SQL translation, aiming to move beyond simple natural language understanding toward holistic logical reasoning. Most recently, Tang has participated in collaborative projects applying these techniques to multimodal learning, automated program repair, and personalized education frameworks.
Representative Work
A Learning to Tune Framework for LSH addresses the computational overhead of approximate nearest neighbor (ANN) search in high-dimensional spaces. While the locality-sensitive hashing (LSH) family is a standard solution for sublinear-time queries, its efficacy typically depends on randomly drawn hash functions, such as Gaussian projections for Euclidean space. Tang proposes a "learning to tune" framework that argues for data-sensitive hashing functions. By developing functions with a higher capacity to distinguish between nearby and distant points based on the underlying data distribution, the work improves the performance bounds of c-approximate NN queries beyond what is achievable with conventional random hashing.
PreQR: Pre-training Representation for SQL Understanding introduces a novel pre-trained representation model designed to capture the complicated semantic context of SQL queries. Tang identifies that traditional one-hot encoding methods used in learning-based database tasks—such as join order selection and performance tuning—cannot adequately represent query structures, database schema definitions, or column distribution variances. To resolve this, the PreQR model employs an automaton to encode query structures and a graph neural network (GNN) to capture the relational dependencies within the schema. This approach allows for a more nuanced understanding of SQL semantics, which is then applicable across various database optimization tasks.
Detecting Logic Bugs of Join Optimizations in DBMS focuses on the reliability of query optimizers, which are prone to logic bugs during the implementation of complex join operations. Tang notes that while generation-based testing is effective for single-table queries, multi-table joins present a much larger and more complex search space that existing tools fail to cover. The proposed TQS framework introduces two primary components: Data-guided Schema and Query Generation (DSG) and Knowledge-guided Query Space Exploration (KQE). By using the data itself to guide schema creation and leveraging domain knowledge to explore the query space, the framework successfully identifies logic bugs that result in incorrect query results in established DBMS.
Robust Auto-Scaling with Probabilistic Workload Forecasting for Cloud Databases tackles the problem of resource under-provisioning in cloud environments. Predictive auto-scaling typically relies on single-valued (point) forecasts of future workloads, which are often inaccurate due to the inherent volatility of cloud traffic. In this work, Tang proposes a robust auto-scaling mechanism that incorporates uncertainty by using probabilistic forecasting. By generating quantile forecasts, the system provides a comprehensive view of potential workload ranges, allowing the auto-scaler to make more conservative and robust resource allocation decisions that maintain system elasticity even when forecasts are imperfect.
CogSQL: A Cognitive Framework for Enhancing Large Language Models in Text-to-SQL Translation explores the limitations of current LLM-based approaches to generating SQL from natural language. Tang argues that while existing models focus on improving natural language understanding or SQL refinement, they lack the holistic, multi-step logical reasoning that humans use when translating complex questions into queries. The CogSQL framework introduces a cognitive-inspired approach that guides the LLM through transitional reasoning steps. This structured reasoning process aims to improve the accuracy of the final SQL output by ensuring the model maintains a logical trajectory from the initial question to the final structured query.
T²DR: A Two-Tier Deficiency-Resistant Framework for Incomplete Multimodal Learning addresses the challenge of incomplete data in multimodal machine learning, where linguistic, acoustic, or visual signals may be missing or corrupted. Tang contributes to a two-tier framework designed to handle both intra-modality (deficiencies within a single signal) and inter-modality (missing signals entirely) data gaps. The research focuses on creating a robust representation learning mechanism that can maintain reliable semantic interpretation and reasoning even when the input data is deficient, which is a common occurrence in real-world multimodal interactions.
Current Directions
Tang’s current research continues to bridge the gap between advanced machine learning architectures and the practical requirements of data systems. One primary direction involves the refinement of LLM-based database interfaces, focusing on how cognitive frameworks can make text-to-SQL systems more reliable for non-expert users. This involves not only improving the accuracy of the generated code but also ensuring the models can handle ambiguous schema definitions and complex relational logic.
Another active area of focus is the continued development of automated testing and debugging tools for database systems. Building on the success of logic bug detection in join optimizations, Tang is exploring how these techniques can be extended to other complex database features, such as window functions and nested subqueries. This work aims to create a more comprehensive suite of tools for ensuring the correctness of query optimizers in both traditional and cloud-native DBMS.
Finally, Tang is investigating the application of adaptive learning and probabilistic modeling to broader system optimization tasks. This includes exploring how the principles of robust auto-scaling can be applied to other cloud-native components and how personalized education frameworks can leverage LLMs to adapt to the cognitive states of individual learners. These efforts reflect a broader interest in creating systems that are not only intelligent but also resilient to the uncertainties and deficiencies inherent in real-world data and user interactions.
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