Efficient and Flexible Large Language Model–Generated Content Detection

Published Online:https://doi.org/10.1287/ijoc.2024.0877

We propose an efficient content detection method generated by large language models (LLMs), referred to as Mahalanobis distance–based confidence score (MDCS)–based detection (MDCSD), that fully harnesses the universality of LLMs across multiple splits. Its essence lies in utilizing the MDCS of the text as the ultimate discriminative feature. The prerequisite for computing the MDCS is the efficient joint estimation of the precision matrices corresponding to multiple splits. We provide regularization techniques for constructing the joint estimator and offer corresponding computationally feasible optimization algorithms. The sparsity and consistency of the joint estimator are demonstrated. Based on offset Rademacher complexity, we further derive the optimal excess risk bound for the detection problem. Superiority of MDCSD is validated on the recently released Human ChatGPT Comparison Corpus data set.

History: Accepted by Ram Ramesh, Area Editor for Data Science and Machine Learning.

Funding: This work was supported by the National Natural Science Foundation of China [Grants W2511079, 72471010, 72250065, and 72325007], the Xiangjiang Laboratory Key Project [Grant 23XJ02004], and the Science and Technology Innovation Program of Hunan Province [Grant 2024RC7003].

Supplemental Material: The software that supports the findings of this study is available within the paper and its Supplemental Information (https://pubsonline.informs.org/doi/suppl/10.1287/ijoc.2024.0877) as well as from the IJOC GitHub software repository (https://github.com/INFORMSJoC/2024.0877). The complete IJOC Software and Data Repository is available at https://informsjoc.github.io/.

INFORMS site uses cookies to store information on your computer. Some are essential to make our site work; Others help us improve the user experience. By using this site, you consent to the placement of these cookies. Please read our Privacy Statement to learn more.