Database Systems & Spatial Data
Designing scalable data-processing techniques, with interests in distributed spatial queries, learned optimization, and efficient data management.

PhD Student in Computer Science

Also known as Ahmed M Hamdi
University of California, Riverside
Building efficient data and retrieval systems for reliable, data-grounded AI.
I'm a PhD student in Computer Science at the University of California, Riverside, working with Prof. Amr Magdy.
My research lies at the intersection of database systems, information retrieval, and machine learning, with a particular interest in how language models can interact effectively with structured and heterogeneous data.
Currently, I focus on retrieval for text-to-SQL, retrieval-augmented generation, and intelligent data access across different sources. My previous work spans spatial database systems, Arabic natural language processing, and computer vision.
Current focus
Designing scalable data-processing techniques, with interests in distributed spatial queries, learned optimization, and efficient data management.
Helping natural-language systems identify relevant databases, retrieve the right tables, and understand relationships within large collections of structured data.
Exploring retrieval architectures that connect language models with relational databases, knowledge graphs, vector stores, and other data sources.
Investigating how learned representations and machine learning can improve data retrieval, query processing, and system efficiency.
ICDE 2026 · Database systems
Proceedings of the 42nd IEEE International Conference on Data Engineering (ICDE)
Introduces a learning-based approach to optimizing distributed spatial joins by identifying dataset similarities and reusing effective partitioning strategies.
Key result: Up to 3.6× faster overall join execution and 2.71× faster partitioning compared with evaluated baselines.
How can a natural-language question be matched to the correct database and all the tables needed to answer it, especially when many databases are available?
How can retrieval systems combine information from relational databases, knowledge graphs, vector stores, and APIs while accounting for their different capabilities and constraints?
How can retrieval systems improve answer coverage and relevance while keeping computational overhead and latency low?
I enjoy building software, experimenting with new technologies, and learning through hands-on projects. This website is also a place to share technical notes, small experiments, things I've learned, and occasional updates beyond academic research.
Read technical notesresearch
I'm excited to share that my collaborators and I have submitted two papers to ICLR 2027. Wish us luck!
teaching
I'm excited to share that I am serving as a Teaching Assistant for CS 236 and CS 279 at UC Riverside during the Fall 2026 quarter. Looking forward to supporting students and being part of a great quarter!

Alexandria University · Completed · 2016 – 2021
Alexandria University · Completed · 2021 – 2024
University of California, Riverside · Current
2025-10 – Present
2024-10 – Present
Teaching: CS 236, CS 279, and previous courses · View teaching