Papers › Rank the Episodes: A Simple Approach for Exploration in Procedurally-Generated Environments

Rank the Episodes: A Simple Approach for Exploration in Procedurally-Generated Environments

20 Jan 2021ICLR 2021 1arXiv:2101.08152archive 2025-07-28

Daochen Zha, Wenye Ma, Lei Yuan, Xia Hu, Ji Liu

Exploration under sparse reward is a long-standing challenge of model-free reinforcement learning. The state-of-the-art methods address this challenge by introducing intrinsic rewards to encourage exploration in novel states or uncertain environment dynamics. Unfortunately, methods based on intrinsic rewards often fall short in procedurally-generated environments, where a different environment is generated in each episode so that the agent is not likely to visit the same state more than once. Motivated by how humans distinguish good exploration behaviors by looking into the entire episode, we introduce RAPID, a simple yet effective episode-level exploration method for procedurally-generated environments. RAPID regards each episode as a whole and gives an episodic exploration score from both per-episode and long-term views. Those highly scored episodes are treated as good exploration behaviors and are stored in a small ranking buffer. The agent then imitates the episodes in the buffer to reproduce the past good exploration behaviors. We demonstrate our method on several procedurally-generated MiniGrid environments, a first-person-view 3D Maze navigation task from MiniWorld, and several sparse MuJoCo tasks. The results show that RAPID significantly outperforms the state-of-the-art intrinsic reward strategies in terms of sample efficiency and final performance. The code is available at https://github.com/daochenzha/rapid

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2101.08152")

Code

Syntology Ran 14 of 28 code samples harvested from 2 repositories linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · violated contract; 2 ran · our draft was wrong; 2 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: official repository: 5 samples from 1 repository, 4 ran; community (archive-listed): 23 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

daochenzha/rapid officialmentioned in papertf report
maximecb/gym-miniworld officialmentioned in paperpytorch report
aklein1995/exploration_sil_im mentioned on GitHubtf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

28 samples harvested; 14 ran; 0 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · violated contract
2ran · our draft was wrong
2ran · fixture could not drive it
9ran
14unverified

Licence: 0 of the 28 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Counter daochenzha/rapid/rapid/buffer.py official repository ran · metamorphic tier: well formed MIT (permissive) · d6eaff6eabe8943b · report
constfn daochenzha/rapid/rapid/agent.py official repository ran · our draft was wrong MIT (permissive) · 8758308dc6c0727f · report
get_local_bonus daochenzha/rapid/rapid/buffer.py official repository ran · fixture could not drive it MIT (permissive) · 1bd23d9c5df7763c · report
sf01 daochenzha/rapid/rapid/agent.py official repository ran · violated contract MIT (permissive) · baf2a28d376d7803 · report
RankingBuffer daochenzha/rapid/rapid/buffer.py official repository unverified MIT (permissive) · c0f83827d6c75fca · report
BeBold aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) ran fingerprinted MIT (permissive) · ad5584bf82eab7fe · report
Counter aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) ran MIT (permissive) · 978c689ae69157a3 · report
HumanOutputFormat aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) ran MIT (permissive) · 242a79b49bc8f5de · report
JSONOutputFormat aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) ran MIT (permissive) · 081800d1f215fd82 · report
Logger aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) ran MIT (permissive) · ecaf9ce3efa32820 · report
explained_variance aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 6f9580f36835d52d · report
get_current aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) ran MIT (permissive) · f0b5e724afa08592 · report
get_dir aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 19fa70dab4a7056f · report
get_rank_without_mpi_import aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) ran · metamorphic tier: well formed MIT (permissive) · 3c4301eba0f1aaf2 · report
make_output_format aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 8b7334946d2ed532 · report
AbstractEnvRunner aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) unverified MIT (permissive) · b21a3fc9290718d4 · report
CSVOutputFormat aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) unverified MIT (permissive) · 0c58056d576d9ba8 · report
Model aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) unverified MIT (permissive) · efd67c7b09262d14 · report
Runner aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) unverified MIT (permissive) · b18fdb2df2966f99 · report
TensorBoardOutputFormat aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) unverified MIT (permissive) · 07d722b0c7f269f6 · report
_configure_default_logger aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) unverified MIT (permissive) · 5b226f8121d5718b · report
configure aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) unverified MIT (permissive) · 819a51a05cef8459 · report
info aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) unverified MIT (permissive) · b5664e29a5753d3d · report
learn_rapid aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) unverified MIT (permissive) · e22453516d7e1e51 · report
limit_cuda_visible_devices aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) unverified MIT (permissive) · 13289659b2b68f4f · report
log aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) unverified MIT (permissive) · 420a7935bc54a351 · report
make_session aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) unverified MIT (permissive) · 8db9834e56303b87 · report
set_global_seeds aklein1995/exploration_sil_im/rapid/rapid_agent.py community (archive-listed) unverified MIT (permissive) · cbb527600328539c · report

Tasks

MuJoCo

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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