Reproduce “A First-Occupancy Representation for Reinforcement Learning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Ted Moskovitz, Spencer R. Wilson, Maneesh Sahani

The authors propose the first-occupancy representation (FR), which stores the expected discount at a state’s first visit rather than cumulative discounted occupancy. They compose FRs from base policies into first-occupancy representation planning (FRP), enabling route refinement. In FourRooms, FRP matched converged value iteration after K = 3 iterations, but optimality is proved only for deterministic finite MDPs with one goal reachable by the base-policy set.

Key insights

  • FR naturally handles non-Markovian reward structures by design, valuing policies based on the efficiency of first-time goal achievement rather than total discounted occupancy.
  • FRP allows for dynamic interpolation between model-free and model-based planning behaviors, offering flexibility in balancing computational cost and planning depth by varying the number of planning iterations.
  • FR-based exploration bonuses and pre-training schemes lead to more robust and efficient learning, particularly in hard-exploration or high-dimensional control tasks, by prioritizing novel visits and shorter paths.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.