arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.09817cs.LGstat.ML
收藏

Transformer不同模态预训练对离线强化学习的影响

On the Effect of Pre-training for Transformer in Different Modality on Offline Reinforcement Learning

Shiro Takagi

摘要:

我们实证研究了对不同模式(如语言和视觉)的数据进行预训练如何影响基于Transformer的模型对Mujoco离线强化学习任务的微调。内部表示的分析表明,预训练的Transformers在预训练前后获得了很大不同的表示,但在微调中获得的数据信息比随机初始化的少。仔细观察预训练的Transformers的参数变化,可以发现它们的参数变化不大,并且用图像数据预训练的模型的不良性能可能部分来自大梯度和梯度裁剪。为了研究使用语言数据预训练的Transformer利用了哪些信息,我们在没有提供上下文的情况下对该模型进行了微调,发现即使没有上下文信息,该模型也能有效地学习。后续的分析支持了这一假设,即用语言数据进行预训练很可能使Transformer获得类似上下文的信息,并利用它来解决下游任务。

英文摘要:

We empirically investigate how pre-training on data of different modalities, such as language and vision, affects fine-tuning of Transformer-based models to Mujoco offline reinforcement learning tasks. Analysis of the internal representation reveals that the pre-trained Transformers acquire largely different representations before and after pre-training, but acquire less information of data in fine-tuning than the randomly initialized one. A closer look at the parameter changes of the pre-trained Transformers reveals that their parameters do not change that much and that the bad performance of the model pre-trained with image data could partially come from large gradients and gradient clipping. To study what information the Transformer pre-trained with language data utilizes, we fine-tune this model with no context provided, finding that the model learns efficiently even without context information. Subsequent follow-up analysis supports the hypothesis that pre-training with language data is likely to make the Transformer get context-like information and utilize it to solve the downstream task.

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

↑