Hossein Jafarinia
3 previous affiliations
- Hamadan University of Medical Sciences2025–2026
- Researcher · 2025–2026
- Sharif University of Technology2021–2025
- Researcher · 2024–2025
- MS student · 2021–2024
- Biomathematics, Bioinformatics, and Computational Biology
- Bu-Ali Sina University2015–2020
- Undergrad student · 2015–2020
Research Overview
Hossein Jafarinia focuses on computer vision, medical image analysis, and digital pathology, with a particular emphasis on whole slide image classification. His work initially centered on developing efficient multiple instance learning architectures for cancer detection in histology images. More recently, his research has expanded to investigate the theoretical and empirical properties of implicit regularization and group robustness in deep neural networks.
Research Trajectory
Jafarinia’s early research addresses the significant computational and architectural challenges of applying deep learning to digital pathology. Whole Slide Images (WSIs) are typically too large to be processed by standard convolutional networks, necessitating the use of Multiple Instance Learning (MIL). In 2024, he introduced Snuffy: Efficient Whole Slide Image Classifier, which proposed a novel MIL-pooling method based on sparse transformers. This architecture was designed to mitigate the performance degradation that typically occurs when models lack extensive self-supervised pre-training, offering a more computationally efficient alternative for pathology tasks. During the same period, he also contributed to the development of MILFORMER: Weighted Dual Stream Class Centered Random Attention Multiple Instance Learning for Whole Slide Image Classification, further exploring attention mechanisms tailored for WSI analysis.
Continuing his focus on optimizing MIL frameworks for medical imaging, Jafarinia developed Navigating the MIL Trade-Off: Flexible Pooling for Whole Slide Image Classification in 2025. This work introduced "Maxsoft," a pooling strategy designed to balance the stability of mean aggregation with the sensitivity of max aggregation. The approach demonstrated that simple, well-designed pooling mechanisms can outperform massive foundation models in low-data pathology environments, providing a lightweight and highly effective tool for medical image classification.
In 2025, Jafarinia’s research scope expanded to include fundamental machine learning theory, particularly concerning model robustness and optimization. With collaborators, he investigated the behavior of standard optimizers in The Silent Helper: How Implicit Regularization Enhances Group Robustness. This study explored how the implicit regularization effects of Stochastic Gradient Descent (SGD)—often modulated by batch size and learning rate—can improve a model's worst-group accuracy when faced with spurious correlations and imbalanced data.
This theoretical inquiry continued into 2026 with Implicit Regularization of SGD Reduces Shortcut Learning. The research demonstrated that SGD's implicit regularization naturally discourages neural networks from relying on superficial background cues or shortcuts, forcing them to learn more robust features. This work contributes directly to the broader research area of Mitigating Spurious Correlations in Deep Neural Networks and the related area of Mitigating Multiple Overlapping Spurious Correlations. Additionally, this line of inquiry intersects with work in the area of Regularizing Deep Networks with Stochastic Normalization Noise and the field of Weight Consolidation for Mitigating Catastrophic Forgetting, highlighting the complex ways in which training dynamics influence out-of-distribution generalization.
Current Directions
The most recent papers in the evidence indicate a dual focus on applied medical image analysis and fundamental machine learning theory. In the domain of digital pathology, recent work investigates data-efficient, lightweight pooling strategies that can match or exceed the performance of large foundation models in resource-constrained settings. Concurrently, ongoing theoretical research addresses out-of-distribution generalization and model robustness. This includes exploring how the implicit regularization properties of standard optimizers like SGD can be leveraged to prevent neural networks from relying on spurious correlations and shortcut learning, ultimately improving their performance on underrepresented subpopulations.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake