[论文解读] Generalization Performance of Transfer Learning: Overparameterized and Underparameterized Regimes
本文研究了在共享特征与任务特定特征下线性回归中的迁移学习,推导了在欠参数化和过参数化两种情形下的泛化误差界。研究发现,将更多冗余特征分配给任务特定部分——尤其是在噪声较高或真实参数较小时——可获得更优性能,这与关于特征共享的传统直觉相悖。
Transfer learning is a useful technique for achieving improved performance and reducing training costs by leveraging the knowledge gained from source tasks and applying it to target tasks. Assessing the effectiveness of transfer learning relies on understanding the similarity between the ground truth of the source and target tasks. In real-world applications, tasks often exhibit partial similarity, where certain aspects are similar while others are different or irrelevant. To investigate the impact of partial similarity on transfer learning performance, we focus on a linear regression model with two distinct sets of features: a common part shared across tasks and a task-specific part. Our study explores various types of transfer learning, encompassing two options for parameter transfer. By establishing a theoretical characterization on the error of the learned model, we compare these transfer learning options, particularly examining how generalization performance changes with the number of features/parameters in both underparameterized and overparameterized regimes. Furthermore, we provide practical guidelines for determining the number of features in the common and task-specific parts for improved generalization performance. For example, when the total number of features in the source task's learning model is fixed, we show that it is more advantageous to allocate a greater number of redundant features to the task-specific part rather than the common part. Moreover, in specific scenarios, particularly those characterized by high noise levels and small true parameters, sacrificing certain true features in the common part in favor of employing more redundant features in the task-specific part can yield notable benefits.
研究动机与目标
- 理解通过共享和任务特定特征体现的部分任务相似性如何影响迁移学习的泛化性能。
- 在欠参数化和过参数化两种情形下,对泛化误差进行理论表征。
- 为优化性能,提供在共用部分与任务特定部分之间分配特征的设计指南。
- 研究在不同噪声水平和参数情形下,任务特定部分与共用部分中冗余特征的影响。
提出的方法
- 使用包含两组特征的线性回归框架建模迁移学习:一组为跨任务共享的共用部分,另一组为每个任务独有的任务特定部分。
- 利用随机矩阵理论和投影算子,推导了在欠参数化和过参数化设置下的泛化误差的理论表达式。
- 通过将权重向量分解为真实成分与冗余成分,分析偏差与方差的贡献。
- 应用矩阵求逆恒等式与期望计算,推导出期望误差的闭式表达式。
- 考虑两种迁移策略:参数迁移(复制源模型权重)与样本迁移(合并数据),重点聚焦于参数迁移。
- 采用独立同分布的高斯特征与各向同性噪声的假设,以保证分析的可操作性。
实验结果
研究问题
- RQ1在共用部分与任务特定部分之间分配特征的方式如何影响迁移学习中的泛化性能?
- RQ2与共用部分相比,任务特定部分中的冗余特征对泛化误差的影响是什么?
- RQ3在迁移学习中,泛化性能在欠参数化与过参数化两种情形下如何变化?
- RQ4在何种条件下,为任务特定部分增加冗余特征而牺牲共用部分的真实特征是有利的?
- RQ5噪声水平与真实参数的大小如何影响最优特征分配策略?
主要发现
- 当源模型中特征总数固定时,将更多冗余特征分配给任务特定部分,其泛化性能优于分配给共用部分。
- 在高噪声情形或真实参数较小时,牺牲共用部分的部分真实特征以换取任务特定部分更多的冗余特征是有利的。
- 在过参数化情形下,泛化误差表现出‘双下降’行为,即在插值阈值之后误差减小。
- 期望误差取决于特征数量、样本量与噪声方差之间的相互作用,且两种情形下均推导出明确的公式。
- 理论分析证实,部分相似性(共享特征加任务特定特征)相比完全相似或无相似性,能带来性能提升。
- 最优特征分配策略并非直观:任务特定部分的更多冗余通常优于共用部分的更多真实特征。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。