Hassen

hi, I'm hsn

AI/ML research engineer. I work at the intersection of representation learning, clinical NLP, and probabilistic modelling, building systems that compress meaning into geometry.

Currently focused on hierarchical medical coding with Matryoshka embeddings, and exploring generative models for structured latent spaces.

I write about research, systems, and things I find interesting. Find my work on GitHub or reach out directly.

Latest posts
See all posts
Work Experience
Full CV
  • Feb2025 - Aug2025
    Datalogic USA, Inc.
    ML Research Intern
    • Probabilistic Modeling & Latent Space Geometry: Architected a custom von Mises-Fisher Mixture Model (vMFMM) via Expectation-Maximization to cluster 128-dimensional hyperspherical embeddings from ArcFace/CCE losses — 98% Top-4 Macro recall, 85% Top-1 Macro, a 1–5% improvement over Euclidean GMM baselines across 6 architectures on 500K+ images.
    • Data Pipeline & Incremental Learning: Engineered a 200-day continuous learning simulation benchmarking 6 ML architectures (XGBoost, SVM, Random Forest, etc.); demonstrated peak accuracy within a 50-day window, directly informing deployment timelines and data collection strategy.
    • Hyperparameter Ablation: Executed ablation studies across 380K+ training samples; statistically validated a 5-component vMFMM as optimal for long-tail imbalanced class distributions.
    • Robustness & OOD Testing: Stress-tested the vision pipeline with targeted label corruption and Gaussian feature noise; validated zero-shot OOD generalization under sensor degradation conditions.
Recent projects
See all projects
Let's Connect

If you want to get in touch with me about something or just to say hi, reach out on social media or send me an email.

training...