SOTAVerified

Reverse Prompt Engineering

2024-11-11Unverified0· sign in to hype

Hanqing Li, Diego Klabjan

Unverified — Be the first to reproduce this paper.

Reproduce

Abstract

This paper explores a new black-box, zero-shot language model inversion problem and proposes an innovative framework for prompt reconstruction using only text outputs from a language model. Leveraging a large language model alongside an optimization algorithm, the proposed method effectively recovers prompts with minimal resources. Experimental results on several datasets derived from public sources indicate that the proposed approach achieves high-quality prompt recovery and generates prompts more similar to the originals than current state-of-the-art methods. Additionally, the use-case study demonstrates the method's strong potential for generating high-quality text data.

Tasks

Reproductions