arXivDaily arXiv每日学术速递 周一至周五更新
稍安勿躁,官方尚未更新
arXiv 2405.02462math.STcs.NAmath.NAmath.PRstat.TH
收藏

上下文内线性回归中梯度下降泛化误差的有限样本分析与界

Finite Sample Analysis and Bounds of Generalization Error of Gradient Descent in In-Context Linear Regression

Karthik Duraisamy

AI总结:

本文针对上下文内线性回归,分析单步梯度下降在随机设计、有限样本下的泛化误差界,并与最小二乘比较以揭示误差分量和最优步长。

摘要:

近期研究表明,基于 transformer 的架构在前向传播过程中模拟梯度下降,从而促成上下文内学习能力——即模型无需为此接受显式训练或微调,就能根据提示示例序列适应新任务。本工作研究在模型设定良好的线性回归情境中,单步梯度下降的泛化性质。我们考虑随机设计设定,并在非渐近(有限样本)设定下推导了泛化误差的统计性质与界的解析表达式。这些表达式的显著特点是避免任意常数,因此提供了可靠的定量信息与标度关系。我们将这些结果与经典最小二乘回归的结果进行对比(同时为后者推导类似的有限样本界),揭示了系统性分量与噪声分量以及最优步长。此外,作为分析的副产品,本文还给出了涉及 Gaussian 随机矩阵高阶乘积的恒等式。

英文摘要:

Recent studies show that transformer-based architectures emulate gradient descent during a forward pass, contributing to in-context learning capabilities - an ability where the model adapts to new tasks based on a sequence of prompt examples without being explicitly trained or fine tuned to do so. This work investigates the generalization properties of a single step of gradient descent in the context of linear regression with well-specified models. A random design setting is considered and analytical expressions are derived for the statistical properties and bounds of generalization error in a non-asymptotic (finite sample) setting. These expressions are notable for avoiding arbitrary constants, and thus offer robust quantitative information and scaling relationships. These results are contrasted with those from classical least squares regression (for which analogous finite sample bounds are also derived), shedding light on systematic and noise components, as well as optimal step sizes. Additionally, identities involving high-order products of Gaussian random matrices are presented as a byproduct of the analysis.

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

↑