This question come to mind when i was planing to do a benchmark of RL algorithms to my Environment. In fact, Q-Learning, SARSA actually only handles with discrete state spaces because they are tabular methods, but Deep RL algorithms like PPO, DDPG and other algorithms that can handle continuous state spaces, can they actually handle discrete state spaces by discretizing the continuous state space into bins and then input them to the Neural Networks ?
1 Answer
Two things in this post need to be corrected. Q-learning is not married to an estimator. For instance, DQN stands for Deep Q network, a type of Q-Learning that utilizes neural networks. On the other hand, tabular utilizes a table for estimation. Second, tabular does not necessarily mean only discrete state spaces. An algorithm can discretize the space and put it into a table.
A neural network doesn't necessarily have an issue taking in a discrete input. When the input is discrete, a common form of input pre-processing is min-max scaling, which often improves network performance. This fact is especially true when some input features are on different scales.
-
$\begingroup$ For your anwser, can i conclude that effectively all RL algorithms can handle discrete state spaces ? $\endgroup$ Commented Jul 1 at 8:10
-
$\begingroup$ Yes. Discrete shouldn’t be a problem for any algorithm. $\endgroup$ Commented Jul 1 at 13:09
-
-
$\begingroup$ Absolutely, if my post answers your question, please remember to up vote and accept. $\endgroup$ Commented Jul 1 at 17:31
-
$\begingroup$ Sorry i can't upvote your anwser. "Thanks for the feedback! You need at least 15 reputation to cast a vote, but your feedback has been recorded." $\endgroup$ Commented Jul 2 at 9:38