MiroBench
收藏资源简介:
MiroBench是一个用于评估LLM生成的在线讨论线程是否与真实Reddit讨论模式匹配的基准测试数据集。它提供5个产品领域的真实Reddit讨论线程,包括信用卡、相机、手机、耳机和笔记本电脑,每个领域包含数百个真实线程和产品描述,并涵盖9个评分家族的57个细粒度指标,如词汇多样性、语义相似性、毒性、情感、礼貌性、分歧、叙事性和线程结构。该数据集还包括统计比较工具和迭代LLM驱动的校准系统,以衡量生成线程与真实讨论分布的接近程度。
MiroBench is a benchmark dataset for evaluating whether online discussion threads generated by LLMs conform to real Reddit discussion patterns. It provides real Reddit discussion threads across 5 product categories, namely credit cards, cameras, mobile phones, headphones, and laptops. Each category contains hundreds of real threads and corresponding product descriptions, and covers 57 fine-grained metrics spanning 9 rating families, such as lexical diversity, semantic similarity, toxicity, sentiment, politeness, disagreement, narrativity, and thread structure. The dataset also includes statistical comparison tools and an iterative LLM-driven calibration system to quantify how closely generated threads align with real discussion distributions.
MiroBench 数据集概述
数据集简介
MiroBench 是一个用于评估大语言模型(LLM)生成的在线讨论线程是否与真实 Reddit 讨论模式匹配的基准测试。
领域与规模
数据集涵盖 5 个产品领域,每个领域包含真实 Reddit 讨论线程及对应的产品描述:
| 领域 | 真实线程数 | 产品数 | 描述 |
|---|---|---|---|
credit_cards |
2,653 | 200 | 来自 r/CreditCards 的信用卡讨论 |
cameras |
738 | 200 | 来自摄影子版块的数码/无反相机讨论 |
cell_phones |
358 | 200 | 来自手机相关子版块的智能手机讨论 |
headphones |
256 | 200 | 来自音频子版块的耳机/耳塞讨论 |
laptops |
307 | 200 | 来自计算子版块的笔记本电脑讨论 |
评估指标体系
提供 9 个评分器家族,涵盖 57 个细粒度指标:
| 评分器 | 关键指标 | 描述 |
|---|---|---|
| Disagreement | mean_disagree_probability, hard_disagree_rate |
基于 RoBERTa 的立场分类 |
| Self-BLEU | self_bleu_2/3/4 |
评论间词汇多样性(越低越多样) |
| Self-BERTScore | self_bertscore_mean_f1 |
评论对之间的语义相似性 |
| Semantic Uniformity | semantic_mean_cosine |
基于 sentence-transformers 的嵌入空间相似性 |
| StorySeeker | mean_story_probability, story_rate |
叙事内容检测 |
| GoEmotions | emotion_entropy, emotion_shift_rate, dominant_emotion_share |
28 类细粒度情感分类 |
| Politeness | polite_rate, impolite_rate, neutral_rate |
礼貌/文明程度分类 |
| Structure | max_depth, avg_depth, avg_branching_factor, structural_virality |
线程树拓扑结构 |
| Detoxify | toxicity_mean, obscene_mean, insult_mean, identity_attack_mean |
多维毒性评分 |
统计比较工具
提供以下统计方法,用于衡量生成线程与真实讨论模式的匹配程度:
- Mann-Whitney U 检验:分布差异显著性
- Kolmogorov-Smirnov 检验:分布形状差异
- Cliffs delta:效应大小(-1 到 1)
- Wasserstein 距离:推土机距离(越低越接近真实分布)
校准系统
包含一个迭代式 LLM 驱动的校准系统,自动调整模拟参数以缩小生成线程与真实讨论分布之间的差距:
- 阶段 0:基线评估
- 阶段 1:迭代校准循环(默认 12 次迭代,每次 5 个候选方案)
- 阶段 2:最终评估(默认 9 次模拟运行)
数据存储结构
mirobench/data/ credit_cards/ reference_scores/ # 真实线程评分(train/val/test 划分) products/ # 用于生成的产品描述 example_threads/ # 示例评分线程 cameras/ # 同上结构 cell_phones/ # 同上结构 headphones/ # 同上结构 laptops/ # 同上结构 example_thread_format.json # 参考 JSON 模式
许可协议
MIT License




