Lune

EMNLP2024顶会

Extracting Prompts by Inverting LLM Outputs

Collin Zhang, John X. Morris, Vitaly Shmatikov

摘要

We consider the problem of language model inversion: given outputs of a language model, we seek to extract the prompt that generated these outputs. We develop a new black-box method, output2prompt, that extracts prompts without access to the model's logits and without adversarial or jailbreaking queries. Unlike previous methods, output2prompt only needs outputs of normal user queries. To improve memory efficiency, output2prompt employs a new sparse encoding techique. We measure the efficacy of output2prompt on a variety of user and system prompts and demonstrate zero-shot transferability across different LLMs. 1

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Language Model Inversion 引用了 Text Embeddings Reveal (Almost) As Much As Text
  • DP-Fusion: Token-Level Differentially Private Inference for Large Language Models 引用了 Language Model Inversion
  • Better Language Model Inversion by Compactly Representing Next-Token Distributions 引用了 Language Model Inversion
  • Better Language Model Inversion by Compactly Representing Next-Token Distributions 引用了 Stealing part of a production language model
  • Better Language Model Inversion by Compactly Representing Next-Token Distributions 引用了 Text Embeddings Reveal (Almost) As Much As Text
  • Stealing part of a production language model 引用了 Language Model Inversion
  • Text Embeddings Reveal (Almost) As Much As Text 引用了 Vec2Face: Unveil Human Faces From Their Blackbox Features in Face Recognition
  • Language Models are Injective and Hence Invertible 引用了 Better Language Model Inversion by Compactly Representing Next-Token Distributions
  • Harnessing the Universal Geometry of Embeddings 引用了 Stealing part of a production language model
  • Harnessing the Universal Geometry of Embeddings 引用了 Text Embeddings Reveal (Almost) As Much As Text
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper21

  1. Harnessing the Universal Geometry of EmbeddingsRishi D. Jha, Collin Zhang, Vitaly Shmatikov, John X. MorrisNeurIPS 2025 · 69 次引用
  2. Language Models are Injective and Hence InvertibleGiorgos Nikolaou, Tommaso Mencattini, Donato Crisostomi, Andrea Santilli 等ICLR 2026 · 36 次引用
  3. Better Language Model Inversion by Compactly Representing Next-Token DistributionsMurtaza Nazir, Matthew Finlayson, John X. Morris, Xiang Ren 等NeurIPS 2025 · 13 次引用
  4. When AI Meets the Web: Prompt Injection Risks in Third-Party AI Chatbot PluginsYigitcan Kaya, Anton Landerer, Stijn Pletinckx, Michelle Zimmermann 等S&P 2026 · 12 次引用
  5. DP-Fusion: Token-Level Differentially Private Inference for Large Language ModelsRushil Thareja, Preslav Nakov, Praneeth Vepakomma, Nils LukasICLR 2026 · 7 次引用

它引用的 Paper4

  1. Stealing part of a production language modelNicholas Carlini, Daniel Paleka, Krishnamurthy Dj Dvijotham, Thomas Steinke 等ICML 2024 · 157 次引用
  2. Text Embeddings Reveal (Almost) As Much As TextJohn X. Morris, Volodymyr Kuleshov, Vitaly Shmatikov, Alexander M. RushEMNLP 2023 · 60 次引用
  3. Language Model InversionJohn X. Morris, Wenting Zhao, Justin T. Chiu, Vitaly Shmatikov 等ICLR 2024 · 6 次引用
  4. Vec2Face: Unveil Human Faces From Their Blackbox Features in Face RecognitionChi Nhan Duong, Thanh-Dat Truong, Khoa Luu, Kha Gia Quach 等CVPR 2020

相关 Paper

  1. Reverse Prompt Engineering: A Zero-Shot, Genetic Algorithm Approach to Language Model InversionHanqing Li, Diego KlabjanEMNLP 2025 · 1 次引用
  2. An Invariant Latent Space Perspective on Language Model InversionWentao Ye, Jiaqi Hu, Haobo Wang, Xinpeng Ti 等AAAI 2026 · 1 次引用
  3. Query-Dependent Prompt Evaluation and Optimization with Offline Inverse RLHao Sun, Alihan Hüyük, Mihaela van der SchaarICLR 2024 · 48 次引用
  4. PromptBoosting: Black-Box Text Classification with Ten Forward PassesBairu Hou, Joe O'Connor, Jacob Andreas, Shiyu Chang 等ICML 2023 · 56 次引用
  5. Fundamental Limits of Prompt Compression: A Rate-Distortion Framework for Black-Box Language ModelsAlliot Nagle, Adway Girish, Marco Bondaschi, Michael Gastpar 等NeurIPS 2024 · 23 次引用
黄昏的海面,两侧是细线勾勒的悬崖