paper-with-me

홈 › Papers

Investigating the Effectiveness of Task-Agnostic Prefix Prompt for Instruction Following

2023-02-28 · Seonghyeon Ye, Hyeonbin Hwang, Sohee Yang, Hyeongu Yun, Yireun Kim, Minjoon Seo

In this paper, we present our finding that prepending a Task-Agnostic Prefix Prompt (TAPP) to the input improves the instruction-following ability of various Large Language Models (LLMs) during inference. TAPP is different from canonical prompts for LLMs in that it is a fixed prompt prepended to the beginning of every input regardless of the target task for zero-shot generalization. We observe that both base LLMs (i.e. not fine-tuned to follow instructions) and instruction-tuned models benefit from TAPP, resulting in 34.58% and 12.26% improvement on average, respectively. This implies that the instruction-following ability of LLMs can be improved during inference time with a fixed prompt constructed with simple heuristics. We hypothesize that TAPP assists language models to better estimate the output distribution by focusing more on the instruction of the target task during inference. In other words, such ability does not seem to be sufficiently activated in not only base LLMs but also many instruction-fine-tuned LLMs. All experiments are reproducible from https://github.com/seonghyeonye/TAPP.

📄 PDF Abstract BibTeX arXiv:2302.14691

Code (2)

seonghyeonye/icil 공식 구현
seonghyeonye/tapp 공식 구현

Tasks

Instruction FollowingZero-shot Generalization

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

Investigating the Effectiveness of HyperTuning via Gisting

2024-02-26 · Jason Phang

Gisting (Mu et al., 2023) is a simple method for training models to compress information into fewer token representations using a modified attention mask, and can serve as an economical approach to training Transformer-b…

LaPA$^2$: Length-Aware Prefix and Prompt Attention Augmentation for Long-Form Controllable Text Generation

2025-08-06 · Jiabing Yang, Yixiang Chen, Zichen Wen, Chenhang Cui 외 arxiv

Prefix-based methods have emerged as a promising paradigm for Controllable Text Generation (CTG) due to their parameter efficiency. However, while effective in short sequences, their controllability tends to diminish as …

Text Generation

Revisiting Prefix-tuning: Statistical Benefits of Reparameterization among Prompts

2024-10-03 · Minh Le, Chau Nguyen, Huy Nguyen, Quyen Tran 외

Prompt-based techniques, such as prompt-tuning and prefix-tuning, have gained prominence for their efficiency in fine-tuning large pre-trained models. Despite their widespread adoption, the theoretical foundations of the…

Mixture-of-Expertsparameter estimation

Is Your Prompt Safe? Investigating Prompt Injection Attacks Against Open-Source LLMs

2025-05-20 · Jiawen Wang, Pritha Gupta, Ivan Habernal, Eyke Hüllermeier

Recent studies demonstrate that Large Language Models (LLMs) are vulnerable to different prompt-based attacks, generating harmful content or sensitive information. Both closed-source and open-source LLMs are underinvesti…

Cache-Aware Prompt Compression:A Two-Tier Cost Model for LLM API Caching

2026-07-17 · Yan Song arxiv

Production LLM deployments combine two cost-reduction primitives: prompt caching (a discounted rate for re-used token prefixes) and prompt compression (fewer tokens sent). The compression literature has standardized on q…