Refinement Provenance Inference: Detecting LLM-Refined Training Prompts from Model Behavior

Bo Yin, Qi Li, Runpeng Yu, Xinchao Wang


Abstract
Instruction tuning increasingly relies on LLM-based prompt refinement, where prompts in the training corpus are selectively rewritten by an external refiner to improve clarity and instruction alignment. This motivates an instance-level audit problem: for a fine-tuned model and a training prompt–response pair, can we infer whether the model was trained on the original prompt or its LLM-refined version within a mixed corpus? This matters for dataset governance and dispute resolution when training data are contested. However, it is non-trivial in practice: refined and raw instances are interleaved in the training corpus with unknown, source-dependent mixture ratios, making it harder to develop provenance methods that generalize across models and training setups. In this paper, we formalize this audit task as Refinement Provenance Inference (RPI) and show that prompt refinement yields stable, detectable shifts in teacher-forced token distributions, even when semantic differences are not obvious. Building on this phenomenon, we propose RePro, a logit-based provenance framework that fuses teacher-forced likelihood features with logit-ranking signals. During training, RePro learns a transferable representation via shadow fine-tuning, and uses a lightweight linear head to infer provenance on unseen victims without training-data access. Empirically, RePro consistently attains strong performance and transfers well across refiners, suggesting that it exploits refiner-agnostic distribution shifts rather than rewrite-style artifacts.
Anthology ID:
2026.findings-emnlp.1975
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
Findings
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
42117–42131
Language:
URL:
https://aclanthology.org/2026.findings-emnlp.1975/
DOI:
10.18653/2026.findings-emnlp.1975
Bibkey:
Cite (ACL):
Bo Yin, Qi Li, Runpeng Yu, and Xinchao Wang. 2026. Refinement Provenance Inference: Detecting LLM-Refined Training Prompts from Model Behavior. In Findings of the Association for Computational Linguistics: EMNLP 2026, pages 42117–42131, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Refinement Provenance Inference: Detecting LLM-Refined Training Prompts from Model Behavior (Yin et al., Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-emnlp.1975.pdf