paper-with-me

홈 › Papers

Prompt-SAW: Leveraging Relation-Aware Graphs for Textual Prompt Compression

2024-03-30 · Muhammad Asif Ali, ZhengPing Li, Shu Yang, Keyuan Cheng, Yang Cao, Tianhao Huang, Guimin Hu, Weimin Lyu, Lijie Hu, Lu Yu, Di Wang

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.

📄 PDF Abstract BibTeX arXiv:2404.00489

Code (0)

등록된 구현이 없습니다.

Tasks

GSM8KRelation

Methods 이 논문이 사용한 방법론

AWARE We propose to theoretically and empirically examine the effect of incorporating weighting schemes into walk-aggregating GNNs. To this end, we propose a simple, interpretable, and…

Similar Papers 제목 키워드 기반

Towards Efficient LLM-aware Heterogeneous Graph Learning

2025-11-22 · Wenda Li, Tongya Zheng, Shunyu Liu, Yu Wang 외 arxiv

Heterogeneous graphs are widely present in real-world complex networks, where the diversity of node and relation types leads to complex and rich semantics. Efforts for modeling complex relation semantics in heterogeneous…

Graph Learning

Topology of Reasoning: Retrieved Cell Complex-Augmented Generation for Textual Graph Question Answering

2026-02-22 · Sen Zhao, Lincheng Zhou, Yue Chen, Ding Zou arxiv

Retrieval-Augmented Generation (RAG) enhances the reasoning ability of Large Language Models (LLMs) by dynamically integrating external knowledge, thereby mitigating hallucinations and strengthening contextual grounding …

Graph Question Answering

PartSeg: Few-shot Part Segmentation via Part-aware Prompt Learning

2023-08-24 · Mengya Han, Heliang Zheng, Chaoyue Wang, Yong Luo 외

In this work, we address the task of few-shot part segmentation, which aims to segment the different parts of an unseen object using very few labeled examples. It is found that leveraging the textual space of a powerful …

Language ModelingLanguage ModellingPrompt LearningSegmentation

Beyond Isolated Objects: Relationship-aware Open Vocabulary Scene Understanding via 3D Scene Graph Analysis

2026-07-06 · Xianhao Chen, Jiarui Hu, Yuanbo Yang, Xiyu Zhang 외 arxiv

Open-vocabulary 3D scene understanding aims to segment 3D scenes beyond predefined categories by transferring semantic knowledge from vision-language models. Existing methods have advanced this task by lifting language-a…

Scene Understanding

TCP:Textual-based Class-aware Prompt tuning for Visual-Language Model

2023-11-30 · CVPR 2024 1 · Hantao Yao, Rui Zhang, Changsheng Xu

Prompt tuning represents a valuable technique for adapting pre-trained visual-language models (VLM) to various downstream tasks. Recent advancements in CoOp-based methods propose a set of learnable domain-shared or image…

Language ModelingLanguage Modelling