A Deep Learning Pipeline for Epilepsy Genomic Analysis Using GPT-2 XL and NVIDIA H100
Muhammad Omer Latif, Hayat Ullah, Muhammad Ali Shafique, Zhihua Dong
TL;DR
Epilepsy transcriptomics presents high-dimensional, sparse data challenges that impede rapid molecular insight. The authors introduce a GPU-accelerated pipeline that fine-tunes GPT-2 XL on encoded transcriptomic data, combining token-based gene representations with classic dimensionality reduction and heatmap visualization. Their approach yields state-of-the-art predictive performance (AUC $=0.90$, F1 $=0.88$) on two epilepsy datasets, while recovering biologically meaningful signatures such as GRIA1 upregulation, GRIA2 downregulation, interneuron markers SST and PVLAB dysregulation, and FOSB induction. NVIDIA's H100 GPUs dramatically accelerate training and inference, demonstrating the feasibility of transformer-based transcriptomics in data-limited neurogenomics contexts and paving the way for multimodal extensions in precision neuromedicine.
Abstract
Epilepsy is a chronic neurological condition characterized by recurrent seizures, with global prevalence estimated at 50 million people worldwide. While progress in high-throughput sequencing has allowed for broad-based transcriptomic profiling of brain tissues, the deciphering of these highly complex datasets remains one of the challenges. To address this issue, in this paper we propose a new analysis pipeline that integrates the power of deep learning strategies with GPU-acceleration computation for investigating Gene expression patterns in epilepsy. Specifically, our proposed approach employs GPT-2 XL, a transformer-based Large Language Model (LLM) with 1.5 billion parameters for genomic sequence analysis over the latest NVIDIA H100 Tensor Core GPUs based on Hopper architecture. Our proposed method enables efficient preprocessing of RNA sequence data, gene sequence encoding, and subsequent pattern identification. We conducted experiments on two epilepsy datasets including GEO accession GSE264537 and GSE275235. The obtained results reveal several significant transcriptomic modifications, including reduced hippocampal astrogliosis after ketogenic diet treatment as well as restored excitatory-inhibitory signaling equilibrium in zebrafish epilepsy model. Moreover, our results highlight the effectiveness of leveraging LLMs in combination with advanced hardware acceleration for transcriptomic characterization in neurological diseases.
