Hasib Zunair / হাসিব জুনায়ের

Hi! I am currently a second year Ph.D candidate working on computer vision and deep learning advised by Prof. A. Ben Hamza at Concordia University, Montreal, Canada. I also work part-time at Décathlon building data-driven tools trying to transform sport images into actionable intelligence. Previously, I was a Research Intern at Décathlon for two years where I worked on computer vision problems. I've also spent time at Ericsson as a Data Science Specialist assisting teams, develop and deliver tutorials relevant to their projects. Before that, I recieved my MASc at Concordia where I focused on synthetic data generation for biomedical image understanding. I was also at Think Bricks LLC exploring medical imaging in deep learning and at The Tech Academy building robots! 🤖

During my undergrad at North South University (NSU) in Bangladesh, I got into research when I was advised by Prof. Nabeel Mohammed. I served as the founding chair of IEEE Robotics and Automation Society (RAS) Student Branch Chapter (IEEE RAS SBC) which is the first RAS SBC in Bangladesh that led to IEEE BD RAS Chapter. I was known as the guy running around the ECE department with barely functioning robots!

I like to cook fancy meals (beauty is in the eye of the beholder) and play e-sports (Dota 2 and CSGO) during my free time. I also like funny dog videos! 🐕

Email  /  LinkedIn  /  Google Scholar  /  GitHub  /  Twitter

profile photo


My research is at the intersection of computer vision and machine learning, with the goal of developing algorithms that can accurately and efficiently understand, model, and recreate the visual world around us from images and videos. I have made contributions towards solving notable problems in computer vision such as heavy class imbalance, how to learn robust visual representations and to reduce the need for intensive manual labeling efforts. These contributions have been demonstrated on a variety of computer vision tasks that require visual input spanning object recognition, image synthesis and semantic segmentation etc.. 🧠 👀

I have a strong first-author publication record in top-tier conferences like BMVC, high- impact factor journals like Transactions in Medical Imaging and Computers in Biology and Medicine, as well as top-tier conference workshops such as CVPR, ICML and MICCAI. For my Ph.D research, I recieved the Concordia University Doctoral Graduate Fellowship as well as the International Tuition Award of Excellence. In my MASc, I recieved the two-year MITACS Accelerate Fellowship. 🔬

I also contribute to open-source software and teaching. I have contributed feature code to the computer vision library Kornia. And contributed tutorial code to the popular neural networks library TensorFlow, Keras which also got featured in Henry AI Labs and is used as an official demo for reproducible open-source machine learning . I've also built some projects including Pynotify: A Python package to send emails and Boss Detector: Changes monitor screen when your boss is near. 😬

I support Slow Science.


See also my Google Scholar profile for the most recent publications as well as the most-cited papers.

Masked Supervised Learning for Semantic Segmentation
Authors : Hasib Zunair, A. Ben Hamza
British Machine Vision Conference, 2022
(Oral Presentation)

Paper / Code / Poster / Video

Masked Supervised Learning (MaskSup) is an effective single-stage learning paradigm that models both short- and long-range context, capturing the contextual relationships between pixels via random masking. Results show good segmentation performance, particularly at handling ambiguous regions and retaining better segmentation of minority classes with no added inference cost.

Fill in Fabrics: Body-Aware Self-Supervised Inpainting for Image-Based Virtual Try-On
Authors : Hasib Zunair, Samuel Mercier, Yan Gobeil, A. Ben Hamza
British Machine Vision Conference, 2022

Paper / Code / Poster / Video

FIFA is a a self-supervised conditional generative adversarial network based framework for virtual try-on. It consists of a Fabricator that aims to reconstruct the clothing image when provided with a masked clothing as input, and learns the overall structure of the clothing by filling in fabrics. A multi-scale structural constraint to enforce global context at multiple scales while warping the target clothing to better fit the pose and shape of the person.

Quantifying imbalanced classification methods for leukemia detection
Authors : Deponker SarkerDepto, Md. Mashfiq Rizvee, Aimon Rahman, Hasib Zunair, M. Sohel Rahman, M.R.C. Mahdy
Computers in Biology and Medicine, 2022

Paper / Code

Automated identification of leukemia from microscopic image is crucial for early detection as the disease progresses rapidly. However, building these automated systems are challenging owing to fine-grained variability of lymphoid precursor cells and imbalanced data points. We benchmark several methods (input, loss amd GAN-based etc) designed to tackle class imbalance and find that loss-based methods outperform GAN-based and input-based methods for leukemia detection.

VISTA: Vision Transformer enhanced by U-Net and Image Colorfulness Frame Filtration for Automatic Retail Checkout
Authors : Md. Istiak Hossain Shihab†, Nazia Tasnim†, Hasib Zunair†, Labiba Kanij Rupty, Nabeel Mohammed († equal contribution)
AI City Challenge, CVPR Workshops, 2022
(Oral Presentation)

Paper / Code / Slides / Leaderboard (3rd place)

Given a frame from a video sequence, we first segment single product item and hand followed by entropy masking to address the domain bias problem, and then a Vision Transformer (ViT) for multi-class classification. We also propose a custom metric that discards frames not having any product items, utilizing several image processing methods.Our method achieved 3rd place in the AI City Challenge, Track 4.

Knowledge distillation approach towards melanoma detection
Authors : Md Shakib Khan, Kazi Nabiul Istla, Abdur Rab Dhruba, Hasib Zunair, Nabeel Mohammed
Computers in Biology and Medicine, 2022

Paper / Code

Proposed a knowledge distillation approach for melanoma detection to reduce model complexitiy and enable easier deployment in edge devices. The proposed method requires relatively less time to detect melanoma. The method is 15 times smaller than EfficientNet-B0 and consistently achieves better performance in both melanoma and non-melanoma detection.

Designing Efficient Deep Learning Models for Computer-Aided Medical Diagnosis
Authors: Hasib Zunair
Masters Thesis, 2021


Annotating medical image data is time consuming, costly and error prone, and the scarcity of labeled data limits the effectiveness of supervised learning. This thesis introduces methods to address the scarcity of labels as well as class imbalance which results in a bias towards to over-represented class for tasks such as classification, binary and multi-class semantic segmentation.

Sharp U-Net: Depthwise convolutional network for biomedical image segmentation
Authors : Hasib Zunair, A. Ben Hamza
Computers in Biology and Medicine, 2021

Paper / Code

Sharp U-Net achieves improved performance on six medical image segmentation datasets in both binary and multi-class segmentation tasks while adding no extra learnable parameters. The idea is instead of applying a plain skip connection, a depthwise convolution of the encoder feature map with a sharpening kernel filter is done prior to merging the encoder and decoder features.

STAR: Noisy Semi-Supervised Transfer Learning for Visual Classification
Authors : Hasib Zunair, Yan Gobeil, Samuel Mercier, A. Ben Hamza
ACM Workshop on Multimedia Content Analysis in Sports, 2021
(Oral Presentation)

Paper / Code / Decathlon Docs / Blog Post / Video

An efficient semi-supervised learning method is proposed for binary and multi-class image classification. The method requires 6x less compute time and 5x less memory compared to prior arts. We also show that our method boosts robustness of visual classification models, even without specifically optimizing for adversarial robustness.

ViPTT-Net: Video pretraining of spatio-temporal model for tuberculosis type classification from chest CT scans
Authors : Hasib Zunair, Aimon Rahman, and Nabeel Mohammed
Conference and Labs of the Evaluation Forum (CLEF), 2021

Paper / Code / Leaderboard (2nd place)

We pretrain a model on videos for human activity recognition which leads to better representations for the downstream tuberculosis type classification task, especially for under-represented class samples. Our method achieved 2nd place in the ImageCLEF 2021 Tuberculosis Type Classification Challenge.

MoNuSAC2020: A Multi-organ Nuclei Segmentation and Classification Challenge
Authors : Ruchika Verma, Neeraj Kumar, Hasib Zunair, A. Ben Hamza and others.
IEEE Transactions on Medical Imaging (TMI), 2021
ISBI MoNuSAC Workshop, 2020 (Oral Presentation)

Paper / Code / Slides / Video (Time - 1:58:46) / Leaderboard (11th place)

Automating the tasks of detecting, segmenting, and classifying cell nuclei can free up the pathologists’ time for higher value tasks and reduce errors due to fatigue and subjectivity. This paper summarizes and publicly releases the challenge dataset, and compile key findings of the methods developed by various participants.

Synthesis of COVID-19 Chest X-rays using Unpaired Image-to-Image Translation
Authors : Hasib Zunair and A. Ben Hamza
ICML Workshop on Computational Biology, 2021 (Poster Presentation)
Social Network Analysis and Mining, 2021

Paper / ICML WCB Short Paper / Dataset

Propose synthetic image data by leveraging class conditioning and adversarial training that achieve results comparable to training with only real data when using a test set of real images. Also combine synthetic data with different sizes of real datasets for additional performance gains.

Automatic segmentation of blood cells from microscopic slides: A comparative analysis
Authors : Deponker Sarker Depto, Shazidur Rahman, Md. Mekayel Hosen, Mst Shapna Akter, Tamanna Rahman Reme, Aimon Rahman, Hasib Zunair, M Sohel Rahman, M.R.C.Mahdy
Tissue and Cell, 2021

Paper / Dataset / Code

This work proposes a blood cell segmentation dataset consisting of multiple cell types. Additionally, all cell types do not have equal instances, which encourages researchers to develop algorithms for learning from imbalanced classes in a few shot learning paradigm. We also provide both learning and non-learning based methods as baselines.

A Comparative Analysis of Deep Learning Architectures on High Variation Malaria Parasite Classification Dataset
Authors : Aimon Rahman, Hasib Zunair, Tamanna Rahman Reme, M Sohel Rahman, M.R.C.Mahdy
Tissue and Cell, 2021


Transformed a high variation malaria localization dataset into a malaria classification dataset. Several classification algorithm benchmarks are provided for the task of classifying presence of malaria from microscopic images of isolated red blood cells.

Uniformizing Techniques to Process CT scans with 3D CNNs for Tuberculosis Prediction
Authors : Hasib Zunair, Aimon Rahman, Nabeel Mohammed, and Joseph Paul Cohen
(Oral Presentation)

Paper / Code / Video

Showed that analyzing 3D medical images in a per slice basis is a sub-optimal approach, that can be improved by 3D context. Ranked 5-th in ImageCLEF 2019.

Melanoma Detection using Adversarial Training and Deep Transfer Learning
Authors : Hasib Zunair and A. Ben Hamza
Physics in Medicine and Biology, 2020

Paper / Code / Demo (Try it out!)

Improved classification performance by synthesizing under-represented class samples from the over-represented ones. Synthetic samples are used as additional training data to reduce class imbalance.

Robust Deep Speaker Recognition: Learning Latent Representation with Joint Angular Margin Loss
Authors : Labib Chowdhury, Hasib Zunair and Nabeel Mohammed
Applied Sciences, 2020

Paper / Code

SincNet models based on joint angular margin loss not only consistently outperformed current prior models, but also generalizes well on unseen and diverse tasks such as Bengali speaker recognition.

Improving Malaria Parasite Detection from Red Blood Cell using Deep Convolutional Neural Networks
Authors : Aimon Rahman, Hasib Zunair, M Sohel Rahman, Jesia Quader Yuki, Sabyasachi Biswas, Md Ashraful Alam, Nabila Binte Alam, M.R.C. Mahdy
arXiv, 2019

Paper / Code

Benchmarked several classification algorithms for the task of detecting malaria from microscopic images of red blood cells. Transfer learning approach worked best in our study.

Estimating Severity from CT Scans of Tuberculosis Patients using 3D Convolutional Nets
Authors : Hasib Zunair, Aimon Rahman, Nabeel Mohammed
Conference and Labs of the Evaluation Forum (CLEF), 2019

Paper / Code

A 3D CNN with a slice selection method employed in the task of chest CT image analysis for predicting tuberculosis (TB). Our method achieved 10-th place in the ImageCLEF 2019 Tuberculosis SVR - Severity scoring.

Unconventional Wisdom: A New Transfer Learning Approach Applied to Bengali Numeral Classification
Authors : Hasib Zunair, Nabeel Mohammed, Sifat Momen
International Conference on Bangla Speech and Language Processing (ICBSLP), 2018
(Oral Presentation)

Paper / Code

An accuracy of 97.09% was achieved on the NumtaDB Bengali handwritten digit dataset, which was obtained by freezing intermediate layers.

Design and Implementation of an Automated Web Based Multifunctional Attendance System
Authors : Hasib Zunair, Oishi Maniha, Jubayer Kabir
International Conference on Smart Sensors and Applications (ICSSA), 2018
(Oral Presentation, Best Paper)

Paper / Slides

Implementation of an automated multifunctional attendance system which uses rfid, fingerprint, and real time facial recognition.

Design and Implementation of an IOT based Monitoring System for Inland Vessels using Multiple Sensor Network
Authors : Hasib Zunair, Wordh Ul Hasan, Kimia Tuz Zaman, Irfanul Haque, Soumic Shekhar Aoyon
International Conference on Smart Sensors and Applications (ICSSA), 2018
(Oral Presentation)

Paper / Slides

A wireless sensor network with a real time web application for monitoring multiple ships to prevent catastrophic events due to overloading.

Design and Implementation of Security Patrol Robot using Android Application
Authors : Tahzib Mashrik, Hasib Zunair, Maofic Farhan Karin
Asia Modelling Symposium (AMS), 2017
(Oral Presentation)


A low-cost autonomous mobile security robot based on a multisensor system for the purpose of sending alarms remotely.


Monocular-to-3D Virtual Try-On using Deep Residual U-Net
Authors : Hasib Zunair
COMP 6381 Digital Geometric Modelling, Fall 2021

Project Page / Code

Res-M3D-VTON is a pipeline for monocular to 3D virtual try-on (VTON) for fashion clothing which uses residual learning to synthesize correct clothing parts, preserve logo of clothing and reduce artifacts to finally output better textured 3D try-on meshes.

Dermatology Assistant (Try it out!)
Authors : Hasib Zunair

AI Model Code / Web App Code / REST API Code

This is a demonstration of a full stack deep learning project from training a model to deploying it, using a REST API endpoint as well a separate end-user prototype web application. The model is built for predicting the presence of melanoma from dermoscopic skin lesions using neural networks.

Low to high resolution knee MRI reconstruction
Authors: Hasib Zunair and Aimon Rahman
fastMRI Image Reconstruction Challenge, 2019

We use deep encoder-decoder architectures to reconstruct a high resolution knee MRI image given a low resolution MRI image.

Thyroid nodule segmentation from Ultrasound (US) images
Authors: Hasib Zunair, Tajwar Abrar Aleef, Aimon Rahman and Labib Chowdhury
MICCAI TN-SCUI Challenge, 2020

In this work, several state-of-the-art image segmentation techniques were explored for optimizing Thyroid Nodule segmentation from Ultrasound images. This inlcuded supervised learning, transfer learning, and generative adversarial learning.


Synthetic COVID-19 Chest X-ray Dataset for Computer-Aided Diagnosis
Authors : Hasib Zunair and A. Ben Hamza
ICML Workshop on Computational Biology, 2021 (Poster Presentation)
Dataset Link

The dataset consists of 21,295 synthetic COVID-19 chest X-ray images generated using algorithm. Dataset is publicly available here. The primary use of this dataset is to be used as additional data for training machine learning models.


Lab Demonstrator, COMP 6771: Image Processing, Winter 2022
Lab Demonstrator, COMP 333: Intro to Data Analytics, Fall 2021
Lab Demonstrator, COMP 6771: Image Processing, Winter 2021
ras Student Instructor, Image Classification with Python and Keras, Fall 2019
Student Instructor, Introduction to Python Programming, Winter 2019
Student Instructor, Image Processing and Computer Vision, Fall 2018

Template stolen from Jon Barron! Thanks for dropping by.
Last updated January 2023.