Speaking Numbers to LLMs: Multi-Wavelet Number Embeddings for Time Series Forecasting

Defu Cao, Zijie Lei, Muyan Weng, Jiao Sun, Yan Liu
6/25/2026
cs.CLcs.AI

Official code: DC-research/TempoWAVE (4 stars, MIT, last commit 2026-06-24).

Abstract

Large language models (LLMs) are attractive for context-aware time series forecasting because they can integrate heterogeneous textual signals, yet their discrete, language-oriented tokenization and embedding interfaces are misaligned with continuous numerical values, often harming numerical ordering and forecasting reliability. We propose TempoWave, a plug-and-play temporal wavelet digit interface that maps each scalar observation into digit-wise embeddings constructed from multi-wavelet, multi-scale coefficients. By directly overriding standard token representations, TempoWave seamlessly exposes both fine-grained local fluctuations and macro global structures in a transformer-compatible form, ensuring that precise numerical formatting, distinct digit identity, and robustness to common normalization operations are maintained throughout the LLM pipeline. Experiments across five context-enriched forecasting benchmarks demonstrate that TempoWave consistently improves LLM-based forecasters over standard numeric tokenization and alternative embedding interfaces, achieving a new state-of-the-art. These results highlight the numeric interface as a key bottleneck and suggest that principled multi-resolution embeddings can better couple LLMs' contextual reasoning with precise forecasting. Our code is available at https://github.com/DC-research/TempoWAVE and our model can be accessed at https://huggingface.co/Melady/TempoWAVE.

View on arXivView PDF

Code Implementations(1)

MIT
40Shell, PythonMay 17, 20263 months agoMIT

Similar Papers

Cite this paper

@article{cao2026speaking,
  title  = {Speaking Numbers to LLMs: Multi-Wavelet Number Embeddings for Time Series Forecasting},
  author = {Defu Cao and Zijie Lei and Muyan Weng and Jiao Sun and Yan Liu},
  year   = {2026},
  eprint = {2606.26487},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.26487v1}
}

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/2606.26487.svg)](https://codeofpaper.com/paper/2606.26487)

Discussion