Mahdi Erfanian
Ph.D. Candidate at UIC | Student Researcher at Microsoft
5453, Computer Design Research and Learning Center (CDRLC)
850 W Taylor street,
Chicago, IL 60607
I’m Mahdi Erfanian, a Ph.D. candidate in Computer Science at the University of Illinois Chicago, where I am a member of the InDeXLab under the supervision of Dr. Abolfazl Asudeh. I received my M.S. in Computer Science from UIC (awarded en route to my Ph.D.) and my B.Sc. in Computer Engineering from Sharif University of Technology. I am currently a Student Researcher with Microsoft’s Code|AI team, working on hallucination mitigation in large language models and generative AI coding agents, including Delulu-FIM, the first execution-verified benchmark for code hallucinations in fill-in-the-middle completion. My research spans large language models, multimodal data management, generative AI, vector databases, information retrieval, and efficient AI systems.
I build practical systems that use foundation models to address challenges in responsible data management and complex multimodal retrieval. My work has appeared in top-tier venues including VLDB, ICML, and the IEEE Data Engineering Bulletin, and my thesis work was selected for an oral presentation at the VLDB 2026 Ph.D. Workshop. These systems include Needle, which achieves up to a 3x improvement in mean average precision over OpenAI’s CLIP on complex natural-language queries, and RSR, which accelerates binary and ternary matrix multiplication by up to 24x over NumPy and 2.5x on quantized LLMs.
news
| Aug 15, 2026 | Generative AI for Multi-Modal Data Management was accepted for an oral presentation at the VLDB 2026 Ph.D. Workshop. I also received an NSF-sponsored VLDB 2026 Student Travel Award. |
|---|---|
| May 08, 2026 | Released Delulu-FIM, the first execution-verified multilingual benchmark for hallucination detection in fill-in-the-middle code generation. The dataset is available on Hugging Face. |
| Apr 27, 2026 | Released BibTeX Verifier, an open-source, in-browser tool that checks .bib entries against CrossRef and Semantic Scholar—useful for catching metadata mistakes and AI-hallucinated citations. Everything runs locally; only titles are sent to public APIs. Live app · GitHub |
| Mar 20, 2026 | Serving as PC member and reviewer for top-tier venues! |
| Mar 15, 2026 | Delivered guest lectures at UIC: CS516 (Responsible Data Science) on Generative AI and Fairness, and CS418 (Intro to Data Science) on Generative AI and Multimodal Data Management. |
| Mar 01, 2026 | Released the preprint NeedleDB: A Generative-AI-Based System for Accurate and Efficient Image Retrieval using Complex Natural Language Queries. |
| Feb 01, 2026 | Released the preprint Needle: A Generative-AI-Powered Multimodal Database for Answering Complex Natural Language Queries. Needle achieves up to a 3x improvement in mean average precision over OpenAI’s CLIP on complex natural-language queries. |
selected publications
- Preprint
Delulu-FIM: A Verified Multilingual Benchmark for Code Hallucination Detection in Fill-in-the-Middle TasksarXiv preprint arXiv:2605.07024, 2026Preprint - Preprint
Synthetic Hallucinations, Real Gains: Hard Negatives from Frontier Models for FIM Hallucination Mitigation2026Preprint - Preprint
NeedleDB: A Generative-AI-Based System for Accurate and Efficient Image Retrieval using Complex Natural Language Queries2026Preprint