Demonstration venue · read-only. Every page can be browsed; the buttons that would change it are switched off. Create an account to run TaxoReview on your own data. A simulation from public publication records: the people listed were not invited and did not agree to review.
? Tutorial for this page

Yisu Remy Wang

dblp:185/9964 · DBLP profile ↗
← Back
16ranked-venue papers
4as first author
14since 2021 · last 2026
0000-0002-6887-9395ORCID · verified

Domains — the database's venue-derived domains; a paper can count in several

Databases, data management, data science and information retrieval · 10 · 3 first-author · 9 since 2021Software engineering, systems software and programming languages · 5 · 1 first-author · 4 since 2021Applied, interdisciplinary, general and emerging computing · 1 · 1 since 2021

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Databases, data mining, and information retrieval
8 papers
Query processing and optimization · 60% Database theory · 26% Data models and query languages · 10%
Software engineering, system software, and programming languages
4 papers
Programming languages and type systems · 56% Program analysis · 19% Program synthesis and code generation · 17%
Theoretical computer science
2 papers
Automated reasoning and model checking · 100%

Topics — the 24 heaviest of 28, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Query processing and optimization
join processing
2.532026
TreeTracker Join: Simple, Optimal, Fast · ACM Trans. Database Syst. 2026
Instance-Optimal Acyclic Join Processing Without Regret: Engineering the Yannakakis Algorithm in Column Stores · Proc. VLDB Endow. 2025
Free Join: Unifying Worst-Case Optimal and Traditional Joins · Proc. ACM Manag. Data 2023
Query processing and optimization › join processing › multi-way join
acyclic join
1.922026
TreeTracker Join: Simple, Optimal, Fast · ACM Trans. Database Syst. 2026
Instance-Optimal Acyclic Join Processing Without Regret: Engineering the Yannakakis Algorithm in Column Stores · Proc. VLDB Endow. 2025
Programming languages and type systems › term rewriting
equality saturation
1.732023
Better Together: Unifying Datalog and Equality Saturation · Proc. ACM Program. Lang. 2023
egg: Fast and extensible equality saturation · Proc. ACM Program. Lang. 2021
Rewrite rule inference using equality saturation · Proc. ACM Program. Lang. 2021
Data models and query languages
datalog
1.532024
Convergence of datalog over (Pre-) Semirings · J. ACM 2024
Convergence of Datalog over (Pre-) Semirings · PODS 2022
Optimizing Recursive Queries with Progam Synthesis · SIGMOD Conference 2022
Database theory › logic programming semantics
fixpoint semantics
1.322024
Convergence of datalog over (Pre-) Semirings · J. ACM 2024
Convergence of Datalog over (Pre-) Semirings · PODS 2022
Query processing and optimization › join processing › join algorithms
worst-case optimal join
1.222023
Free Join: Unifying Worst-Case Optimal and Traditional Joins · Proc. ACM Manag. Data 2023
Relational e-matching · Proc. ACM Program. Lang. 2022
Database theory
hypergraph decomposition
1.012026
TreeTracker Join: Simple, Optimal, Fast · ACM Trans. Database Syst. 2026
Query processing and optimization
query execution
1.022024
Convergence of datalog over (Pre-) Semirings · J. ACM 2024
Free Join: Unifying Worst-Case Optimal and Traditional Joins · Proc. ACM Manag. Data 2023
Indexing and storage engines
column store
0.912025
Instance-Optimal Acyclic Join Processing Without Regret: Engineering the Yannakakis Algorithm in Column Stores · Proc. VLDB Endow. 2025
Database theory › semiring semantics
datalog over semirings
0.812024
Convergence of datalog over (Pre-) Semirings · J. ACM 2024
Query processing and optimization
recursive query
0.812024
Convergence of datalog over (Pre-) Semirings · J. ACM 2024
Database theory › datalog evaluation
semi-naive evaluation
0.812024
Convergence of datalog over (Pre-) Semirings · J. ACM 2024
Query processing and optimization › join processing
binary join
0.712023
Free Join: Unifying Worst-Case Optimal and Traditional Joins · Proc. ACM Manag. Data 2023
Programming languages and type systems › logic programming
datalog
0.712023
Better Together: Unifying Datalog and Equality Saturation · Proc. ACM Program. Lang. 2023
Program analysis › static analysis
pointer analysis
0.712023
Better Together: Unifying Datalog and Equality Saturation · Proc. ACM Program. Lang. 2023
Programming languages and type systems
term rewriting
0.712023
Better Together: Unifying Datalog and Equality Saturation · Proc. ACM Program. Lang. 2023
Query processing and optimization › recursive query
recursive query optimization
0.612022
Optimizing Recursive Queries with Progam Synthesis · SIGMOD Conference 2022
Database theory
semiring semantics
0.612022
Convergence of Datalog over (Pre-) Semirings · PODS 2022
Compilers and program optimization
e-graph
0.512021
Rewrite rule inference using equality saturation · Proc. ACM Program. Lang. 2021
Programming languages and type systems › rewriting systems
rewrite rules
0.512021
Rewrite rule inference using equality saturation · Proc. ACM Program. Lang. 2021
Program synthesis and code generation
rewrite rule inference
0.512021
Rewrite rule inference using equality saturation · Proc. ACM Program. Lang. 2021
Automated reasoning and model checking
equational reasoning
0.512021
Rewrite rule inference using equality saturation · Proc. ACM Program. Lang. 2021
Query processing and optimization
query optimization
0.412020
SPORES: Sum-Product Optimization via Relational Equality Saturation for Large Scale Linear Algebra · Proc. VLDB Endow. 2020
Data models and query languages › query language
recursive query languages
0.212024
Convergence of datalog over (Pre-) Semirings · J. ACM 2024

Methods — techniques the papers use, named apart from their topics

equality saturation · 2.6congruence closure · 1.2tree convolution · 1.0pipelined binary hash join · 1.0e-graphs · 1.0shredding · 0.9nested semijoin algebra · 0.9binary join plan · 0.9semiring algebra · 0.8fixpoint theory · 0.8convergence analysis · 0.8term rewriting · 0.7binary join · 0.7relational join · 0.6query plan optimization · 0.6program synthesis · 0.6SMT solver · 0.6e-graph rebuilding · 0.5
YearPublicationVenuePosition
2026 Database Theory in Action: Yannakakis' Algorithm
abstract
Yannakakis' seminal algorithm is optimal for acyclic joins, yet it has not been widely adopted due to its poor performance in practice. This paper briefly surveys recent advancements in making Yannakakis' algorithm more practical, in terms of both efficiency and ease of implementation, and points out several avenues for future research.
Paraschos Koutris, Stijn Vansummeren, Qichen Wang 0001, Yisu Remy Wang, Xiangyao Yu
ICDT4
2026 Algorithms for Optimizing Acyclic Queries
abstract
Most research on query optimization has centered on binary join algorithms like hash join and sort-merge join. However, recent years have seen growing interest in theoretically optimal algorithms, notably Yannakakis' algorithm. These algorithms rely on join trees, which differ from the operator trees for binary joins and require new optimization techniques. We propose three approaches to constructing join trees for acyclic queries. First, we give an algorithm to enumerate all join trees of an alpha-acyclic query by edits with amortized constant delay, which forms the basis of a cost-based optimizer for acyclic joins. Second, we show that the Maximum Cardinality Search algorithm by Tarjan and Yannakakis constructs a unique shallowest join tree, rooted at any relation, for a Berge-acyclic query; this tree enables parallel execution of large join queries. Finally, we prove that any connected left-deep linear plan for a gamma-acyclic query can be converted into a join tree by a simple algorithm, allowing reuse of optimization infrastructure developed for binary joins.
Wim Van den Broeck, Guy Van den Broeck, Yisu Remy Wang
ICDT4
2026 TreeTracker Join: Simple, Optimal, Fast
abstract
We present a novel linear-time acyclic join algorithm, TreeTracker Join ( TTJ ). The algorithm can be understood as the pipelined binary hash join with a simple twist: upon a hash lookup failure, TTJ resets execution to the binding of the tuple causing the failure, and removes the offending tuple from its relation. Compared to the best known linear-time acyclic join algorithm, Yannakakis’s algorithm, TTJ shares the same asymptotic complexity while imposing lower overhead. Further, we prove that when measuring query performance by counting the number of hash probes, TTJ will match or outperform binary hash join on the same plan. This property holds independently of the plan and independently of acyclicity. We are able to extend our theoretical results to cyclic queries by introducing a new hypergraph decomposition method called tree convolution. Tree convolution iteratively identifies and contracts acyclic subgraphs of the query hypergraph. The method avoids redundant calculations associated with tree decomposition and may be of independent interest. Empirical results on TPC-H, the Join Order Benchmark, and the Star Schema Benchmark demonstrate favorable results.
Zeyuan Hu 0001, Yisu Remy Wang, Daniel P. Miranker
ACM Trans. Database Syst.2
2025 Database Theory in Action: Search-Based Program Optimization
abstract
Recent work in programming languages developed an approach to term rewritings based on equality saturation (EqSat), which, instead of applying destructively the rewrite rules, maintains all equivalent expressions in a structure called an E-graph. This paper describes two surprising connections between EqSat and databases, going both ways. On one hand equality saturation can be viewed as a query evaluation problem, with great benefits. On the other hand, most sophisticated SQL query optimizers are based on the Volcano/Cascades framework which, we explain, is a variant of EqSat.
Yihong Zhang 0004, Dan Suciu, Yisu Remy Wang, Max Willsey
ICDT3
2025 Semantic Foundations of Equality Saturation
abstract
Equality saturation is an emerging technique for program and query optimization developed in the programming language community. It performs term rewriting over an E-graph, a data structure that compactly represents a program space. Despite its popularity, the theory of equality saturation lags behind the practice. In this paper, we define a fixpoint semantics of equality saturation based on tree automata and uncover deep connections between equality saturation and the chase. We characterize the class of chase sequences that correspond to equality saturation. We study the complexities of terminations of equality saturation in three cases: single-instance, all-term-instance, and all-E-graph-instance. Finally, we define a syntactic criterion based on acyclicity that implies equality saturation termination.
Dan Suciu, Yisu Remy Wang, Yihong Zhang 0004
ICDT2
2025 Instance-Optimal Acyclic Join Processing Without Regret: Engineering the Yannakakis Algorithm in Column Stores
abstract
Acyclic join queries can be evaluated instance-optimally using Yannakakis' algorithm, which avoids needlessly large intermediate results through semi-join passes. Recent work proposes to address the significant hidden constant factors arising from a naive implementation of Yannakakis by decomposing the hash join operator into two suboperators, called Lookup and Expand. We present a novel method for integrating Lookup and Expand plans in interpreted environments, like column stores, formalizing them using Nested Semijoin Algebra (NSA) and implementing them through a shredding approach. We characterize the class of NSA expressions that can be evaluated instance-optimally as those that are 2-phase: no 'shrinking' operator is applied after an unnest (i.e., expand). We introduce Shredded Yannakakis (SYA), an evaluation algorithm for acyclic joins that, starting from a binary join plan, transforms it into a 2-phase NSA plan, and then evaluates it through the shredding technique. We show that SYA is provably robust (i.e., never produces large intermediate results) and without regret (i.e., is never worse than the binary join plan under a suitable cost model) on the class of well-behaved binary join plans. Our experiments on a suite of 1,849 queries show that SYA improves performance for 85.3% of the queries with speedups up to 62.5x, while remaining competitive on the other queries.
Liese Bekkers, Frank Neven, Stijn Vansummeren, Yisu Remy Wang
Proc. VLDB Endow.4
2024 Convergence of datalog over (Pre-) Semirings
abstract
Recursive queries have been traditionally studied in the framework of datalog, a language that restricts recursion to monotone queries over sets, which is guaranteed to converge in polynomial time in the size of the input. But modern big data systems require recursive computations beyond the Boolean space. In this article, we study the convergence of datalog when it is interpreted over an arbitrary semiring. We consider an ordered semiring, define the semantics of a datalog program as a least fixpoint in this semiring, and study the number of steps required to reach that fixpoint, if ever. We identify algebraic properties of the semiring that correspond to certain convergence properties of datalog programs. Finally, we describe a class of ordered semirings on which one can use the semi-naïve evaluation algorithm on any datalog program.
Mahmoud Abo Khamis, Hung Q. Ngo 0001, Reinhard Pichler, Dan Suciu, Yisu Remy Wang
J. ACM5
2023 Free Join: Unifying Worst-Case Optimal and Traditional Joins
abstract
Over the last decade, worst-case optimal join (WCOJ) algorithms have emerged as a new paradigm for one of the most fundamental challenges in query processing: computing joins efficiently. Such an algorithm can be asymptotically faster than traditional binary joins, all the while remaining simple to understand and implement. However, they have been found to be less efficient than the old paradigm, traditional binary join plans, on the typical acyclic queries found in practice. Some database systems that support WCOJ use a hybrid approach: use WCOJ to process the cyclic subparts of the query (if any), and rely on traditional binary joins otherwise. In this paper we propose a new framework, called Free Join, that unifies the two paradigms. We describe a new type of plan, a new data structure (which unifies the hash tables and tries used by the two paradigms), and a suite of optimization techniques. Our system, implemented in Rust, matches or outperforms both traditional binary joins and WCOJ on standard query benchmarks.
Yisu Remy Wang, Max Willsey, Dan Suciu
Proc. ACM Manag. Data1
2023 Better Together: Unifying Datalog and Equality Saturation
abstract
We present egglog, a fixpoint reasoning system that unifies Datalog and equality saturation (EqSat). Like Datalog, egglog supports efficient incremental execution, cooperating analyses, and lattice-based reasoning. Like EqSat, egglog supports term rewriting, efficient congruence closure, and extraction of optimized terms. We identify two recent applications -- a unification-based pointer analysis in Datalog and an EqSat-based floating-point term rewriter -- that have been hampered by features missing from Datalog but found in EqSat or vice-versa. We evaluate our system by reimplementing those projects in egglog. The resulting systems in egglog are faster, simpler, and fix bugs found in the original systems.
Yihong Zhang 0004, Yisu Remy Wang, Oliver Flatt, David Cao, Philip Zucker, Eli Rosenthal, Zachary Tatlock, Max Willsey
Proc. ACM Program. Lang.2
2022 Convergence of Datalog over (Pre-) Semirings
abstract
Recursive queries have been traditionally studied in the framework of datalog, a language that restricts recursion to monotone queries over sets, which is guaranteed to converge in polynomial time in the size of the input. But modern big data systems require recursive computations beyond the Boolean space. In this paper we study the convergence of datalog when it is interpreted over an arbitrary semiring. We consider an ordered semiring, define the semantics of a datalog program as a least fixpoint in this semiring, and study the number of steps required to reach that fixpoint, if ever. We identify algebraic properties of the semiring that correspond to certain convergence properties of datalog programs. Finally, we describe a class of ordered semirings on which one can use the semi-naive evaluation algorithm on any datalog program.
Mahmoud Abo Khamis, Hung Q. Ngo 0001, Reinhard Pichler, Dan Suciu, Yisu Remy Wang
PODS5
2022 Optimizing Recursive Queries with Progam Synthesis
abstract
Most work on query optimization has concentrated on loop-free queries. However, data science and machine learning workloads today typically involve recursive or iterative computation. In this work, we propose a novel framework for optimizing recursive queries using methods from program synthesis. In particular, we introduce a simple yet powerful optimization rule called the "FGH-rule" which aims to find a faster way to evaluate a recursive program. The solution is found by making use of powerful tools, such as a program synthesizer, an SMT-solver, and an equality saturation system. We demonstrate the strength of the optimization by showing that the FGH-rule can lead to speedups up to 4 orders of magnitude on three, already optimized Datalog systems.
Yisu Remy Wang, Mahmoud Abo Khamis, Hung Q. Ngo 0001, Reinhard Pichler, Dan Suciu
SIGMOD Conference1
2022 Relational e-matching
abstract
We present a new approach to e-matching based on relational join; in particular, we apply recent database query execution techniques to guarantee worst-case optimal run time. Compared to the conventional backtracking approach that always searches the e-graph "top down", our new relational e-matching approach can better exploit pattern structure by searching the e-graph according to an optimized query plan. We also establish the first data complexity result for e-matching, bounding run time as a function of the e-graph size and output size. We prototyped and evaluated our technique in the state-of-the-art egg e-graph framework. Compared to a conventional baseline, relational e-matching is simpler to implement and orders of magnitude faster in practice.
Yihong Zhang 0004, Yisu Remy Wang, Max Willsey, Zachary Tatlock
Proc. ACM Program. Lang.2
2021 Rewrite rule inference using equality saturation
abstract
Many compilers, synthesizers, and theorem provers rely on rewrite rules to simplify expressions or prove equivalences. Developing rewrite rules can be difficult: rules may be subtly incorrect, profitable rules are easy to miss, and rulesets must be rechecked or extended whenever semantics are tweaked. Large rulesets can also be challenging to apply: redundant rules slow down rule-based search and frustrate debugging. This paper explores how equality saturation, a promising technique that uses e-graphs to apply rewrite rules, can also be used to infer rewrite rules. E-graphs can compactly represent the exponentially large sets of enumerated terms and potential rewrite rules. We show that equality saturation efficiently shrinks both sets, leading to faster synthesis of smaller, more general rulesets. We prototyped these strategies in a tool dubbed Ruler. Compared to a similar tool built on CVC4, Ruler synthesizes 5.8× smaller rulesets 25× faster without compromising on proving power. In an end-to-end case study, we show Ruler-synthesized rules which perform as well as those crafted by domain experts, and addressed a longstanding issue in a popular open source tool.
Chandrakana Nandi, Max Willsey, Amy Zhu, Yisu Remy Wang, Brett Saiki, Adam Anderson 0004, Adriana Schulz, Dan Grossman, Zachary Tatlock
Proc. ACM Program. Lang.4
2021 egg: Fast and extensible equality saturation
abstract
An e-graph efficiently represents a congruence relation over many expressions. Although they were originally developed in the late 1970s for use in automated theorem provers, a more recent technique known as equality saturation repurposes e-graphs to implement state-of-the-art, rewrite-driven compiler optimizations and program synthesizers. However, e-graphs remain unspecialized for this newer use case. Equality saturation workloads exhibit distinct characteristics and often require ad-hoc e-graph extensions to incorporate transformations beyond purely syntactic rewrites. This work contributes two techniques that make e-graphs fast and extensible, specializing them to equality saturation. A new amortized invariant restoration technique called rebuilding takes advantage of equality saturation's distinct workload, providing asymptotic speedups over current techniques in practice. A general mechanism called e-class analyses integrates domain-specific analyses into the e-graph, reducing the need for ad hoc manipulation. We implemented these techniques in a new open-source library called egg. Our case studies on three previously published applications of equality saturation highlight how egg's performance and flexibility enable state-of-the-art results across diverse domains.
Max Willsey, Chandrakana Nandi, Yisu Remy Wang, Oliver Flatt, Zachary Tatlock, Pavel Panchekha
Proc. ACM Program. Lang.3
2020 SPORES: Sum-Product Optimization via Relational Equality Saturation for Large Scale Linear Algebra
Yisu Remy Wang, Shana Hutchison, Dan Suciu, Bill Howe, Jonathan Leang
Proc. VLDB Endow.1
2016 Autobahn: using genetic algorithms to infer strictness annotations
abstract
Although laziness enables beautiful code, it comes with non-trivial performance costs. The ghc compiler for Haskell has optimizations to reduce those costs, but the optimizations are not sufficient. As a result, Haskell also provides a variety of strictness annotations so that users can indicate program points where an expression should be evaluated eagerly. Skillful use of those annotations is a black art, known only to expert Haskell programmers. In this paper, we introduce AUTOBAHN, a tool that uses genetic algorithms to automatically infer strictness annotations that improve program performance on representative inputs. Users examine the suggested annotations for soundness and can instruct AUTOBAHN to automatically produce modified sources. Experiments on 60 programs from the NoFib benchmark suite show that AUTOBAHN can infer annotation sets that improve runtime performance by a geometric mean of 8.5%. Case studies show AUTOBAHN can reduce the live size of a GC simulator by 99% and infer application-specific annotations for Aeson library code. A 10-fold cross-validation study shows the AUTOBAHN -optimized GC simulator generally outperforms a version optimized by an expert.
Yisu Remy Wang, Diogenes Nunez, Kathleen Fisher
Haskell1