Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-06T22:29:08.872Z Has data issue: false hasContentIssue false

Q-Table compression for reinforcement learning

Published online by Cambridge University Press:  04 December 2018

Leonardo Amado
Affiliation:
Pontifical Catholic University of Rio Grande do Sul, Av. Ipiranga 6681, Porto Alegre, RS, 90619-900, Brazil; e-mail leonardo.amado@acad.pucrs.br, felipe.meneguzzi@pucrs.br
Felipe Meneguzzi
Affiliation:
Pontifical Catholic University of Rio Grande do Sul, Av. Ipiranga 6681, Porto Alegre, RS, 90619-900, Brazil; e-mail leonardo.amado@acad.pucrs.br, felipe.meneguzzi@pucrs.br
Rights & Permissions [Opens in a new window]

Abstract

Reinforcement learning (RL) algorithms are often used to compute agents capable of acting in environments without prior knowledge of the environment dynamics. However, these algorithms struggle to converge in environments with large branching factors and their large resulting state-spaces. In this work, we develop an approach to compress the number of entries in a Q-value table using a deep auto-encoder. We develop a set of techniques to mitigate the large branching factor problem. We present the application of such techniques in the scenario of a real-time strategy (RTS) game, where both state space and branching factor are a problem. We empirically evaluate an implementation of the technique to control agents in an RTS game scenario where classical RL fails and provide a number of possible avenues of further work on this problem.

Information

Type
Special Issue Contribution
Copyright
© Cambridge University Press, 2018 
Figure 0

Figure 1 Deep auto-encoder architecture.

Figure 1

Figure 2 MicroRTS game state. RTS=real-time strategy.

Figure 2

Figure 3 Unit Q-learning diagram.

Figure 3

Figure 4 Auto-encoder architecture canonical encoding.

Figure 4

Figure 5 MicroRTS reward example. RTS= real-time strategy.

Figure 5

Figure 6 MicroRTS movement trace. RTS=real-time strategy.

Figure 6

Figure 7 Convergence of attacker and harvester.

Figure 7

Figure 8 Q-table size of attacker and harvester.

Figure 8

Table 1 Results training with passive.

Figure 9

Table 2 Results training with random.

Figure 10

Table 3 Results training with light rush.

Figure 11

Table 4 Results training with worker rush.

Figure 12

Table 5 Results against multiple AIs.

Figure 13

Table 6 Response time for each approach.

Figure 14

Figure 9 Tracking problem.

Figure 15

Figure 10 Image encoding framework