thermoshift-1b
收藏资源简介:
ThermoShift 是一个大规模的合成数据集,模拟建筑冷却系统每小时运行轨迹。它包含观察到的决策(三种冷却行动及其记录概率)和对应的反事实结果(每个行动下的潜在状态和潜在结果)。数据集提供两种配置:logged(包含决策时刻的观测、冷却动作、倾向得分、事实目标以及轨迹边界)和 oracle(包含潜在温度、物理参数、传感器标签、三个潜在结果以及最佳一步动作)。数据来源为基于单区域热模型生成的合成建筑,每小时推进一个时间步。共包含 1,000,000,000 条独立的每小时决策记录,来自 5,952,381 栋合成建筑,每条记录步长为 168 步。数据被划分为训练集(699,746,200 条)、验证集(99,921,528 条)、测试集(100,018,296 条)、热浪测试集(50,108,016 条)和传感器退化测试集(50,205,960 条)。数据集以 Parquet 格式存储,通过 row_id 可以连接 logged 和 oracle 配置,building_id 和 step 标识轨迹中的位置。该数据集适用于多种任务,包括预测下一小时的温度、能耗、排放或舒适度偏差;使用配对结果评估行动效应;基于记录状态的离线策略评估;重构传感器状态并识别漂移或缺失观测;以及评估建筑物跨泛化能力和压力条件。数据集采用 MIT 许可证发布。
ThermoShift is a large-scale synthetic dataset simulating hourly operating trajectories of building cooling systems. It contains observed decisions (three cooling actions with their recorded probabilities) and corresponding counterfactual outcomes (potential states and potential outcomes under each action). The dataset offers two configurations: logged (containing observations at decision time, cooling actions, propensity scores, factual targets, and trajectory boundaries) and oracle (containing potential temperatures, physical parameters, sensor labels, three potential outcomes, and the best one-step action). The data is generated from synthetic buildings based on a single-zone thermal model, advancing one time step per hour. It includes 1,000,000,000 independent hourly decision records from 5,952,381 synthetic buildings, each with a trajectory length of 168 steps. The data is split into training (699,746,200 records), validation (99,921,528 records), test (100,018,296 records), heatwave test (50,108,016 records), and sensor degradation test (50,205,960 records) sets. The dataset is stored in Parquet format, with row_id linking logged and oracle configurations, and building_id and step identifying positions within trajectories. It is suitable for various tasks, including predicting next-hour temperature, energy consumption, emissions, or comfort deviations; evaluating action effects using paired outcomes; offline policy evaluation based on recorded states; reconstructing sensor states and identifying drift or missing observations; and assessing cross-building generalization and stress conditions. The dataset is released under the MIT license.
ThermoShift 数据集概述
基本信息
- 数据集名称:ThermoShift
- 数据集地址:https://huggingface.co/datasets/neuralsorcerer/thermoshift-1b
- 许可证:MIT
- 任务类别:表格回归、表格分类、强化学习
- 标签:合成数据、能源、因果推断、反事实、离线强化学习、分布偏移、时间序列
数据集内容
该数据集包含每小时合成的建筑冷却轨迹,包含观测到的决策以及配对的反事实结果。数据集包含三种冷却动作、其记录概率、事实结果,以及一个包含潜在状态和每个动作潜在结果(potential outcomes)的预言机(oracle)表。建筑被分配到训练、验证和测试划分中,包括热浪和传感器退化两种压力条件。
配置(Configurations)
| 名称 | 内容 |
|---|---|
logged |
决策时刻的观测、冷却动作、倾向性(propensities)、事实目标以及轨迹边界 |
oracle |
潜在温度、物理参数、传感器标签、三种潜在结果以及最佳单步动作 |
两个配置通过 row_id 进行连接;building_id 和 step 用于标识每个轨迹中的位置。schema.json 描述了每一列的类型、单位与角色。feature_roles.json 提供了策略和转移模型的特征列表。
加载方式
python from datasets import load_dataset
records = load_dataset( "neuralsorcerer/thermoshift-1b", name="logged", split="train", streaming=True, columns=["row_id", "building_id", "step", "obs_temp_last_c", "action", "y_next_temp_c"], ) print(next(iter(records)))
在记录实验时,应将 revision 设置为已完成的提交 SHA。流式读取会在消费记录时逐步读取。对于序列任务需保持轨迹有序,并通过标识符匹配 oracle 标签。
任务
- 预测下一小时温度、能耗、排放或舒适度偏差。
- 使用配对结果作为评估标签来估计动作效应。
- 在记录状态下使用提供的倾向性评估单步策略。
- 重建传感器状态并识别漂移或缺失观测。
- 衡量跨建筑以及两种压力条件下的泛化能力。
策略输入来自 policy_features。转移预测器也可以使用已记录的动作。Oracle 字段提供评估标签或明确选择的监督来源。单步潜在结果从当前事实状态分支;评估不同的轨迹策略需要模拟其产生的状态序列。
模型与来源
单区热力学模型每小时推进每个建筑一个步长。冷却水平为额定电力输入的 0%、50% 和 100%。天气、占用率、电网可用性和传感在轨迹过程中演变。电力与舒适度决定奖励。DATASHEET.md 给出了方程和参数分布。
run_config.json 记录配置、生成器指纹和运行时版本。manifest.json 包含计数、大小和文件校验和。完成标记绑定清单与发布元数据。validation.json 记录最近保存的验证状态及其检查范围。
本版本发布信息
- 总决策记录数:1,000,000,000 条唯一每小时决策记录
- 合成建筑数量:5,952,381 个
- 每条决策在
logged和oracle配置中各有一条对应行,通过row_id关联。
| 划分 | 决策记录数 |
|---|---|
| test | 100,018,296 |
| test_heatwave | 50,108,016 |
| test_sensor | 50,205,960 |
| train | 699,746,200 |
| validation | 99,921,528 |
- 随机种子(Seed):42
- 回合长度(Episode length):168 个每小时步长
- 隐藏混杂模式(Hidden-confounding mode):False
- 配置指纹(Config fingerprint):b32ebac0c5e6da38f1a7aadad9c77ff4388e8f67d8c05186d4f0b09a3c9d4538
- 压缩 Parquet 字节数(两种配置):199915309678
生成参数与运行时版本见 run_config.json。列角色与单位见 schema.json。
复现与验证
- 生成器:ThermoShift commit
3d92172f8168(https://github.com/neuralsorcerer/thermoshift/tree/3d92172f81687c4ee1261767c04d50caabb2bb77),生成器及其物理模型未做修改。 reproduction/publish_streaming.py生成完整的建筑分片(shards),对每一行运行上游记录与方程检查,并在删除本地数据前验证上传文件的大小和 SHA-256 哈希。每个分片的验证回执位于provenance/shards/。- 最终化检查所有配置分片区间和两张表的精确覆盖。
validation.json包含生成时验证的汇总结果。 - 当存在时,
audit/validation.json记录单独的完整下载、方程扫描以及精确确定性重放审计;_AUDIT_SUCCESS.json标识其成功完成。 - 在下载或实验中应使用所记录的已完成不可变 revision。
_SUCCESS.json绑定最终清单和数据集文档。




