# Mostafa ElAraby > PhD candidate at Mila / Université de Montréal. Machine learning research focused on out-of-distribution detection, uncertainty estimation, robustness, continual learning, and safe AI for autonomous driving. This is a personal academic website for Mostafa ElAraby. Content is original, written by Mostafa, and free to cite or summarise. The site is built with Jekyll; canonical content lives at the URLs below. For the full-text dump in one file, see `/llms-full.txt`. Mostafa is also available for free 30-minute mentorship / consultation chats — see the booking link on the homepage. ## Researcher profile - [Homepage](https://mostafaelaraby.com/): Bio, research areas, latest news, selected publications, recent posts. - [CV](https://mostafaelaraby.com/cv/): Education, experience, publications, awards, skills. ## Publications - [Publications](https://mostafaelaraby.com/publications/): Selected research papers — OOD detection, uncertainty estimation, continual semantic segmentation, network pruning. - [GROOD: GRadient-aware Out-Of-Distribution detection in interpolated manifolds](https://mostafaelaraby.com/publications/2025/09/12/grood-gradient-aware-out-of-distribution-detection/): TMLR 2025. Gradient-aware OOD detection that exploits class-conditioned manifolds. - [BACS: Background Aware Continual Semantic Segmentation](https://mostafaelaraby.com/publications/2024/04/30/bacs-continual-semantic-segmentation/): Conference on Robots and Vision 2024. Tackles background ambiguity in class-incremental segmentation. - [Identifying efficient sub-networks using mixed integer programming](https://mostafaelaraby.com/publications/2020/02/18/identifying-critical-neurons-in-ann-architectures-using-mixed-integer-programming/): OPT @ NeurIPS 2020. MIP-based neuron pruning. ## Research areas - [Out-of-Distribution Detection — Introduction](https://mostafaelaraby.com/paper%20review/2025/01/15/introduction-to-out-of-distribution-detection/): Why OOD detection matters, taxonomy, surveys. - [Uncertainty Estimation Survey](https://mostafaelaraby.com/paper%20review/2022/12/01/uncertainty-estimation-survey/): Bayesian methods, deep ensembles, evidential models. - [Topology of Out-of-Distribution Samples](https://mostafaelaraby.com/paper%20review/2025/04/21/topology-of-out-of-distribution-samples/): Topological structure of OOD points in feature space. - [LLM Hallucinations Survey](https://mostafaelaraby.com/paper%20review/2025/04/29/decoding-llm-hallucinations-an-in-depth-survey-summary/): Decoding-based factuality methods for large language models. - [VLM OOD Detection Survey](https://mostafaelaraby.com/paper%20review/2026/03/07/vlm-ood-detection-survey/): OOD detection in the vision-language model era. ## Tutorials and writeups - [Blog index](https://mostafaelaraby.com/blog/): All posts. - [Docker → Singularity MLOps Workflow](https://mostafaelaraby.com/tutorials/2025/09/18/docker-to-singularity-mlops-workflow/): HPC-friendly container workflow for ML researchers. - [Introduction to Mixed Integer Programming](https://mostafaelaraby.com/tutorials/2020/06/26/introduction-to-mixed-integer-programming/): Practical MIP for ML practitioners. - [Predicting Generalization Gap using Marginal Distribution](https://mostafaelaraby.com/paper%20review/2020/12/21/predicting-generalization-gap-using-marginal-distribution/): Paper review. - [Predicting Neural Network Accuracy from Weights](https://mostafaelaraby.com/paper%20review/2020/12/30/predicting-neural-network-accuracy-from-weights/): Paper review. ## Projects - [Projects index](https://mostafaelaraby.com/projects/): All open-source projects. - [Imitation Learning in Duckietown](https://mostafaelaraby.com/projects/2021/10/01/imitation-learning-duckietown/): Lane-following with DAgger. - [Continual Learning at CVPR 2021](https://mostafaelaraby.com/projects/2022/06/01/cl-vision-competition/): CVPR challenge writeup. ## External profiles - [Google Scholar](https://scholar.google.com/citations?user=yksTgXkAAAAJ): Citation list. - [GitHub](https://github.com/mostafaelaraby): Code and reproducibility artifacts. - [LinkedIn](https://www.linkedin.com/in/mostafaelaraby): Professional profile. - [X / Twitter](https://x.com/melaraby91): Updates. ## Optional - [News archive](https://mostafaelaraby.com/news/): Paper acceptances, awards, internships. - [Experience timeline](https://mostafaelaraby.com/experience/): Industry and research roles (Microsoft Research, Valeo, Precision AI, Mitacs, etc.). - [Categories index](https://mostafaelaraby.com/categories/): Browse by category. - [Atom feed](https://mostafaelaraby.com/feed.xml): Subscribe. - [Sitemap](https://mostafaelaraby.com/sitemap.xml): Machine-readable URL index. - [Full content dump](https://mostafaelaraby.com/llms-full.txt): Concatenated plain-text of key pages.