Genes rarely act alone. Instead, cells rely on networks of genes that turn one another on or off, helping determine how cells develop, respond to signals and change during disease.

Researchers at the Jingdezhen Ceramic University developed GP-DHT, a computational framework designed to infer these gene regulatory networks from single-cell RNA sequencing data.

Overview of the GP-DHT framework

Fig 1

(A) Human and mouse scRNA-seq datasets are integrated, log-normalized, and truncated for outlier control. Continuous expression values are then discretized by uniform bucketing into ordinal expression-level relations, yielding a discretized gene-cell expression matrix for downstream heterogeneous graph construction. (B) A multi-relational gene-cell heterogeneous graph is constructed from the discretized expression matrix. For each relation type, transformed source-node messages are aggregated over the target node’s neighborhood by element-wise max pooling. The pooled message is subsequently modulated by a target-conditioned feature-wise gate. The relation-specific representations are then linearly fused to obtain the final gene embeddings. (C) For downstream GRN prediction, transcription factor and target-gene embeddings are paired and fed into a DualHeadTransformer. The learned pair representation is used by an MLP classification head for regulatory link prediction and by a projection head for GenePairSupCon-based supervised contrastive learning.

Reconstructing gene regulatory networks

A gene regulatory network, or GRN, describes relationships between transcription factors and the genes they control.

Transcription factors are proteins that can increase or decrease the activity of other genes. Mapping these relationships can help researchers understand how cells adopt particular identities, respond to environmental changes or behave differently during disease.

Single-cell RNA sequencing provides detailed measurements of gene activity in individual cells, but using those measurements to reconstruct regulatory networks is difficult. Single-cell datasets can contain large numbers of zero or low gene-expression measurements, along with biological and technical variation.

GP-DHT was developed to make these regulatory relationships easier to detect.

Learning from human and mouse data

The researchers trained GP-DHT using BEELINE datasets from both humans and mice.

The framework first identifies genes shared between the two species and uses them to build a common representation of gene activity. This allows information from human and mouse datasets to contribute to the initial learning process.

The model then analyzes individual datasets to predict regulatory relationships between transcription factors and their possible target genes.

This shared-gene approach is intended to give GP-DHT a stronger starting point when working with sparse single-cell RNA sequencing data.

Using a dual-head Transformer

At the center of GP-DHT is a dual-head Transformer model.

One part of the model predicts whether a regulatory relationship exists between a transcription factor and a target gene. The second uses supervised contrastive learning to organize gene-pair representations so that similar regulatory relationships become easier to distinguish from unrelated pairs.

Together, these two components allow GP-DHT to learn both whether two genes are likely to be connected and how their regulatory relationship compares with other gene pairs.

The framework also represents genes and cells as a multi-relational network, helping it capture different levels of gene expression relationships.

Dealing with difficult negative examples

Determining which genes do not interact is also important for training regulatory models.

The researchers found that the way negative examples were constructed had a substantial effect on how difficult the prediction problem became. More challenging negative examples required the model to distinguish true regulatory relationships from gene pairs that appeared biologically similar.

Supervised contrastive learning improved the separation between different gene-pair representations, helping GP-DHT make clearer distinctions among regulatory relationships.

Making predictions easier to interpret

GP-DHT was also designed with interpretability in mind.

The model recovered candidate regulatory modules that were supported by existing biological knowledge. It can also perform post-analysis attribution to estimate which features contributed to individual gene-pair predictions.

These capabilities may help researchers move beyond simply predicting a regulatory link and investigate why the model identified a particular transcription factor and target relationship.

Understanding gene regulation at single-cell resolution

Single-cell RNA sequencing provides a detailed view of gene activity, but converting those measurements into regulatory networks remains challenging because the data are sparse and noisy.

GP-DHT combines shared gene representations, Transformer-based modeling and supervised contrastive learning to improve prediction of transcription factor and target gene relationships.

Methods such as this could help researchers use single-cell RNA sequencing data to better understand the regulatory networks underlying cell identity, development and disease.

Availability – The code for GP-DHT and the processed data files used to reproduce the findings of this study are publicly available in the GP-DHT GitHub repository: https://github.com/chromaprim/GP-DHT

Yan S, Yu Q, Dai W, Cheng X. (2026) GP-DHT: A dual-head transformer with supervised contrastive learning for shared-gene pretraining and single-cell GRN prediction. PLoS ONE 21(10): e0359164. [article]

Genes rarely act alone. Instead, cells rely on networks of genes that turn one another on or off, helping determine how cells develop, respond to signals and change during disease.

Researchers at the Jingdezhen Ceramic University developed GP-DHT, a computational framework designed to infer these gene regulatory networks from single-cell RNA sequencing data.

Overview of the GP-DHT framework

Fig 1

(A) Human and mouse scRNA-seq datasets are integrated, log-normalized, and truncated for outlier control. Continuous expression values are then discretized by uniform bucketing into ordinal expression-level relations, yielding a discretized gene-cell expression matrix for downstream heterogeneous graph construction. (B) A multi-relational gene-cell heterogeneous graph is constructed from the discretized expression matrix. For each relation type, transformed source-node messages are aggregated over the target node’s neighborhood by element-wise max pooling. The pooled message is subsequently modulated by a target-conditioned feature-wise gate. The relation-specific representations are then linearly fused to obtain the final gene embeddings. (C) For downstream GRN prediction, transcription factor and target-gene embeddings are paired and fed into a DualHeadTransformer. The learned pair representation is used by an MLP classification head for regulatory link prediction and by a projection head for GenePairSupCon-based supervised contrastive learning.

Reconstructing gene regulatory networks

A gene regulatory network, or GRN, describes relationships between transcription factors and the genes they control.

Transcription factors are proteins that can increase or decrease the activity of other genes. Mapping these relationships can help researchers understand how cells adopt particular identities, respond to environmental changes or behave differently during disease.

Single-cell RNA sequencing provides detailed measurements of gene activity in individual cells, but using those measurements to reconstruct regulatory networks is difficult. Single-cell datasets can contain large numbers of zero or low gene-expression measurements, along with biological and technical variation.

GP-DHT was developed to make these regulatory relationships easier to detect.

Learning from human and mouse data

The researchers trained GP-DHT using BEELINE datasets from both humans and mice.

The framework first identifies genes shared between the two species and uses them to build a common representation of gene activity. This allows information from human and mouse datasets to contribute to the initial learning process.

The model then analyzes individual datasets to predict regulatory relationships between transcription factors and their possible target genes.

This shared-gene approach is intended to give GP-DHT a stronger starting point when working with sparse single-cell RNA sequencing data.

Using a dual-head Transformer

At the center of GP-DHT is a dual-head Transformer model.

One part of the model predicts whether a regulatory relationship exists between a transcription factor and a target gene. The second uses supervised contrastive learning to organize gene-pair representations so that similar regulatory relationships become easier to distinguish from unrelated pairs.

Together, these two components allow GP-DHT to learn both whether two genes are likely to be connected and how their regulatory relationship compares with other gene pairs.

The framework also represents genes and cells as a multi-relational network, helping it capture different levels of gene expression relationships.

Dealing with difficult negative examples

Determining which genes do not interact is also important for training regulatory models.

The researchers found that the way negative examples were constructed had a substantial effect on how difficult the prediction problem became. More challenging negative examples required the model to distinguish true regulatory relationships from gene pairs that appeared biologically similar.

Supervised contrastive learning improved the separation between different gene-pair representations, helping GP-DHT make clearer distinctions among regulatory relationships.

Making predictions easier to interpret

GP-DHT was also designed with interpretability in mind.

The model recovered candidate regulatory modules that were supported by existing biological knowledge. It can also perform post-analysis attribution to estimate which features contributed to individual gene-pair predictions.

These capabilities may help researchers move beyond simply predicting a regulatory link and investigate why the model identified a particular transcription factor and target relationship.

Understanding gene regulation at single-cell resolution

Single-cell RNA sequencing provides a detailed view of gene activity, but converting those measurements into regulatory networks remains challenging because the data are sparse and noisy.

GP-DHT combines shared gene representations, Transformer-based modeling and supervised contrastive learning to improve prediction of transcription factor and target gene relationships.

Methods such as this could help researchers use single-cell RNA sequencing data to better understand the regulatory networks underlying cell identity, development and disease.

Availability – The code for GP-DHT and the processed data files used to reproduce the findings of this study are publicly available in the GP-DHT GitHub repository: https://github.com/chromaprim/GP-DHT

Yan S, Yu Q, Dai W, Cheng X. (2026) GP-DHT: A dual-head transformer with supervised contrastive learning for shared-gene pretraining and single-cell GRN prediction. PLoS ONE 21(10): e0359164. [article]

Submit a Post to the Blog

SUBMIT CONTENT

Subscribe to the RNA-Seq Blog

RNA-Seq Products & Services