Machine Learning Researcher

Ayman Saeed

I work at the intersection of NLP, model interpretability, and AI safety — building, breaking, and understanding the language models that increasingly shape our world.

Cape Town, South Africa AIMS South Africa · University of Cape Town

About

Mathematician,
engineer,
researcher.

I'm a Sudanese ML researcher currently completing my MSc in AI for Science at AIMS South Africa, jointly with the University of Cape Town. My background is in electrical and electronic engineering — I graduated first in my class from the University of Khartoum despite a degree interrupted by political strikes.

My research focuses on how large language models behave under pressure: privacy leakage in multi-party conversations, model extraction attacks, and what interpretability tools tell us about the mechanisms inside. I currently teach AI to lecturers across Africa as part of the AIMS × Google.org × FATE Foundation Train-the-Trainer programme, built on Google DeepMind's AI Research Foundations curriculum.

I care most about work that takes safety, fairness, and the African research context seriously — the parts of ML that don't fit cleanly into a benchmark number.

Experience

What I'm doing now.

  1. AI & NLP Expert — Train-the-Trainer

    Nov 2025 — Present

    AIMS South Africa · Cape Town, South Africa

    • Deliver Train-the-Trainer sessions to HEI lecturers (“AI Champions”) and TAs across Nigeria, Ghana, Kenya, and South Africa, enabling local delivery of advanced AI education.
    • Support curriculum localisation, quality assurance, and ongoing technical mentoring for capstone and research projects.
    • Programme delivered by AIMS South Africa with FATE Foundation, supported by Google.org. Curriculum is built on Google DeepMind's AI Research Foundations (developed with UCL).
    TeachingCurriculumDeepMind / UCL
  2. Teaching Assistant

    Aug 2025 — Present

    AIMS South Africa · Cape Town, South Africa

    • Provide academic support to Master's students, run tutorials, and grade assignments for graduate-level AI courses.
    TutoringGraduate

Research & projects

Where I've spent my curiosity.

Master's Research

Benchmarking Interdependent Privacy in AI Assistants

Jan — Jun 2025

Evaluates how state-of-the-art AI assistants handle interdependent privacy — scenarios where one user's disclosure exposes other people's private information.

  • Extended the CI-Bench evaluation framework to capture multi-party privacy risks across family, health, and social contexts.
  • Designed structured representations of context, actors, and information flows to generate realistic multi-turn scenarios.
  • Evaluated GPT- and Gemini-class models on context interpretation, norm identification, and appropriateness judgment.

Supervised by Prof. Ulrich Aïvodji (MILA / ÉTS)

PrivacyLLM EvaluationGPTGemini

Independent Research

Model Extraction Attacks on DistilBERT

2022 — 2023

Investigated whether the functionality of DistilBERT can be stolen by training a substitute model — and what makes the attack succeed.

  • Found pre-trained students outperform from-scratch ones, with TinyBERT beating BERT-small thanks to Knowledge Distillation despite fewer parameters.
  • Quantified the effect of query data similarity and volume on extraction success.
  • Surfaced concrete vulnerabilities and motivated the need for defences in production NLP systems.
SecurityModel ExtractionDistilBERTKnowledge Distillation

Publication

“Model Extraction Attacks on DistilBERT”

Submitted to the International Conference on Learning Representations (ICLR 2023); accepted into the archived papers database.

Education

From Khartoum to Cape Town.

  1. MSc, Artificial Intelligence for Science

    Sep 2024 — Jul 2026

    University of Cape Town · AIMS South Africa

    Focus: NLP, model interpretability, AI safety.

  2. BSc, Electrical & Electronic Engineering

    Oct 2016 — Nov 2023

    University of Khartoum, Sudan

    Grade 9.03 / 10 — Ranked 1st in class. Degree completed in 7 years due to political strikes in Sudan.

Toolbox

Skills & stack.

Programming

PythonC++CMATLABJavaBash

ML & DL Frameworks

PyTorchTensorFlowJAXNumPyro

Engineering

GitDockerLinux

Models & Architectures

TransformersCNNsBNNsLLMsTabPFN

Generative & Probabilistic

VAEsGANsDiffusion ModelsVariational InferenceMC DropoutDeep Ensembles

NLP & Vision

Pretrained TransformersTokenizationObject DetectionOpenCV

Reinforcement Learning

PPOPolicy GradientsValue IterationRLHF

Trustworthy ML

FairnessRobustnessInterpretabilityActive Learning

Mathematical Foundations

Information TheoryVariational MethodsProbability

Awards

Recognition.

  • Academic Excellence Award

    AIMS South Africa

    Awarded to the top three highest academic achievers of the AI for Science Master's programme.

  • Best Graduation Project

    University of Khartoum, 2023

    Annual prize awarded by the Engineering Faculty to the best graduation project — shared with my partner.

  • University Excellence Award

    University of Khartoum

    Honoured by the Dean of Engineering for ranking 1st in class (CGPA 9.03 / 10).

  • MENAML CLV Prediction Challenge — 2nd Place

    MENAML Winter School, Qatar 2025

    Placed 2nd in the Customer Lifetime Value prediction challenge at the MENAML Winter School.

Conferences & community

Where I show up.

  • Deep Learning Indaba Tunisia 2022 · Rwanda 2025
  • MENAML Winter School Qatar 2025 · Saudi Arabia 2026
  • Indaba-X Khartoum (co-organiser & mentor) 2021 · 2022

Volunteer: Member of Black in AI; former member of the Electrical & Electronic Engineering Students Exhibition (EEESE) academic committee at the University of Khartoum (2018 – 2020).

Contact

Let's talk.

Open to research collaborations, PhD opportunities, and conversations about NLP, interpretability, and AI safety — especially from teams thinking seriously about Africa-relevant ML.