# Increasing/decreasing exploration in rllib impala algorithm

**URL:** <https://discuss.ray.io/t/increasing-decreasing-exploration-in-rllib-impala-algorithm/9403>\
**Category:** RLlib\
**Created:** [February 16, 2023, 2:58pm UTC](https://discuss.ray.io/t/increasing-decreasing-exploration-in-rllib-impala-algorithm/9403 "2023-02-16T14:58:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saeid93](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/saeid93/32/411_2.png) [@saeid93](https://discuss.ray.io/u/saeid93)\
**Post date:** [February 16, 2023, 2:58pm UTC](https://discuss.ray.io/t/increasing-decreasing-exploration-in-rllib-impala-algorithm/9403/1 "2023-02-16T14:58:09Z")

</div>

Hi community,

I want to know which variables in [ray.rllib.algorithms.impala.impala — Ray 2.2.0](https://docs.ray.io/en/latest/_modules/ray/rllib/algorithms/impala/impala.html#ImpalaConfig) I should modify in order to increase/decrease the exploration of the impala algorithm?

---

<div class="post-metadata">

**Author:** ![arturn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/arturn/32/2096_2.png) [@arturn](https://discuss.ray.io/u/arturn)\
**Post date:** [April 13, 2023, 11:42pm UTC](https://discuss.ray.io/t/increasing-decreasing-exploration-in-rllib-impala-algorithm/9403/2 "2023-04-13T23:42:19Z")

</div>

Hi @saeid93 ,

Impala uses the `StochasticSampling` sampling strategy.  
Impala uses gaussian distributions that are parameterized by the network itself.  
This distribution can be kept more stochastic (with high variance) if there is a high entropy loss imposed. That is done by using a high entropy coefficient. So the parameter you are looking for is `entropy_coeff`.
