Research

From 2017 to 2025 I taught at Shahid Beheshti University in Tehran, where I headed the Deep Learning and Bio-Computing Lab. These are the MSc theses I supervised there, grouped by subject.

I gave graduate courses there in deep learning, big data analysis, and machine learning, and some of my Persian-language AI courses are on YouTube. My PhD in artificial intelligence is from Amirkabir University of Technology.

Health and biology

Respiratory rate estimation from biosignals using machine learning

Estimates breathing rate from the pulse signal of an optical sensor (PPG), the kind found in smartwatches. A model first learns from unlabelled PPG by self-supervised learning, so it needs fewer labelled recordings. An RWKV network, which follows long signals at low computational cost, then estimates the rate. Tested on the public BIDMC and CapnoBase datasets.

Diagram of the method: the PPG signal is filtered and turned into a scalogram, convolutional layers extract features, RWKV blocks model them over time, and fully connected layers output the breathing rate.
From the thesis: preprocessing, a convolutional feature extractor, RWKV blocks and the estimator.

Compressing large language models for insomnia treatment: a compact therapist model

Cognitive behavioural therapy is the most effective treatment for insomnia without drugs, but therapists are scarce. This thesis shrinks a one-billion-parameter language model (Llama 3.2) so that it can run on a phone or in a privacy-sensitive clinical setting, while keeping its therapeutic behaviour. The pipeline prunes layers, restores general knowledge by distillation, fine-tunes on therapy dialogues generated from clinical protocols, and uses active learning to rework the examples the model handles worst.

Eight stages in order: build the insomnia dialogue dataset, choose the base model, depth pruning, distillation to recover general knowledge, fine-tuning on therapy dialogues, active learning on the hardest examples, on-policy distillation from an external teacher, evaluation.
The eight stages of the thesis, redrawn in English from its figure 4-1.

Using protein language models to improve drug–target interaction prediction

Predicts how strongly a drug binds to its protein target from the two sequences alone, with no 3D structure. Pretrained language models encode the protein (ESM2) and the molecule (ChemBERTa), and a light residual Inception network combines them. The paper reports state-of-the-art results on three standard benchmarks: Davis, KIBA and BindingDB.

Published in Journal of Cheminformatics as “Structure-free drug–target affinity prediction using protein and molecule language models”.

Diagram of the model: molecule and protein embeddings from DeepChem and ESM2 are joined and passed through Residual Inception blocks to a small network that predicts binding affinity.
Figure 1 of the paper: language-model embeddings of the molecule and the protein feed two Residual Inception blocks. © The authors, CC BY-NC-ND 4.0.

An interpretable model for diagnosing HER2-type invasive breast cancer

HER2 status decides whether a breast cancer can be treated with targeted drugs, and reading it from stained tissue depends on the pathologist’s judgement. This project classifies HER2 status from tissue images and explains each result in text: an EfficientNet reads the image and GPT-2 writes the explanation. Trained and tested on the public BCI dataset.

Diagram of the model: patches of a stained tissue image go to EfficientNet, its ratings go to GPT-2, which writes an explanation that a text classifier turns into a HER2 score.
From the draft paper: EfficientNet rates the staining in each tissue patch, GPT-2 writes an explanation, and a text classifier gives the HER2 score from 0 to 3.

Recommender systems

Improving recommender systems with foundation models

A self-attention recommender (SASRec) usually sees only the sequence of items a user chose. This model, MetaSAS, also reads what the items are: genres, directors and film summaries written by a large language model, turned into vectors by language models. A training schedule that gradually raises the weight of positive examples sharpens the ranking. Tested on MovieLens-1M.

Diagram of MetaSAS: the viewing history is embedded four ways (items, genres, directors, and film summaries written by a language model), each passes through its own multi-head attention block, and the four comparisons with a candidate item are added into one score.
MetaSAS, simplified and redrawn in English from figure 4-1 of the thesis. The training losses are left out.

Improving recommender systems with memory-augmented neural networks

Gives a self-attention recommender a long-term memory, so that it can use information from outside the platform, here trends such as box-office figures, alongside each user’s history. The memory was added to three self-attention models and tested on three public datasets. It is wired so that, at worst, the model does as well as the recommender without it.

Diagram of the model: a self-attention model reads the user's sequence and queries a memory filled from trend sources; both contexts are combined to predict the next item.
From the draft paper: a memory of trends, written from outside sources, feeds the self-attention recommender alongside the user’s sequence.

Improving recommender systems based on deep reinforcement learning with debiasing methods

Recommenders trained offline by reinforcement learning learn from historical data, and that data favours popular items, so the bias grows. This thesis adds causal modelling: it finds and controls confounders and adjusts the estimated reward to match, with a new module for tracking the user’s state. It also proposes a standard way to evaluate debiasing methods, tested on the KuaiRec and KuaiRand datasets.

Causal graph over time steps: user state s, observation o, recommended item a, item popularity z and reward r, with popularity pointing to both a and r.
From the thesis: the causal graph behind the logged data. An item’s popularity (z) affects both whether it is recommended (a) and the reward (r), so it confounds the link between them.

A graph neural network model for recommender systems

Reinforcement learning and evolution

Improving reinforcement learning algorithms with background knowledge

Improving deep HyperNEAT by changing its evolutionary operators

NEAT evolves both the shape and the weights of a neural network, but it breaks down when the input is large, such as the raw pixels of a video game. This work puts a self-attention module in front of NEAT to pick out the parts of the image that matter, tunes it with a second evolutionary algorithm (CMA-ES), and evolves the two populations together with a new method called Seesaw. On Atari games it scored comparably to leading evolutionary methods while using about 300 times fewer parameters than HyperNEAT.

Published in Evolving Systems as “Hybrid self-attention NEAT: a novel evolutionary self-attention approach to improve the NEAT algorithm in high dimensional inputs”.

Diagram of the loop: the game screen goes to a self-attention module, its features go to NEAT, and the evolved network acts in the environment.
Figure 4 of the paper: self-attention picks out the parts of the game screen that NEAT’s network acts on. © The authors, under exclusive licence to Springer Nature, 2023.

A new approach to deep reinforcement learning combined with evolutionary algorithms

Deep reinforcement learning struggles with sparse rewards, weak exploration and fragile training, and evolutionary algorithms help with some of these. This work combines the two for continuous control. An elite buffer, inspired by how people generalize from experience, works with crossover and mutation across generations. The preprint reports better results than well-known methods in the most complex environments tested.

Preprint on arXiv as “Evolutionary deep reinforcement learning using elite buffer: a novel approach towards DRL combined with EA in continuous control tasks”.

Diagram of the algorithm: a population of reinforcement-learning agents fills replay buffers, an elite buffer trains the selected member, and selection, crossover and mutation produce the next generation.
Figure 1 of the preprint: the evolutionary loop, with the elite buffer at the top.

Models of the brain

A computational model of making two decisions at the same time

Computational modelling of brain function in the interaction of the visual and motor systems

Weather

Improving precipitation nowcasting with deep learning

Deep-learning models forecast rain over the next few hours better than physics-based methods, but they are costly to train and run. This thesis took a published generative model (DGMR) as its baseline and made it much cheaper with mixed-precision training, dual convolutions and pruning, then used self-supervised learning to recover, and then improve on, the baseline’s accuracy.

Diagram of the model: an input radar image and random noise go to a pruned dual-convolution generator, whose forecast is judged by temporal and spatial discriminators.
From the thesis: the pruned dual-convolution generator and its two discriminators, one for space and one for time.