paper-with-me

Papers

Prompt Baking

2024-09-04 · Aman Bhargava, Cameron Witkowski, Alexander Detkov, Matt Thomson

Two primary ways to change LLM behavior are prompting and weight updates (e.g., fine-tuning). Prompting LLMs is simple and effective, specifying the desired changes explicitly in natural language, whereas weight updates provide more expressive and permanent behavior changes, specified implicitly via training on large datasets. We present a technique for "baking" prompts into the weights of an LLM. Prompt Baking converts a prompt $u$ and initial weights $\theta$ to a new set of weights $\theta_u$ such that new "baked" LLM behaves like the original prompted LLM. Mathematically, we minimize the KL divergence between $P_\theta(\cdot | u)$ and $P_{\theta_u}(\cdot)$, where $P$ is the LLM's probability distribution over token sequences. Across all our experiments, we find prompts can be readily baked into weight updates. Baking chain-of-thought prompts improves zero-shot performance on GSM8K, ASDiv, MBPP, ARC-Easy, ARC-Challenge, and CommonsenseQA benchmarks. Baking news headlines directly updates an LLM's knowledge. And baking instructions & personas alleviates "prompt forgetting" over long sequences. Furthermore, stopping baking early creates "half-baked" models, continuously scaling prompt strength. Baked models retain their sensitivity to further prompting and baking, including re-prompting with the baked-in prompt. Surprisingly, the re-prompted models yield further performance gains in instruction following, as well as math reasoning and coding benchmarks. Taking re-prompting and re-baking to the limit yields a form of iterative self-improvement we call Prompt Pursuit, and preliminary results on instruction following exhibit dramatic performance gains. Finally, we discuss implications for AI safety, continuous model updating, enhancing real-time learning capabilities in LLM-based agents, and generating more stable AI personas.

📄 PDF Abstract BibTeX arXiv:2409.13697

Code (0)

등록된 구현이 없습니다.

Tasks

ARCGSM8KInstruction FollowingMathmbpp

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Features of Verb Complements in Co-composition: A case study of Chinese baking verb using Weibo corpus

2013-09-01 · WS 2013 9 · Yu-Yun Chang, Shu-Kai Hsieh
Common Sense ReasoningWord Sense Disambiguation

How additive manufacturing can boost the bioactivity of baked functional foods

2020-10-27 · Sara M Oliveira, Alice Gruppi, Marta V. Vieira, Gabriela M. Souza 외

The antioxidant activity of baked foods is of utmost interest when envisioning enhancing their health benefits. Incorporating functional ingredients is challenging since their bioactivity naturally declines during baking…

LTM: Lightweight Textured Mesh Extraction and Refinement of Large Unbounded Scenes for Efficient Storage and Real-time Rendering

2024-01-01 · CVPR 2024 1 · Jaehoon Choi, Rajvi Shah, Qinbo Li, Yipeng Wang 외

Advancements in neural signed distance fields (SDFs) have enabled modeling 3D surface geometry from a set of 2D images of real-world scenes. Baking neural SDFs can extract explicit mesh with appearance baked into tex…

GPUNeRF

Baking Gaussian Splatting into Diffusion Denoiser for Fast and Scalable Single-stage Image-to-3D Generation and Reconstruction

2024-11-21 · Yuanhao Cai, He Zhang, Kai Zhang, Yixun Liang 외

Existing feedforward image-to-3D methods mainly rely on 2D multi-view diffusion models that cannot guarantee 3D consistency. These methods easily collapse when changing the prompt view direction and mainly handle object-…

3D GenerationGPUImage to 3DObject+2

Baking in the Feature: Accelerating Volumetric Segmentation by Rendering Feature Maps

2022-09-26 · Kenneth Blomqvist, Lionel Ott, Jen Jen Chung, Roland Siegwart

Methods have recently been proposed that densely segment 3D volumes into classes using only color images and expert supervision in the form of sparse semantically annotated pixels. While impressive, these methods still r…

NeRFSegmentation