BMAILGNov 6, 2024

Bio-xLSTM: Generative modeling, representation and in-context learning of biological and chemical sequences

arXiv:2411.04165v119 citationsh-index: 58Has CodeICLR
Originality Incremental advance
AI Analysis

This work addresses the need for efficient language models in drug discovery and protein engineering by offering a linear-time alternative to Transformers for long sequences.

The authors tackled the problem of modeling long biological and chemical sequences by adapting the xLSTM architecture to create Bio-xLSTM, which achieved proficiency in generative modeling, representation learning, and in-context learning for DNA, proteins, and small molecules.

Language models for biological and chemical sequences enable crucial applications such as drug discovery, protein engineering, and precision medicine. Currently, these language models are predominantly based on Transformer architectures. While Transformers have yielded impressive results, their quadratic runtime dependency on the sequence length complicates their use for long genomic sequences and in-context learning on proteins and chemical sequences. Recently, the recurrent xLSTM architecture has been shown to perform favorably compared to Transformers and modern state-space model (SSM) architectures in the natural language domain. Similar to SSMs, xLSTMs have a linear runtime dependency on the sequence length and allow for constant-memory decoding at inference time, which makes them prime candidates for modeling long-range dependencies in biological and chemical sequences. In this work, we tailor xLSTM towards these domains and propose a suite of architectural variants called Bio-xLSTM. Extensive experiments in three large domains, genomics, proteins, and chemistry, were performed to assess xLSTM's ability to model biological and chemical sequences. The results show that models based on Bio-xLSTM a) can serve as proficient generative models for DNA, protein, and chemical sequences, b) learn rich representations for those modalities, and c) can perform in-context learning for proteins and small molecules.

Code Implementations3 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes