Mostafa ElAraby
mostafaelaraby.bsky.social
Mostafa ElAraby
@mostafaelaraby.bsky.social
AI researcher @ Mila, UdeM. PhD focused on OOD detection & generalization. Building robust deep learning. Previously: Microsoft ATL, Tensorgraph. #AI #MachineLearning
Surprising slowdown for senior devs due to AI? 📉 A METR RCT tested top AI tools (Cursor Pro, Claude 3.5/3.7) on experienced open-source maintainers, revealing a 19% slowdown in real-world tasks. The "Perception Gap" is clear: devs expected a 24% speedup and later thought AI saved them 20% time.
Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity
Despite widespread adoption, the impact of AI tools on software development in the wild remains understudied. We conduct a randomized controlled trial (RCT) to understand how AI tools at the…
arxiv.org
November 21, 2025 at 10:01 PM
Merging LoRA weights? You might be throwing away a powerful security feature! 🤯
A new paper shows unmerged LoRA modules are a game-changer for detecting near-OOD data.
I wrote a blog post breaking down the idea. Check it out!
🔗: www.mostafaelaraby.com/paper%20revi...
November 6, 2025 at 8:30 PM
PhD students: How much time does your supervisor spend with you?

A Nature survey found ~half spend <1 hour/week with theirs.

Yet, more supervisor time is linked to much higher satisfaction (82% vs 69%). Supportive mentorship is crucial.

Full article: www.nature.com/articles/d41...
#PhDLife
What makes PhD students happy? Good supervision
Supervisors who invest in positive mentoring relationships with their PhD candidates also reap the benefits for their own research.
www.nature.com
November 4, 2025 at 3:02 PM
Go beyond the data! 🧠 Neural network weights are a rich, untapped resource.
My new blog post dives into Weight Space Learning, exploring how we can analyze models to predict performance and combine them to build better ones.
#ML #DNN #Weight_Space
mostafaelaraby.com/paper%20revi...
October 10, 2025 at 7:30 PM
🚀 We're excited to introduce GROOD! A new, training-free method to help models know what they don't know (aka OOD Deteciton).

🔗 Paper: openreview.net/forum?id=2V7...
💻 Code: github.com/mostafaelara...
🎥 Video Overview: www.youtube.com/watch?v=n4-g...
September 25, 2025 at 11:20 PM
Just dropped a new blog post! 🚀 I'm breaking down how to move your machine learning projects from Docker to Singularity for use in high-performance computing (HPC) environments. Check it out! #MLOps #Docker #Singularity #HPC #MachineLearning
www.mostafaelaraby.com/tutorials/20...
Dev on Docker, Deploy on Singularity The MLOps Workflow You’ve Been Missing
You’ve perfected your machine learning model in a Docker container on your local machine. But how do you run it on a secure, shared high-performance computing (HPC) cluster? The answer is…
www.mostafaelaraby.com
September 25, 2025 at 4:42 PM
Ever wonder why LLMs sometimes... make things up? 🤔 I dove into a deep survey on AI hallucinations & summarized the key findings! 💡
Check out the breakdown:
www.mostafaelaraby.com/paper%20revi...
#AI #LLM #Hallucinations #NLP #Tech #Research
Decoding LLM Hallucinations An In-Depth Survey Summary
The rapid advancement of Large Language Models (LLMs) has brought transformative capabilities, yet their tendency to “hallucinate”—generating outputs that are nonsensical, factually incorrect, or unfa...
www.mostafaelaraby.com
April 29, 2025 at 5:30 PM
Topology of Out-of-Distribution Examples in Deep Neural Networks a paper review
open.substack.com/pub/mostafae...
Topology of Out-of-Distribution Examples in Deep Neural Networks
As deep neural networks (DNNs) become more common, concerns about their robustness, particularly when facing unfamiliar inputs, are growing.
open.substack.com
April 21, 2025 at 5:07 PM