Bingnan Chen
Logo HKUST CSE PhD

I am a Ph.D. student in Computer Science and Engineering at the Hong Kong University of Science and Technology (HKUST), where my research focuses on database optimization algorithms, query processing, and query optimization under the supervision of Prof. Ke Yi.

I previously obtained my MPhil degree from HKUST and my bachelor's degree from the University of Science and Technology of China (USTC).

Curriculum Vitae

Education
  • The Hong Kong University of Science and Technology
    Department of Computer Science and Engineering
    Ph.D. Student
    Sep. 2023 - present
  • The Hong Kong University of Science and Technology
    Department of Computer Science and Engineering
    MPhil. Student
    Sep. 2021 - Jul. 2023
  • University of Science and Technology of China
    B.S. in Computer Science
    Sep. 2017 - Jul. 2021
Experience
  • Alibaba Cloud
    Jun. 2026 - present
    Research Intern

    Implement and deploy the Yannakakis+ algorithm for runtime optimization in the query execution engine.

  • Alibaba Cloud
    Aug. 2023 - Feb. 2024
    Research Intern (Database Group)

    Design and implement Yannakakis+, an improved version of the Yannakakis algorithm with theoretical guarantees and better practical performance.

  • SenseTime
    Jan. 2021 - Jul. 2021
    Research Intern

    Design operators and compilation optimizations in deep learning frameworks.

Selected Publications (view all )
System architecture of Yannakakis+ showing DuckDB integration and SQL rewriting
Yannakakis+: Practical Acyclic Query Evaluation with Theoretical Guarantees

Bingnan Chen, Qichen Wang, Binyang Dai, Ke Yi, Feifei Li, Liang Lin

ACM Transactions on Database Systems (TODS) 2026

Acyclic conjunctive queries form the backbone of most analytical workloads and have been extensively studied from both theoretical and practical perspectives. However, a significant gap remains between theory and practice. While the 40-year-old Yannakakis algorithm offers strong theoretical guarantees, it has not been widely adopted in real systems due to its large hidden constant factors. In this paper, we strive to close this gap by proposing Yannakakis+, an improved version of the Yannakakis algorithm that achieves higher practical efficiency while preserving its theoretical guarantees. Yannakakis+ reduces the number of semi-join operations and introduces aggregation pushdown into the Yannakakis algorithm, with newly designed plan enumeration techniques that combine the classical GYO algorithm with cost-based optimization. Our experiments show that Yannakakis+ consistently outperforms the original Yannakakis algorithm and several recent improved variants, including Robust Predicate Transfer (RPT), Shredded Yannakakis (SYA) and Parachute, across a broad range of queries and datasets, with improvements of 1.2x to 35.8x on the JOB benchmark.

Another nice feature of our new algorithm is that it generates a traditional DAG query plan consisting of standard relational operators. This design allows Yannakakis+ to be easily integrated into any standard SQL engine. In addition to a rewrite-based implementation that enables seamless adoption in arbitrary database systems, we also built a dedicated prototype integrated into DuckDB v1.3. This integration enables more fine-grained performance optimizations. Experiments show that Yannakakis+ delivers equivalent or better performance than the native query plans on 136 out of 145 tested queries, achieving an average speedup of 1.94x and a maximum speedup of >100,000x.

Yannakakis+: Practical Acyclic Query Evaluation with Theoretical Guarantees

Bingnan Chen, Qichen Wang, Binyang Dai, Ke Yi, Feifei Li, Liang Lin

ACM Transactions on Database Systems (TODS) 2026

Acyclic conjunctive queries form the backbone of most analytical workloads and have been extensively studied from both theoretical and practical perspectives. However, a significant gap remains between theory and practice. While the 40-year-old Yannakakis algorithm offers strong theoretical guarantees, it has not been widely adopted in real systems due to its large hidden constant factors. In this paper, we strive to close this gap by proposing Yannakakis+, an improved version of the Yannakakis algorithm that achieves higher practical efficiency while preserving its theoretical guarantees. Yannakakis+ reduces the number of semi-join operations and introduces aggregation pushdown into the Yannakakis algorithm, with newly designed plan enumeration techniques that combine the classical GYO algorithm with cost-based optimization. Our experiments show that Yannakakis+ consistently outperforms the original Yannakakis algorithm and several recent improved variants, including Robust Predicate Transfer (RPT), Shredded Yannakakis (SYA) and Parachute, across a broad range of queries and datasets, with improvements of 1.2x to 35.8x on the JOB benchmark.

Another nice feature of our new algorithm is that it generates a traditional DAG query plan consisting of standard relational operators. This design allows Yannakakis+ to be easily integrated into any standard SQL engine. In addition to a rewrite-based implementation that enables seamless adoption in arbitrary database systems, we also built a dedicated prototype integrated into DuckDB v1.3. This integration enables more fine-grained performance optimizations. Experiments show that Yannakakis+ delivers equivalent or better performance than the native query plans on 136 out of 145 tested queries, achieving an average speedup of 1.94x and a maximum speedup of >100,000x.

Query Running Too Slow? Rewrite it with Quorion!
Query Running Too Slow? Rewrite it with Quorion!

Bingnan Chen, Binyang Dai, Qichen Wang, Ke Yi

Proceedings of the 51st International Conference on Very Large Data Bases (VLDB), Demo Track 2025

We will demonstrate Quorion, a query rewriter with theoretical guarantees and better practical performance. Quorion adopts some of the recently developed query planning methods that provide optimality guarantees, including Yannakakis+, an optimized version of the Yannakakis algorithm, generalized hypertree decompositions (GHD), GYO reduction, and cost-based optimization. Quorion also provides a platform for users to explore different query plans for a given query through a web-based interface and compare their performance with classical query plans. Quorion currently supports DuckDB, MySQL, and PostgreSQL, and can be connected to any user-provided database easily through a JDBC connector.

Query Running Too Slow? Rewrite it with Quorion!

Bingnan Chen, Binyang Dai, Qichen Wang, Ke Yi

Proceedings of the 51st International Conference on Very Large Data Bases (VLDB), Demo Track 2025

We will demonstrate Quorion, a query rewriter with theoretical guarantees and better practical performance. Quorion adopts some of the recently developed query planning methods that provide optimality guarantees, including Yannakakis+, an optimized version of the Yannakakis algorithm, generalized hypertree decompositions (GHD), GYO reduction, and cost-based optimization. Quorion also provides a platform for users to explore different query plans for a given query through a web-based interface and compare their performance with classical query plans. Quorion currently supports DuckDB, MySQL, and PostgreSQL, and can be connected to any user-provided database easily through a JDBC connector.

Yannakakis+: Practical Acyclic Query Evaluation with Theoretical Guarantees
Yannakakis+: Practical Acyclic Query Evaluation with Theoretical Guarantees

Qichen Wang*, Bingnan Chen*, Binyang Dai, Ke Yi, Feifei Li, Liang Lin (* equal contribution)

Proceedings of the 2025 International Conference on Management of Data (SIGMOD) 2025

Acyclic conjunctive queries form the backbone of most analytical workloads, and have been extensively studied in the literature from both theoretical and practical angles. However, there is still a large divide between theory and practice. While the 40-year-old Yannakakis algorithm has strong theoretical running time guarantees, it has not been adopted in real systems due to its high hidden constant factor. In this paper, we strive to close this gap by proposing Yannakakis+, an improved version of the Yannakakis algorithm, which is more practically efficient while preserving its theoretical guarantees. Our experiments demonstrate that Yannakakis+ consistently outperforms the original Yannakakis algorithm by 2x to 5x across a wide range of queries and datasets. Another nice feature of our new algorithm is that it generates a traditional DAG query plan consisting of standard relational operators, allowing Yannakakis+ to be easily plugged into any standard SQL engine. Our system prototype currently supports four different SQL engines (DuckDB, PostgreSQL, SparkSQL, and AnalyticDB from Alibaba Cloud), and our experiments show that Yannakakis+ is able to deliver better performance than their native query plans on 160 out of the 162 queries tested, with an average speedup of 2.41x and a maximum speedup of 47,059x.

Yannakakis+: Practical Acyclic Query Evaluation with Theoretical Guarantees

Qichen Wang*, Bingnan Chen*, Binyang Dai, Ke Yi, Feifei Li, Liang Lin (* equal contribution)

Proceedings of the 2025 International Conference on Management of Data (SIGMOD) 2025

Acyclic conjunctive queries form the backbone of most analytical workloads, and have been extensively studied in the literature from both theoretical and practical angles. However, there is still a large divide between theory and practice. While the 40-year-old Yannakakis algorithm has strong theoretical running time guarantees, it has not been adopted in real systems due to its high hidden constant factor. In this paper, we strive to close this gap by proposing Yannakakis+, an improved version of the Yannakakis algorithm, which is more practically efficient while preserving its theoretical guarantees. Our experiments demonstrate that Yannakakis+ consistently outperforms the original Yannakakis algorithm by 2x to 5x across a wide range of queries and datasets. Another nice feature of our new algorithm is that it generates a traditional DAG query plan consisting of standard relational operators, allowing Yannakakis+ to be easily plugged into any standard SQL engine. Our system prototype currently supports four different SQL engines (DuckDB, PostgreSQL, SparkSQL, and AnalyticDB from Alibaba Cloud), and our experiments show that Yannakakis+ is able to deliver better performance than their native query plans on 160 out of the 162 queries tested, with an average speedup of 2.41x and a maximum speedup of 47,059x.

All publications