COUNSELBENCH
收藏资源简介:
COUNSELBENCH是一个大型基准数据集,由100名心理健康专家共同开发,旨在评估和压力测试大型语言模型(LLMs)在单一回合的心理健康咨询中的表现。该数据集分为两部分:COUNSELBENCH-EVAL包含2000个专家对GPT-4、LLaMA 3、Gemini和在线人类治疗师对真实患者问题的回答的评价,每个回答都根据六个临床相关维度进行评分,并提供书面理由和跨度级别注释。COUNSELBENCH-ADV则包含120个由专家编写的对抗性咨询问题,旨在触发特定的模型问题。该数据集为评估和改进LLMs在关键心理健康场景中的行为提供了临床基础的框架。
COUNSELBENCH is a large-scale benchmark dataset co-developed by 100 mental health professionals, designed to evaluate and stress-test the performance of large language models (LLMs) in single-turn mental health counseling scenarios. This dataset is divided into two parts: COUNSELBENCH-EVAL contains 2000 expert ratings on responses from GPT-4, LLaMA 3, Gemini and online human therapists to real patient questions. Each response is scored across six clinically relevant dimensions, with written justifications and span-level annotations provided. COUNSELBENCH-ADV includes 120 expert-authored adversarial counseling questions that are designed to trigger specific model failures. This dataset provides a clinically grounded framework for evaluating and improving the behavior of LLMs in critical mental health scenarios.
CounselBench 数据集概述
数据集简介
CounselBench 是一个大规模专家评估和对抗性基准测试数据集,专注于评估大型语言模型在心理健康咨询领域的表现。包含两个子数据集:
-
CounselBench-Eval
- 数据来源:基于CounselChat数据
- 评估规模:2000份人类评估
- 评估人员:100名心理健康专业人士
- 获取地址:https://huggingface.co/datasets/izi-ano/CounselBench-Eval
-
CounselBench-Adv
- 数据特征:120个对抗性问题
- 设计人员:由专业人士设计
- 目标:针对CounselBench-Eval中观察到的六种失败模式
- 获取地址:https://huggingface.co/datasets/izi-ano/CounselBench-Adv
数据集结构
counselbench/ ├─ preprocess/ # CounselChat数据预处理和采样 ├─ models/ # 模型接口实现 ├─ generate_counselchat/ # 生成模型响应 ├─ llm_as_judges/ # LLM作为评估者的实验 ├─ run_adversarial/ # 对抗性评估代码 └─ config.json # API密钥配置文件
主要功能模块
-
模型响应生成
- 支持模型:Claude、Gemini、Llama 3、OpenAI LLM
- 参数控制:温度参数(temperature=0.7)、长度约束(is_length_constrained)
-
LLM评估系统
- 自动化评估脚本
- 错误分析功能(医疗错误/不正确/毒性错误)
-
对抗性评估
- 代表性问答提取
- 人类评审采样(96个问题用于GPT-4.1与人类标注者一致性检查)
统计分析
-
评分者一致性分析
- 采用Krippendorffs Alpha系数
- 每个问题-响应对由5名标注者评分
-
显著性检验
- Wilcoxon符号秩检验应用于:
- 模型响应与在线治疗师响应的人类评分差异
- 人类标注者与LLM评估者的评分差异
- Wilcoxon符号秩检验应用于:




