Hybrid search, RAG & GraphRAG
BM25 + dense-vector retrieval in Elasticsearch and FAISS, re-ranking, and graph-grounded RAG on Neo4j.

Senior AI & Data Scientist at DealCircle, where I lead the recommendation, hybrid-search, GraphRAG and multi-agent enrichment systems behind an M&A deal-sourcing platform, built on a Neo4j knowledge graph. I'm the author of a book on knowledge graphs and ontologies (RDF, OWL, SPARQL, SHACL and property graphs). Before industry I earned a Ph.D. in computational physics, co-authored the open-source TelescopeML package with NASA Ames, and specialised in explainable AI.
Physics taught me to distrust a result I can't explain. In simulations, a quiet modelling assumption could shift a prediction by half, with nothing in the output to warn you.
I brought that habit to AI. The failures that matter most rarely crash. They return fluent, confident, wrong answers. So I build systems that show their evidence: explainable models, retrieval that cites its sources, knowledge graphs that know which facts are guesses.
I write about these failures every week in Silent Failures in AI, and I built postloom after losing a great question under one of my own articles.
BM25 + dense-vector retrieval in Elasticsearch and FAISS, re-ranking, and graph-grounded RAG on Neo4j.
Content-based, collaborative and graph-aware recommenders for sparse, high-value two-sided markets.
LangGraph / LangChain agents for web discovery, crawling, extraction and company profiling at scale.
LIME, SHAP and CAM — adapted to images, spectra and time series — so model decisions can be audited.
The recommendation, hybrid-search and data-enrichment layer that connects companies for sale and their M&A advisors with the right strategic and financial buyers on DealCircle's platform.
A free, local-first app that turns your LinkedIn articles, posts and every comment under them into a private, searchable knowledge graph. It answers questions with citations, shows who engages with your work, and drafts replies in your voice, using any AI model or none.
An end-to-end Python package, developed with NASA Ames Research Center, that trains CNNs on spectra of exoplanets and brown dwarfs, predicts their atmospheric parameters with uncertainty and, through the LIMEXplainer module I designed, shows which parts of a spectrum drove each prediction.
One catalog, two graph worlds. A 179-page illustrated guide that takes readers from graph fundamentals through RDF, RDFS, OWL, SPARQL and SHACL alongside Neo4j and Cypher, and on to architecture, governance and graph RAG.
A research workbench, built with Dr. Sdjad Sadeghi for the TimeNet Hackathon 2026, that locates the T-wave peak in a two-channel ECG beat. It fine-tunes and probes a time-series language model from Hugging Face, benchmarks it against waveform baselines, and explains every estimate.
Doctoral research at HHU Düsseldorf with HZDR and European XFEL: a QED-derived model added to a production particle-in-cell code, tuned with Bayesian optimisation, run on HPC clusters and analysed as a large-scale data-science problem. It cut predicted photon counts by 50.4% against the standard model.
Four convolutional autoencoders that encode 112,800 handwritten characters into a compact latent code, shrinking the in-memory footprint from 84.3 MB to 13.8 MB while reconstructing the images almost losslessly.
LIME was built for images and tables. I adapted it to 1-D physiological signals so a CNN's diagnosis of a 12-lead ECG can be traced back to the beats and intervals that produced it, and released the method as a reusable package.
A CNN trained from scratch to separate parasitised from healthy red-blood-cell images, then opened up with LIME and class-activation maps so a clinician can see where in the cell the model is looking before trusting it.
A complete pipeline for classifying peripheral blood cells into eight types, covering EDA, outlier detection, U-Net and GrabCut segmentation, and VGG16 transfer learning. It is productionised as FastAPI microservices with MLflow, DVC, Airflow, Kubernetes and Terraform.
A U-Net trained on the 2018 Data Science Bowl corpus that produces pixel-accurate nucleus masks across very different stains and magnifications, tuned with Hyperband instead of a GPU cluster.
Collaborative filtering, content-based filtering and Bayesian-weighted ranking, implemented side by side on public movie data to learn where each shines, where it fails cold and how they combine. It was the groundwork for production deal matching.
A free 14-chapter course from keyword matching to embeddings, dense retrieval, vector databases, re-ranking, evaluation and RAG. Every chapter pairs intuition with a runnable notebook, and the whole course ships as a website and a 69-page e-book.
A step-by-step architecture guide to real agentic AI systems: LLM gateway, orchestrator, sub-agents, tool registry, memory and retrieval, input/output guardrails and observability.
Université Paris 1 Panthéon-Sorbonne · DataScientest · 400-hour programme + MLOps; defence graded A+
Heinrich Heine Universität Düsseldorf · Magna cum laude
Amazon Web Services
M. Habibi
Book, public review edition v0.2.1, Zenodo (2026) · CC BY 4.0
E. S. Gharib-Nezhad, N. E. Batalha, H. Valizadegan, M. J. S. Martinho, M. Habibi, G. Nookula
Journal of Open Source Software 9(99), 6346 (2024)
M. Habibi, A. Arefiev, T. Toncian
Physics of Plasmas 30, 103108 (2023)
M. Habibi, A. Arefiev, T. Toncian
36th European Conference on Laser Interaction with Matter (ECLIM), 2022
M. Habibi, A. Arefiev, T. Toncian
47th EPS Conference on Plasma Physics, 2021
Open to senior AI / ML engineering roles, consulting and research collaborations.