本文提出 Manticore 框架,利用可微 NAS 与跨架构投影器复用 GPT、Mamba 等预训练模型,自动构建并端到端微调混合语言模型,在长程与 NLP 任务上表现优异。
摘要:
尽管 Transformers 构成了现代大型语言模型(LMs)的基础,但具有新能力、前景和权衡的替代架构正不断增多。这使得选择合适的 LM 架构颇具挑战。最近提出的混合架构寻求一种“集各家之长”的方法,以获得所有架构的优势。混合设计之所以困难,原因有二:它需要由专家驱动的手动搜索,而且新的混合架构必须从头训练。我们提出 Manticore 框架,通过自动化混合架构设计并复用预训练模型来创建预训练混合架构,从而应对这些挑战。我们的方法扩展了可微神经架构搜索(NAS)的思想,引入简单投影器,在来自不同架构的预训练块之间转换特征。随后,我们端到端微调那些结合了不同架构家族预训练模型(例如 GPT 系列和 Mamba)的混合架构。借助 Manticore,我们无需训练多个模型即可进行 LM 选择,能够从现有预训练模型构建预训练混合架构,并能够通过编程使预训练混合架构具备某些能力。Manticore 混合架构可与现有的手动设计混合架构相媲美,在 Long Range Arena 上取得强劲性能,并在多种自然语言任务上优于预训练 Transformers 和状态空间模型。
英文摘要:
While Transformers underpin modern large language models (LMs), there is a growing list of alternative architectures with new capabilities, promises, and tradeoffs. This makes choosing the right LM architecture challenging. Recently proposed hybrid architectures seek a best-of-all-worlds approach that reaps the benefits of all architectures. Hybrid design is difficult for two reasons: it requires manual expert-driven search, and new hybrids must be trained from scratch. We propose Manticore, a framework that addresses these challenges by automating the design of hybrid architectures while reusing pretrained models to create pretrained hybrids. Our approach augments ideas from differentiable Neural Architecture Search (NAS) by incorporating simple projectors that translate features between pretrained blocks from different architectures. We then fine-tune hybrids that combine pretrained models from different architecture families -- such as the GPT series and Mamba -- end-to-end. With Manticore, we enable LM selection without training multiple models, the construction of pretrained hybrids from existing pretrained models, and the ability to program pretrained hybrids to have certain capabilities. Manticore hybrids match existing manually designed hybrids, achieve strong performance on Long Range Arena, and improve on pretrained transformers and state space models on various natural language tasks.
Beyond Task-Only Matching: Personalized Skill Routing with Counterfactual Evaluation
School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);College of Software Engineering, Southeast University(东南大学软件学院);Department of Computer Science and Engineering, The Chinese University of Hong Kong(香港中文大学计算机科学与工程学系);Department of Computer Science, City University of Hong Kong(香港城市大学计算机科学系)
FinBERT: A Pretrained Language Model for Financial Communications
Hong Kong University of Science and Technology(香港科技大学)
上下文预训练语言模型,例如BERT(Devlin et al.,2019年),通过对大规模未标记文本资源的训练,在各种NLP任务中取得了重大突破。金融领域也积累了大量的金融沟通文本。但是,没有预训练的金融特定语言模型可用。在这项工作中,我们解决了需要通过预训练金融领域特定的BERT模型,FinBERT,使用大规模的金融通信语料库。在三个金融情感分类任务上的实验证实了FinBERT模型相对于一般领域BERT模型的优势。代码和预训练模型可在https://github.com/yya518/FinBERT上获得。我们希望这对从事金融NLP任务的从业者和研究人员有用。
Towards Table-to-Text Generation with Pretrained Language Model: A Table Structure Understanding and Text Deliberating Approach
University of Science and Technology of China(中国科学技术大学);Baidu Research(百度研究院);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Guangzhou HKUST Fok Ying Tung Research Institute(广州香港科技大学霍英东研究院)
RL Grokking Recipe: How Does RL Unlock and Transfer New Algorithms in LLMs?
University of California, Berkeley(加州大学伯克利分校);University of Wisconsin, Madison(威斯康星大学麦迪逊分校);University of Washington(华盛顿大学);Ai2 Main dataset contributor(Ai2 主数据贡献者)
The Adapter-Bot: All-In-One Controllable Conversational Model
Center for Artificial Intelligence Research (CAiRE)(人工智能研究中心(CAiRE));The Hong Kong University of Science and Technology(香港科技大学)
通过在大型对话数据集上训练大语言模型,在生成连贯和流畅响应的对话模型方面已经取得了相当大的进展。这些模型对生成的响应几乎没有控制,并且错过了两个重要的功能:持续的对话技能集成和无缝地利用不同的知识来源。在本文中,我们提出了适配器机器人,一种对话模型,使用固定的骨干对话模型,如DialGPT(Zhang et al.,2019)并触发按需对话技能(例如,地震响应、天气信息、电影推荐)(Houlsby等人,2019年)。每个适配器都可以独立训练,因此可以在不重新训练整个模型的情况下持续集成技能。根据技能的不同,该模型能够以无缝的方式处理多种知识类型,如文本、表格和图形。对话技能可以通过对话管理器自动触发,也可以手动触发,从而允许对生成的响应进行高级控制。在目前阶段,我们已经实现了12种响应样式(例如,正、负等),8项目标导向技能(如天气信息、电影推荐等),以及个性化和个性化的回应。我们通过与现有的最先进的会话模型进行比较,使用自动评估来评估我们的模型,并且我们已经在adapter.bot.ust.hk发布了一个交互式系统。
Class-Imbalanced-Aware Adaptive Dataset Distillation for Scalable Pretrained Model on Credit Scoring
Risk Management Division, China Development Bank(国家开发银行风险管理部);School of Finance, Central University of Finance and Economics(中央财经大学金融学院);GF Holdings (Hong Kong) Corporation Limited(广发控股(香港)有限公司);University of Cambridge(剑桥大学)
CLASP: Language-Driven Robot Skill Selection and Composition using Task-Parameterized Learning
German Aerospace Center (DLR), Institute of Robotics and Mechatronics (RMC)(德国航空航天中心(DLR),机器人与机电一体化研究所(RMC));Technical University of Munich (TUM)(慕尼黑工业大学(TUM))
Design of Recognition and Evaluation System for Table Tennis Players' Motor Skills Based on Artificial Intelligence
School of Electronics and Information, Northwestern Polytechnical University(西北工业大学电子信息学院);School of Foreign Studies, Northwestern Polytechnical University(西北工业大学外国语学院)