Datasets › RoomEnv-v2
RoomEnv-v2 (The Room environment - v2)
The Room environment - v2
We have released a challenging Gymnasium compatible environment. See the paper for more information.
Prerequisites
- A unix or unix-like x86 machine
- python 3.10 or higher.
- Running in a virtual environment (e.g., conda, virtualenv, etc.) is highly recommended so that you don't mess up with the system python.
- This env is added to the PyPI server. Just run:
pip install room-env
Creating a RoomEnv-v2
import random
from room_env.create_room_v2 import RoomCreator
room_creator = RoomCreator(
filename="dev",
grid_length=7,
num_rooms=32,
num_static_objects=8,
num_independent_objects=8,
num_dependent_objects=8,
room_prob=0.5,
minimum_transition_stay_prob=0.6,
static_object_in_every_room=False,
give_fake_names=False,
)
room_creator.run()
./room-env-v2.ipynb has some good examples.
Running a RoomEnv-v2
import gymnasium as gym
import random
env = gym.make("room_env:RoomEnv-v2", room_size="l")
observations, info = env.reset()
rewards = 0
while True:
observations, reward, done, truncated, info = env.step(
(
["random answer"] * len(observations["questions"]),
random.choice(["north", "east", "south", "west", "stay"]),
)
)
rewards += reward
if done or truncated:
break
# You can also get the map of the rooms
room_layout = env.unwrapped.return_room_layout(exclude_walls=True)
Take a look at this repo for an actual interaction with this environment to learn a policy.
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Run
make test && make style && make qualityin the root repo directory, to ensure code quality. - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Cite our paper
@misc{kim2024leveragingknowledgegraphbasedhumanlike,
title={Leveraging Knowledge Graph-Based Human-Like Memory Systems to Solve Partially Observable Markov Decision Processes},
author={Taewoon Kim and Vincent François-Lavet and Michael Cochez},
year={2024},
eprint={2408.05861},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2408.05861},
}
Authors
License
Benchmarks archive 2025-07-28
All 1 leaderboard whose dataset resolves to this page shown (sort by any header). "First row" is the archive's own first row at snapshot, in the archive's row order; nothing here re-ranks and metric direction is not asserted.
| First row (archive order) | Paper | Code | ||||
|---|---|---|---|---|---|---|
| RoomEnv-v2 | RoomEnv-v2 | HumemAI-capacity=48 final agent reward 235 | Leveraging Knowledge Graph-Based Human-Like Memory... | humemai/agent-room-env-v2-lstm | 2 | Compare |
Papers archive 2025-07-28
1 shown of 1 paper with a leaderboard row on this dataset's benchmarks, newest first. The archive's own "papers using this dataset" list was never published, so this is the benchmark-backed subset; the archive's count for this dataset is 1. The Syntology column is from Syntology's graph (read 2026-09-24), stated per sample; it is not part of any archive number.
| Date | Samples run Syntology | |||
|---|---|---|---|---|
| Leveraging Knowledge Graph-Based Human-Like Memory Systems to Solve Partially Observable Markov Decision Processes | 1 | 2 | 11 Aug 2024 | not harvested |
Dataset loaders archive 2025-07-28
No loader listed in the archive.
Tasks archive 2025-07-28
License archive 2025-07-28
Modalities archive 2025-07-28
Languages archive 2025-07-28
Variants archive 2025-07-28
- RoomEnv-v2
1 variant name, as the archive lists them.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections