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

两层ReLU神经网络的可证明多任务表示学习

Provable Multi-Task Representation Learning by Two-Layer ReLU Neural Networks

The University of Texas at Austin(德克萨斯大学奥斯汀分校);University of Pennsylvania(宾夕法尼亚大学);University of Southern California(南加州大学)

Liam Collins, Hamed Hassani, Mahdi Soltanolkotabi, Aryan Mokhtari, Sanjay Shakkottai

AI总结:

本文首次证明多任务预训练两层ReLU神经网络能通过伪对比损失恢复低维投影特征,实现与输入维度无关的下游泛化,而单任务训练无法保证学到全部真实特征。

摘要:

一种日益流行的机器学习范式是先在许多任务上离线预训练一个神经网络(NN),然后将其适配到下游任务,通常仅重新训练网络的最后一个线性层。这种方法在各种场景下都能带来强大的下游性能,表明多任务预训练能够实现有效的特征学习。尽管近期一些理论研究已经表明,浅层神经网络在(i)在单一任务上训练或(ii)为线性模型时能够学到有意义的特征,但对于更接近实际情形的、在多个任务上训练的非线性神经网络,人们所知甚少。在这项工作中,我们首次给出了证明在多个任务上使用非线性模型进行训练时会发生特征学习的结果。我们的关键见解是,多任务预训练会诱导出一种伪对比损失,该损失倾向于使那些在不同任务中通常具有相同标签的点在表示上对齐。利用这一观察,我们证明:当任务是二分类任务,且标签取决于数据在d维输入空间中某个r维子空间上的投影(其中d远大于r)时,在一个两层ReLU神经网络上运行一种简单的基于梯度的多任务学习算法能够恢复该投影,从而能够以独立于d的样本复杂度和神经元复杂度泛化到下游任务。相比之下,我们证明,在随机抽取单个任务的情况下,以高概率在该单一任务上进行训练无法保证学到所有r个真实特征。

英文摘要:

An increasingly popular machine learning paradigm is to pretrain a neural network (NN) on many tasks offline, then adapt it to downstream tasks, often by re-training only the last linear layer of the network. This approach yields strong downstream performance in a variety of contexts, demonstrating that multitask pretraining leads to effective feature learning. Although several recent theoretical studies have shown that shallow NNs learn meaningful features when either (i) they are trained on a {\em single} task or (ii) they are {\em linear}, very little is known about the closer-to-practice case of {\em nonlinear} NNs trained on {\em multiple} tasks. In this work, we present the first results proving that feature learning occurs during training with a nonlinear model on multiple tasks. Our key insight is that multi-task pretraining induces a pseudo-contrastive loss that favors representations that align points that typically have the same label across tasks. Using this observation, we show that when the tasks are binary classification tasks with labels depending on the projection of the data onto an $r$-dimensional subspace within the $d\gg r$-dimensional input space, a simple gradient-based multitask learning algorithm on a two-layer ReLU NN recovers this projection, allowing for generalization to downstream tasks with sample and neuron complexity independent of $d$. In contrast, we show that with high probability over the draw of a single task, training on this single task cannot guarantee to learn all $r$ ground-truth features.

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

↑