RAVEN Improves Financial Time Series Forecasting with Adaptive Context

Cheng He, Zhenyu Guan, Xijie Liang, Defu Lian, Jiajia Li, Enhong Chen, Patrick P. C. Lee, Geng Hu, Zehao Chen· June 24, 2026 View original

▶ The 2-minute explainer

Summary

RAVEN is a Mixture-of-Experts framework designed for financial time series forecasting that adaptively determines the optimal temporal context for each input sample. It achieves state-of-the-art performance by using nested context windows and a correlation-aware weighting mechanism, significantly improving accuracy in non-stationary financial data.

Financial time series forecasting presents unique challenges due to the non-stationary nature of log-returns, low signal-to-noise ratios, and regime-dependent temporal dependencies. A key limitation of current state-of-the-art models is their reliance on fixed context windows, which are ill-suited for the time-varying optimal look-back periods inherent in financial price processes. To address this, researchers propose RAVEN (Regime-Aware Variable-context Expert Network), a Mixture-of-Experts framework that dynamically adjusts the temporal context for each input. Instead of a static look-back horizon, RAVEN constructs a hierarchy of nested contiguous windows whose lengths are determined by the data itself. It scores data patches by learned importance in reverse chronological order and applies a Cumulative Importance Thresholding (CIT) mechanism to derive these nested windows, each routed to a specialized expert. RAVEN also includes a Global Compressed Representation (GCR) branch that processes the full context to maintain global temporal coherence, complementing the local experts. Furthermore, a Correlation-Aware Weighting (CAW) mechanism aligns the variable-length expert outputs and penalizes cosine similarity before aggregation, accounting for the structured overlap in expert inputs. Experiments on cumulative log-return prediction for major indices (HS300, S&P500) and fund sales forecasting show RAVEN achieving state-of-the-art results, with significant improvements in Pearson correlation and reduced Mean Squared Error, also performing well on traffic benchmarks.

Why it matters

Financial professionals, quantitative analysts, and data scientists can leverage RAVEN to build more accurate and robust forecasting models for financial markets and other complex time series. Its adaptive context mechanism directly addresses the inherent non-stationarity of financial data, leading to better investment decisions and risk management.

How to implement this in your domain

  1. 1Evaluate RAVEN's architecture for improving financial forecasting models within your organization.
  2. 2Experiment with implementing variable-context windows and Mixture-of-Experts frameworks for non-stationary data.
  3. 3Apply RAVEN's Cumulative Importance Thresholding and Correlation-Aware Weighting to enhance existing time series models.
  4. 4Benchmark RAVEN against current forecasting solutions for stock returns, fund sales, or other financial metrics.

Who benefits

FinanceInvestment BankingAsset ManagementFintechRisk Management

Key takeaways

  • RAVEN adaptively determines optimal temporal context for financial time series forecasting.
  • It uses a Mixture-of-Experts framework with nested context windows and specialized experts.
  • The model significantly improves forecasting accuracy for non-stationary financial data.
  • RAVEN outperforms state-of-the-art models in key financial metrics like Pearson correlation and MSE.

Original post by Cheng He, Zhenyu Guan, Xijie Liang, Defu Lian, Jiajia Li, Enhong Chen, Patrick P. C. Lee, Geng Hu, Zehao Chen

"arXiv:2606.24062v1 Announce Type: new Abstract: Financial time series forecasting presents structural challenges absent from standard benchmarks. Log-returns are non-stationary, exhibit exceptionally low signal-to-noise (SNR) ratios, and are governed by regime-dependent temporal…"

View on X

Originally posted by Cheng He, Zhenyu Guan, Xijie Liang, Defu Lian, Jiajia Li, Enhong Chen, Patrick P. C. Lee, Geng Hu, Zehao Chen on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses