arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.16985cs.LG
收藏

通过蒸馏将归纳偏置整合到Transformer中用于金融时间序列预测

Integrating Inductive Biases in Transformers via Distillation for Financial Time Series Forecasting

National Chengchi University(中华大学)

Yu-Chen Den, Kuan-Yu Chen, Kendro Vincent, Darby Tien-Hao Chang

AI总结:

提出TIPS框架,通过知识蒸馏将因果性、局部性和周期性等归纳偏置整合到统一Transformer中,在四个主要股票市场实现年化收益、夏普比率和卡尔玛比率分别提升55%、9%和16%,且推理计算量仅为38%。

摘要:

基于Transformer的模型因其高表示能力和架构灵活性而被广泛用于时间序列预测。然而,许多Transformer变体隐含地假设平稳性和稳定的时间动态——这些假设在具有制度转换和非平稳性的金融市场中经常被违反。经验上,最先进的时间序列Transformer在金融任务上甚至常常不如普通Transformer,而具有不同归纳偏置的简单架构(如CNN和RNN)能以更低的复杂度实现更强的性能。同时,没有单一的归纳偏置在所有市场或制度中占主导地位,这表明稳健的金融预测需要整合互补的时间先验。我们提出TIPS(Transformer with Inductive Prior Synthesis),一个知识蒸馏框架,将多样化的归纳偏置——因果性、局部性和周期性——综合到统一的Transformer中。TIPS通过注意力掩码训练偏置专用的Transformer教师,然后通过跨归纳偏置的制度依赖对齐,将它们的知识蒸馏到单个学生模型中。在四个主要股票市场上,TIPS实现了最先进的性能,在年化收益、夏普比率和卡尔玛比率上分别超过强集成基线55%、9%和16%,同时仅需要38%的推理计算量。进一步分析表明,TIPS产生了统计上显著的超额收益,超过普通Transformer及其教师集成,并在其盈利期间表现出与经典架构的制度依赖行为对齐。这些结果强调了在非平稳金融时间序列中,制度依赖的归纳偏置利用对于稳健泛化的重要性。

英文摘要:

Transformer-based models have been widely adopted for time-series forecasting due to their high representational capacity and architectural flexibility. However, many Transformer variants implicitly assume stationarity and stable temporal dynamics -- assumptions routinely violated in financial markets characterized by regime shifts and non-stationarity. Empirically, state-of-the-art time-series Transformers often underperform even vanilla Transformers on financial tasks, while simpler architectures with distinct inductive biases, such as CNNs and RNNs, can achieve stronger performance with substantially lower complexity. At the same time, no single inductive bias dominates across markets or regimes, suggesting that robust financial forecasting requires integrating complementary temporal priors. We propose TIPS (Transformer with Inductive Prior Synthesis), a knowledge distillation framework that synthesizes diverse inductive biases -- causality, locality, and periodicity -- within a unified Transformer. TIPS trains bias-specialized Transformer teachers via attention masking, then distills their knowledge into a single student model with regime-dependent alignment across inductive biases. Across four major equity markets, TIPS achieves state-of-the-art performance, outperforming strong ensemble baselines by 55%, 9%, and 16% in annual return, Sharpe ratio, and Calmar ratio, while requiring only 38% of the inference-time computation. Further analyses show that TIPS generates statistically significant excess returns beyond both vanilla Transformers and its teacher ensembles, and exhibits regime-dependent behavioral alignment with classical architectures during their profitable periods. These results highlight the importance of regime-dependent inductive bias utilization for robust generalization in non-stationary financial time series.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑