Sequence-to-Image Transformation for Sequence Classification Using Rips Complex Construction and Chaos Game Representation

Sarwan Ali, Taslim Murad, Imdadullah Khan
12/10/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Traditional feature engineering approaches for molecular sequence classification suffer from sparsity issues and computational complexity, while deep learning models often underperform on tabular biological data. This paper introduces a novel topological approach that transforms molecular sequences into images by combining Chaos Game Representation (CGR) with Rips complex construction from algebraic topology. Our method maps sequence elements to 2D coordinates via CGR, computes pairwise distances, and constructs Rips complexes to capture both local structural and global topological features. We provide formal guarantees on representation uniqueness, topological stability, and information preservation. Extensive experiments on anticancer peptide datasets demonstrate superior performance over vector-based, sequence language models, and existing image-based methods, achieving 86.8\% and 94.5\% accuracy on breast and lung cancer datasets, respectively. The topological representation preserves critical sequence information while enabling effective utilization of vision-based deep learning architectures for molecular sequence analysis.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{ali2025sequencetoimage,
  title  = {Sequence-to-Image Transformation for Sequence Classification Using Rips Complex Construction and Chaos Game Representation},
  author = {Sarwan Ali and Taslim Murad and Imdadullah Khan},
  year   = {2025},
  eprint = {2512.10141},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.10141v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.10141.svg)](https://codeofpaper.com/paper/2512.10141)

Discussion