Can a Sparse 2 9 × 2 9 Pixel Chaos Game Representation Predict Protein Binding Sites using Fine-Tuned State-of-the-Art Deep Learning Semantic Segmentation Models?

Kevin Dick, James R. GreenbioRxiv 2023

Abstract

While our experiments ultimately failed, this work was motivated by the seemingly reasonable hypothesis that encoding protein sequences as a fractal-based image in combination with a binary mask identifying those pixels representative of the protein binding interface could effectively be used to fine-tune a semantic segmentation model. We were wrong. Despite the shortcomings of this work, a number of insights were drawn, inspiring discussion about how this fractal-based space may be exploited to generate effective protein binding site predictors in the future. Furthermore, these realizations promise to orient complimentary studies leveraging fractal-based representations, whether in the field of bioinformatics, or more broadly within disparate fields leveraging sequence-type data, such as Natural Language Processing. In a non-traditional way, this work presents the experimental design undertaken and interleaves various insights and limitations. It is the hope of this work that those interested in leveraging fractal-based representations and deep learning architectures as part of their work will benefit from the insights arising from this work.

Introduction

Identifying protein binding sites—the specific amino acid residues where proteins interact with other molecules—is a cornerstone of drug discovery and understanding cellular processes. Traditionally, this is treated as a sequence-labeling task. This study explores a provocative alternative: Can we treat binding site prediction as a computer vision problem? By mapping a 1D protein sequence into a 2D "Chaos Game Representation" (CGR) image, we hypothesized that deep learning models designed for semantic segmentation (like those that identify "cats" or "cars" in photos) could "see" the patterns that define a binding interface.

Methodology

The research pipeline transformed biological sequences into a format suitable for computer vision models originally designed for natural images.

The experimental pipeline transforming protein sequences into CGR images for semantic segmentation.
  1. Reverse Translation: Since CGR is traditionally used for the 4-letter DNA alphabet, the 20-letter amino acid alphabet was mapped back to DNA codons using a fixed translation table.
  2. Chaos Game Representation (CGR): An iterative fractal algorithm mapped the sequence into a $2^9 \times 2^9$ (512x512) pixel square. Each pixel represents a specific nucleotide 9-mer.
  3. Frequency CGR (FCGR): Grayscale values were used to represent the frequency of specific subsequences within the grid.
  4. Semantic Segmentation: Four "state-of-the-art" models were fine-tuned: DeepLabV3 (with ResNet-50 and ResNet-101 backbones) and Fully Connected Networks (FCN), all pre-trained on ImageNet.
  5. Datasets: The study utilized a high-quality dataset of 11,063 non-redundant protein sequences for training, with five independent benchmarks (Dset_72 to Dset_448) for testing.

Results and Discussion

The quantitative results were a "null model" across the board. The F1 scores consistently hovered near zero, indicating the models failed to identify almost any binding residues. While AUROC values appeared misleadingly high (often near 1.0), this was an artifact of extreme class imbalance; the models simply learned to predict that no pixels were part of a binding site.

Sparsity ratio across datasets, highlighting the extreme lack of data points in the 512x512 CGR space.

Several key insights emerged regarding why this intuitive approach failed:

  • The Sparsity Trap: While CGR works well for entire genomes (millions of base pairs), individual proteins are too short. Mapping a single protein to a 512x512 grid results in a "starry night" of isolated pixels. As shown in the sparsity analysis, the vast majority of the image is empty, leaving insufficient "ink" for a CNN to find meaningful spatial features.
  • Semantic Mismatch: Standard CNNs are designed to find dense, connected objects. In CGR space, the "meaning" is sparse and disconnected. Pre-training on ImageNet may be a disadvantage because the model is looking for continuous shapes that do not exist in fractal representations.
  • The "Third Base Wobble": Mapping proteins back to DNA introduces noise because multiple DNA sequences can code for the same protein, potentially diluting the biological signal.

Conclusion

This work serves as a technical report on a failed experiment, providing valuable negative results to the bioinformatics community. The barriers identified—specifically resolution mismatch and the limitations of ImageNet pre-training for fractal data—suggest that future attempts should focus on resolution tuning (e.g., $2^7 \times 2^7$) or training models from scratch to learn the unique "grammar" of fractal space. Reporting these insights prevents others from repeating the same logical but ultimately flawed experimental designs.

Summary updated

Abstract

Abstract No. While our experiments ultimately failed, this work was motivated by the seemingly reasonable hypothesis that encoding protein sequences as a fractal-based image in combination with a binary mask identifying those pixels representative of the protein binding interface could effectively be used to fine-tune a semantic segmentation model. We were wrong. Despite the shortcomings of this work, a number of insights were drawn, inspiring discussion about how this fractal-based space may be exploited to generate effective protein binding site predictors in the future. Furthermore, these realizations promise to orient complimentary studies leveraging fractal-based representations, whether in the field of bioinformatics, or more broadly within disparate fields leveraging sequence-type data, such as Natural Language Processing. In a non-traditional way, this work presents the experimental design undertaken and interleaves various insights and limitations. It is the hope of this work that those interested in leveraging fractal-based representations and deep learning architectures as part of their work will benefit from the insights arising from this work.
BibTeX
@misc{dick2023can,
  author = {Kevin Dick and James R. Green},
  title = {{Can a Sparse 2 <sup>9</sup> × 2 <sup>9</sup> Pixel Chaos Game Representation Predict Protein Binding Sites using Fine-Tuned State-of-the-Art Deep Learning Semantic Segmentation Models?}},
  year = {2023},
  doi = {10.1101/2023.08.04.410498},
  howpublished = {bioRxiv},
}
Figure