# Similarity-based transfer learning with deep learning networks for accurate CRISPR-Cas9 off-target prediction

**Authors:** Jeremy Charlier, Zeinab Sherkatghanad, Vladimir Makarenkov, Ilya Ioshikhes, Lun Hu, Ilya Ioshikhes, Lun Hu, Ilya Ioshikhes, Lun Hu

PMC · DOI: 10.1371/journal.pcbi.1013606 · PLOS Computational Biology · 2025-10-24

## TL;DR

This paper introduces a method to improve CRISPR-Cas9 off-target prediction using similarity-based transfer learning with deep learning networks.

## Contribution

The study proposes a dual-layered framework combining similarity-based source dataset selection with machine learning to enhance CRISPR-Cas9 off-target prediction accuracy.

## Key findings

- Cosine distance is more effective than Euclidean or Manhattan distances for source dataset selection in transfer learning.
- RNN-GRU, a 5-layer FNN, and two MLP variants achieved the best prediction results.
- The proposed framework improves prediction accuracy by systematically selecting suitable source datasets.

## Abstract

Transfer learning has emerged as a powerful tool for enhancing predictive accuracy in complex tasks, particularly in scenarios where data is limited or imbalanced. This study explores the use of similarity-based pre-evaluation as a methodology to identify optimal source datasets for transfer learning, addressing the dual challenge of efficient source-target dataset pairing and off-target prediction in CRISPR-Cas9, while existing transfer learning applications in the field of gene editing often lack a principled method for source dataset selection. We use cosine, Euclidean, and Manhattan distances to evaluate similarity between the source and target datasets used in our transfer learning experiments. Four deep learning network architectures, i.e. Multilayer Perceptron (MLP), Convolutional Neural Networks (CNNs), Feedforward Neural Networks (FNNs), and Recurrent Neural Networks (RNNs), and two traditional machine learning models, i.e. Logistic Regression (LR) and Random Forest (RF), were tested and compared in our simulations. The results suggest that similarity scores are reliable indicators for pre-selecting source datasets in CRISPR-Cas9 transfer learning experiments, with cosine distance proving to be a more effective dataset comparison metric than either Euclidean or Manhattan distances. An RNN-GRU, a 5-layer FNN, and two MLP variants provided the best overall prediction results in our simulations. By integrating similarity-based source pre-selection with machine learning outcomes, we propose a dual-layered framework that not only streamlines the transfer learning process but also significantly improves off-target prediction accuracy. The code and data used in this study are freely available at: https://github.com/dagrate/transferlearning_offtargets.

CRISPR-Cas9 is a popular gene-editing technology that allows researchers to modify an organism’s genomic DNA at precise locations. Significant research efforts have been focusing on improving its precision and effectiveness, with particular emphasis on minimizing off-target effects. At the same time, transfer learning techniques are becoming increasingly important for addressing deep learning challenges in computational biology, especially in the field of CRISPR-Cas9, where plausible training data availability can be limited. This study investigates the effectiveness of integrating similarity-based analysis with transfer learning for improving CRISPR-Cas9 off-target prediction. Our key contribution consists in an experimental evaluation of three distance metrics, i.e. cosine, Euclidean, and Manhattan distances, along with several traditional machine learning and deep learning models, in the context of knowledge transfer by transfer learning applied to gene editing data. For each considered target dataset our transfer learning framework determines the most suitable source dataset to be used in the model pre-training. The proposed computational framework offers a reliable and systematic method for selecting suitable source data, streamlining the transfer learning process, and improving prediction accuracy.

## Full-text entities

- **Genes:** GAN (gigaxonin) [NCBI Gene 8139] {aka GAN1, GIG, KLHL16}, CNN3 (calponin 3) [NCBI Gene 1266], ABCC3 (ATP binding cassette subfamily C member 3) [NCBI Gene 8714] {aka ABC31, EST90757, MLP2, MOAT-D, MRP3, cMOAT2}, MARCKSL1 (MARCKS like 1) [NCBI Gene 65108] {aka F52, MACMARCKS, MLP, MLP1, MRP}, CD33 (CD33 molecule) [NCBI Gene 945] {aka CD33rSiglec, SIGLEC-3, SIGLEC3, p67}
- **Diseases:** CIRCLE (MESH:C536991), SAD (MESH:D003865), cancer (MESH:D009369), DL (MESH:D007859), SITE (OMIM:136570), Lun Hu (MESH:D065766)
- **Chemicals:** Hmg (-), BS (MESH:D001895), C (MESH:D002244)
- **Species:** Bacteria Latreille et al. 1825 (Bacteria stick insect, genus) [taxon 629395], Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12571277/full.md

## Figures

8 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12571277/full.md

## References

52 references — full list in the complete paper: https://tomesphere.com/paper/PMC12571277/full.md

---
Source: https://tomesphere.com/paper/PMC12571277