NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Feature Selection for Reinforcement Learning: Evaluating Implicit State-Reward Dependency via Conditional Mutual Information

Hirotaka Hachiya, Masashi Sugiyama

Abstract

Reinforcement Learning (RL) in high-dimensional state spaces often suffers from the "curse of dimensionality," where irrelevant features impede learning efficiency. Traditional feature selection methods, such as those based on immediate reward dependency, often fail to identify features with "implicit" dependencies—those that influence future returns without affecting immediate rewards. This paper proposes a novel filter-type feature selection framework based on Conditional Mutual Information (CMI) between state features and the total expected return. By utilizing a Least-Squares Mutual Information (LSMI) estimator, the method efficiently identifies both direct and implicit dependencies. Empirical evaluations in a complex grid-world navigation task demonstrate that the proposed approach outperforms existing methods by accurately ranking long-term relevant features and ignoring noise.

The Challenge of Implicit Dependency in RL

In many real-world RL applications, agents are equipped with numerous sensors, many of which provide redundant or irrelevant information. Selecting a relevant subset of features is crucial for improving sample efficiency and policy performance. However, standard feature selection techniques often overlook features that have a delayed impact on rewards.

Existing filter-based methods typically focus on features that influence the immediate next reward. While computationally efficient, these methods are "short-sighted." In RL, a feature might not affect the current reward but could be critical for future success. For instance, a sensor detecting a low-battery state or a distant obstacle might not change the immediate reward but determines the agent's ability to reach a goal later. This is termed an implicit dependency.

Implicit dependency where feature s(3) affects the reward several steps later through a chain of state transitions.

Proposed Method: CMI with Return

To address this, the authors propose evaluating the dependency between state features and the return (η), defined as the discounted sum of future rewards. Since the return encapsulates the entire future trajectory, any feature influencing future rewards will exhibit a statistical dependency with it.

The framework uses Conditional Mutual Information (CMI) to rank features. To overcome the difficulty of estimating high-dimensional probability densities, the authors employ the Least-Squares Mutual Information (LSMI) estimator. LSMI directly estimates the density ratio, transforming the problem into a linear optimization task that is both analytically solvable and computationally efficient. This approach allows the filter to effectively "see" through the Markov chain, capturing dependencies that manifest steps later.

The proposed method evaluates the dependency between the return (η) and specific state features across time steps using CMI.

Experimental Evaluation

The method was tested in a 10x10 Grid-World navigation task featuring 14 state dimensions, including irrelevant Gaussian noise and an "implicitly relevant" gravel sensor. In the "with-gravel" scenario, entering certain areas drains the battery faster, eventually preventing the agent from reaching the target.

While baseline methods like Kernel Dimension Reduction (KDR) failed to identify the gravel sensor due to its lack of immediate reward impact, the proposed CMI-based method consistently ranked it as a top feature. Furthermore, the method demonstrated high sample efficiency, converging to optimal feature sets with as few as 60-100 episodes of data.

Conclusion

By shifting the focus from immediate rewards to total returns, this CMI-based framework provides a robust solution for feature selection in RL. It successfully captures long-term dependencies that traditional filters miss, offering a scalable and theoretically sound approach to high-dimensional RL problems. Future work may explore adaptive feature selection to handle non-stationary policies.

Summary updated

BibTeX
@inproceedings{hachiya2010feature,
  author = {Hirotaka Hachiya and Masashi Sugiyama},
  title = {{Feature Selection for Reinforcement Learning: Evaluating Implicit State-Reward Dependency via Conditional Mutual Information}},
  booktitle = {ECML/PKDD},
  year = {2010},
  doi = {10.1007/978-3-642-15880-3\_36},
}
Figure