#Exploration: A study of count-based exploration for deep reinforcement learning
Count-based exploration works well with tabular reinforcement learning on small discrete MDPs, but it has long been assumed to fail in high-dimensional state spaces, where most states occur only once. This work shows that a simple generalization of the classic approach, which maps states to hash codes and counts those codes, reaches near state-of-the-art performance on high-dimensional and continuous deep RL benchmarks. The method offers a simple baseline for tasks that require substantial exploration. ### Why Count-Based Exploration Was Limited - Count-based methods come with theoretical guarantees and perform near-optimally in small tabular settings. - Raw state counts are useless in high-dimensional or continuous spaces, because nearly every state is novel. - Recent deep RL exploration methods handle this with complex heuristics, often based on optimism under uncertainty or intrinsic motivation. ### Hashing States to Make Counts Useful - Each state is mapped to a hash code, and occurrences of each code are tracked in a hash table. - The resulting counts feed a reward bonus derived from classic count-based exploration theory. - Surprisingly simple hash functions perform well on many challenging tasks. - A learned, domain-dependent hash code can improve results further. ### What Makes a Good Hash Function - Granularity matters: the hash must group states at an appropriate level, so that counts are neither too sparse nor too coarse. - The hash should encode information relevant to solving the MDP, not just superficial state features. ### Results - The method achieves near state-of-the-art performance on both continuous control tasks and Atari 2600 games. For practitioners facing hard exploration problems in deep RL, this suggests starting with a simple hashed count bonus as a baseline before adopting more complex heuristics. Its effectiveness depends heavily on choosing a hash that has the right granularity and captures task-relevant features.