Interpreting and Exploiting Functional Specialization in Multi-Head Attention under Multi-task Learning
State Key Laboratory of Multimodal Artificial Intelligence Systems(多模态人工智能系统国家重点实验室);Institute of Automation, CAS(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
Transformer-based models, even though achieving super-human performance on several downstream tasks, are often regarded as a black box and used as a whole. It is still unclear what mechanisms they have learned, especially their core module: multi-head attention. Inspired by functional specialization in the human brain, which helps to efficiently handle multiple tasks, this work attempts to figure out whether the multi-head attention module will evolve similar function separation under multi-tasking training. If it is, can this mechanism further improve the model performance? To investigate these questions, we introduce an interpreting method to quantify the degree of functional specialization in multi-head attention. We further propose a simple multi-task training method to increase functional specialization and mitigate negative information transfer in multi-task learning. Experimental results on seven pre-trained transformer models have demonstrated that multi-head attention does evolve functional specialization phenomenon after multi-task training which is affected by the similarity of tasks. Moreover, the multi-task training strategy based on functional specialization boosts performance in both multi-task learning and transfer learning without adding any parameters.
Decoupling and Regulating Modality Heads for Fake News Detection under Missing Modality
Soochow University(苏州大学);Hong Kong University of Science and Technology(香港科技大学);Computer Science and Engineering, The Chinese University of Hong Kong(香港中文大学计算机科学与工程系);The Hong Kong University of Science and Technology(香港科技大学);FiT, Tencent(腾讯FiT);Alibaba Group(阿里巴巴集团);School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);School of Education, Zhejiang Normal University(浙江师范大学教育学院)
How Syntax Specialization Emerges in Language Models
Department of Linguistics and Modern Languages, The Chinese University of Hong Kong(香港中文大学语言学与现代语言系);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Brain and Mind Institute, The Chinese University of Hong Kong(香港中文大学脑科学与心灵研究所)
Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Models
School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
Interpreting and Improving Large Language Models in Arithmetic Calculation
University of Science and Technology of China(中国科学技术大学);Alibaba Cloud(阿里云);Hong Kong Baptist University(香港浸会大学);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院)
Rubric-Aligned Disentangled Evaluation of Human Simultaneous Interpreting
School of Data Science, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院);School of Artificial Intelligence, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)人工智能学院);Shenzhen Loop Area Institute(深圳河套学院)
Acceptability Judgements via Examining the Topology of Attention Maps
Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究院);AIRI(AIRI(人工智能研究院));SberDevices(SberDevices(俄联邦储蓄银行设备公司));HSE University(高等经济大学);Huawei Noah’s Ark lab(华为诺亚方舟实验室);Center for Information and Language Processing (CIS), LMU Munich(慕尼黑大学信息与语言处理中心);CNRS(法国国家科学研究中心)
本文利用拓扑数据分析提取注意力图的几何特征,用于语法可接受性二元判断和最小对比较,在多语言 CoLA 与 BLiMP 上显著提升性能并达到人类水平。