LLM-Rationality-Benchmark
收藏资源简介:
该数据集是用于评估大型语言模型(LLMs)的理性程度,涵盖了广泛的领域和LLMs。数据集由清华大学团队创建,旨在为LLMs的开发者和用户提供一个基础评估工具,帮助优化和训练模型,并识别潜在的提升领域。数据集基于对各种理性评价的广泛文献回顾,将理性分为个体、人际和社会三个层面,涵盖了六个理性研究领域的评估。数据集包含了大量的问卷、测试和分析,以揭示LLMs在不同领域的理性程度,并提供了与人类理性的比较、跨领域分析、理论与实践分析、训练方法和模型参数对理性的影响以及个体与集体理性的关系等方面的详细评估结果。
This dataset is developed to evaluate the rationality of Large Language Models (LLMs), covering a wide range of domains and involving various LLMs. Created by a team from Tsinghua University, it aims to provide a foundational assessment tool for both developers and end-users of LLMs, assisting in model optimization, training, and the identification of potential areas for improvement. Built upon a comprehensive literature review of diverse rationality evaluation studies, this dataset categorizes rationality into three dimensions: individual, interpersonal, and social, covering assessments across six research fields of rationality. It comprises a substantial collection of questionnaires, tests and analyses to unveil the rationality performance of LLMs across diverse domains, and delivers detailed evaluation results including comparisons with human rationality, cross-domain analysis, theoretical and practical analyses, the impacts of training methodologies and model parameters on rationality, as well as the correlation between individual and collective rationality.
LLM-Rationality-Benchmark 数据集概述
数据集简介
LLM-Rationality-Benchmark 是一个用于评估大型语言模型(LLM)理性能力的基准测试数据集。该数据集涵盖心理学、认知与行为科学、决策理论、经济学以及社会学等多个领域,旨在全面测试LLM的理性表现。
文件结构
文档文件
- SM_measurement_questions.docx:包含基准测试中的所有测量问题,涵盖心理学、认知与行为科学、决策理论、经济学、社会学领域,以及博弈论、合作与协调领域的提示词。
代码目录(./code_release)
代码文件
- Psychology&Cognitive&DecisionMaking&Economics.ipynb:心理学、认知与行为科学、决策理论与经济学领域的测试代码。
- Game_theory&cooperation_coordination.ipynb:博弈论与社会学(合作与协调)领域的测试代码。
- Wisdom_of_crowds.ipynb:社会学(群体智慧)领域的测试代码。
- Analysis_Survey.ipynb:计算心理学、认知与行为科学、决策理论与经济学领域的理性得分。
- Plot_Survey.ipynb、Plot_game_social.ipynb、Plot_domain.ipynb:结果可视化绘图代码。
结果文件
- survey_result.xlsx:LLM对心理学、认知与行为科学、决策理论与经济学领域问题的原始答案。
- survey_analysis.xlsx:LLM在心理学、认知与行为科学、决策理论与经济学领域的理性得分(未标准化)。
- game_results.xlsx:LLM在博弈论与社会学(合作与协调)领域的理性得分(未标准化)。
- domain_results.xlsx:LLM在各领域的总体理性得分。
使用指南
步骤1:运行实验
-
在LLM_setup.py中设置LLM配置。
-
执行命令: bash python run.py
-
或按领域分别运行Jupyter Notebook:
- 心理学、认知与行为科学、决策理论、经济学领域:运行Psychology&Cognitive&DecisionMaking&Economics.ipynb。
- 博弈论、合作与协调、群体智慧领域:运行Game_theory&cooperation_coordination.ipynb和Wisdom_of_crowds.ipynb。
步骤2:结果分析
运行Analysis_Survey.ipynb中的脚本生成理性得分。
步骤3:结果可视化
运行Plot_Survey.ipynb、Plot_game_social.ipynb和Plot_domain.ipynb中的脚本,通过热图可视化结果。




