Mahdi Erfanian

Ph.D. Candidate at UIC | Research Intern at Microsoft

prof_pic.jpg

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 Ph.D. Research Intern with Microsoft’s **Code AI** team, working on hallucination mitigation in large language models and generative AI coding agents. 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. 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

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! :dart: PC Member for WWW 2026, CIKM 2026/2025/2024, KDD 2026, NeurIPS 2026. Reviewer for ICLR 2026, NeurIPS 2025 (DynaFront), TKDE 2025/2024, PETRA 2024 (ETHER-AI).
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. :teacher:
Mar 01, 2026 “NeedleDB: A Generative-AI Based System for Accurate and Efficient Image Retrieval using Complex NL Queries” has been submitted to VLDB 2026! :sparkles:
Feb 01, 2026 “Needle: A Generative AI-Powered Multi-modal Database for Answering Complex Natural Language Queries” has been submitted to KDD 2026! :tada:
Jan 15, 2026 Started a Ph.D. Research Internship at Microsoft (CodeAI team)! :rocket: Working on mitigating hallucination in LLMs and GenAI code agents including Copilot and Codex.
Dec 15, 2025 :mortar_board: Received my M.S. in Computer Science from the University of Illinois Chicago, awarded en route to my Ph.D.!

selected publications

  1. Delulu-FIM: A Verified Multilingual Benchmark for Code Hallucination Detection in Fill-in-the-Middle Tasks
    Mahdi Erfanian, Aayush Garg, Xiao Liu, and 2 more authors
    arXiv preprint arXiv:2605.07024, 2026
    Submitted to EMNLP 2026
  2. Synthetic Hallucinations, Real Gains: Hard Negatives from Frontier Models for FIM Hallucination Mitigation
    Mahdi Erfanian, Aayush Garg, Xiao Liu, and 2 more authors
    2026
    Submitted to TMLR
  3. Generative AI for Multi-Modal Data Management
    Mahdi Erfanian
    In VLDB 2026 Ph.D. Workshop, 2026
    Accepted for oral presentation
  4. Task-Aware Data Augmentation using Generative AI for Group-Distributional Robustness
    Mahdi Erfanian, Boris Glavic, and Abolfazl Asudeh
    2025
    Submitted to The VLDB Journal
  5. NeedleDB: A Generative-AI-Based System for Accurate and Efficient Image Retrieval using Complex Natural Language Queries
    Mahdi Erfanian, and Abolfazl Asudeh
    2026
    Preprint
  6. Needle: A Generative-AI-Powered Multimodal Database for Answering Complex Natural Language Queries
    Mahdi Erfanian, Mohsen Dehghankar, and Abolfazl Asudeh
    arXiv preprint arXiv:2412.00639, 2025
    Submitted to TMLR
  7. An Efficient Matrix Multiplication Algorithm for Accelerating Inference in Binary and Ternary Neural Networks
    Mohsen Dehghankar, Mahdi Erfanian, and Abolfazl Asudeh
    In The 2025 International Conference on Machine Learning, 2025
    arXiv preprint arXiv:2411.06360
  8. Chameleon: Foundation Models for Fairness-Aware Multi-Modal Data Augmentation to Enhance Coverage of Minorities
    Mahdi Erfanian, H. V. Jagadish, and Abolfazl Asudeh
    Proceedings of the VLDB Endowment, 2024
  9. FairEM360: A Suite for Responsible Entity Matching
    Nima Shahbazi, Mahdi Erfanian, Abolfazl Asudeh, and 2 more authors
    Proceedings of the VLDB Endowment, 2024
  10. Coverage-based Data-centric Approaches for Responsible and Trustworthy AI
    Nima Shahbazi, Mahdi Erfanian, and Abolfazl Asudeh
    Bulletin of the IEEE Computer Society Technical Committee on Data Engineering, 2024