← Latest papers
🤖 machine learning

Olivia: Harmonizing Time Series Foundation Models with Power Spectral Density

This paper introduces Olivia, a novel time series foundation model that leverages a Harmonizer module and HarmonicAttention mechanism to align datasets via normalized power spectral density, achieving state-of-the-art performance across zero-shot, few-shot, and full-shot forecasting scenarios.

Original authors: Jingru Fei, Kun Yi, Alex Xing Wang, Qingsong Wen, Xiangxiang Zhu, Wei Fan

Published 2026-05-19
📖 5 min read🧠 Deep dive

Original authors: Jingru Fei, Kun Yi, Alex Xing Wang, Qingsong Wen, Xiangxiang Zhu, Wei Fan

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a single, super-smart chef how to cook dishes from every culture on Earth: Italian pasta, Japanese sushi, Mexican tacos, and Ethiopian injera.

The problem? Each cuisine has its own rhythm, ingredients, and cooking style. If you just throw all these recipes into a giant pot and say, "Learn everything," the chef gets confused. The sizzling of the wok clashes with the simmering of the soup. The result is a chef who is okay at everything but great at nothing, or one who gets stuck trying to force a sushi roll to taste like spaghetti.

This is exactly the challenge Olivia, a new AI model for time series data, solves. Time series data is just a record of things changing over time (like stock prices, weather, or traffic). Different sources (domains) have very different "rhythms."

Here is how the paper explains the solution, using simple analogies:

1. The Problem: A Clash of Rhythms

When AI models try to learn from many different datasets at once, they struggle because the "beat" of the data is different everywhere.

  • Energy data might have a strong daily rhythm (people wake up, use power, sleep).
  • Traffic data might have a weekly rhythm (rush hour on weekdays, quiet on weekends).
  • Health data might have irregular spikes.

Trying to learn all these at once is like trying to listen to a jazz band, a marching band, and a choir all playing at the same time. The AI gets lost in the noise.

2. The Secret Ingredient: The "Spectral Fingerprint" (PSD)

The authors realized that every time series has a hidden "fingerprint" called Power Spectral Density (PSD).

  • The Analogy: Imagine you have a smoothie. You can't see the individual fruits inside, but if you run it through a special machine, it tells you exactly how much strawberry, banana, and mango is in the mix.
  • The Science: PSD does this for time. It breaks the data down to show how much "energy" is in fast changes (high frequency) versus slow changes (low frequency). It reveals the underlying rhythm of the data, ignoring the specific details like whether the numbers are big or small.

3. The Solution: The "Harmonizer"

The paper introduces a special module called the Harmonizer.

  • The Analogy: Think of the Harmonizer as a universal translator for rhythms. Before the AI tries to learn, the Harmonizer takes the chaotic jazz, marching, and choir music and re-tunes them all to the same key.
  • How it works: It doesn't change the actual notes (the data values); it just rearranges the timing so that the "beat" of the energy data matches the "beat" of the traffic data. It forces all these different datasets to speak the same rhythmic language.
  • The Result: Once the data is "harmonized," the AI can finally see the common patterns underneath. It's like the chef realizing that, despite the different cuisines, they all rely on the same basic principles of heat and timing.

4. The Engine: "Harmonic Attention"

Once the data is harmonized, the AI needs a way to process it efficiently. The paper introduces Harmonic Attention.

  • The Analogy: Imagine a crowded room where everyone is trying to talk to everyone else at once. It's chaotic and slow (this is how standard AI works).
  • The Innovation: Instead of letting everyone shout at everyone, the Harmonic Attention puts a few "Resonators" (like megaphones or conductors) in the room. Everyone talks to the conductors, and the conductors talk to each other.
  • Why it helps: This is much faster and clearer. Because the data was already harmonized by the Harmonizer, these few conductors can capture the most important information without needing to listen to every single whisper in the room.

5. The Result: Olivia

The final model, named Olivia, combines the Harmonizer and the Harmonic Attention.

  • The Test: The researchers tested Olivia on massive amounts of data from different worlds (weather, electricity, traffic, health).
  • The Outcome: Olivia became a master chef. It could look at a new dataset it had never seen before (Zero-Shot) and predict the future with high accuracy. It outperformed other big models, even though it was smaller and used fewer resources.
  • Key Takeaway: By first "tuning" the different data sources to the same rhythm, the model learned to generalize much better. It didn't just memorize the data; it learned the universal language of time.

Summary

The paper claims that by using a mathematical tool (PSD) to align the "rhythms" of different datasets before training, and then using a smart, efficient way to process that aligned data (Harmonic Attention), you can build a time-series AI that is faster, more accurate, and better at handling new, unseen data than previous models.

What the paper does NOT claim:

  • It does not claim this will cure diseases or predict specific stock market crashes for profit.
  • It does not claim the model works for every type of data without limits (it notes that very large datasets can sometimes confuse the model if not managed well).
  • It focuses strictly on the mathematical and architectural improvements to make the AI better at forecasting time-based data.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →