Mahmoud Abo Khamis
· 7 previous affiliations
- University of OxfordSince 2026
- Associate Professor · Since 2026
- Wadham CollegeSince 2026
- Tutorial Fellow · Since 2026
- RelationalAI2017–2026
- Researcher · 2017–2026
- Visiting Research Scientist · 2023
- Researcher · 2023
- Infor (United States)2015–2017
- Researcher · 2015–2017
- Doctor of Philosophy - PhD, Computer Science and Engineering · 2013–2016
- Master of Science - MS, Computer Science and Engineering · 2011–2012
Research Overview
Mahmoud Abo Khamis focuses on theoretical database foundations, in-database machine learning, and query optimization. His trajectory traces a path from geometric frameworks for relational joins to the integration of statistical models directly over normalized data. Most recently, his work addresses the computational complexity of functional aggregate queries and relational gradient descent algorithms.
Research Trajectory
The early research trajectory of Mahmoud Abo Khamis is anchored in foundational database theory, specifically the algorithmic optimization of relational joins. In 2014, as first author, he introduced a novel geometric framework for this problem in Joins via Geometric Resolutions: Worst-case and Beyond. By formalizing the inference performed with a database index as a type of geometric resolution, this work achieved the fractional hypertree-width bound and generalized classical worst-case algorithmic results. Furthermore, the framework allowed for proofs regarding data stored in BTrees and multidimensional data structures, demonstrating results that extended into the research area of Instance Optimality Beyond the Worst Case and the broader direction of Adaptive Search Pruning via Empty Space and Constraints.
Around 2017, Abo Khamis’s focus expanded to the intersection of relational databases and statistical data models. A major motivation during this period was the inefficiency of the traditional data science pipeline, where practitioners are forced to repeatedly extract features via complex queries, export the data, and convert it for external machine learning tools. This shift contributed significantly to the research direction of Eliminating the Serialization Tax in Heterogeneous Data Pipelines. In In-Database Learning with Sparse Tensors (2017), Abo Khamis led the development of unified solutions designed to perform analytics directly over relational databases, bypassing the costly export loop entirely.
This in-database learning agenda matured in 2018 with the design of specialized solvers capable of handling normalized databases. In AC/DC: In-Database Learning Thunderstruck, Abo Khamis and his co-authors presented a gradient descent solver that decomposes optimization problems into a set of aggregates over the join of database relations. By employing sparse data representations, factorized computation, and problem reparameterization under functional dependencies, the AC/DC system successfully addressed the challenges of large database sizes and mixtures of continuous and categorical features.
Concurrently, Abo Khamis investigated the theoretical underpinnings of complex queries required for relational machine learning. In On Functional Aggregate Queries with Additive Inequalities (2018), he formulated the problem of answering functional aggregate queries (FAQ-AI) where input factors are defined by additive inequalities between variables. To solve these queries in the Boolean semiring, the research introduced relaxed tree decompositions alongside relaxed submodular and fractional hypertree width parameters, extending the InsideOut algorithm with geometric data structures for semigroup range search.
Moving into 2020, the trajectory returned to core relational operations through the lens of instance optimality. In Instance Optimal Join Size Estimation, Abo Khamis presented an algorithm for estimating the size of inner joins that removes the dependency on the join size itself. Previously, instance optimal algorithms were only known to be effective when the join size was small; this work extended instance optimality to all instances, regardless of scale, and provided new methods for sampling rows from the join.
In 2021, this theoretical rigor was applied to specific machine learning models over relational data. A Relational Gradient Descent Algorithm For Support Vector Machine Training addressed the "#P-hard" subtraction problem inherent in computing the gradient of the SVM objective on relational data. The paper demonstrated that computing any constant approximation of this gradient is computationally intractable, even for acyclic joins. To circumvent this, Abo Khamis and his collaborators restricted their attention to stable instances—where a nearly optimal solution remains nearly optimal under slight perturbations—providing a viable approximation algorithm for SVM training directly over joins.
Current Directions
The most recent papers in the evidence, published between 2020 and 2021, address the computational complexity of evaluating and approximating functional aggregation queries on relational data. A primary focus is managing queries subject to additive inequalities, which arise frequently in relational learning applications. Because exact computation in these scenarios is often NP-hard, recent work investigates efficient algorithms for approximating these queries with arbitrarily small relative error. Additionally, this period reflects an ongoing interest in adapting classical machine learning optimization techniques—such as gradient descent for Support Vector Machines—to operate directly over relational data structures by identifying and exploiting stable problem instances to bypass fundamental computational bottlenecks.
Profile updated
| Title | Venue | Year |
|---|---|---|
| Approximate Aggregate Queries Under Additive Inequalities | Apocs | 2021 |
| An Approximation Algorithm for the Matrix Tree Multiplication Problem | Mfcs | 2021 |
| Instance Optimal Join Size Estimation | Lagos | 2021 |
| A Relational Gradient Descent Algorithm For Support Vector Machine Training | Apocs | 2021 |
| Learning Models over Relational Data Using Sparse Tensors and Functional Dependencies | ACM Trans. Database Syst | 2020 |
| Functional Aggregate Queries with Additive Inequalities | ACM Trans. Database Syst | 2020 |
| A Layered Aggregate Engine for Analytics Workloads | SIGMOD | 2019 |
| Learning Models over Relational Data: A Brief Tutorial | Sum | 2019 |
| AC/DC: In-Database Learning Thunderstruck | Deem@sigmod | 2018 |
| In-Database Learning with Sparse Tensors | Pods | 2018 |
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