Prior to joining MBZUAI, Professor Alhafni earned his Ph.D. in Computer Science from New York University, where he was a member of the Computational Approaches to Modeling Language Lab at New York University Abu Dhabi. His doctoral research focused on controlled Arabic natural language generation with applications in AI for education and social impact. This included the development of models and systems for Arabic grammatical error correction, text normalization, and user-centric text rewriting. He also contributed to the development of open-source tools and language models that support Arabic NLP research. Professor Alhafni holds a Master of Science in Computer Science from the University of Southern California, where he conducted research at the Information Sciences Institute on low-resource machine translation and event-relation extraction. He also holds a Bachelor of Science in Computer Science from the University of Bridgeport. Beyond academia, he has conducted applied AI and NLP research at companies such as Grammarly and Dataminr, where he contributed to advancing personalized text generation, multilingual NLP, and extractive summarization technologies.
- Ph.D. in Computer Science, New York University
- M.Sc. in Computer Science, University of Southern California
- B.Sc. in Computer Science, University of Bridgeport