Dye4AI: Assuring Data Boundary on Generative AI Services
<|reference_start|>Dye4AI: Assuring Data Boundary on Generative AI Services: Generative artificial intelligence (AI) is versatile for various applications, but security and privacy concerns with third-party AI vendors hinder its broader adoption in sensitive scenarios. Hence, it is essential for users to validate the AI trustworthiness and ensure the security of data boundaries. In this paper, we present a dye testing system named Dye4AI, which injects crafted trigger data into human-AI dialogue and observes AI responses towards specific prompts to diagnose data flow in AI model evolution. Our dye testing procedure contains 3 stages: trigger generation, trigger insertion, and trigger retrieval. First, to retain both uniqueness and stealthiness, we design a new trigger that transforms a pseudo-random number to a intelligible format. Second, with a custom-designed three-step conversation strategy, we insert each trigger item into dialogue and confirm the model memorizes the new trigger knowledge in the current session. Finally, we routinely try to recover triggers with specific prompts in new sessions, as triggers can present in new sessions only if AI vendors leverage user data for model fine-tuning. Extensive experiments on six LLMs demonstrate our dye testing scheme is effective in ensuring the data boundary, even for models with various architectures and parameter sizes. Also, larger and premier models tend to be more suitable for Dye4AI, e.g., trigger can be retrieved in OpenLLaMa-13B even with only 2 insertions per trigger item. Moreover, we analyze the prompt selection in dye testing, providing insights for future testing systems on generative AI services.<|reference_end|>
@article{wang2024dye4ai:,
    title={Dye4AI: Assuring Data Boundary on Generative AI Services},
    author={Shu Wang, Kun Sun, Yan Zhai},
    journal={arXiv preprint arXiv:2406.14114},
    year={2024},
    doi={10.1145/3658644.3670299},
    archivePrefix={arXiv},
    eprint={2406.14114},
    primaryClass={cs.CR}
}