长上下文理解(Long Context Understanding,LCU)是当前大语言模型(Large Language Models,LLMs)领域的重要研究方向。然而,由于长文本数据本身篇幅较长,现有的大语言模型长上下文理解基准往往会产生极高的评估成本,例如测试时长和推理费用。通过大量实验,我们发现现有的长上下文理解基准存在显著冗余,这会导致评估效率低下。本文提出了一种针对具有稀疏信息特征的长文本数据的精简数据压缩方法。通过对知名长上下文理解基准LongBench进行剪枝,我们构建了MiniLongBench。该基准仅包含237个测试样本,覆盖六大任务类别和21项不同任务。通过对60余个大语言模型的实证分析,MiniLongBench的平均评估成本降至原基准的4.5%,同时与LongBench的结果保持0.97的平均秩相关系数。因此,作为一款低成本基准,MiniLongBench有望极大推动未来大语言模型长上下文理解能力的相关研究。代码、数据和教程详见https://github.com/MilkThink-Lab/MiniLongBench。
英文摘要:
Long Context Understanding (LCU) is a critical area for exploration in current large language models (LLMs). However, due to the inherently lengthy nature of long-text data, existing LCU benchmarks for LLMs often result in prohibitively high evaluation costs, like testing time and inference expenses. Through extensive experimentation, we discover that existing LCU benchmarks exhibit significant redundancy, which means the inefficiency in evaluation. In this paper, we propose a concise data compression method tailored for long-text data with sparse information characteristics. By pruning the well-known LCU benchmark LongBench, we create MiniLongBench. This benchmark includes only 237 test samples across six major task categories and 21 distinct tasks. Through empirical analysis of over 60 LLMs, MiniLongBench achieves an average evaluation cost reduced to only 4.5% of the original while maintaining an average rank correlation coefficient of 0.97 with LongBench results. Therefore, our MiniLongBench, as a low-cost benchmark, holds great potential to substantially drive future research into the LCU capabilities of LLMs. See https://github.com/MilkThink-Lab/MiniLongBench for our code, data and tutorial.
ReLay: Personalized LLM-Generated Plain-Language Summaries for Better Understanding, but at What Cost?
University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Virginia(弗吉尼亚大学);University of Colorado Anschutz(科罗拉多大学安舒茨分校);Johns Hopkins University(约翰霍普金斯大学);University of Chicago Pritzker School of Medicine(芝加哥大学普ritzker法学院);National Library of Medicine, National Institutes of Health(国家医学图书馆,国家卫生研究院);University of Washington(华盛顿大学)
Understanding LLMs: A Comprehensive Overview from Training to Inference
School of Physics and Information Technology, Shaanxi Normal University(陕西师范大学物理学与信息技术学院);Institute of Medical Research, Northwestern Polytechnical University(西北工业大学医学研究院);School of Computer Science, Northwestern Polytechnical University(西北工业大学计算机学院);School of Automation, Northwestern Polytechnical University(西北工业大学自动化学院);School of Computing, The University of Georgia(佐治亚大学计算学院)
Parameter-Inverted Image Pyramid Networks for Visual Perception and Multimodal Understanding
Shanghai Jiao Tong University(上海交通大学);Tsinghua University(清华大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);The Chinese University of Hong Kong(香港中文大学);Sensetime
Seeing is Coding: On the Effectiveness of Vision Language Models in Code Understanding
Shanghai Jiao Tong University China;Hohai University China;Singapore Management University Singapore;Imperial College London United Kingdom;East China Normal University \& Shanghai Innovation Institute China;Chongqing University China;Shanghai Jiao Tong University;Hohai University;Singapore Management University;Imperial College London;East China Normal University \& Shanghai Innovation Institute;Chongqing University