Paper proposes black-box LLM prompt reconstruction method
Researchers propose PTP, a black-box method that trains an inverse language model from scratch using previous-token prediction to reconstruct prompts near-exactly without access to weights or logits. It generalizes across datasets and outperforms prior work on token-based evaluation metrics.