Chronocooked
收藏资源简介:
Chronocooked是一个面向强化学习智能体的隐式间隔计时基准测试套件,由根特大学IDLab和阿姆斯特丹自由大学共同创建。该环境基于Overcooked-AI简化而来,采用5×3或4×3网格世界,包含洋葱分配器、烤箱和交付柜台等元素,通过烹饪任务隐式要求智能体感知时间。数据集包含多个任务(如二分法、固定间隔、多计时器等),但未提供具体样本数量或Tokens数,其生成过程由环境与智能体交互自动产生。该基准旨在暴露智能体在时间感知和时序决策上的局限性,推动时间感知模型在人机交互及时间敏感社会场景中的发展。
Chronocooked is an implicit interval timing benchmark suite for reinforcement learning agents, co-created by IDLab of Ghent University and Vrije Universiteit Amsterdam. This environment is simplified from Overcooked-AI, utilizing 5×3 or 4×3 grid worlds that incorporate elements such as onion dispensers, ovens, and delivery counters. It implicitly demands agents to perceive time through cooking tasks. The dataset encompasses multiple tasks (e.g., dichotomy, fixed interval, multi-timer, etc.), with no specific sample count or token count specified, and is automatically generated through the interaction between the environment and agents. This benchmark is designed to expose the limitations of agents in temporal perception and sequential decision-making, thereby advancing the development of temporal perception models in human-computer interaction and time-sensitive social scenarios.
数据集概述:ChronoCooked
ChronoCooked 是一个基于 Gymnasium 的强化学习基准测试环境,专门用于研究智能体在强化学习中的隐式间隔计时能力。该环境受 Overcooked 游戏启发,在 5×3 的网格世界中提供简化的烹饪任务,要求智能体基于未观察到的时序信息做出决策。
环境详情
- 网格大小:5 × 3
- 烤箱计时器:隐藏(不可观察)
- 智能体数量:单智能体
任务变体
该数据集提供多种任务变体,以修改计时和环境动态:
- 多计时器 / 精确计时器:包含过度烹饪缓冲
- 二分任务:包含两个交付计数器和两个目标时长
- 不确定性任务:包含紧急烤箱停止按钮
- 双任务:包含带辅助奖励的水槽
动作空间
离散动作空间(6 个动作):
- 0:等待
- 1:向下
- 2:向上
- 3:向右
- 4:向左
- 5:交互
注意:不支持对角移动,且无法穿过物体。
观察空间
类型:Box(low=0, high=20, shape=(grid_shape), dtype=uint8)(多计时器变体的 high=30)
观察通道编码了以下信息:
- 智能体位置
- 物体位置
- 智能体是否携带洋葱或汤
- 烤箱状态
- 水槽状态(若存在)
奖励机制
默认奖励:
- 成功交付汤:+1
- 其他情况:0
任务相关奖励:
- 对未煮熟或过度烹饪的汤施加惩罚
- 额外的小奖励(例如,双任务中的水槽交互)
回合终止条件
回合在以下情况结束:
- 汤已交付(单次试验),或
- 达到最大时间步数(200)
初始状态
智能体起始于网格中的随机空闲单元格。
仓库结构
rl_environments/:包含本项目使用的所有强化学习环境train/:包含用于运行实验和训练智能体的训练脚本eval/:包含每个任务的评估代码(Jupyter notebooks)sb3_utils/:自定义特征提取和策略定义所需的实用函数,与 Stable-Baselines3 兼容
其他信息
env.reset(seed=...) 控制智能体的起始位置。该仓库提供了基于 Stable-Baselines3 中 PPO 算法实现的 CNN–MLP、CNN–LSTM–MLP、CNN-GRU-MLP 和 CNN–CTRNN–MLP 模型的训练脚本。





