Hierarchical Context Merging: Better Long Context Understanding for Pre-trained LLMs
KAIST(韩国科学技术院);University of Michigan(密歇根大学);Carnegie Mellon University(卡内基梅隆大学);Hanyang University ERICA(汉阳大学ERICA校区);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);NAVER(NAVER(韩国网络公司))
Woomin Song, Seunghyuk Oh, Sangwoo Mo, Jaehyung Kim, Sukmin Yun, Jung-Woo Ha, Jinwoo Shin
备注:
Accepted to ICLR 2024. The first two authors contributed equally
Large language models (LLMs) have shown remarkable performance in various natural language processing tasks. However, a primary constraint they face is the context limit, i.e., the maximum number of tokens they can process. Previous works have explored architectural changes and modifications in positional encoding to relax the constraint, but they often require expensive training or do not address the computational demands of self-attention. In this paper, we present Hierarchical cOntext MERging (HOMER), a new training-free scheme designed to overcome the limitations. HOMER uses a divide-and-conquer algorithm, dividing long inputs into manageable chunks. Each chunk is then processed collectively, employing a hierarchical strategy that merges adjacent chunks at progressive transformer layers. A token reduction technique precedes each merging, ensuring memory usage efficiency. We also propose an optimized computational order reducing the memory requirement to logarithmically scale with respect to input length, making it especially favorable for environments with tight memory restrictions. Our experiments demonstrate the proposed method's superior performance and memory efficiency, enabling the broader use of LLMs in contexts requiring extended context. Code is available at https://github.com/alinlab/HOMER.
A Novel Hierarchical Integration Method for Efficient Model Merging in Medical LLMs
Deakin Cyber Research(德肯网络研究);Innovation Centre Deakin University / Universal Higher Education Melbourne, Australia(德肯大学创新中心/通用高等教育墨尔本,澳大利亚);School of IT(信息科技学院);Engineering Melbourne Institute of Technology Melbourne, Australia(工程墨尔本技术学院墨尔本,澳大利亚);Innovation Centre Deakin University Geelong, Australia(德肯大学创新中心吉朗,澳大利亚)
Pruning via Merging: Compressing LLMs via Manifold Alignment Based Layer Merging
Harbin Institute of Technology(哈尔滨工业大学);University of Science and Technology of China(中国科学技术大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Shandong Agricultural University(山东农业大学);Tencent Inc.(腾讯公司);Anhui University(安徽大学)
City University of Hong Kong(香港城市大学);Tencent Jarvis Lab(腾讯 Jarvis 实验室);University of Technology Sydney(悉尼大学);University of Queensland(昆士兰大学);Jilin University(吉林大学);Westlake University(西湖大学)
RECALL: REpresentation-aligned Catastrophic-forgetting ALLeviation via Hierarchical Model Merging
Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Peng Cheng Laboratory(鹏城实验室);Huazhong University of Science and Technology(华中科技大学);Xiamen University(厦门大学);The Hong Kong University of Science and Technology, Guangzhou(香港科技大学(广州));School of Biomedical Engineering, Tsinghua University(清华大学生物医学工程学院)
Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunities
Shenzhen Campus of Sun Yat-sen University, China(中山大学深圳校区);Northeastern University China(东北大学);Shenzhen Campus of Sun Yat-sen University China(中山大学深圳校区);Nanyang Technological University Singapore(南洋理工大学);Northeastern University(东北大学);Shenzhen Campus of Sun Yat-sen University(中山大学深圳校区);Nanyang Technological University(南洋理工大学);Institute for Clarity in Documentation Dublin Ohio USA(文档清晰研究所);Inria Paris-Rocquencourt Rocquencourt France(巴黎-罗quentourt研究所);Rajiv Gandhi University Doimukh Arunachal Pradesh India(拉贾·甘地大学);Tsinghua University Haidian Qu Beijing Shi China(清华大学);Palmer Research Laboratories San Antonio Texas USA(帕勒研究中心);Institute for Clarity in Documentation(文档清晰研究所);Inria Paris-Rocquencourt(巴黎-罗quentourt研究所);Rajiv Gandhi University(拉贾·甘地大学);Tsinghua University(清华大学);Palmer Research Laboratories(帕勒研究中心)
Mila – Quebec AI Institute(Mila – 魁北克人工智能研究所);Polytechnique Montréal(蒙特利尔综合理工学院);Université de Montréal(蒙特利尔大学);McGill University(麦吉尔大学);AI Center, Samsung, South Korea(三星人工智能中心,韩国);Samsung AI Lab, Montreal(三星人工智能实验室,蒙特利尔)
MergeRepair: An Exploratory Study on Merging Task-Specific Adapters in Code LLMs for Automated Program Repair
University of British Columbia, Department of Computer Science(不列颠哥伦比亚大学计算机科学系);École de technologie supérieure, Department of Software and IT Engineering(高等技术学院软件与信息技术工程系)
Activation-Informed Merging of Large Language Models
Massachusetts Institute of Technology(麻省理工学院);Stony Brook University(石溪大学);MIT-IBM Watson AI Lab & Red Hat AI Innovation(MIT-IBM Watson AI实验室及Red Hat AI创新)
Unlocking the Potential of Model Merging for Low-Resource Languages
Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);State Key Laboratory of General Artificial Intelligence, Peking University(北京大学通用人工智能国家重点实验室);Center for Data Science, Peking University(北京大学数据科学中心);College of Engineering, Peking University(北京大学工学院)
Countering Catastrophic Forgetting of Large Language Models for Better Instruction Following via Weight-Space Model Merging
University of Florida(佛罗里达大学);Department of Health Outcomes and Biomedical Informatics, College of Medicine, University of Florida(佛罗里达大学医学院健康结果与生物医学信息学系);Department of Engineering Education, Herbert Wertheim College of Engineering, University of Florida(佛罗里达大学赫伯特·韦特海姆工程学院工程教育系);Preston A. Wells, Jr. Center for Brain Tumor Therapy, Lillian S. Wells Department of Neurosurgery, University of Florida(佛罗里达大学莉莉安·S·威尔斯神经外科系普雷斯顿·A·威尔斯脑肿瘤治疗中心)
Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models
Graduate School of Artificial Intelligence, POSTECH, Republic of Korea(POSTECH人工智能研究生院,韩国);Department of Computer Science and Engineering, POSTECH, Republic of Korea(POSTECH计算机科学与工程系,韩国)
Leveraging Taxonomy and LLMs for Improved Multimodal Hierarchical Classification
University of New South Wales(新南威尔士大学);Deakin University(迪肯大学);University of Southampton(南安普顿大学);Macquarie University(麦考瑞大学);Technology Innovation Institute(技术创新研究院);MBZUAI(穆罕默德·本·扎耶德人工智能大学)
Combining Domain and Alignment Vectors to Achieve Better Knowledge-Safety Trade-offs in LLMs
Chandar Research Lab(昌达尔研究实验室);Mila – Quebec AI Institute(魁北克人工智能研究院);Université de Montréal(蒙特利尔大学);IBM Research(IBM研究院);Polytechnique Montréal(蒙特利尔理工学院);Canada CIFAR AI Chair(加拿大CIFAR人工智能主席)
Hierarchical Prompting Taxonomy: A Universal Evaluation Framework for Large Language Models Aligned with Human Cognitive Principles
Indian Institute of Technology Kharagpur(印度理工学院Khargapur分校);Rochester Institute of Technology(罗切斯特理工学院);Researcher, Fatima Fellowship(研究员,Fatima fellowship);AI Institute, University of South Carolina(人工智能研究所,南卡罗来纳大学);Amazon GenAI(亚马逊生成人工智能);Stanford University(斯坦福大学);James Silberrad Brown Center for AI, San Diego State University(詹姆斯·西伯拉德·布朗人工智能中心,圣地亚哥州立大学)