跳到正文
Rohan Paul· @rohanpaul_ai · X·· 4 小时前AI 评分51
AI 导读

Meta 与 MIT 的新论文发现,把 Transformer 的层循环复用可以让模型在不增加参数的情况下获得更深的结构,效果可超过普通模型。研究训练了最高 1B 参数、最多 155B token 的稠密模型,测试循环位置与次数;在固定规模下循环整个堆栈质量最好,训练算力紧张时循环中间层收益最高。

正文

New Meta and MIT paper finds reusing a transformer's layers in loops can beat a plain model.

Looping runs the same layers several times, giving a model more depth without more parameters. But each loop costs compute and normally runs in sequence for every token.

They trained dense models up to 1B parameters on up to 155B tokens, testing where to loop and how many times. They also added tiny per-loop adapters and repaired a parallel looping method so loops can run at once during decoding.

Looping the whole stack gave the best quality at a fixed size, while looping middle layers paid off best when training compute was tight. Per-loop adapters added only 1.1 to 4.3% more parameters, versus 51.4% for doubling depth, and helped more as loops increased.

来源:Rohan Paul · x.com