Efficient Anti-exploration via VQVAE and Fuzzy Clustering in Offline Reinforcement Learning
Long Chen, Yinkui Liu, Shen Li, Bo Tang, Xuemin Hu
TL;DR
This work tackles offline RL’s anti-exploration challenge by transforming continuous state-action counting into latent-label counting using a multi-codebook VQVAE, thereby avoiding dimension explosion and information loss from grid discretization. A fuzzy C-means based codebook update improves vector usage, enriching the discretized representation without prohibitive cost. Pseudo-counts derived from codebook-label sequences guide a penalty for OOD data, integrated into a SAC-style training loop to balance conservatism and exploration. Experiments on D4RL confirm superior performance and lower computing cost compared to state-of-the-art methods, with strong OOD detection and robust ablations. The approach yields practical gains for offline RL by combining efficient latent discretization, accurate counting, and principled anti-exploration penalties.
Abstract
Pseudo-count is an effective anti-exploration method in offline reinforcement learning (RL) by counting state-action pairs and imposing a large penalty on rare or unseen state-action pair data. Existing anti-exploration methods count continuous state-action pairs by discretizing these data, but often suffer from the issues of dimension disaster and information loss in the discretization process, leading to efficiency and performance reduction, and even failure of policy learning. In this paper, a novel anti-exploration method based on Vector Quantized Variational Autoencoder (VQVAE) and fuzzy clustering in offline RL is proposed. We first propose an efficient pseudo-count method based on the multi-codebook VQVAE to discretize state-action pairs, and design an offline RL anti-exploitation method based on the proposed pseudo-count method to handle the dimension disaster issue and improve the learning efficiency. In addition, a codebook update mechanism based on fuzzy C-means (FCM) clustering is developed to improve the use rate of vectors in codebooks, addressing the information loss issue in the discretization process. The proposed method is evaluated on the benchmark of Datasets for Deep Data-Driven Reinforcement Learning (D4RL), and experimental results show that the proposed method performs better and requires less computing cost in multiple complex tasks compared to state-of-the-art (SOTA) methods.
