paper-with-me

Papers

Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression

2024-08-28 · Haowen Hou, Fei Ma, Binwen Bai, Xinxin Zhu, Fei Yu

Large Language Models (LLMs) have garnered widespread attention due to their remarkable performance across various tasks. However, to mitigate the issue of hallucinations, LLMs often incorporate retrieval-augmented pipeline to provide them with rich external knowledge and context. Nevertheless, challenges stem from inaccurate and coarse-grained context retrieved from the retriever. Supplying irrelevant context to the LLMs can result in poorer responses, increased inference latency, and higher costs. This paper introduces a method called Instruction-Aware Contextual Compression, which filters out less informative content, thereby accelerating and enhancing the use of LLMs. The experimental results demonstrate that Instruction-Aware Contextual Compression notably reduces memory consumption and minimizes generation latency while maintaining performance levels comparable to those achieved with the use of the full context. Specifically, we achieved a 50% reduction in context-related costs, resulting in a 5% reduction in inference memory usage and a 2.2-fold increase in inference speed, with only a minor drop of 0.047 in Rouge-1. These findings suggest that our method strikes an effective balance between efficiency and performance.

📄 PDF Abstract BibTeX arXiv:2408.15491

Code (1)

howard-hou/instruction-aware-contextual-compressor 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

CommonIT: Commonality-Aware Instruction Tuning for Large Language Models via Data Partitions

2024-10-04 · Jun Rao, Xuebo Liu, Lian Lian, Shengjun Cheng 외

With instruction tuning, Large Language Models (LLMs) can enhance their ability to adhere to commands. Diverging from most works focusing on data mixing, our study concentrates on enhancing the model's capabilities from …

Instruction FollowingMMLU

Instruction-aware User Embedding via Synergistic Language and Representation Modeling

2025-10-13 · Ziyi Gao, Yike Xu, Jiahao Yuan, Baokun Wang 외 arxiv

User representation modeling has become increasingly crucial for personalized applications, yet existing approaches struggle with generalizability across domains and sensitivity to noisy behavioral signals. We present In…

Representation LearningContrastive Learning

PRISM: Probing Reasoning, Instruction, and Source Memory in LLM Hallucinations

2026-04-18 · Yuhe Wu, Guangyu Wang, Yuran Chen, Jiatong Zhang 외 arxiv

As large language models (LLMs) evolve from conversational assistants into agents capable of handling complex tasks, they are increasingly deployed in high-risk domains. However, existing benchmarks largely rely on mixed…

Instruction FollowingLogical Reasoning

Importance-Aware Data Selection for Efficient LLM Instruction Tuning

2025-11-10 · Tingyu Jiang, Shen Li, Yiyao Song, Lan Zhang 외 arxiv

Instruction tuning plays a critical role in enhancing the performance and efficiency of Large Language Models (LLMs). Its success depends not only on the quality of the instruction data but also on the inherent capabilit…

Enhancing Large Language Model for Knowledge Graph Completion via Structure-Aware Alignment-Tuning

2025-09-01 · Yu Liu, Yanan Cao, Xixun Lin, Yanmin Shang 외 arxiv

Knowledge graph completion (KGC) aims to infer new knowledge and make predictions from knowledge graphs. Recently, large language models (LLMs) have exhibited remarkable reasoning capabilities. LLM-enhanced KGC methods p…

Knowledge Graph CompletionContrastive LearningKnowledge GraphsLink Prediction