paper-with-me

Papers

GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Models

2022-03-14 · Archiki Prasad, Peter Hase, Xiang Zhou, Mohit Bansal

Providing natural language instructions in prompts is a useful new paradigm for improving task performance of large language models in a zero-shot setting. Recent work has aimed to improve such prompts via manual rewriting or gradient-based tuning. However, manual rewriting is time-consuming and requires subjective interpretation, while gradient-based tuning can be extremely computationally demanding for large models and may not be feasible for API-based models. In this work, we introduce Gradient-free Instructional Prompt Search (GrIPS), a gradient-free, edit-based search approach for improving task instructions for large language models. GrIPS takes in instructions designed for humans and automatically returns an improved, edited prompt, while allowing for API-based tuning. With InstructGPT models, GrIPS improves the average task performance by up to 4.30 percentage points on eight classification tasks from the Natural Instructions dataset (with similar improvements for OPT, BLOOM, and FLAN-T5). We see improvements for both instruction-only prompts and instruction + k-shot examples prompts. Notably, GrIPS outperforms manual rewriting and purely example-based prompts while controlling for the available compute and data budget. Further, performance of GrIPS is comparable to select gradient-based tuning approaches. Qualitatively, we show our edits can simplify instructions and at times make them incoherent but nonetheless improve accuracy. Our code is available at: https://github.com/archiki/GrIPS

📄 PDF Abstract BibTeX arXiv:2203.07281

Code (2)

archiki/grips 공식 구현 pytorch
research4pan/plum pytorch

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
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$…
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Linear Warmup With Cosine Annealing Linear Warmup With Cosine Annealing is a learning rate schedule where we increase the learning rate linearly for $n$ updates and then anneal according to a cosine schedule…
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

Augmenting GRIPS with Heuristic Sampling for Planning Feasible Trajectories of a Car-Like Robot

2021-08-15 · Brian Angulo, Konstantin Yakovlev, Ivan Radionov

Kinodynamic motion planning for non-holomonic mobile robots is a challenging problem that is lacking a universal solution. One of the computationally efficient ways to solve it is to build a geometric path first and then…

Motion Planning

SAO-Instruct: Free-form Audio Editing using Natural Language Instructions

2025-10-26 · Michael Ungersböck, Florian Grötschla, Luca A. Lanzendörfer, June Young Yi 외 arxiv

Generative models have made significant progress in synthesizing high-fidelity audio from short textual descriptions. However, editing existing audio using natural language has remained largely underexplored. Current app…

FreeEdit: Mask-free Reference-based Image Editing with Multi-modal Instruction

2024-09-26 · Runze He, Kai Ma, Linjiang Huang, Shaofei Huang 외

Introducing user-specified visual concepts in image editing is highly practical as these concepts convey the user's intent more precisely than text-based descriptions. We propose FreeEdit, a novel approach for achieving …

Ming-UniAudio: Speech LLM for Joint Understanding, Generation and Editing with Unified Representation

2025-10-26 · Canxiang Yan, Chunxiang Jin, Dawei Huang, Haibing Yu 외 arxiv

Existing speech models suffer from competing requirements on token representations by understanding and generation tasks. This discrepancy in representation prevents speech language models from performing instruction-bas…

SmartFreeEdit: Mask-Free Spatial-Aware Image Editing with Complex Instruction Understanding

2025-04-17 · Qianqian Sun, Jixiang Luo, Dell Zhang, Xuelong Li

Recent advancements in image editing have utilized large-scale multimodal models to enable intuitive, natural instruction-driven interactions. However, conventional methods still face significant challenges, particularly…

Image GenerationLarge Language ModelMultimodal Large Language ModelReasoning Segmentation+2