Sign in

Hussein Mahdi

@hussein16mahdi.bsky.social
63 followers 79 following 201 posts

Research Engineer & Software Architect at Era Vision · Building efficient neural networks (GNNs / hypergraphs) · husseinmahdi.xyz

PostsRepliesMedia
Hussein Mahdi @hussein16mahdi.bsky.social · 03/10/2026
My article "Your Agent Opened a Folder — The Folder Opened You." is now also on Medium, in Generative AI 👇 #cybersecurity #infosec #security #vulnerability #dev
generativeai.pub
Your Agent Opened a Folder — The Folder Opened You.
A calm, sequential guide for anyone who uses AI coding agents. The article is divided into smaller chapters to make it easier to…
000
Hussein Mahdi @hussein16mahdi.bsky.social · 29/09/2026
Part 2.1 of The Math Behind Neural Networks (Output Units and the Birth of the Sigmoid) is now also on Medium, in GoPenAI 👇 blog.gopenai.com/the-math-beh...
blog.gopenai.com
The Math Behind Neural Networks, Explained Like Nobody Did for Me
Part 2.1 — Output Units and the Birth of the Sigmoid. A calm, sequential guide for anyone entering the field. The article is divided into…
020
Reposted by Hussein Mahdi
International PHP Conference @phpconference.bsky.social · 28/09/2026
🏗️ Monolith or microservices? Focus on coupling. Mike Lehan shows how to: 🧩 create clear boundaries 🔗 reduce dependencies 🛰️ use satellite services 👉 Read the #IntPHPcon article: tinyurl.com/7pf2umb2 #PHP #SoftwareArchitecture
tinyurl.com
Monolith vs Microservices: Reduce Coupling, Improve Architecture
How coupling and communication shape architecture decisions. Compare monoliths and microservices and build more maintainable systems.
002
Hussein Mahdi @hussein16mahdi.bsky.social · 24/09/2026
Your AI agent opens a folder. The folder opens you. 🧵 A malicious repo can hide one line in its Git config that runs code the moment your agent checks git status — no click, no prompt. (A normal git clone is safe; zips and USB sticks aren't.) 👇 #cybersecurity #infosec #security #vulnerability #dev
husseinmahdi.xyz
Your Agent Opened a Folder — The Folder Opened You. — Hussein Mahdi Al-Rubaie
AI coding agents auto-run git status, which can trigger a poisoned fsmonitor setting inside a zipped repo, silently running attacker code. Update tools, sandbox, disable fsmonitor.
530
Hussein Mahdi @hussein16mahdi.bsky.social · 23/09/2026
Why is the sigmoid shaped the way it is? Most tutorials just hand it to you. In Part 2.1 of my Math Behind Neural Networks series, I derive it from scratch — one assumption, exponentiate, normalize, and the sigmoid + Bernoulli fall out. #AI #Science #SciComm #AIResearch #AcademicSky #dev
husseinmahdi.xyz
The Math Behind Neural Networks, Part 2.1 — Output Units and the Birth of the Sigmoid — Hussein Mahdi Al-Rubaie
Output units turn features into answers. A linear unit predicts a Gaussian's mean, giving squared error. For yes/no, log-linearity plus exp and normalization derive the sigmoid and its Bernoulli.
120
Reposted by Hussein Mahdi
Hussein Mahdi @hussein16mahdi.bsky.social · 12/09/2026
This is a list of the scientists and organizations that contributed to shaping my ideas and developing my model H2GNN. #AI #Science #SciComm #AIResearch #MachineLearning #life #AcademicSky #dev #AI
021
Reposted by Hussein Mahdi
Hussein Mahdi @hussein16mahdi.bsky.social · 19/09/2026
Code is out for our ECAI 2026 paper. H²GNN predicts drug-drug interactions from SMILES alone: 98.46% ROC-AUC binary, 98.11% Top-3 across 86 interaction types. Runs on 2 CPU cores, no GPU. github.com/Hu8MA/HHGNN #MachineLearning #Bioinformatics #GNN #DrugDiscovery
github.com
GitHub - Hu8MA/H2GNN: Hierarchical hypergraph neural networks predicting drug-drug interactions and their mechanism from SMILES alone. 98.46% ROC-AUC binary, 98.11% Top-3 across 86 interaction types, ...
Hierarchical hypergraph neural networks predicting drug-drug interactions and their mechanism from SMILES alone. 98.46% ROC-AUC binary, 98.11% Top-3 across 86 interaction types, trained CPU-only. E...
011
Hussein Mahdi @hussein16mahdi.bsky.social · 19/09/2026
Code is out for our ECAI 2026 paper. H²GNN predicts drug-drug interactions from SMILES alone: 98.46% ROC-AUC binary, 98.11% Top-3 across 86 interaction types. Runs on 2 CPU cores, no GPU. github.com/Hu8MA/HHGNN #MachineLearning #Bioinformatics #GNN #DrugDiscovery
github.com
GitHub - Hu8MA/H2GNN: Hierarchical hypergraph neural networks predicting drug-drug interactions and their mechanism from SMILES alone. 98.46% ROC-AUC binary, 98.11% Top-3 across 86 interaction types, ...
Hierarchical hypergraph neural networks predicting drug-drug interactions and their mechanism from SMILES alone. 98.46% ROC-AUC binary, 98.11% Top-3 across 86 interaction types, trained CPU-only. E...
011
Hussein Mahdi @hussein16mahdi.bsky.social · 12/09/2026
This is a list of the scientists and organizations that contributed to shaping my ideas and developing my model H2GNN. #AI #Science #SciComm #AIResearch #MachineLearning #life #AcademicSky #dev #AI
021
Hussein Mahdi @hussein16mahdi.bsky.social · 10/09/2026
Today, by the grace of God, I successfully defended my thesis (H2GNN) and was awarded an Excellent grade 🥇 All of this is thanks, first and foremost, to God, as well as to my family, professors, friends, and colleagues. #AI #Science #SciComm #AIResearch #MachineLearning #life #AcademicSky #dev #AI
000
Hussein Mahdi @hussein16mahdi.bsky.social · 08/09/2026
We will wear our graduation caps tomorrow after the graduation thesis defense day is over 🤗🤗 #AI #Science #SciComm #AIResearch #MachineLearning #life #AcademicSky #dev #AI
000
Reposted by Hussein Mahdi
Hussein Mahdi @hussein16mahdi.bsky.social · 31/08/2026
What do you think when researchers achieve such beauty in data encoding? #AI #Science #SciComm #MachineLearning
011
Hussein Mahdi @hussein16mahdi.bsky.social · 06/09/2026
My new article in the "Math Behind Neural Networks" series is now published on the GoPenAI page. I hope you enjoy reading it 🙏 #AI #Science #SciComm #MachineLearning
blog.gopenai.com
The Math Behind Neural Networks, Explained Like Nobody Did for Me
Part 1.4 — Which Loss to Choose, and Why. A calm, sequential guide for anyone entering the field. The article is divided into smaller…
110
Hussein Mahdi @hussein16mahdi.bsky.social · 04/09/2026
Isn't this beautiful 😁 Who has tried to review their thesis before the thesis defense day? #AI #Science #SciComm #MachineLearning
020
Hussein Mahdi @hussein16mahdi.bsky.social · 04/09/2026
A modeling note from our drug–drug interaction work. 🧵 Most graph-based DDI models link drugs pair by pair. But the same molecular substructure shows up across dozens of drugs at once — and a normal graph edge only connects two nodes. #AI #Science #SciComm #MachineLearning
110
Reposted by Hussein Mahdi
ASPET Journals @aspetjournals.bsky.social · 03/09/2026
This study revealed plasma ezetimibe-glucuronide, following a subtherapeutic dose of ezetimibe, as a biomarker for MASH-associated transporter dysfunction and hepatocyte ballooning, underscoring its potential in clinical diagnosis. Read our Editor's Choice: ow.ly/tXqZ50ZIgFY #pharmsky 🧪
031
Hussein Mahdi @hussein16mahdi.bsky.social · 31/08/2026
What do you think when researchers achieve such beauty in data encoding? #AI #Science #SciComm #MachineLearning
011
Reposted by Hussein Mahdi
Hussein Mahdi @hussein16mahdi.bsky.social · 28/08/2026
A patient on 8 meds can face hundreds of possible DDI. Most models only answer "is there one?" but clinicians need to know which kind, and that's the harder problem. We built a H2GNN that does both, straight from molecular structure (SMILES). #AI #Science #SciComm #MachineLearning
111
Hussein Mahdi @hussein16mahdi.bsky.social · 28/08/2026
A patient on 8 meds can face hundreds of possible DDI. Most models only answer "is there one?" but clinicians need to know which kind, and that's the harder problem. We built a H2GNN that does both, straight from molecular structure (SMILES). #AI #Science #SciComm #MachineLearning
111
Reposted by Hussein Mahdi
Hussein Mahdi @hussein16mahdi.bsky.social · 26/08/2026
I wish our team the best of luck in their endeavor. #AI #Science #SciComm #AIResearch #MachineLearning #life #AcademicSky #dev #AI
001
Hussein Mahdi @hussein16mahdi.bsky.social · 26/08/2026
I wish our team the best of luck in their endeavor. #AI #Science #SciComm #AIResearch #MachineLearning #life #AcademicSky #dev #AI
001
Hussein Mahdi @hussein16mahdi.bsky.social · 20/08/2026
That's great! Now start preparing for your thesis defense, which will be on the special day of 9/9. #AI #Science #SciComm #AIResearch #MachineLearning #life #AcademicSky #dev #AI
041
Reposted by Hussein Mahdi
Hussein Mahdi @hussein16mahdi.bsky.social · 18/08/2026
My article was published on GoPenAI for the Medium platform; you can view it within the "Mathematics Behind Neural Networks" series. #AI #Science #SciComm #AIResearch #MachineLearning
medium.com
The Math Behind Neural Networks, Part 1.3 — Where the Loss Function Comes From
A calm, sequential guide for anyone entering the field. The article is divided into smaller chapters to make it easier to understand.
002
Hussein Mahdi @hussein16mahdi.bsky.social · 18/08/2026
My article was published on GoPenAI for the Medium platform; you can view it within the "Mathematics Behind Neural Networks" series. #AI #Science #SciComm #AIResearch #MachineLearning
medium.com
The Math Behind Neural Networks, Part 1.3 — Where the Loss Function Comes From
A calm, sequential guide for anyone entering the field. The article is divided into smaller chapters to make it easier to understand.
002
Reposted by Hussein Mahdi
Hussein Mahdi @hussein16mahdi.bsky.social · 08/08/2026
New milestone: I just joined ResearchGate this week 🔬 It's where I'll be sharing my research — and, more importantly, where I hope to have real discussions with other researchers. www.researchgate.net/profile/Huss... #AI #Science #SciComm #AIResearch #MachineLearning
001
Hussein Mahdi @hussein16mahdi.bsky.social · 09/08/2026
The aesthetic appeal of design can sometimes be a place to spend enjoyable time. #life #AcademicSky#Science #dev
121
Hussein Mahdi @hussein16mahdi.bsky.social · 08/08/2026
New milestone: I just joined ResearchGate this week 🔬 It's where I'll be sharing my research — and, more importantly, where I hope to have real discussions with other researchers. www.researchgate.net/profile/Huss... #AI #Science #SciComm #AIResearch #MachineLearning
001
Hussein Mahdi @hussein16mahdi.bsky.social · 05/08/2026
I believe I will return to work now, as I have no other option but to develop.
000
Hussein Mahdi @hussein16mahdi.bsky.social · 03/08/2026
I spent almost 6 hours solving 10 deep-level Python tests with data structures. All this effort just to be a low-level neural network programmer? What is this 😠😠? #AI #Science #SciComm #AIResearch #MachineLearning
020
Reposted by Hussein Mahdi
Hussein Mahdi @hussein16mahdi.bsky.social · 02/08/2026
Everyone uses "mean squared error." Almost nobody asks where it comes from. New piece: I derive MSE from scratch — maximum likelihood + a Gaussian — instead of just asserting it. Part 1.3 of The Math Behind Neural Networks, live now: #AI #Science #SciComm #AIResearch #MachineLearning
husseinmahdi.xyz
The Math Behind Neural Networks, Part 1.3 — Where the Loss Function Comes From — Hussein Mahdi Al-Rubaie
Cost functions derived from maximum likelihood. Why probabilities multiply, how the logarithm keeps the order— the top-down route to the loss we assumed in 1.1.
021
Hussein Mahdi @hussein16mahdi.bsky.social · 02/08/2026
Everyone uses "mean squared error." Almost nobody asks where it comes from. New piece: I derive MSE from scratch — maximum likelihood + a Gaussian — instead of just asserting it. Part 1.3 of The Math Behind Neural Networks, live now: #AI #Science #SciComm #AIResearch #MachineLearning
husseinmahdi.xyz
The Math Behind Neural Networks, Part 1.3 — Where the Loss Function Comes From — Hussein Mahdi Al-Rubaie
Cost functions derived from maximum likelihood. Why probabilities multiply, how the logarithm keeps the order— the top-down route to the loss we assumed in 1.1.
021
Hussein Mahdi @hussein16mahdi.bsky.social · 02/08/2026
Where does "mean squared error" actually come from? Most tutorials hand it to you. My new piece derives it — from maximum likelihood + a Gaussian — and shows why cross-entropy often beats it. Part 1.3 of The Math Behind Neural Networks. Live today, 9 AM. 🧵 soon
110
Hussein Mahdi @hussein16mahdi.bsky.social · 29/07/2026
#MachineLearning #AI #Science #SciComm #AIResearch
020
Reposted by Hussein Mahdi
Hussein Mahdi @hussein16mahdi.bsky.social · 29/07/2026
Our paper is now in IEEE Xplore, presented at ECAI 2026 (Bucharest). Core idea: a drug's chemistry builds the pathways behind its interactions, and hypergraphs represent that best. A novel hypergraph model beats GCN/GAT on accuracy AND complexity. ieeexplore.ieee.org/document/116...
ieeexplore.ieee.org
001
Hussein Mahdi @hussein16mahdi.bsky.social · 29/07/2026
Our paper is now in IEEE Xplore, presented at ECAI 2026 (Bucharest). Core idea: a drug's chemistry builds the pathways behind its interactions, and hypergraphs represent that best. A novel hypergraph model beats GCN/GAT on accuracy AND complexity. ieeexplore.ieee.org/document/116...
ieeexplore.ieee.org
001
Reposted by Hussein Mahdi
Hussein Mahdi @hussein16mahdi.bsky.social · 28/07/2026
Part 0 of my Math Behind Neural Networks series is now also on Medium, published in CodeToDeploy. Same plain-language intro to what a neural network really is — now wherever you prefer to read. medium.com/codetodeploy...
medium.com
The Math Behind Neural Networks, Part 0 — Where Deep Learning Comes From
A calm, sequential guide for anyone entering the field. The article is divided into smaller chapters to make it easier to understand.
002
Hussein Mahdi @hussein16mahdi.bsky.social · 28/07/2026
Part 0 of my Math Behind Neural Networks series is now also on Medium, published in CodeToDeploy. Same plain-language intro to what a neural network really is — now wherever you prefer to read. medium.com/codetodeploy...
medium.com
The Math Behind Neural Networks, Part 0 — Where Deep Learning Comes From
A calm, sequential guide for anyone entering the field. The article is divided into smaller chapters to make it easier to understand.
002
Hussein Mahdi @hussein16mahdi.bsky.social · 26/07/2026
I started my Math Behind Neural Networks series with the math — and skipped what a neural network actually is. So here's Part 0: the basics in plain language, no equations. The map before the journey begins. #MachineLearning #AI #Science #SciComm #AIResearch
husseinmahdi.xyz
The Math Behind Neural Networks, Part 0 — Where Deep Learning Comes From — Hussein Mahdi Al-Rubaie
What a neural network is before any of the math: why deep learning had to exist, what every term actually means, and why a model must learn its own features. The one model the whole field grows from, ...
020
Hussein Mahdi @hussein16mahdi.bsky.social · 25/07/2026
🚀 Check out my CoderLegion profile & latest post! 🏆 Points: 2.6k | 🎱 Badges: 67 | 👥 Followers: 25 | 📄 Posts: 11 Latest post: "The Math Behind Neural Networks, Explained Like Nobody Did for Me" Read it here: coderlegion.com/23416/the-ma... View my full profile: coderlegion.com/user/Hussein...
coderlegion.com
The Math Behind Neural Networks, Explained Like Nobody Did for Me
*A calm, sequential guide for anyone entering the field. The article is divided into smaller chapters to make it easier to understand.* Deep learning can feel overwhelming at first. You encounter word...
000
Hussein Mahdi @hussein16mahdi.bsky.social · 24/07/2026
What do you think of this kind of art? I find it beautiful, even though it's digital. #Dev #Tech #life
000
Hussein Mahdi @hussein16mahdi.bsky.social · 22/07/2026
🚀 Check out my latest write-up on CoderLegion: "The Leash That Makes AI Polite" Read the full article here: coderlegion.com/19996/the-le... #DevCommunity #Tech
coderlegion.com
The Leash That Makes AI Polite
## How a 1951 statistics formula quietly keeps your chatbot from going feral Two ideas sit underneath every modern AI assistant you've ever used. One is a seventy-year-old equation from information th...
000
Hussein Mahdi @hussein16mahdi.bsky.social · 19/07/2026
The funny and surprising thing is that the cannon was tamed to become more like a multi-purpose launch platform 😁😁 or what they call a "launcher-compatible maneuvering projectile" #MachineLearning #AI #Science #SciComm #AIResearch
ga.com
Precision Guided Munitions
General Atomics Electromagnetic Systems (GA-EMS) precision guided munitions provide increased lethality and overmatch to the warfighter.
010
Hussein Mahdi @hussein16mahdi.bsky.social · 18/07/2026
Our paper "Hierarchical Hypergraph Neural Networks for Multi-Type Drug-Drug Interaction Prediction" was presented at the 18th ECAI 2026 conference in Bucharest 🇷🇴 (IEEE). Proud of this work with Sura Al-Rashid on GNNs for safer drug combinations! #MachineLearning #AI #Science #SciComm #AIResearch
030
Hussein Mahdi @hussein16mahdi.bsky.social · 15/07/2026
Has anyone ever experienced the bitterness of finishing years of study only to find themselves facing a deep void after completing their thesis, a void that the routine of work cannot fill? What solutions have you tried 🙄? #AcademicSky #Science #SciComm #DataScience #AI #AIResearch
120
Hussein Mahdi @hussein16mahdi.bsky.social · 12/07/2026
000
Hussein Mahdi @hussein16mahdi.bsky.social · 11/07/2026
My new personal site is live 🌐 One place for my research, writing, code, and CV — from software architecture down to tiny neural networks.
husseinmahdi.xyz
Hussein Mahdi Al-Rubaie — Research & Software Engineer
Research and software engineer working on efficient neural networks and Complex & Higher-Order Networks.
010
Hussein Mahdi @hussein16mahdi.bsky.social · 05/07/2026
My participation in the IAICT’2026 conference (indexed in IEEE Xplore) in Indonesia had another impact on my thinking. There, researchers exchanged their research papers and competed for top positions. #AcademicSky #Science #SciComm #DataScience #AI #AIResearch
050
Hussein Mahdi @hussein16mahdi.bsky.social · 03/07/2026
It is a great pleasure 🤗 to have presented my first research paper at the 18th ECAI Conference(index IEEE Xplore) in Romania. #AcademicSky #Science #SciComm #DataScience #AI #AIResearch
090
Hussein Mahdi @hussein16mahdi.bsky.social · 01/07/2026
My country's postgraduate education system requires students(Master's or PhD) to sign a declaration form explaining how they use AI tools. Tell me, what about your universities? Do they have this requirement 😏? #AcademicSky#Science #dev #AI
020
Hussein Mahdi @hussein16mahdi.bsky.social · 29/06/2026
000