News for hackers. Stuff that matters.
Re:Q-Learning by CodiePetersen on Thursday August 15, 2019 @01:07PM (#20707206)
Q learners have always been too brute forcey imo. Every action from any known state gets a value. That will explode on any meaningful task. Its better to use it in combination with some other model that reduces how many states are seen by the q learner.

But it is a good model to understand some principles and motivations behind the general ideas in AI and machine learning.

Re:Q-Learning by leet on Thursday August 15, 2019 @01:20PM (#20707356)
Yep. That is what Deep Q Network does.
Re:Q-Learning by CodiePetersen on Thursday August 15, 2019 @01:26PM (#20707417)
Yeah that's a good example. Say for alpha go for instance. Without the DL network the q learner would be massive. And that's just for a board game. Imagine trying to do that for systems like moving human body parts. Every single body configuration would be a state and then you have every single possible action from each state.
Re:Q-Learning by jsjolen on Thursday August 15, 2019 @01:47PM (#20707665)
The table becomes unwieldy on much simpler tasks than that.

Consider a 3x3 board where each cell holds 3 bits of information (each cell can be in 2^3 states). Then for the board you have (2^3)^9 = 2^27 different states.

Re:Q-Learning by CodiePetersen on Thursday August 15, 2019 @02:23PM (#20708114)
Then multiply that by how many actions you have per state. We'll suppose 9 because you can only change one tile at a time. Then multiply that by 4 bytes assuming we are using a float instead of a double and you get 4.8 gigs of memory for whatever this simple problem is.
Re:Q-Learning by wannabesrevenge on Thursday August 15, 2019 @02:16PM (#20708034)
you mathed wrong. 3x3 board with 8 states per cell is 72 total states. 9x8,not 8^9.

Edit, I just considered : Unless you mean that the state is the combination of all the cells. Then you are right

Re:Q-Learning by CodiePetersen on Thursday August 15, 2019 @02:24PM (#20708126)
Yes the state is the entirety of the boards configuration.
Re:Q-Learning by aashu_dwivedi on Thursday August 15, 2019 @03:53PM (#20708991)
Yes. So we use a Nueral network as a function approximator for Q values and call it deep Q