arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.12150cs.CL
收藏

大语言模型中的特异特征

Idiosyncrasies in Large Language Models

Carnegie Mellon University(卡内基梅隆大学);Princeton University(普林斯顿大学);University of Pennsylvania(宾夕法尼亚大学)

Mingjie Sun, Yida Yin, Zhiqiu Xu, J. Zico Kolter, Zhuang Liu

AI总结:

本研究揭示大语言模型存在可用于区分模型的特异特征,通过微调文本嵌入模型实现五分类97.1%的准确率,发现特征根植于词级分布且保留在语义中,并探讨了其在合成数据训练等方面的应用意义。

摘要:

在本研究中,我们揭示并探究了大语言模型(Large Language Models,LLMs)中的特异特征——即模型输出中可用于区分不同模型的独特模式。为此,我们设计了一项简单的分类任务:给定一段特定的文本输出,目标是预测生成该文本的源LLM。我们在多组LLM上评估了这项合成任务,发现仅需在LLM生成的文本上微调文本嵌入模型,就能获得出色的分类准确率。值得注意的是,在涉及ChatGPT、Claude、Grok、Gemini和DeepSeek的五分类问题中,我们在留出验证集上达到了97.1%的准确率。进一步研究表明,这些特异特征根植于词级分布。即便文本经过外部LLM改写、翻译或总结,这些模式依然存在,说明它们也编码在语义内容中。此外,我们利用LLM作为评判器,生成了每个模型特异特征的详细开放式描述。最后,我们讨论了研究结果的更广泛意义,包括合成数据训练、模型相似性推断以及LLM的鲁棒性评估。代码可在https://github.com/locuslab/llm-idiosyncrasies获取。

英文摘要:

In this work, we unveil and study idiosyncrasies in Large Language Models (LLMs) -- unique patterns in their outputs that can be used to distinguish the models. To do so, we consider a simple classification task: given a particular text output, the objective is to predict the source LLM that generates the text. We evaluate this synthetic task across various groups of LLMs and find that simply fine-tuning text embedding models on LLM-generated texts yields excellent classification accuracy. Notably, we achieve 97.1% accuracy on held-out validation data in the five-way classification problem involving ChatGPT, Claude, Grok, Gemini, and DeepSeek. Our further investigation reveals that these idiosyncrasies are rooted in word-level distributions. These patterns persist even when the texts are rewritten, translated, or summarized by an external LLM, suggesting that they are also encoded in the semantic content. Additionally, we leverage LLM as judges to generate detailed, open-ended descriptions of each model's idiosyncrasies. Finally, we discuss the broader implications of our findings, including training on synthetic data, inferring model similarity, and robust evaluation of LLMs. Code is available at https://github.com/locuslab/llm-idiosyncrasies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑