使用BERTopic研究LLM交互中的主题模式与用户偏好
Investigating Thematic Patterns and User Preferences in LLM Interactions using BERTopic
AI总结:
本研究使用BERTopic对lmsys-chat-1m数据集进行主题建模,揭示对话主题模式与用户偏好的关联,发现特定模型在特定主题中的偏好趋势,为领域微调提供指导。
摘要:
本研究将基于Transformer的主题建模技术BERTopic应用于lmsys-chat-1m数据集,该数据集是一个多语言对话语料库,由大型语言模型(LLM)的头对头评估构建而成。每个用户提示都配有两个匿名的LLM响应和一个人类偏好标签,用于评估用户对竞争模型输出的评价。主要目标是揭示这些对话中的主题模式,并考察其与用户偏好的关系,特别是某些LLM是否在特定主题内被持续偏好。我们设计了一个稳健的预处理流程,以处理多语言差异、平衡对话轮次,并清理嘈杂或已编辑的数据。BERTopic提取了超过29个连贯主题,包括人工智能、编程、伦理和云基础设施。我们分析了主题与模型偏好之间的关系,以识别模型-主题对齐的趋势。可视化技术包括主题间距离图、主题概率分布和模型对主题矩阵。我们的发现为领域特定的微调和优化策略提供了信息,以提升现实世界中LLM的性能和用户满意度。
英文摘要:
This study applies BERTopic, a transformer-based topic modeling technique, to the lmsys-chat-1m dataset, a multilingual conversational corpus built from head-to-head evaluations of large language models (LLMs). Each user prompt is paired with two anonymized LLM responses and a human preference label, used to assess user evaluation of competing model outputs. The main objective is uncovering thematic patterns in these conversations and examining their relation to user preferences, particularly if certain LLMs are consistently preferred within specific topics. A robust preprocessing pipeline was designed for multilingual variation, balancing dialogue turns, and cleaning noisy or redacted data. BERTopic extracted over 29 coherent topics including artificial intelligence, programming, ethics, and cloud infrastructure. We analysed relationships between topics and model preferences to identify trends in model-topic alignment. Visualization techniques included inter-topic distance maps, topic probability distributions, and model-versus-topic matrices. Our findings inform domain-specific fine-tuning and optimization strategies for improving real-world LLM performance and user satisfaction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。