paper-with-me

홈 › Papers

An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labels

2021-11-16 · ACL ARR November 2021 11 · Anonymous

Pre-trained language models derive substantial linguistic and factual knowledge from the massive corpora on which they are trained, and prompt engineering seeks to align these models to specific tasks. Unfortunately, existing prompt engineering methods require significant amounts of labeled data, access to model parameters, or both. We introduce a new method for selecting prompt templates \textit{without labeled examples} and \textit{without direct access to the model}. Specifically, over a set of candidate templates, we choose the template that maximizes the mutual information between the input and the corresponding model output. Across 8 datasets representing 7 distinct NLP tasks, we show that when a template has high mutual information, it also has high accuracy on the task. On the largest model, selecting prompts with our method gets 90\% of the way from the average prompt accuracy to the best prompt accuracy and requires no ground truth labels.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Prompt Engineering

Similar Papers 제목 키워드 기반

An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labels

2022-03-21 · ACL 2022 5 · Taylor Sorensen, Joshua Robinson, Christopher Michael Rytting, Alexander Glenn Shaw 외

Pre-trained language models derive substantial linguistic and factual knowledge from the massive corpora on which they are trained, and prompt engineering seeks to align these models to specific tasks. Unfortunately, exi…

Prompt Engineering

A Theoretical Framework for Prompt Engineering: Approximating Smooth Functions with Transformer Prompts

2025-03-26 · Ryumei Nakada, Wenlong Ji, Tianxi Cai, James Zou 외

Prompt engineering has emerged as a powerful technique for guiding large language models (LLMs) toward desired responses, significantly enhancing their performance across diverse tasks. Beyond their role as static predic…

AI AgentPrompt Engineering

Dual Inversion for Text-to-Image Diffusion Models: From Both Prompt and Noise Perspectives

2026-07-29 · Xiaolong Liu, Junjian Li, Yuan Xiao, Jiaqi Deng 외 arxiv

Prompt inversion, as a typical reverse engineering technique, enables text-to-image (T2I) diffusion models to generate the desired target images without extensive prompt engineering. However, existing prompt inversion me…

Prompt EngineeringImage Editing

A Survey of Prompt Engineering Methods in Large Language Models for Different NLP Tasks

2024-07-17 · Shubham Vatsal, Harsh Dubey

Large language models (LLMs) have shown remarkable performance on many different Natural Language Processing (NLP) tasks. Prompt engineering plays a key role in adding more to the already existing abilities of LLMs to ac…

Prompt Engineering

Position Engineering: Boosting Large Language Models through Positional Information Manipulation

2024-04-17 · Zhiyuan He, Huiqiang Jiang, Zilong Wang, Yuqing Yang 외

The performance of large language models (LLMs) is significantly influenced by the quality of the prompts provided. In response, researchers have developed enormous prompt engineering strategies aimed at modifying the pr…

In-Context LearningPositionPrompt EngineeringRAG+2