Fractal Language Modelling by Universal Sequence Maps (USM)

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Almeida, Jonas S, Russ, Daniel E, Vinga, Susana, Duarte, Ines, Mason, Lee, Bhawsar, Praphulla, Ge, Aaron, Oliveira, Arlindo, Balasubramanian, Jeya Balaji
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916889805979648
author Almeida, Jonas S
Russ, Daniel E
Vinga, Susana
Duarte, Ines
Mason, Lee
Bhawsar, Praphulla
Ge, Aaron
Oliveira, Arlindo
Balasubramanian, Jeya Balaji
author_facet Almeida, Jonas S
Russ, Daniel E
Vinga, Susana
Duarte, Ines
Mason, Lee
Bhawsar, Praphulla
Ge, Aaron
Oliveira, Arlindo
Balasubramanian, Jeya Balaji
contents Motivation: With the advent of Language Models using Transformers, popularized by ChatGPT, there is a renewed interest in exploring encoding procedures that numerically represent symbolic sequences at multiple scales and embedding dimensions. The challenge that encoding addresses is the need for mechanisms that uniquely retain contextual information about the succession of individual symbols, which can then be modeled by nonlinear formulations such as neural networks. Context: Universal Sequence Maps(USM) are iterated functions that bijectively encode symbolic sequences onto embedded numerical spaces. USM is composed of two Chaos Game Representations (CGR), iterated forwardly and backwardly, that can be projected into the frequency domain (FCGR). The corresponding USM coordinates can be used to compute a Chebyshev distance metric as well as k-mer frequencies, without having to recompute the embedded numeric coordinates, and, paradoxically, allowing for non-integers values of k. Results: This report advances the bijective fractal encoding by Universal Sequence Maps (USM) by resolving seeding biases affecting the iterated process. The resolution had two results, the first expected, the second an intriguing outcome: 1) full reconciliation of numeric positioning with sequence identity; and 2) uncovering the nature of USM as an efficient numeric process converging towards a steady state sequence embedding solution. We illustrate these results for genomic sequences because of the convenience of a planar representation defined by an alphabet with only 4 tokens (the 4 nucleotides). Nevertheless, the application to alphabet of arbitrary cardinality was found to be straightforward.
format Preprint
id arxiv_https___arxiv_org_abs_2508_06641
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Fractal Language Modelling by Universal Sequence Maps (USM)
Almeida, Jonas S
Russ, Daniel E
Vinga, Susana
Duarte, Ines
Mason, Lee
Bhawsar, Praphulla
Ge, Aaron
Oliveira, Arlindo
Balasubramanian, Jeya Balaji
Machine Learning
Artificial Intelligence
Numerical Analysis
Quantitative Methods
Motivation: With the advent of Language Models using Transformers, popularized by ChatGPT, there is a renewed interest in exploring encoding procedures that numerically represent symbolic sequences at multiple scales and embedding dimensions. The challenge that encoding addresses is the need for mechanisms that uniquely retain contextual information about the succession of individual symbols, which can then be modeled by nonlinear formulations such as neural networks. Context: Universal Sequence Maps(USM) are iterated functions that bijectively encode symbolic sequences onto embedded numerical spaces. USM is composed of two Chaos Game Representations (CGR), iterated forwardly and backwardly, that can be projected into the frequency domain (FCGR). The corresponding USM coordinates can be used to compute a Chebyshev distance metric as well as k-mer frequencies, without having to recompute the embedded numeric coordinates, and, paradoxically, allowing for non-integers values of k. Results: This report advances the bijective fractal encoding by Universal Sequence Maps (USM) by resolving seeding biases affecting the iterated process. The resolution had two results, the first expected, the second an intriguing outcome: 1) full reconciliation of numeric positioning with sequence identity; and 2) uncovering the nature of USM as an efficient numeric process converging towards a steady state sequence embedding solution. We illustrate these results for genomic sequences because of the convenience of a planar representation defined by an alphabet with only 4 tokens (the 4 nucleotides). Nevertheless, the application to alphabet of arbitrary cardinality was found to be straightforward.
title Fractal Language Modelling by Universal Sequence Maps (USM)
topic Machine Learning
Artificial Intelligence
Numerical Analysis
Quantitative Methods
url https://arxiv.org/abs/2508.06641