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

具有协方差意识的变换器用于二次规划和决策制定

Covariance-Aware Transformers for Quadratic Programming and Decision Making

The University of Texas at Austin(德克萨斯大学奥斯汀分校);University of Michigan(密歇根大学)

Kutay Tire, Yufan Zhang, Ege Onur Taga, Samet Oymak

AI总结:

本文提出Time2Decide方法,通过显式利用协方差矩阵提升变换器在二次规划和决策制定中的性能。

摘要:

我们探讨了变换器在解决二次规划中的应用,以及这种能力如何帮助涉及协方差矩阵的决策制定问题。我们首先证明,线性注意力机制可以通过对矩阵变量(例如目标函数1/2x^T Ax + b^T x中的A)按行分块,从而可以证明地解决无约束二次规划问题,并模拟梯度下降迭代。此外,通过引入MLP,变换器块可以解决(i)通过模拟迭代软阈值化解决ℓ1惩罚二次规划,以及(ii)当配备额外反馈回路时解决ℓ1约束二次规划。我们的理论促使我们引入Time2Decide:一种通用方法,通过显式地将变量之间的协方差矩阵馈入时间序列基础模型(TSFM)来增强它。我们发现,Time2Decide在经典的具有ℓ1约束二次规划公式的投资组合优化问题中,普遍优于基础TSFM模型。值得注意的是,Time2Decide在某些设置中也优于经典的“预测后优化(PtO)”过程,其中我们首先预测收益,然后显式地求解一个约束二次规划。我们的结果表明,变换器受益于显式使用二次统计信息,并且这使它们能够有效地在一次正向传递中解决复杂的决策制定问题,如投资组合构建。

英文摘要:

We explore the use of transformers for solving quadratic programs and how this capability benefits decision-making problems that involve covariance matrices. We first show that the linear attention mechanism can provably solve unconstrained QPs by tokenizing the matrix variables (e.g.~$A$ of the objective $\frac{1}{2}x^\top Ax+b^\top x$) row-by-row and emulating gradient descent iterations. Furthermore, by incorporating MLPs, a transformer block can solve (i) $\ell_1$-penalized QPs by emulating iterative soft-thresholding and (ii) $\ell_1$-constrained QPs when equipped with an additional feedback loop. Our theory motivates us to introduce Time2Decide: a generic method that enhances a time series foundation model (TSFM) by explicitly feeding the covariance matrix between the variates. We empirically find that Time2Decide uniformly outperforms the base TSFM model for the classical portfolio optimization problem that admits an $\ell_1$-constrained QP formulation. Remarkably, Time2Decide also outperforms the classical "Predict-then-Optimize (PtO)" procedure, where we first forecast the returns and then explicitly solve a constrained QP, in suitable settings. Our results demonstrate that transformers benefit from explicit use of second-order statistics, and this can enable them to effectively solve complex decision-making problems, like portfolio construction, in one forward pass.

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

↑