Prompt-SAW: Leveraging Relation-Aware Graphs for Textual Prompt Compression
Provable Responsible AI and Data Analytics (PRADA) Lab(可证明的负责任人工智能与数据分析(PRADA)实验室);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);South China University of Technology(华南理工大学);University of Macau(澳门大学);Nankai University(南开大学);University of Copenhagen(哥本哈根大学);Stony Brook University(纽约州立大学石溪分校);SDAIA-KAUST AI(沙特数据与人工智能总局-阿卜杜拉国王科技大学人工智能机构);Ant Group(蚂蚁集团)
Muhammad Asif Ali, Zhengping Li, Shu Yang, Keyuan Cheng, Yang Cao, Tianhao Huang, Guimin Hu, Weimin Lyu, Lijie Hu, Lu Yu, Di Wang
大型语言模型(LLMs)在多种不同的自然语言处理任务中展现了卓越的能力。虽然提示是LLM推理的关键工具,但我们观察到,过长的提示会带来显著的成本。现有压缩长提示的尝试在压缩提示的可读性/可解释性方面结果欠佳,并对提示效用产生不利影响。为了解决这一问题,我们提出了PromptSAW:通过关系感知图进行提示压缩(Prompt compresSion via Relation AWare graphs),这是一种针对任务无关和任务感知提示的有效提示压缩策略。Prompt-SAW利用提示的文本信息构建图,随后提取图中的关键信息元素以生成压缩提示。我们还提出了GSM8K-aug,即现有GSM8K基准的扩展版本,用于任务无关提示,以提供全面的评估平台。使用基准数据集的实验评估表明,经Prompt-SAW压缩的提示不仅在可读性方面更优,而且在任务无关和任务感知设置下分别比表现最佳的基线模型高出最多10.1和77.1,同时将原始提示文本分别压缩了34.9%和56.7%。
英文摘要:
Large Language Models (LLMs) have shown exceptional abilities for multiple different natural language processing tasks. While prompting is a crucial tool for LLM inference, we observe that there is a significant cost associated with exceedingly lengthy prompts. Existing attempts to compress lengthy prompts lead to substandard results in terms of readability/interpretability of the compressed prompt, with a detrimental impact on prompt utility. To address this, we propose PromptSAW: Prompt compresSion via Relation AWare graphs, an effective strategy for prompt compression over task-agnostic and task-aware prompts. Prompt-SAW uses the prompt's textual information to build a graph and later extracts key information elements in the graph to come up with the compressed prompt. We also propose GSM8K-aug, i.e., an extended version of the existing GSM8K benchmark for task-agnostic prompts in order to provide a comprehensive evaluation platform. Experimental evaluation using benchmark datasets shows that prompts compressed by Prompt-SAW are not only better in terms of readability, but they also outperform the best-performing baseline models by up to 10.1 and 77.1, respectively, for task-agnostic and task-aware settings while compressing the original prompt text by 34.9 and 56.7.
I Came, I Saw, I Explained: Benchmarking Multimodal LLMs on Figurative Meaning in Memes
MaiNLP, Center for Information and Language Processing, LMU Munich(MaiNLP,信息与语言处理中心,慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);National Research Council Canada(加拿大国家研究委员会)
Render-of-Thought: Rendering Textual Chain-of-Thought as Images for Visual Latent Reasoning
Tencent BAC(腾讯BAC);Shenzhen International Graduate School, Tsinghua University(深圳国际研究生院,清华大学);School of Electronic and Computer Engineering, Peking University(北京大学电子与计算机工程学院);School of Mathematics and Statistics, University of Glasgow(格拉斯哥大学数学与统计学学院)
VTCBench: Can Vision-Language Models Understand Long Context with Vision-Text Compression?
1 Institute of Automation, Chinese Academy of Sciences;2 School of Artificial Intelligence, University of Chinese Academy of Sciences;3 Centre for Artificial Intelligence;Robotics, Hong Kong Institute of Science \& Innovation, CAS;4 Independent Researcher
EfficientPosterGen: Semantic-aware Efficient Poster Generation via Token Compression and Accurate Violation Detection
Tsinghua University(清华大学);The Chinese University of Hong Kong(香港中文大学);Harbin Institute of Technology(哈尔滨工业大学);Wuhan University(武汉大学);Beijing University of Posts and Telecommunications(北京邮电大学);Dalian Maritime University(大连海事大学);Renmin University of China(中国人民大学)
The Sword, Shield, and Achilles' Heel: Characterizing the Linguistic Inductive Bias of Large Language Models for Spatial Reasoning in Navigation Planning
East China Normal University(东华大学);Information Engineering University(信息工程大学);Zhengzhou University(郑州大学)
Department of Computer Science, Sapienza University of Rome(计算机科学系,罗马萨皮恩扎大学);Department of Computer, Control and Management Engineering, Sapienza University of Rome(计算机、控制与管理工程系,罗马萨皮恩扎大学);Department of Legal, Social, and Educational Sciences, Tuscia University(法律、社会与教育科学系,图斯西亚大学)
QRMeM: Unleash the Length Limitation through Question then Reflection Memory Mechanism
Beijing Institute of Technology(北京理工大学);Southeast Academy of Information Technology, Beijing Institute of Technology(北京理工大学东南信息技术研究院);Fudan University(复旦大学);Singapore Management University(新加坡管理大学);University of Science and Technology of China(中国科学技术大学)