通过Gisting研究HyperTuning的有效性
Investigating the Effectiveness of HyperTuning via Gisting
AI总结:
本文提出基于Gisting和Llama-2的HyperLlama超网络,用少样本输入生成任务软前缀,在多个数据集上验证其压缩效果及作为前缀调优初始化的优势,但整体性能仍不及完全注意力的多任务微调模型。
摘要:
Gisting(Mu等人,2023)是一种简单的方法,通过使用修改后的注意力掩码训练模型将信息压缩为更少的token表示,并且可以作为训练基于Transformer的超网络的一种经济方法。我们引入了HyperLlama,这是一组基于Llama-2模型构建的、基于Gisting的超网络,它根据少样本输入生成任务特定的软前缀。在P3、Super-NaturalInstructions和Symbol Tuning数据集上的实验中,我们表明HyperLlama模型能够有效地将少样本示例中的信息压缩为软前缀。然而,它们的表现仍然不如对少样本上下文示例进行完全注意力的多任务微调语言模型。我们还表明,HyperLlama生成的软前缀可以作为进一步前缀调优的更好初始化。总体而言,基于Gisting的超网络经济且易于实现,但经验性能参差不齐。
英文摘要:
Gisting (Mu et al., 2023) is a simple method for training models to compress information into fewer token representations using a modified attention mask, and can serve as an economical approach to training Transformer-based hypernetworks. We introduce HyperLlama, a set of Gisting-based hypernetworks built on Llama-2 models that generates task-specific soft prefixes based on few-shot inputs. In experiments across P3, Super-NaturalInstructions and Symbol Tuning datasets, we show that HyperLlama models can effectively compress information from few-shot examples into soft prefixes. However, they still underperform multi-task fine-tuned language models with full attention over few-shot in-context examples. We also show that HyperLlama-generated soft prefixes can serve as better initializations for further prefix tuning. Overall, Gisting-based hypernetworks are economical and easy to implement, but have mixed empirical performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。