arXiv

Byte Pair Encoding for Efficient Time Series Forecasting

Title: Byte Pair Encoding for Efficient Time Series Forecasting

Abstract: Current time series tokenization techniques typically map a fixed number of data points to single tokens. This rigid methodology often leads to token redundancy, particularly when handling simple structures such as prolonged constant values, thereby imposing significant computational burdens. Drawing inspiration from the efficacy of byte pair encoding, we present the inaugural pattern-focused tokenization framework for time series analysis. By leveraging a discrete vocabulary of common motifs, our approach consolidates data samples exhibiting underlying patterns into tokens, enabling adaptive compression of the time series. Furthermore, we introduce conditional decoding—a lightweight, post-hoc optimization technique that capitalizes on the discrete motif set and the continuous nature of time series data. This method enhances performance without requiring gradient calculations or incurring additional computational costs. Evaluations on contemporary time series foundation models reveal that our motif-driven tokenization enhances forecasting accuracy by an average of 40% and increases efficiency by 2314%. Additionally, conditional decoding achieves up to a 48% reduction in Mean Squared Error (MSE). Our comprehensive analysis highlights the tokenization’s adaptability across varied temporal patterns, its ability to generalize to unseen data, and the semantic richness of its tokens, which effectively capture distinct time series attributes such as trends and statistical moments.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...