Skill2-Bench
收藏资源简介:
Skill2-Bench是由普林斯顿大学等机构提出的跨技能长程推理基准数据集,旨在评估大语言模型在任务链中切换不同推理技能的能力。该数据集涵盖数学、科学、编程、逻辑、规划等9个可验证与开放式领域,包含558种精细标注的技能,任务由2至10步组成,每步依赖前步输出并切换技能。构建过程首先从种子数据集中提取技能标签,再通过参考模型计算技能切换难度(技能熵),最后采样技能序列并生成统一场景的任务。该基准可用于揭示模型在技能切换中的性能衰退,并为训练更鲁棒的技能原生大语言模型提供信号。
Skill2-Bench is a cross-skill long-horizon reasoning benchmark dataset proposed by Princeton University and other institutions. It aims to evaluate the ability of large language models (LLMs) to switch between different reasoning skills within a task chain. This dataset covers 9 verifiable and open-ended domains including mathematics, science, programming, logic, planning and others, and contains 558 finely annotated skills. Each task consists of 2 to 10 steps, where each step relies on the output of the previous step and switches to a new skill. During the construction process, skill labels are first extracted from a seed dataset, then the skill switching difficulty (skill entropy) is calculated using a reference model, and finally skill sequences are sampled and tasks in a unified scenario are generated. This benchmark can be used to reveal the performance degradation of models during skill switching, and provide signals for training more robust skill-native large language models.
数据集概述
该数据集项目围绕长程推理任务中的技能切换能力展开,包含一个基准测试集、一种评估指标和一套训练方法。
核心组成
- Skill²-Bench 基准测试集:包含 558 个技能,覆盖 9 个领域(数学、科学、编程、逻辑、信息提取、规划、创意写作、上下文检索、指令遵循),任务均为需要模型在多个技能之间切换的多步任务。
- 技能熵(Skill Entropy):衡量技能切换难度的指标。当参考模型能分别出色完成两个技能但组合时失败,技能熵值较高;模型性能随技能熵升高而下降。
- Skill-Entropy RL:基于 GRPO 的训练方法,奖励函数不仅评估最终答案,还评估模型的技能切换计划,结合最终答案奖励与技能熵奖励(作用于带技能标注的轨迹)。
数据集获取
- Hugging Face 地址:https://huggingface.co/datasets/Gen-Verse/Skill2-Bench
使用环境
- Python ≥ 3.10,CUDA 12.x,PyTorch 2.8(推荐)
运行流程
- 熵校准:技能标注、去重合并、参考模型校准生成熵映射。
- 任务生成:通过 API 或 vLLM 生成基准任务及数学强化学习任务池。
- SFT 预热:跨技能 SFT 或仅数学 SFT。
- RL 训练:执行 Skill-Entropy RL 或数学 RL,支持奖励变体(如 gated / multi-gold)。
- 评估:合并 checkpoint 后对 Skill²-Bench 进行评估,支持开源模型(vLLM)与 API 模型(Claude/GPT/Gemini)。
许可证
MIT 许可证。




