Hostname: page-component-74656f9884-c52kr Total loading time: 0 Render date: 2026-11-06T23:49:44.711Z Has data issue: false hasContentIssue false

Two-level Q-learning: learning from conflict demonstrations

Published online by Cambridge University Press:  12 November 2019

Mao Li*
Affiliation:
Computer Science Department, University of York, York, United Kingdom e-mail: ml1480@york.ac.uk
Yi Wei
Affiliation:
Computer Science Department, Shan dong University, Jinan, China e-mail: weiyi.ve@mail.sdu.edu.cn
Daniel Kudenko
Affiliation:
Computer Science Department, University of York, York, United Kingdom e-mail: ml1480@york.ac.uk JetBrains Research, St Petersburg, Russia e-mail: daniel.kudenko@york.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

One way to address this low sample efficiency of reinforcement learning (RL) is to employ human expert demonstrations to speed up the RL process (RL from demonstration or RLfD). The research so far has focused on demonstrations from a single expert. However, little attention has been given to the case where demonstrations are collected from multiple experts, whose expertise may vary on different aspects of the task. In such scenarios, it is likely that the demonstrations will contain conflicting advice in many parts of the state space. We propose a two-level Q-learning algorithm, in which the RL agent not only learns the policy of deciding on the optimal action but also learns to select the most trustworthy expert according to the current state. Thus, our approach removes the traditional assumption that demonstrations come from one single source and are mostly conflict-free. We evaluate our technique on three different domains and the results show that the state-of-the-art RLfD baseline fails to converge or performs similarly to conventional Q-learning. In contrast, the performance level of our novel algorithm increases with more experts being involved in the learning process and the proposed approach has the capability to handle demonstration conflicts well.

Information

Type
Adaptive and Learning Agents
Copyright
© Cambridge University Press 2019 
Figure 0

Figure 1 The structure of two-level Q-learning

Figure 1

Algorithm 1 Two-level-Q-learning

Figure 2

Figure 2 Maze with three areas

Figure 3

Figure 3 Performance comparison of two-level Q-learning and two baselines in the domain of maze navigation

Figure 4

Figure 4 Comparison of two-level Q-learning with different number of experts (i.e. two-level Q-learning with expert 1, two-level Q-learning with expert 1 and expert 2, and two-level Q-learning with three experts) and reinforcement learning in the domain of maze navigation

Figure 5

Figure 5 Coloured flags visiting problem domain

Figure 6

Figure 6 Three correct sequence of visiting flags

Figure 7

Figure 7 Three demonstrators and their view of the environment

Figure 8

Figure 8 Performance comparison of two-level Q-learning and two baselines in the domain of coloured flags visiting

Figure 9

Figure 9 Comparison of two-level Q-learning with different number of experts and regular Q-learning in the domain of coloured flags visiting

Figure 10

Figure 10 Pong: A game of Atari 2660

Figure 11

Figure 11 Structure of neural network of deep Q-learning and expert

Figure 12

Figure 12 Result of Pong