T-Mamba: A Hybrid Mamba-Transformer Framework for Stock Price Prediction

Precise forecasting of temporal sequences holds paramount importance in sectors like financial markets, where both overarching patterns and specific fluctuations guide strategic choices. Contemporary prediction frameworks regularly struggle to strike an optimal balance between computational cost and forecasting precision, especially when handling extended and intricate data streams. Our research introduces T-Mamba, a composite framework that combines Mamba's structured state-space sequence modeling capabilities with attention-driven mechanisms from Transformer architectures to overcome these limitations. The T-Mamba design utilizes a hierarchical scaling processor that separates chronological information into broad macroscopic trends and detailed microscopic variations, which are then processed by Mamba modules and a Localized Window Transformer respectively. An innovative routing mechanism adaptively synthesizes these distinct outputs, facilitating resource-efficient yet accurate predictions. Performance assessment on NASDAQ Historical Prices information reveals that T-Mamba substantially exceeds competing methodologies including CNN, BiLSTM, LSTM, XGBoost, and conventional Transformer implementations across evaluation criteria such as MSE, RMSE, MAE, and R^2. Component analysis confirms the critical contribution of each architectural element, highlighting the framework's structural integrity. By delivering enhanced predictive capabilities while maintaining linear complexity, T-Mamba establishes a new benchmark for temporal sequence forecasting that proves particularly valuable for extensive implementations across multiple disciplines.

Authors

Institutions

Publication Details

Published
2025-03-14
DOI
https://doi.org/10.1145/3746709.3746715
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

T-Mamba: A Hybrid Mamba-Transformer Framework for Stock Price Prediction

J. CHEN, Qinghao Zhang, Beichen Fan
Stock Market Forecasting Methods
article

T-Mamba: A Hybrid Mamba-Transformer Framework for Stock Price Prediction

J. CHEN, Qinghao Zhang, Beichen Fan
article en

Abstract

Precise forecasting of temporal sequences holds paramount importance in sectors like financial markets, where both overarching patterns and specific fluctuations guide strategic choices. Contemporary prediction frameworks regularly struggle to strike an optimal balance between computational cost and forecasting precision, especially when handling extended and intricate data streams. Our research introduces T-Mamba, a composite framework that combines Mamba's structured state-space sequence modeling capabilities with attention-driven mechanisms from Transformer architectures to overcome these limitations. The T-Mamba design utilizes a hierarchical scaling processor that separates chronological information into broad macroscopic trends and detailed microscopic variations, which are then processed by Mamba modules and a Localized Window Transformer respectively. An innovative routing mechanism adaptively synthesizes these distinct outputs, facilitating resource-efficient yet accurate predictions. Performance assessment on NASDAQ Historical Prices information reveals that T-Mamba substantially exceeds competing methodologies including CNN, BiLSTM, LSTM, XGBoost, and conventional Transformer implementations across evaluation criteria such as MSE, RMSE, MAE, and R^2. Component analysis confirms the critical contribution of each architectural element, highlighting the framework's structural integrity. By delivering enhanced predictive capabilities while maintaining linear complexity, T-Mamba establishes a new benchmark for temporal sequence forecasting that proves particularly valuable for extensive implementations across multiple disciplines.

Zhejiang Wanli University (CN), Wenzhou-Kean University (CN)
Openalex Percentile: Top 73%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.