mlsanityData to 14 Oct 2026

Generative Prompt Internalization

arXiv 2411.15927 ↗First posted 24 Nov 2024cs.CL cs.AIcited by 8

Not on the map. Why?

Abstract (arXiv)

Prompts used in recent large language model based applications are often fixed and lengthy, leading to significant computational overhead. To address this challenge, we propose Generative Prompt Internalization (GenPI), a lightweight method that employs a joint training approach. GenPI not only replicates the behavior of models with prompt inputs but also generates the content of the prompt along with reasons for why the model's behavior should change accordingly. We demonstrate that our approach effectively internalizes complex prompts across various agent-based application scenarios. For effective training without interactions with the dedicated environments, we introduce a data synthesis technique that autonomously collects conversational datasets by swapping the roles of the agent and environment. This method is especially useful in scenarios where only a predefined prompt is available without a corresponding training dataset. By internalizing complex prompts, Generative Prompt Internalization enables high performance and efficient inference without the need for explicit prompts.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 23 of its 34 references that are in the map. First posted on arXiv 24 Nov 2024.

Builds on

23 of 34 references.

References · 23

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  5. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
  6. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  7. 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,251
  8. 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
  9. 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,055
  10. 2016Sequence-Level Knowledge Distillationcited by 801
  11. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
  12. 2023Learning to Compress Prompts with Gist Tokenscited by 390
11 more
  1. 2023Adapting Language Models to Compress Contextscited by 356
  2. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 348
  3. 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 338
  4. 2021PAQ: 65 Million Probably-Asked Questions and What You Can Do With Themcited by 200
  5. 2024Cost-Efficient Large Language Model Serving for Multi-turn Conversations with CachedAttentioncited by 163
  6. 2023The CoT Collection: Improving Zero-shot and Few-shot Learning of Language Models via Chain-of-Thought Fine-Tuningcited by 108
  7. 2020Autoregressive Knowledge Distillation through Imitation Learningcited by 74
  8. 2020LightPAFF: A Two-Stage Distillation Framework for Pre-training and Fine-tuningcited by 25
  9. 2024MEND: Meta dEmonstratioN Distillation for Efficient and Effective In-Context Learningcited by 15
  10. 2024PromptIntern: Saving Inference Costs by Internalizing Recurrent Prompt during Large Language Model Fine-tuningcited by 13
  11. 2023KTRL+F: Knowledge-Augmented In-Document Searchcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 7.

8 papers.