Nikita Shvetsov
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Nikita Shvetsov has a total of 31 co-authors. Here are the top co-authors by number of shared publications:
- Kajsa Møllersen
Department of Community Medicine, UiT The Arctic University of Norway, Tromsø, Norway
3 shared publications Lars Ailo Bongo
Department of Computer Science, UiT the Arctic University of Norway, Tromsø, Norway
3 shared publications- Lars Ailo Bongo
Department of Computer Science, UiT the Arctic University of Norway, Tromsø, Norway
3 shared publications Lill-Tove Rasmussen Busund
Department of Clinical Pathology, University Hospital of North Norway, Tromsø, Norway
3 shared publicationsMasoud Tafavvoghi
Department of Community Medicine, UiT The Arctic University of Norway, Tromsø, Norway
3 shared publications- Thomas Karsten Kilvaer
Department of Clinical Medicine, UiT The Arctic University of Norway, Tromsø, Norway
3 shared publications
Latest Publications
- Open Access
- 19 February 2026
- Published by Public Library of Science (PLoS) in PLOS ONE
- Vol. 21 (2) , e0341715
Open-source framework for detecting bias and overfitting for large pathology images
Even foundational models trained on large-scale datasets may learn to rely on non-relevant artifacts such as background color or color intensity, leading to overfitting and/or bias. To ensure the robustness of deep learning applications, there is a need for methods to detect and remove the use of these artifacts. Existing debugging methods are often domain- and model-architecture-specific, and may be computationally expensive, hindering widespread use. We propose a model-architecture-agnostic framework to debug deep learning models. To demonstrate the utility of our framework, we test it using a widely used dataset from histopathology, which has been tested in other literature. The dataset features very large images that typically demand large computational resources. We demonstrate that the framework can replicate known bias patterns in a pre-trained foundation model (Phikon-v2) and a self-trained self-supervised model (MoCo v1). Our framework contributes to the development of more reliable, accurate, and generalizable models for WSI analysis, and is available as an open-source tool integrated with the MONAI framework at https://github.com/uit-hdl/feature-inspect .
- 19 February 2026
- Published by Public Library of Science (PLoS) in PLOS ONE
- Vol. 21 (2) , e0341715
Open AccessOpen-source framework for detecting bias and overfitting for large pathology images
Even foundational models trained on large-scale datasets may learn to rely on non-relevant artifacts such as background color or color intensity, leading to overfitting and/or bias. To ensure the robustness of deep learning applications, there is a need for methods to detect and remove the use of these artifacts. Existing debugging methods are often domain- and model-architecture-specific, and may be computationally expensive, hindering widespread use. We propose a model-architecture-agnostic framework to debug deep learning models. To demonstrate the utility of our framework, we test it using a widely used dataset from histopathology, which has been tested in other literature. The dataset features very large images that typically demand large computational resources. We demonstrate that the framework can replicate known bias patterns in a pre-trained foundation model (Phikon-v2) and a self-trained self-supervised model (MoCo v1). Our framework contributes to the development of more reliable, accurate, and generalizable models for WSI analysis, and is available as an open-source tool integrated with the MONAI framework at https://github.com/uit-hdl/feature-inspect .
- Open Access
- 27 November 2025
- Published by Elsevier in Computers in Biology and Medicine
- Vol. 199, 111326
A lightweight and extensible cell segmentation and classification model for H&E-stained cancer whole slide images
- 27 November 2025
- Published by Elsevier in Computers in Biology and Medicine
- Vol. 199, 111326
Open AccessA lightweight and extensible cell segmentation and classification model for H&E-stained cancer whole slide images
- Open Access
- 12 March 2025
- Published by Elsevier in Journal of Pathology Informatics
- Vol. 17, 100437
Fast TILs—A pipeline for efficient TILs estimation in non-small cell lung cancer
- 12 March 2025
- Published by Elsevier in Journal of Pathology Informatics
- Vol. 17, 100437
Open AccessFast TILs—A pipeline for efficient TILs estimation in non-small cell lung cancer
- Open Access
A Pragmatic Machine Learning Approach to Quantify Tumor-Infiltrating Lymphocytes in Whole Slide Images
Increased levels of tumor-infiltrating lymphocytes (TILs) indicate favorable outcomes in many types of cancer. The manual quantification of immune cells is inaccurate and time-consuming for pathologists. Our aim is to leverage a computational solution to automatically quantify TILs in standard diagnostic hematoxylin and eosin-stained sections (H&E slides) from lung cancer patients. Our approach is to transfer an open-source machine learning method for the segmentation and classification of nuclei in H&E slides trained on public data to TIL quantification without manual labeling of the data. Our results show that the resulting TIL quantification correlates to the patient prognosis and compares favorably to the current state-of-the-art method for immune cell detection in non-small cell lung cancer (current standard CD8 cells in DAB-stained TMAs HR 0.34, 95% CI 0.17–0.68 vs. TILs in HE WSIs: HoVer-Net PanNuke Aug Model HR 0.30, 95% CI 0.15–0.60 and HoVer-Net MoNuSAC Aug model HR 0.27, 95% CI 0.14–0.53). Our approach bridges the gap between machine learning research, translational clinical research and clinical implementation. However, further validation is warranted before implementation in a clinical setting.
Open AccessA Pragmatic Machine Learning Approach to Quantify Tumor-Infiltrating Lymphocytes in Whole Slide Images
Increased levels of tumor-infiltrating lymphocytes (TILs) indicate favorable outcomes in many types of cancer. The manual quantification of immune cells is inaccurate and time-consuming for pathologists. Our aim is to leverage a computational solution to automatically quantify TILs in standard diagnostic hematoxylin and eosin-stained sections (H&E slides) from lung cancer patients. Our approach is to transfer an open-source machine learning method for the segmentation and classification of nuclei in H&E slides trained on public data to TIL quantification without manual labeling of the data. Our results show that the resulting TIL quantification correlates to the patient prognosis and compares favorably to the current state-of-the-art method for immune cell detection in non-small cell lung cancer (current standard CD8 cells in DAB-stained TMAs HR 0.34, 95% CI 0.17–0.68 vs. TILs in HE WSIs: HoVer-Net PanNuke Aug Model HR 0.30, 95% CI 0.15–0.60 and HoVer-Net MoNuSAC Aug model HR 0.27, 95% CI 0.14–0.53). Our approach bridges the gap between machine learning research, translational clinical research and clinical implementation. However, further validation is warranted before implementation in a clinical setting.
- Open Access
Trajectories of gene expression, seasonal influenza, and within-host seasonal immunity: transfer value to covid-19
As a novel approach we will combine trajectories or longitudinal studies of gene expression with information on annual influenza epidemics. Seasonality of gene expression in immune cells from blood could be a consequence of within-host seasonal immunity interacting with the seasonal pandemics of influenza (flu) in temperate regions and, thus, with potential valuable analogy transfer to the proposed seasonal development of covid-19. Here we operationalized within-host immunity as genes with both a significant seasonal term and a significant flu term in the sine-cosine model. Information on gene expression was based on microarray using RNase buffered blood samples collected randomly from a population-based cohort of Norwegian middle-aged women in 2003-2006, The Norwegian Women and Cancer (NOWAC) study. The unique discovery (N=425) and replication (N=432) design were based on identical sampling and preprocessing. Data on proportion of sick leaves due to flu, and the flu intensities per week was obtained from the National Institute of Public Health, giving a semi-ecological analysis. The discovery analysis found 2942 (48.1%) significant genes in a generalized seasonal model over four years. For 1051 within-host genes both the seasonal and the flu term were significant. These genes followed closely the flu intensities. The trajectories showed slightly more genes with a maximum in early winter than in late summer. Moving the flu intensity forward in time indicated a better fit 3-4 weeks before the observed influenza. In the replication analyses, 369 genes (35.1% of 1051) were significant. Exclusion of genes with unknown functions and with more than a season in difference reduced the number of genes in the discovery dataset to 305, illustrating the variability in the measurements and the problem in assessing weak biological relationships. Thus, we found for the first time a clear seasonality in gene expression with marked responses to the annual seasonal influenza in a unique discovery – replication design. Hypothetically, this could support the within-host seasonal immunity concept.
Open AccessTrajectories of gene expression, seasonal influenza, and within-host seasonal immunity: transfer value to covid-19
As a novel approach we will combine trajectories or longitudinal studies of gene expression with information on annual influenza epidemics. Seasonality of gene expression in immune cells from blood could be a consequence of within-host seasonal immunity interacting with the seasonal pandemics of influenza (flu) in temperate regions and, thus, with potential valuable analogy transfer to the proposed seasonal development of covid-19. Here we operationalized within-host immunity as genes with both a significant seasonal term and a significant flu term in the sine-cosine model. Information on gene expression was based on microarray using RNase buffered blood samples collected randomly from a population-based cohort of Norwegian middle-aged women in 2003-2006, The Norwegian Women and Cancer (NOWAC) study. The unique discovery (N=425) and replication (N=432) design were based on identical sampling and preprocessing. Data on proportion of sick leaves due to flu, and the flu intensities per week was obtained from the National Institute of Public Health, giving a semi-ecological analysis. The discovery analysis found 2942 (48.1%) significant genes in a generalized seasonal model over four years. For 1051 within-host genes both the seasonal and the flu term were significant. These genes followed closely the flu intensities. The trajectories showed slightly more genes with a maximum in early winter than in late summer. Moving the flu intensity forward in time indicated a better fit 3-4 weeks before the observed influenza. In the replication analyses, 369 genes (35.1% of 1051) were significant. Exclusion of genes with unknown functions and with more than a season in difference reduced the number of genes in the discovery dataset to 305, illustrating the variability in the measurements and the problem in assessing weak biological relationships. Thus, we found for the first time a clear seasonality in gene expression with marked responses to the annual seasonal influenza in a unique discovery – replication design. Hypothetically, this could support the within-host seasonal immunity concept.
- Open Access
- 6 January 2022
- Published by International Institute of Social History in Historical Life Course Studies
- Vol. 12, 1-17
Lessons Learned Developing and Using a Machine Learning Model to Automatically Transcribe 2.3 Million Handwritten Occupation Codes
Machine learning approaches achieve high accuracy for text recognition and are therefore increasingly used for the transcription of handwritten historical sources. However, using machine learning in production requires a streamlined end-to-end pipeline that scales to the dataset size and a model that achieves high accuracy with few manual transcriptions. The correctness of the model results must also be verified. This paper describes our lessons learned developing, tuning and using the Occode end-to-end machine learning pipeline for transcribing 2.3 million handwritten occupation codes from the Norwegian 1950 population census. We achieve an accuracy of 97% for the automatically transcribed codes, and we send 3% of the codes for manual verification . We verify that the occupation code distribution found in our results matches the distribution found in our training data, which should be representative for the census as a whole. We believe our approach and lessons learned may be useful for other transcription projects that plan to use machine learning in production. The source code is available at https://github.com/uit-hdl/rhd-codes.
- 6 January 2022
- Published by International Institute of Social History in Historical Life Course Studies
- Vol. 12, 1-17
Open AccessLessons Learned Developing and Using a Machine Learning Model to Automatically Transcribe 2.3 Million Handwritten Occupation Codes
Machine learning approaches achieve high accuracy for text recognition and are therefore increasingly used for the transcription of handwritten historical sources. However, using machine learning in production requires a streamlined end-to-end pipeline that scales to the dataset size and a model that achieves high accuracy with few manual transcriptions. The correctness of the model results must also be verified. This paper describes our lessons learned developing, tuning and using the Occode end-to-end machine learning pipeline for transcribing 2.3 million handwritten occupation codes from the Norwegian 1950 population census. We achieve an accuracy of 97% for the automatically transcribed codes, and we send 3% of the codes for manual verification . We verify that the occupation code distribution found in our results matches the distribution found in our training data, which should be representative for the census as a whole. We believe our approach and lessons learned may be useful for other transcription projects that plan to use machine learning in production. The source code is available at https://github.com/uit-hdl/rhd-codes.
- Open Access
Reproducible data management and analysis using R
Background: Standardizing and documenting computational analyses are necessary to ensure reproducible results. It is especially important for large and complex projects where data collection, analysis, and interpretation may span decades. Our objective is therefore to provide methods, tools, and best practice guidelines adapted for analyses in epidemiological studies that use -omics data. Results: We describe an R-based implementation of data management and preprocessing. The method is well-integrated with the analysis tools typically used for statistical analysis of -omics data. We document all datasets thoroughly and use version control to track changes to both datasets and code over time. We provide a web application to perform the standardized preprocessing steps for gene expression datasets. We provide best practices for reporting data analysis results and sharing analyses. Conclusion: We have used these tools to organize data storage and documentation, and to standardize the analysis of gene expression data, in the Norwegian Women and Cancer (NOWAC) system epidemiology study. We believe our approach and lessons learned are applicable to analyses in other large and complex epidemiology projects.
Open AccessReproducible data management and analysis using R
Background: Standardizing and documenting computational analyses are necessary to ensure reproducible results. It is especially important for large and complex projects where data collection, analysis, and interpretation may span decades. Our objective is therefore to provide methods, tools, and best practice guidelines adapted for analyses in epidemiological studies that use -omics data. Results: We describe an R-based implementation of data management and preprocessing. The method is well-integrated with the analysis tools typically used for statistical analysis of -omics data. We document all datasets thoroughly and use version control to track changes to both datasets and code over time. We provide a web application to perform the standardized preprocessing steps for gene expression datasets. We provide best practices for reporting data analysis results and sharing analyses. Conclusion: We have used these tools to organize data storage and documentation, and to standardize the analysis of gene expression data, in the Norwegian Women and Cancer (NOWAC) system epidemiology study. We believe our approach and lessons learned are applicable to analyses in other large and complex epidemiology projects.