用于LLM生成比较的视觉指纹
Visual Fingerprints for LLM Generation Comparison
AI总结:
本文提出通过可视化方法比较不同生成条件下的LLM输出,揭示模型行为的一致性模式,提升提示设计和模型评估效率。
摘要:
大型语言模型(LLM)的输出源于提示、系统指令、模型参数和架构之间的复杂交互。我们称这些因素的具体配置为生成条件,每种条件都可能以不同方式影响输出。理解不同生成条件如何塑造模型行为对于提示设计和模型评估至关重要,但因文本生成的随机性和开放性而具有挑战性。本文提出通过将响应建模为语言选择的集合(包括内容、表达和结构)来视觉化比较不同生成条件下的LLM输出。通过自然语言处理流水线提取这些选择,并代表其在重复样本中的分布。然后将这些分布可视化为视觉指纹,从而在分布层面直接比较特定条件的趋势。通过四个使用场景,展示了视觉指纹如何揭示难以通过单个响应或聚合指标观察到的LLM行为一致模式。
英文摘要:
Large language model (LLM) outputs arise from complex interactions among prompts, system instructions, model parameters, and architecture. We refer to specific configurations of these factors as generation conditions, each of which can bias outputs in various ways. Understanding how different generation conditions shape model behaviors is essential for tasks such as prompt design and model evaluation, yet it remains challenging due to the stochastic and open-ended nature of text generation. We present an approach to visually compare LLM outputs across generation conditions by modeling responses as collections of linguistic choices, including content, expression, and structure. We extract these choices using natural language processing pipelines and represent their distributions across repeated samples. We then visualize these distributions as visual fingerprints, enabling direct, distribution-level comparison of condition-specific tendencies. Through four usage scenarios, we demonstrate how visual fingerprints reveal consistent patterns in LLM behavior that are difficult to observe through individual responses or aggregate metrics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。