GEM: Generating Engaging Multimodal Content
Abstract
The abuse of LLM Chatbot interfaces by web robots leads to a significant waste of GPU and server resources, posing a serious security challenge. To address this issue, we propose LPDetective, an unsupervised method for detecting robot prompt templates. This method is based on the assumption that robot-generated text repeatedly uses the same or highly similar phrases and sentence structures across multiple sessions, differing from human natural conversations. We design a multi-stage workflow, including message grouping, text similarity measurement, hierarchical clustering analysis, and regular expression extraction, to automatically extract potential robot behavior patterns from chat logs. LPDetective does not require predefined templates or rely on training data, enabling it to adaptively discover new, unknown patterns. We conduct systematic experiments on three large-scale real-world datasets: Bing Copilot, Wildchat, and ChatLog. The results show that LPDetective can efficiently and accurately detect robot prompt templates in various scenarios, achieving a 7.5% improvement in F1 score compared to the state-of-the-art XLNet method and reducing detection latency by 178 times on the Bing Copilot dataset.
Cite
Text
Gao et al. "GEM: Generating Engaging Multimodal Content." International Joint Conference on Artificial Intelligence, 2024. doi:10.24963/ijcai.2024/847Markdown
[Gao et al. "GEM: Generating Engaging Multimodal Content." International Joint Conference on Artificial Intelligence, 2024.](https://mlanthology.org/ijcai/2024/gao2024ijcai-gem/) doi:10.24963/ijcai.2024/847BibTeX
@inproceedings{gao2024ijcai-gem,
title = {{GEM: Generating Engaging Multimodal Content}},
author = {Gao, Chongyang and Jian, Yiren and Denisenko, Natalia and Vosoughi, Soroush and Subrahmanian, V. S.},
booktitle = {International Joint Conference on Artificial Intelligence},
year = {2024},
pages = {7654-7662},
doi = {10.24963/ijcai.2024/847},
url = {https://mlanthology.org/ijcai/2024/gao2024ijcai-gem/}
}