Mapping Biological Sequences to Continuous Physicochemical Signals

43 concepts39 papers1 proposal

When building machine learning models for text, treating words as discrete tokens is a natural starting point. However, when applying machine learning to biological sequences—like proteins, DNA, or RNA—treating amino acids or nucleotides as purely categorical symbols creates an artificial barrier.

As noted by Hao Jiang et al., traditional sequence analysis methods often treat biological building blocks as discrete, unrelated symbols, failing to account for their shared physicochemical properties. In reality, biology does not read sequences as text; it experiences them as physical structures governed by forces like electromagnetism, thermodynamics, and geometry.

By mapping discrete biological characters to continuous vectors of real-world physical and chemical properties, researchers can transform biological sequences from arbitrary strings into quantitative physical signals. This shift provides models with a rich, biologically grounded inductive bias that fundamentally changes how they generalize.

The Limitation of Discrete Tokens

Consider a single-letter mutation in a protein sequence from Leucine (L) to Isoleucine (I). If a model uses a standard categorical representation (like one-hot encoding), it treats "L" and "I" as completely orthogonal vectors, sharing no more similarity than "L" has with a highly charged residue like Arginine (R).

In a physical system, however, Leucine and Isoleucine are nearly identical: both are hydrophobic, aliphatic amino acids of similar molecular volume. A mutation between them often preserves the overall 3D fold and function of the protein. Conversely, mutating Leucine to Arginine completely disrupts the local biochemical environment.

To capture this reality, researchers map sequences to continuous vectors using standardized indices—such as the AAindex database or Atchley factors—which contain pre-measured physical coordinates for each residue. For example, Niclas Thomas et al. utilized the five Atchley factors to capture intrinsic characteristics like polarity and molecular volume, transforming categorical sequences into continuous feature vectors. Similarly, Donghong Yang et al. applied principal component analysis (PCA) to compress a massive set of biochemical indices into a dense, continuous 15-dimensional space.

This approach is equally powerful for nucleic acids. In RNA modeling, Fei Liu et al. encoded nucleotides based on specific chemical characteristics like hydrogen bonding capacity and ring structures, capturing the underlying chemical environment of a site rather than just its raw sequence identity.

Generalization in Low-Homology Regimes

The primary reason this mapping works so well is that it allows models to recognize functional equivalence without relying on exact sequence matches. This is crucial when dealing with "low homology" or "remote homology"—scenarios where two proteins share a common evolutionary ancestor or structural fold but have mutated so significantly that their sequence alignment scores are near zero.

When sequence similarity drops, alignment tools like BLAST fail. However, by shifting the representation to a physicochemical space, models can recognize that two entirely different strings of letters actually describe the same physical environment. As Sébastien Giguère et al. explain, measuring similarity based on functional characteristics like hydrophobicity and charge allows models to recognize shared chemical behaviors across diverse sequences.

This property allows models to remain robust even when training data is extremely scarce. Christian Widmer and Nora C. Toussaint et al. demonstrated that string kernels can be significantly enhanced by mapping sequence elements to continuous physicochemical descriptors. Instead of forcing a model to learn the laws of chemistry from scratch through millions of examples, the physical priors are baked directly into the input space, enabling high accuracy on small datasets.

Unlocking Digital Signal Processing

Once a biological sequence is converted into a series of continuous numerical values, it can be treated mathematically as a digital signal. This unlocks a suite of powerful tools from classical signal processing and computer vision that are natively incompatible with categorical text.

For instance, Frédéric Cadet et al. combined the Fast Fourier Transform (FFT) with statistical regression to predict how mutations affect protein function. By treating the sequence as a wave of electron-ion interaction potentials or hydrophobicity values, the FFT can extract structural periodicities and global context without requiring complex sequence alignments.

In genomic analysis, Miew Keen Choong and Nancy Yu Song et al. mapped genetic sequences to physical structural properties like hydrogen bonding to detect short exons. They showed that incorporating physical characteristics significantly improves the signal-to-noise ratio for detecting periodic patterns compared to simple binary representations.

Furthermore, because biological sequences vary in length, researchers use mathematical transformations to compress these continuous signals into fixed-length vectors while preserving global order. Yijie Ding et al. applied normalized autocorrelation to properties like polarizability, generating fixed-length descriptors that capture how physical forces vary along the entire length of the input.

Modeling Mutations and Non-Natural Variants Uniformly

Physicochemical encoding also provides a elegant solution for modeling fine-grained variations, such as single-point mutations or synthetic, non-natural amino acids.

When modeling how cancer mutations impact drug sensitivity, representing a mutation as a binary indicator (e.g., "mutated vs. wild-type") ignores the biophysical scale of the change. Liang‐Chin Huang et al. overcame this by representing genetic mutations using continuous descriptors—such as changes in residue polarity and molecular weight—capturing the precise magnitude of the structural disruption in the protein pocket.

Finally, this framework seamlessly accommodates the expanding field of synthetic biology. Traditional tokenizers are bounded by the standard 20-amino-acid alphabet. If a researcher introduces a synthetic, non-natural amino acid, a categorical model has no token for it.

As Jian Song et al. demonstrated, encoding both natural and synthetic building blocks via fundamental properties like molecular weight and polarizability allows computational models to process natural and synthetic components within a single, unified framework. Because the synthetic variant still possesses measurable physical properties, the model can predict its behavior based on its chemical coordinates alone.

History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_physicochemical_property_encoding_3468442b,
  title = {physicochemical property encoding},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/physicochemical-property-encoding/rdr_3468442b962d43c0b25c18372f4c87ba},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_physicochemical_property_encoding_3468442b_v1,
  title = {physicochemical property encoding},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/physicochemical-property-encoding/rdr_3468442b962d43c0b25c18372f4c87ba/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake