Predicting gene expression from histone modifications with self-attention based neural networks and transfer learning

Yuchi Chen, Minzhu Xie, Jie WenFrontiers in Genetics 2022

Abstract

Histone modifications are essential regulators of chromatin-dependent processes, including DNA replication and transcription. While computational models have been developed to predict gene expression from these modifications, their accuracy, particularly in cross-cell line predictions, remains limited. We present TransferChrome, a deep learning framework that utilizes densely connected convolutional networks to capture local histone features and self-attention layers to aggregate global dependencies. To address the domain gap in cross-cell line predictions, TransferChrome incorporates adversarial transfer learning. Evaluated on 56 cell lines from the REMC database, TransferChrome achieved an average Area Under the Curve (AUC) of 84.79%, outperforming several state-of-the-art models and demonstrating superior efficiency in cross-cell line generalization.

Introduction

Epigenetic modifications, specifically histone marks, act as a regulatory layer that dictates gene expression patterns across different cell types. Mapping these modifications is crucial for understanding cellular identity and disease. However, the relationship between histone marks and expression levels is non-linear and context-dependent. A significant challenge in the field is the "domain gap": models trained on one cell line often perform poorly on others due to biological variability. TransferChrome aims to bridge this gap by learning domain-invariant features that represent universal principles of gene regulation.

Methods

The TransferChrome architecture is designed to capture both local spatial patterns and long-range regulatory interactions through three key components:

1. Densely Connected Convolutional Blocks

Inspired by the DenseNet architecture, TransferChrome employs dense-conv blocks where each layer receives feature maps from all preceding layers. This design facilitates feature reuse and ensures that low-level signals are not lost as data progresses through the network.

The architecture of the dense-conv block, highlighting the skip connections that enable feature reuse.

2. Self-Attention Mechanisms

Gene expression is often influenced by regulatory elements located far from the transcription start site (TSS). TransferChrome uses self-attention layers to weigh the relative importance of histone modifications across a 10,000 base-pair genomic window, allowing the model to capture these critical long-distance dependencies.

3. Adversarial Transfer Learning

To improve cross-cell line performance, the model utilizes a Gradient Reversal Layer (GRL). This adversarial component prevents the model from learning features specific to the training cell line, instead forcing it to extract "domain-invariant" biological signals that are consistent across different cell types.

Data Representation and Datasets

The study utilized the Roadmap Epigenome Project (REMC) database, focusing on 56 diverse cell lines. For each cell line, five core histone marks (H3K4me3, H3K4me1, H3K36me3, H3K27me3, and H3K9me3) were analyzed across 17,170 genes.

The data structure representing histone modifications, showing signal intensity across a 10,000 bp window centered on the TSS.

As shown in the figure above, the input data is structured as a grid representing histone modification signal intensities. The model considers a 10,000 bp window (5,000 bp upstream and downstream of the TSS), which is binned to preserve spatial information. Genes were classified into binary "high" or "low" expression states based on median RPKM values.

Results and Discussion

TransferChrome demonstrated state-of-the-art performance, achieving an average AUC of 84.79% across the 56 cell lines. Notably, the model significantly mitigated the performance drop typically observed in cross-cell line prediction tasks. While standard models experienced a ~3% decrease in AUC when moving to unseen cell lines, TransferChrome limited this drop to 1.5%.

Ablation experiments confirmed that both the dense connectivity and the self-attention layers are vital to the model's success. Removing these components led to a measurable decline in predictive accuracy.

Conclusion

TransferChrome represents a significant advancement in epigenetic modeling by combining local feature extraction with global attention and adversarial domain adaptation. While the current model focuses on five core histone marks and binary classification, future iterations could incorporate broader epigenetic datasets and aim for quantitative expression regression to provide deeper biological insights.

Summary updated

BibTeX
@inproceedings{chen2022predicting,
  author = {Yuchi Chen and Minzhu Xie and Jie Wen},
  title = {{Predicting gene expression from histone modifications with self-attention based neural networks and transfer learning}},
  booktitle = {Frontiers in Genetics},
  year = {2022},
  doi = {10.3389/fgene.2022.1081842},
}
Figure