Skip to main content

ORIGINAL RESEARCH article

Front. Robot. AI, 09 March 2022
Sec. Human-Robot Interaction
Volume 9 - 2022 | https://doi.org/10.3389/frobt.2022.797213

A Hybrid PAC Reinforcement Learning Algorithm for Human-Robot Interaction

  • Cooperative Robotics Lab, Department of Mechanical Engineering, University of Delaware, Newark, DE, United States

This paper offers a new hybrid probably approximately correct (PAC) reinforcement learning (RL) algorithm for Markov decision processes (MDPs) that intelligently maintains favorable features of both model-based and model-free methodologies. The designed algorithm, referred to as the Dyna-Delayed Q-learning (DDQ) algorithm, combines model-free Delayed Q-learning and model-based R-max algorithms while outperforming both in most cases. The paper includes a PAC analysis of the DDQ algorithm and a derivation of its sample complexity. Numerical results are provided to support the claim regarding the new algorithm’s sample efficiency compared to its parents as well as the best known PAC model-free and model-based algorithms in application. A real-world experimental implementation of DDQ in the context of pediatric motor rehabilitation facilitated by infant-robot interaction highlights the potential benefits of the reported method.

1 Introduction

While several reinforcement learning (RL) algorithms can apply to a dynamical system modeled as a Markov decision process (MDP), few are probably approximately correct (PAC)—meaning able to guarantee how soon the algorithm will converge to a near-optimal policy. Existing PAC MDP algorithms can be broadly divided into two groups: model-based algorithms like (Brafman and Tennenholtz, 2002; Kearns and Singh, 2002; Strehl and Littman, 2008; Szita and Szepesvári, 2010; Strehl et al., 2012; Lattimore and Hutter, 2014; Ortner, 2020), and model-free Delayed Q-learning algorithms (Strehl et al., 2006; Jin et al., 2018; Dong et al., 2019). Each group has its advantages and disadvantages. The goal here is to capture the advantages of both groups, while preserving PAC properties.

The property of an RL to have bounded regret is tightly closed to probable approximate correctness in the sense that it also provides some type of theoretical performance guarantee (Jin et al., 2018). Rl algorithms with bounded regret place a bound on the overall loss during the learning process, contrasting themselves to the case when the optimal policy is adopted throughout the whole process. Similar to PAC RL algorithms, existing RL algorithms with bounded regret are either model-based (Auer and Ortner, 2005; Ortner and Auer, 2007; Jaksch et al., 2010; Azar et al., 2017) or model-free (Jin et al., 2018), with none that are able to capture advantages of both groups. Interestingly, while all PAC RL algorithms also have bounded regret, the inverse is not always true (Jin et al., 2018).

Model-free RL is a powerful approach for learning complex tasks. For many real-world learning problems, however, the approach is taxing in terms of the size of the necessary body of data—what is more formally referred to as its sample complexity. The reason is that model-free RL ignores rich information from state transitions and only relies on the observed rewards for learning the optimal policy (Pong et al., 2018). A popular model-free PAC RL MDP algorithm is known as Delayed Q-learning (Strehl et al., 2006). The known upper-bound on the sample complexity of Delayed Q-learning suggests that it outperforms model-based alternatives only when the state-space size of the MDP is relatively large (Strehl et al., 2009).

Model-based RL, on the other hand, utilizes all information from state transitions to learn a model, and then uses that model to compute an optimal policy. The sample complexity of model-based RL algorithms are typically lower than that of model-free ones (Nagabandi et al., 2018); the trade-off comes in the form of computational effort and possible bias (Pong et al., 2018). A popular model-based PAC RL MDP algorithm is R-max (Brafman and Tennenholtz, 2002). The derived upper-bound for the sample complexity of the R-max algorithm (Kakade, 2003) suggests that this model-based algorithm shines from the viewpoint of sample efficiency when the size of the state/action space is relatively small. This efficiency assessment can typically be generalized to most model-based algorithms. Overall, R-max and Delayed Q-learning are incomparable in terms of their bound on the sample complexity. For instance, for the same sample size, R-max is bound to return a policy of higher accuracy compared to Delayed Q-learning, while the latter will converge much faster on problems with large state spaces.

Typically, model-free algorithms circumvent the model learning stage of the solution process, a move that by itself reduces complexity in problems of large size. In many applications, however, model learning is not the main complexity bottleneck. Neurophysiologically-inspired hypotheses (Lee et al., 2014) have suggested that the brain approach toward complex learning tasks can be model-free (trial and error) or model-based (deliberate planning and computation) or even a combination of both, depending on the amount and reliability of the available information. This intelligent combination is postulated to contribute to making the process efficient and fast. The design of the PAC MDP algorithm presented in this paper is motivated by such observations. Rather than strictly following one of the two prevailing directions, it orchestrates a marriage of a model-free (Delayed Q-learning) with a model-based (R-max) PAC algorithm, in order to give rise to a new PAC algorithm (Dyna-Delayed Q-learning (DDQ)) that combines the advantages of both.

The search for a connection between model-free and model-based RL algorithms begins with the Dyna-Q algorithm (Sutton, 1991), in which synthetic generated experiences based on the learned model are used to expedite Q-learning. Some other examples that continued along this thread of research are partial model back propagation (Heess et al., 2015); training a goal condition Q function (Parr et al., 2008; Sutton et al., 2011; Schaul et al., 2015; Andrychowicz et al., 2017); integrating an LQR-based algorithm into a model-free framework of path integral policy improvement (Chebotar et al., 2017); and analogies of model-based solutions for deriving adaptive model-free control law (Tutsoy et al., 2021). The recently introduced Temporal Difference Model (TDM) provides a smooth (er) transition from model-free to model-based, during the learning process (Pong et al., 2018). What is still missing in the literature, though, is a PAC combination of model-free and model-based frameworks.

In this paper, the idea behind Dyna-Q is leveraged to combine two popular PAC algorithms, one model-free and one model-based, into a new one named DDQ, which is not only PAC like its parents, but also inherits the best of both worlds: it will intelligently behave more like a model-free algorithm on large problems, and operate more like a model-based algorithm on problems that require high accuracy, being content with the smallest among the sample sizes required by its parents. Specifically, the sample complexity of DDQ, in the worst case, matches the minimum bound between that of R-max and Delayed Q-learning, and often outperforms both. Note that the DDQ algorithm is purely online and does not assume access to a generative model like in (Azar et al., 2013). While the provable worst case upper bound on the sample complexity of DDQ algorithm is higher than the best known model-based (Szita and Szepesvári, 2010) and model-free (Jin et al., 2018; Dong et al., 2019) algorithms, we can demonstrate (see Section 5) that the hybrid nature allows for superior performance of the DDQ algorithm in applications. The availability of a hybrid PAC algorithm like DDQ in hand obviates the choice between a model-free and a model-based approach.

The approach in this paper falls under the general category of tabular reinforcement learning, which basically encompasses problems where the state-space can admit a tabular representation. Outside this framework, namely in non-tabular reinforcement learning, one of the key advantages is the ability to handle really large state-spaces (Bellemare et al., 2016; Hollenstein et al., 2019), but this is not the particular focus of the approach here. Moreover, the emphasis here is on learning in MDPs with unknown but constant parameters (transition probabilities and/or reward function). This is also distinct from another thread of research that addresses uncertainty and robustness in MDPs whose parameters are randomly (or even adversely) selected from a set and can vary over the instances when the same state-action pair is encountered (Lim et al., 2013).

Our own motivation for developing of this new breed of RL algorithms comes from application problems in early pediatric motor rehabilitation, where robots can be used as smart toys to socially interact and engage with infants in play-based activity that involves gross motor activity. In this setting, MDP models can be constructed to abstractly capture the dynamics of the social interaction between infant and robot, and RL algorithms can guide the behavior of the robot as it interacts with the infant in order to achieve the maximum possible rehabilitation outcome—the latter possibly quantified by the overall length of infant displacement, or the frequency of infant motor transitions. Some early attempts at modeling such instances of human-robot interaction (HRI) did not result in models of particularly large state and action spaces, but were particularly complicated by the absence of sufficient data sets for learning (Zehfroosh et al., 2017; Zehfroosh et al., 2018). This is because every child is different, and the exposure of each particular infant to the smart robotic toys (during which HRI data can be collected) is usually limited to a few hours per month. There is a need, therefore, for reinforcement learning approaches that can maintain (or even guarantee) efficiency and accuracy even when the learning set is particularly small.

The paper starts with some technical preliminaries in Section 2. This section introduces the required properties of a PAC RL algorithm in the form of a well-known theorem. The DDQ algorithm is introduced in Section 3, with particular emphasis given on its update mechanism. Section 4 presents the mathematical analysis that leads the establishment of the algorithm’s PAC properties, and the analytic derivation of its sample complexity. Finally, Section 5 offers numerical data to support the theoretical sample complexity claims. The data indicate that DDQ outperforms its parent algorithms as well as the state-of-the-art model-base and model-free algorithms in terms of the required samples to learn near-optimal policy. Experimental results from application of DDQ in the context of early pediatric motor rehabilitation suggest the algorithm’s efficacy and its potential as part of a child-robot interface mechanism that involves autonomous and adaptive robot decision-making. To enhance this paper’s readability, the proofs of most of the technical lemmas supporting the proof of our main result are moved to the paper’s Appendix.

2 Technical Preliminaries

A finite MDP M is a tuple {S, A, R, T, γ} with elements

S a finite set of states

A a finite set of actions

R: S × A → [0, 1] the reward from executing a at s

T: S × A × S → [0, 1] the transition probabilities

γ0,1 the discount factor

A policy π is a mapping π: SA that selects an action a to be executed at state s. A policy is optimal if it maximizes the expected sum of discounted rewards; if t indexes the current time step and at, st denote current action and state, respectively, then this expected sum is written EMt=0γtR(st,at). The discount factor γ here reflects the preference of immediate rewards over future ones. The value of state s under policy π in MDP M is defined as

vMπ(s)=EMRs,π(s)+t=1γtRst,π(st)

Note that an upper bound for the value at any state is vmax=11γ. Similarly defined is the value of state-action pair (s, a) under policy π:

QMπ(s,a)=EMR(s,a)+t=1γtRst,π(st)(1)

Every MDP M has at least one optimal policy π* that results in an optimal value (or state-action value) assignment at all states; the latter is denoted vM(s) (or QM(s,a), respectively).

The standard approach to finding the optimal values is through the search for a fix point of the Bellman equation

vM(s)=maxaR(s,a)+γsT(s,s,a)vM(s)

which, after substituting VM(s)=maxaQM(s,a), can equivalently be written in terms of state-action values

QM(s,a)=R(s,a)+γsT(s,s,a)vM(s)

Reinforcement learning (RL) is a procedure to obtain an optimal policy in an MDP, when the actual transition probabilities and/or reward function are not known. The procedure involves exploration of the MDP model. An RL algorithm usually maintains a table of state-action pair value estimates Q (s, a) that are updated based on the exploration data. We denote Qt (s, a) the currently stored value for state-action pair (s, a) at timestep t during the execution of an RL algorithm. Consequently, vt(s) = maxaQt (s, a). An RL algorithm is greedy if it at any timestep t, it always executes action at = arg maxaAQt (st, a). The policy in force at time step t is similarly denoted πt. In what follows, we denote |S| the cardinality of a set S.

Reinforcement learning algorithms have been classified as model-based or model-free. Although the characterization is debatable, what is meant by calling an RL algorithm “model-based,” is that T and/or R are estimated based on online observations (exploration data), and the resulting estimated model subsequently informs the computation of the optimal policy. A model-free RL algorithm, on the other hand, would skip the construction of an estimated MDP model, and search directly for an optimal policy over the policy space. An RL algorithm is expected to converge to the optimal policy, practically reporting a near-optimal one at termination.

Probably approximately correct (PAC) analysis of RL algorithms deals with the question of how fast an RL algorithm converges to a near-optimal policy. An RL algorithm is PAC if there exists a probabilistic bound on the number of exploration steps that the algorithm can take before converging to a near-optimal policy.

ALGORITHM 1
www.frontiersin.org

Algorithm 1. The ddq Algorithm.

Definition 1. Consider that an RL algorithm A is executing on MDP M. Let st be the visited state at time step t and At denotes the (non-stationary) policy that the A executes at t. For a given ϵ > 0 and δ > 0, A is a pac RL algorithm if there is an N > 0 such that with probability at least 1 − δ and for all but N time steps,

vMAt(st)vM(st)ϵ(2)

Eq. 2 is known as the ϵ-optimality condition and N as the sample complexity of A, which is a function of |S|,|A|,1ϵ,1δ,11γ.

Definition 2. Consider MDP M = {S, A, R, T, γ} which at time t has a set of state-action value estimates Qt(s, a), and let KtS × A be a set of state-action pairs labeled known. The known state-action MDP

MKt=S{zs,a|(s,a)Kt},A,TKt,RKt,γ

is an MDP derived from M and Kt by defining new states zs,a for each unknown state-action pair (s, a)∉Kt, with self-loops for all actions, i.e., TKt(zs,a,,zs,a)=1. For all (s, a) ∈ Kt, it is RKt(s,a)=R(s,a) and TKt(s,a,)=T(s,a,). When an unknown state-action pair (s, a)∉Kt is experienced, RKt(s,a)=Qt(s,a)(1γ) and the model jumps to zs,a with TKt(s,a,zs,a)=1; subsequently, RKt(zs,a,)=Qt(s,a)(1γ).Let Kt be set of current known state-action pairs of an RL algorithm A at time t, and allow Kt to be arbitrarily defined as long as it depends only on the history of exploration data up to t. Any (s, a)∉Kt experienced at time step t marks an escape event.

Theorem 1. ((Strehl et al., 2009)). Let A be a greedy RL algorithm for an arbitrary MDP M, and let Kt be the set of current known state-action pairs, defined based only on the history of the exploration data up to timestep t. Assume that Kt = Kt+1 unless an update to some state-action value occurs or an escape event occurs at timestep t, and that Qt(s, a) ≤ vmax for all (s, a) and t. Let MKt be the known state-action MDP at timestep t and πt(s) = arg maxaQt(s, a) denote the greedy policy that A executes. Suppose now that for any positive constant ϵ and δ, the following conditions hold with probability at least 1 − δ for all s, a and t:

optimism: vt(s)vM(s)ϵ

accuracy: vt(s)vMKtπt(s)ϵ

complexity: sum of number of timesteps with Q-value updates plus number of timesteps with escape events is bounded by ζ(ϵ, δ) > 0. Then, executing algorithm A on any MDP M will result in following a 4ϵ-optimal policy on all but

Oζ(ϵ,δ)ϵ(1γ)2ln(1δ)ln(1ϵ(1γ))Oζ(ϵ,δ)ϵ(1γ)2(3)

timesteps, with probability at least 1 − 2δ.

3 DDQ Algorithm

This section presents Algorithm 1, the one we call DDQ and the main contribution of this paper. Ddq integrates elements of R-max and Delayed Q-learning, while preserving the implementation advantages of both.

Algorithm 1 consists of four main sections: 1) In lines 1–12, the internal variables of the algorithm are initialized; 2) In lines 13–19, an action is greedily selected in the current state and the consequent immediate reward and new state are observed and recorded; 3) The model-free part of the algorithm is presented in lines 20–37 that resembles the Delayed Q-learning algorithm (Strehl et al., 2006); 4) Lines 38–56 represent the model-based part of the algorithm that is similar to R-max algorithm (Brafman and Tennenholtz, 2002) with a modified update mechanism which is needed for preserving the PAC property of the overall hybrid algorithm.

We refer to the assignment in line 31 of Algorithm 1 as a type-1 update (model-free update), and to the one on line 52 as a type-2 update (model-based update). The latter offers a way for new model-related information to be injected into the model-free learning process. Type-1 updates use the m1 most recent experiences (occurances) of a state-action pair (s, a) to update that pair’s value, while a type-2 update is realized through a value iteration algorithm (lines 43 − 54) and applies to state-action pairs experienced at least m2 times. The outcome at timestep t of the value iteration for a type-2 update is denoted Qtvl(s,a). The value iteration is set to run for ln(1/(ϵ2(1γ)))(1γ) iterations; parameter ϵ2 regulates the desired accuracy on the resulting estimate (Lemma 5). A type-1 update is successful only if the condition on line 30 of the algorithm is satisfied, and this condition ensures that the type-1 update necessarily decreases the value estimate by at least ϵ1 = 3ϵ2. Similarly, a type-2 update is successful only if the condition on line 51 of the algorithm holds. The DDQ algorithm maintains the following internal variables:

l (s, a): the number of samples gathered for the update type-1 of Q (s, a) once l (s, a) = m1.

U (s, a): the running sum of target values used for a type-1 update of Q (s, a), once enough samples have been gathered.

b (s, a): the timestep at which the most recent or ongoing collection of m1 (s, a) experiences has started.

learn(s,a): a Boolean flag that indicates whether or not samples are being gathered for type-1 update of Q (s, a). The flag is set to true initially, and is reset to true whenever some Q-value is updated. It flips to false when no updates to any Q-values occurs within a time window of m1 experiences of (s, a) in which attempted updates type-1 of Qi (s, a) fail.

n (s, a): variable that keeps track of the number of times (s, a) is experienced.

n (s, a, s′): variable that keeps track of the number of transitions to s′ on action a at state s.

r (s, a): the accumulated rewards by doing a in s.

The execution of the DDQ algorithm is tuned via the m1 and m2 parameters. One can practically reduce it to Delayed Q-learning by setting m2 very large, and to R-max by setting m1 large. The next section provides a formal proof that DDQ is not only PAC but also possesses the minimum sample complexity between R-max and Delayed Q-learning in the worst case—often, it outperforms both.

4 PAC Analysis of DDQ Algorithm

In general, the sample complexity of R-max and Delayed Q-learning is incomparable (Strehl et al., 2009); the former is better in terms of the accuracy of the resulting policy while the latter is better in terms of scaling with the size of the state space. The sample complexity of R-max algorithm is |S|2|A|ϵ3(1γ)8 —note the power on ϵ; the sample complexity of Delayed Q-learning algorithm is |SA|ϵ4(1γ)8 —note the linear scaling with |S|. It appears that DDQ can bring together the best of both worlds; its sample complexity is

OminO|S|2|A|ϵ3(1γ)8,O|SA|ϵ4(1γ)8

Before formally stating the PAC properties of the DDQ algorithm and proving the bound on its sample complexity, some technical groundwork needs to be laid. To slightly simplify notation, let κ|SA|(1+1(1γ)ϵ1). Moreover, subscript t marks the value of a variable at the beginning of timestep t (particularly line 23 of the algorithm).

Definition 3. An event when learn(s,a)=true and at the same time l(s, a) = m1 or n(s, a) = m2, is called an attempted update.

Definition 4. At any timestep t in the execution of DDQ algorithm the set of known state-action pairs is defined as:

Kt=(s,a)n(s,a)m2orQt(s,a)R(s,a)+γsT(s,a,s)vt(s)3ϵ1

In subsequent analysis, and to distinguish between the conditions that make a state-action pair (s, a) known, the set Kt will be partitioned into two subsets:

Kt1=(s,a)Qt(s,a)R(s,a)+γsT(s,a,s)vt(s)3ϵ1Kt2=(s,a)n(s,a)m2

Definition 5. In the execution of DDQ algorithm a timestep t is called a successful timestep if at that step any state-action value is updated or the number of times that a state-action pair is visited reaches m2. Moreover, considering a particular state-action pair (s, a), timestep t is called a successful timestep for (s, a) if at t either update type-1 happens to Q(s, a) or the number of times that (s, a) is visited reaches m2.Recall that a type-1 update necessarily decreases the Q-value by at least ϵ1. Defining rewards as positive quantities prevents the Q-values from becoming negative. At the same time, state-action pairs can initiate update type-2 only once they are experienced m2 times. Together, these conditions facilitate the establishment of an upper-bound on the total number of successful timesteps during the execution of DDQ:

Lemma 1. The number of successful timesteps for a particular state-action pair (s, a) in a DDQ algorithm is at most 1+1(1γ)ϵ1. Moreover, the total number of successful timesteps is bounded by κ.

Proof. See Supplementary Appendix S1.

Lemma 2. The total number of attempted updates in DDQ algorithm is bounded by |SA|(1 + κ).

Proof. See Supplementary Appendix S2.

Lemma 3. Let M be an MDP with a set of known state-action pairs Kt. If we assume that for all state-action pairs (s, a)∉Kt we have Qt(s,a)11γ, then for all state-action pairs in the known state-action MDP MKt it holds

QMKt(s,a)11γ

Proof. See Supplementary Appendix S3.Choosing m1 big enough and applying Hoefding’s inequality allows the following conclusion (Lemma 4) for all type-1 updates, and paves the way for establishing the optimism condition of Theorem 1.

Lemma 4. Suppose that at time t during the execution of DDQ a state-action pair (s, a) experiences a successful update of type-1 with its value changing from Q(s, a) to Q′(s, a), and that there exists ϵ2(0,ϵ12) such that ∀sS and ∀t′ < t, vt(s)vM(s)2ϵ2. If

m1ln8|SA|(1+κ)δ2(ϵ12ϵ2)2(1γ)2Oln|S|2|A|2δϵ12(1γ)2(4)

for κ = |SA|(1 + 1/(1 − γ)ϵ1), then Q(s,a)QM(s,a) with probability at least 1δ8.

Proof. In Supplementary Appendix S4.The following two lemmas are borrowed from (Strehl et al., 2009) with very minor modifications, and inform on how to choose parameter m2, and the number of iterations for the value iteration part of the DDQ algorithm in order to obtain a desired accuracy.

Lemma 5. (cf. (Strehl et al., 2009, Proposition 4)) Suppose the value-iteration algorithm runs on MDP M for ln(1/ϵ2(1γ))1γ iterations, and each state-action value estimate Q(s, a) is initialized to some value between 0 and vmax for all states and actions. Let Q′(s, a) be the state-action value estimate the algorithm yields. Then maxs,a|Q(s,a)QM(s,a)|ϵ2.

Lemma 6. Consider an MDP M with reward function R and transition probabilities T. Suppose another MDP M̂ has the same state and action set as M, but maintains a maximum likelihood (ml) estimate of R and T, with n(s, a) ≥ m2, in the form of R̂ and T̂ respectively. With C a constant and for all state-action pairs, choosing

m2C|S|+ln(8|SA|/δ)ϵ22(1γ)4O|S|+ln(|SA|/δ)ϵ22(1γ)4

guarantees

|R(s,a)R̂(s,a)|Cϵ2(1γ)2T(s,a,)T̂(s,a,)1Cϵ2(1γ)2

with probability at least 1δ8. Moreover, for any policy π and for all state-action pairs,

|QMπ(s,a)QM̂π(s,a)|ϵ2|vMπ(s)vM̂π(s)|ϵ2

with probability at least 1δ8.

Proof. Combine (Strehl et al., 2009, Lemmas 12–15).

Lemma 7. Let t1 < t2 be two timesteps during the execution of the DDQ algorithm. If

Qt1(s,a)QMKt12(s,a)2ϵ2(s,a)S×A

then with probability at least 1δ8

QMKt12(s,a)QMKt22(s,a)(s,a)S×A

Proof. See Supplementary Appendix S5.Lemma 5 and Lemma 6 together have as a consequence the following Lemma, which contributes to establishing the accuracy condition of Theorem 1 for the DDQ algorithm.

Lemma 8. During the execution of DDQ, for all t and (s, a) ∈ S × A, we have:

QMKt2(s,a)2ϵ2Qt(s,a)QMKt2(s,a)+2ϵ2(5)

with probability at least 13δ8.

Proof. See Supplementary Appendix S6.Lemma 1 has already offered a bound on the number of updates in DDQ; however, for the complexity condition of Theorem 1 to be satisfied, one needs to show that during the execution of Algorithm 1 the number of escape events is also bounded. The following Lemma is the first step: it states that by picking m1 as in (4), and under specific conditions, an escape event necessarily results in a successful type-1 update. With the number of updates bounded, Lemma 9 can be utilized to derive a bound on the number of escape events.

Lemma 9. With the choice of m1 as in (4), and assuming the DDQ algorithm at timestep t with (s, a)∉Kt, l(s, a) = 0 and learn(s,a)=true, we know that an attempted type-1 update of Q(s, a) will necessarily occur within m1 occurrences of (s, a) after t, say at timestep tm1. If (s, a) has been visited fewer than m2 till tm1, then the attempted type-1 update at tm1 will be successful with probability at least 1δ8.

Proof. See Supplementary Appendix S7.

Lemma 10. Let t be the timestep when (s, a) has been visited for m1 times after the conditions of Lemma 9 were satisfied. If the update at timestep t is unsuccessful and at timestep t + 1 it is learn(s,a)=false, then (s, a) ∈ Kt+1.

Proof. See Supplementary Appendix S8.A bound on the number the escape events of DDQ algorithm can be derived in a straightforward way. Note that a state-action pair that is visited m2 times becomes a permanent member of set Kt. Therefore, the number of escape events is bounded by |SA|m2. On the other hand, Lemma 9 and the learn flag mechanism (i.e. Lemma 10) suggest another upper bound on escape events. The following Lemma simply states an upper bound for escape events in DDQ as the minimum among the two bounds.

Lemma 11. During the execution of DDQ, with the assumption that Lemma 9 holds, the total number of timesteps with (st, at)∉Kt (i.e. escape events) is at most min{2m1κ,|SA|m2}.

Proof. See Supplementary Appendix S9.Next comes the main result of this paper. The statement that follows establishes the PAC properties of the DDQ algorithm and provides a bound on its sample complexity.

Theorem 2. Consider an MDP M = {S, A, T, R, γ}, and let ϵ(0,11γ), and δ ∈ (0, 1). There exist m1=Oln(|S|2|A|2/δ)/ϵ12(1γ)2 and m2=O|S|+ln(|SA|/δ)/ϵ22(1γ)4 with 1ϵ1=3(1γ)ϵ=O1/ϵ(1γ) and ϵ2=ϵ13, such that if DDQ algorithm is executed, M follows a 4ϵ-optimal policy with probability at least 1 − 2δ on all but

OminO(|S|2|A|/ϵ3(1γ)8),O(|SA|/ϵ4(1γ)8)

timesteps (logarithmic factors ignored).

Proof. We intend to apply Theorem 1. To satisfy the optimism condition, we start by proving that Qt(s,a)QM(s,a)2ϵ2 by strong induction for all state-action pairs:1) At t = 1, the value of all state-action pairs are set to the maximum possible value in MDP M. This implies that Q1(s,a)QM(s,a)QM(s,a)2ϵ2, therefore vt(s)vM(s)2ϵ2. 2) Assume that Qt(s,a)QM(s,a)2ϵ2 holds for all timesteps before or equal to t = n − 1. 3) At timestep t = n, all (s,a)Kn2 can only be updated by a type-1 update before or at t = n. For these state-action pairs, Lemma 4 implies that it will be Qn(s,a)QM(s,a) with probability 1δ8.For all (s,a)Kn2, on the other hand, by Lemma 8 and with probability 13δ8:

Qn(s,a)QMKn2(s,a)2ϵ2QM(s,a)2ϵ2

Note that QMKn2(s,a)QM(s,a) since MKn2 is similar to M exept for (s,a)Kn2 which their values are set to be more than or equal to QM(s,a). Therefore, Qt(s,a)QM(s,a)2ϵ2 holds for all timesteps t and all state-action pairs, which directly implies vt(s)vM(s)2ϵ2vM(s)ϵ.To establish the accuracy condition, first write

Qt(s,a)=R(s,a)+γsT(s,a,s)maxaQt(s,a)+β(s,a)(6)

If (s, a) ∈ Kt, there can be two cases: either (s,a)Kt1 or (s,a)Kt2. If (s,a)Kt1, then by Definition 4 β(s, a) ≤ 3ϵ1. If (s,a)Kt2, then Lemma 8 (right-hand side inequality) implies that with probability at least 13δ8

2ϵ2Qt(s,a)QMKt2(s,a)(7)

Meanwhile,

QMKt2(s,a)=R(s,a)+γsT(s,a,s)maxaQMKt2(s,a)(8)

and substituting from (8) and (6) into (7) yields

γsT(s,a,s)maxaQt(s,a)maxaQMKt2(s,a)+β(s,a)2ϵ2(9)

Let a1argmaxaQMKt2(s,a) and bound the difference

maxaQt(s,a)maxaQMKt2(s,a)=maxaQt(s,a)QMKt2(s,a1)Qt(s,a1)QMKt2(s,a1)

Apply Lemma 8 (left-hand side inequality) to the latter expression to get

maxaQt(s,a)maxaQMKt2(s,a)2ϵ2

which implies for (9) that

2ϵ2β(s,a)2γϵ2β(s,a)2(1+γ)ϵ23ϵ2

Thus in any case when (s, a) ∈ Kt, β(s, a) ≤ 3ϵ1 with probability at least 13δ8. In light of this, considering a policy dictating actions a = πt(s) and mirroring (6)(8) we write for the values of states in which s,πt(s)Kt

vMKtπt(s)=Rs,πt(s)+γsTs,πt(s),svMKtπt(s)vt(s)=Rs,πt(s)+γsTs,πt(s),svt(s)+β(s,a)

while for those in which s,πt(s)Kt, we already know that

vMKtπt(s)=Qts,πt(s)vt(s)=Qts,πt(s)

So now if one denotes

αmaxsvt(s)vMKtπt(s)=vt(s)vMKtπt(s)

then either α = 0 (when s,πt(s)Kt) or it affords an upper bound

γsT(s,πt(s),s)vt(s)vMKtπt(s)+βs,πt(s)γsT(s,πt(s),s)vt(s)vMKtπt(s)+3ϵ1γα+3ϵ1

from which it follows that αγα+3ϵ1α3ϵ1γ=ϵ.Finally, to analyze complexity invoke Lemma 1 and Lemma 11 to see that the learning complexity ζ(ϵ, δ) is bounded by κ + min (2m1κ, |SA|m2) with probability 1δ8.In conclusion, the conditions of Theorem 2 are satisfied with probability 1 − δ and therefore the DDQ algorithm is PAC. Substituting ζ(ϵ, δ) into (3) completes the proof.

5 Numerical Results

This section opens with a comparison of the DDQ algorithm to its parent technologies. It proceeds with additional comparisons to the state-of-the-art in both model-based (Szita and Szepesvá ri, 2010) as well as model-free (Dong et al., 2019) RL algorithms. For this comparison, the algorithms with the currently best sample complexity are implemented on a type of MDP which has been proposed and used in literature as a model which is objectively difficult to learn (Strehl et al., 2009). Experimental implementation and performance evaluation for DDQ deployed in the context of the motivating pediatric rehabilitation application is also presented, illustrating the possible advantages of DDQ over direct human control in real-world applications.

5.1 Comparison of DDQ With Its Parent Methodologies

The first round of comparisons start with R-max, Delayed Q-learning, and DDQ being implemented on a small-scale grid-world example (Figure 1). This example test case has nine states, with the initial state being the one labeled 1, and the terminal (goal) state labeled 9. Each state is assigned a reward of 0 except for the terminal state which has 1. For this example, γ: = 0.8. In all states but the terminal one, the system has four primitive actions available: down (d), left (l), up (u), and right (r). The grid-world of Figure 1 includes cells with two types of boundaries: the boundaries marked with a single-line afford transition probabilities of 0.9 through them; the boundaries marked with a double line afford transitions through them at probability 0.1. The optimal policy for this grid-world example is shown in Figure 2.

FIGURE 1
www.frontiersin.org

FIGURE 1. The grid-world example.

FIGURE 2
www.frontiersin.org

FIGURE 2. The actual optimal policy in the grid-world example.

Initializing the three PAC algorithms with parameters m1 = 65, m2 = 175 and ɛ = 0.06, yields the performance metrics shown in Table 1, which are measured in terms of the number of samples needed to reach at 4ɛ optimality, averaged over 10 algorithm runs. Parameters m1 and m2 are intentionally chosen to enable a fair comparison, in the sense that the sample complexity of the model-free Delayed Q-learning, and the model-based R-max algorithms are almost identical. In this case, and with these same tuning parameters, DDQ yields a modest but notable sample complexity improvement.

TABLE 1
www.frontiersin.org

TABLE 1. Average # of samples for reaching 4ɛ optimality.

5.2 Comparison of DDQ to the Best Known PAC RL Algorithms

The lowest known bound on the sample complexity of a model-based RL algorithm on a infinite-horizon MDP is |SA|/ϵ2 (1 − γ)6 (by the Mormax algorithm (Szita and Szepesvári, 2010)). For the model-free case (again on a infinite-horizon MDP), the lowest bound on the sample complexity is |SA|/ϵ2 (1 − γ)7, achieved by UCB Q-learning (Dong et al., 2019) (the extended version of (Jin et al., 2018) which is for finite-horizon MDP).

To perform a fair and meaningful comparison of these algorithms to DDQ, consider a family of “difficult-to-learn” MDP as Figure 3. The MDP has N + 2 states as S = {1, 2, …, N, +, − }, and A different actions. Transitions from each state i ∈ {1, …, N} are the same, so only transitions from state 1 are shown. One of the actions (marked by solid line) deterministically transports the agent to state + with reward 0.5 + ϵ′ (with ϵ′ > 0). Let a be any of the other A− 1 actions (represented by dashed lines). From any state i ∈ {1, …, N}, taking action a will trigger a transition to state + with reward 1 and probability pia, or to state − with reward 0 and probability 1 − pia, where pia ∈ {0.5, 0.5 + 2ϵ′} are numbers very close to 0.5 + ϵ′. For each state i ∈ {1, …, N}, there is at most one a such that pia = 0.5 + 2ϵ′. Transitions from states + and − are identical; they simply reset the agent to one of the states {1, …, N} uniformly at random.

FIGURE 3
www.frontiersin.org

FIGURE 3. A family of difficult-to-learn mdps (Strehl et al., 2009).

For an MDP such as the one shown in Figure 3, the optimal action in any state i ∈ {1, …, N} is independent of the other states; specifically, it is the action marked by the solid arrow if pia = 0.5 for all dashed actions a, or the action marked by the dashed arrow for which pia = 0.5 + 2ϵ′, otherwise. Intuitively, this MDP is hard to learn for exactly the same reason that a biased coin is hard to be recongized as such if its bias (say, the probability of landing on heads) is close to 0.5 (Strehl et al., 2009).

We thus try to learn such an MDP M with N = 2, A = 2, and ϵ′ = 0.04. The accuracy that the learned policy should satisfy is set to ϵ = 0.002 5, and the probability of failure is set to δ = 0.01. Results are averaged over 50 runs of each algorithm running on MDP M.

We empirically fine-tune the parameters of Mormax and UCB Q-learning algorithms to maximize their performance on learning the near optimal (4ϵ-optimal) policy of M in terms of the required samples. As expected, the required samples decrease (almost linearly) in m (Figure 4) until the necessary condition for the convergence of the algorithm is violated (at around m = 600). For that reason, we cap m at 600 which requires 7,770 samples on average for Mormax to learn the optimal policy. Yet another important performance metric to record for a model-based RL algorithm is the number of times it needs resolve the learned model through value-iteration, since the associated computational effort is highly dependent on this number. For Mormax, the average number of times it performs model resolution is 12.06.

FIGURE 4
www.frontiersin.org

FIGURE 4. The number of samples required by the Mormax algorithm.

The performance of the UCB Q-learning algorithm appears to be very sensitive to its c2 parameter. The value of 42 that has been suggested for c2 (Dong et al., 2019) proved very conservative, with the algorithm sometimes requiring millions of data for converging to the optimal policy on M. The reason is that values of c2 that high cause the effective updates to start when the learning rate has already become very small, thus slowing down the convergence speed. We therefore tune the UCB Q-learning algorithm to achieve maximum performance on M by setting its parameter c2 = 1/50 (see Figure 5); with this setting, the algorithm requires 8,097 samples to learn the optimal policy on average. Setting c2 < 1/50 may cause the algorithm to lie outside the upper confidence interval, and as a result, the algorithm either requires an actual higher number of samples or it fails to convege altogether to the optimal policy after 106 samples.

FIGURE 5
www.frontiersin.org

FIGURE 5. The required samples by UCB Q-learning algorithm.

We compare the best performance we could achieve with Mormax and UCB Q-learning with that of DDQ which we tune with m1 = 150 and m2 = 750. The average required samples required by DDQ for learning the 4ϵ-optimal policy on M is 5662, while the number of times that the R-max component of the algorithm resolves the model through value-iteration part is 3.76 on average.

Thus, although the provable worst-case bound on the sample complexity of DDQ algorithm appears higher than that of Mormax and UCB Q-learning (cf. (Jaksch et al., 2010) for a slightly worse bound), DDQ can outperform both algorithms in terms of the required data samples, especially in difficult learning tasks. What is more, the hybrid nature of DDQ algorithm enables significant savings in terms of computational effort—the latter captured by the number of times when the algorithm resorts to model resolution—compared to model-based algorithms like Mormax. Table 2 summarizes the results of this comparison.

TABLE 2
www.frontiersin.org

TABLE 2. The best possible performance on learning mdp M.

5.3 Experimental Results

Early development in humans is highly dependent to the ability of infants to explore their surrounding physical environment and use the exploration experiences to learn (Campos et al., 2000; Clearfield, 2004; Walle and Campos, 2014; Adolph, 2015). With this given, children with motor delay and disability (such as, for example those diagnosed with Down syndrome (Palisano et al., 2001; Cardoso et al., 2015)) have significantly fewer opportunities for self-initiated environment exploration, but also social interactions with their peers which are also expected to occur and develop within this environment. This is presumably why a portion of the research on pediatric rehabilitation has considered HRI as a way to partially compensate for the dearth of social interaction and a means for improvement of social skills in infants who face communication challenges (Feil-Seifer and Mataric, 2009; Scassellati et al., 2012; Sartorato et al., 2017). These studies suggest, for example, that children with autism may socially engage in play activities with interactive robots, and even sometimes prefer this type of interaction over that with adults or computer games (Kim et al., 2013). Within the pediatric rehabilitation paradigm, HRI scenarios are designed by considering infants’ abilities and interests based on their age and level of impairment (Prosser et al., 2012; Pereira et al., 2013; Adolph, 2015). While many interesting aspects of the HRI problem in the context of pediatric rehabilitation can be considered, one driving objective behind the work presented in this paper is to design automated decision-making algorithms for robots when they socially interact with children, in order to keep them interested and engaged in the type of activities and behavior that are considered beneficial for the purposes of rehabilitation.

As mentioned in Section 1, the motivating application behind the particular approach described in this paper is that of (early) pediatric motor rehabilitation that leverages social child-robot interaction within play-based activities. In principle, the objective of these targeted activities is to encourage and sustain goal-driven physical activity, i.e., mobility, on the part of the child, with the understanding that such mobility will help the infant explore not only her environment, but also the latent capabilities of her own body. In this area, robot automation can serve by reducing the stress, cognitive load, and dedicated time requirements of human caregivers by allowing the robots to become more independent children playmates. To gain autonomy, a purposeful robot playmate needs an automated decision-making algorithm that will allow it to learn what to do to sustain and extend playtime. This is particularly challenging for a whole range of reasons. First, this is not a “one-size-fits-all” solution—every human playmate is behaviorally different from another, necessitating an ability on the part of the robot to adapt and personalize its own behavior and response to the child it is interacting with. In addition, especially when it comes to algorithms learning from data and particularly because every human subject is fundamentally different in terms of social interaction preferences, the data pool will invariably be very small and sparse (Zehfroosh et al., 2017; Kokkoni et al., 2020). There will always be little prior information about the infant’s preferences, and the usually limited time of infant’s rehabilitation sessions hardly provides sufficient data for machine learning algorithms. Methods that are able to better handle sparsity in training data are therefore expected to perform better than alternatives.

In terms of the mathematical model of HRI, partially observable Markov decision process (POMDP) is the most common Markovian model because some internal parameters of the human partners such as intent are not directly observable (Broz et al., 2013; Ognibene and Demiris, 2013; Mavridis, 2015). Dealing with POMDP is computationally demanding and it usually requires large amounts of data for learning (Bernstein et al., 2002). This is the reason that whenever a particular HRI application allows for some legitimate simplifying assumptions, researchers have tried to stick to less complex Markovian models such as a mixed observability Markov decision process (MOMDP) (Bandyopadhyay et al., 2013; Nikolaidis et al., 2014) or an MDP (Keizer et al., 2013; McGhan et al., 2015). For the motivating application of this paper (i.e. pediatric rehabilitation) an MDP appears to be a more appropriate choice since it possesses fewer parameters and hence presumably requires smaller bodies of data in order to train (Zehfroosh et al., 2017).

In terms of the learning algorithm itself, it needs to be particularly efficient in its data utilization, and preferably be able to guarantee some level of performance even when the training dataset is small. The presented hybrid RL algorithm DDQ seems a good fit for the application described above as its hybrid structure promotes data efficiency and its performance is also backed up with theoretical guarantee.

This section presents some outcomes related to the performance of DDQ in a pediatric rehabilitation session like the one described above. Figure 6 shows a robot-assisted motor rehabilitation environment for infants involving two robots (NAO and Dash) engaged in free-play activities with an infant.

FIGURE 6
www.frontiersin.org

FIGURE 6. Instance of play-based child-robot social interaction. Two robots are visible in the scene: a small humanoid nao, and a differential-drive small mobile robot toy Dash.

The proposed MDP model for the case of a simple chasing game is shown in Figure 7. In this MDP, the state set is S={NL,L,T/A,M}, where NL represents the state where the child is not looking at the robot, L is expressed with the state when the infant is looking at the robot but not chasing it, T/A denotes circumstances when the child is touching the robot or showing some form of excitement (e.g., clapping, laughing, squealing etc), and M stands for the situation when the child is chasing the robot. The action set for the robot is A={cd,s/tu,id}. Here, cd stands for the robot closing its distance to the infant, s/tu corresponds to the robot preserving its distance to the infant while, say, standing still or rotating around her, and id represents the case where the robot is increasing its distance to the child. Transitions in the graph of Figure 7 can be labeled by one of the aforementioned actions, and annotated with the transition probabilities associated with each action (Note that in practice these robot actions generally have nondeterministic outcomes.) In the described MDP model, transitions are expressing the infant’s reactions to the robot’s action. With respect to the overarching rehabilitation objectives for the social interaction between infant and robot, the favorable states to reach in this game are T/A and M. These states are assigned a high (er) reward of 0.5 and 1, respectively. The reward for all other states is set to 0.

FIGURE 7
www.frontiersin.org

FIGURE 7. MDP model for the game of chase between a mobile robot and an infant.

The chasing game is played with Dash as (a small) part of six 1-h infant-robot social interaction sessions with a 10 month old subject, and data in the form of video are collected and annotated. In the six sessions the robot was remotely controlled and its actions were chosen by a human operator who was observing the interaction. The DDQ algorithm was trained on the data from these six sessions and produced an optimal policy for the robot for its interaction with the child in this game. The computed optimal policy was subsequently used for two sessions of the chase game with the same subject. Note that whereas DDQ is greedy in choosing actions during the learning process, the data obtained from the interaction with the human operator did not necessarily follow that rule, which marks a minor departure from what would have been considered a nominal DDQ implementation. Table 3 shows the accumulated rewards for all eight sessions, normalized by the time of the interaction.

TABLE 3
www.frontiersin.org

TABLE 3. Accumulated rewards for the Dash robot. The “in” condition corresponds to the infant wearing the full-body-weight support mechanism (see Figure 6) and the “out” condition represents completely unassisted infant motion. The last two highlighted rows give outcomes on the reward obtained through the optimal policy learned by ddq. The 95% confidence interval for the accumulated rewards is [0.02893.4197] with a P-value of 0.047 7.

To put the figures of Table 3 in proper technical context, we define a metric I which is a random variable that indicates the improvement as a result of using DDQ optimal policy and is expressed as I=mDDQmhuman, where mDDQ denotes the mean of the normalized accumulated rewards when the learned policy by DDQ algorithm is used (as it was in last two rehabilitation sessions), and mhuman expresses the mean of the normalized accumulated rewards when the human operator decides the actions for the robot (which happened throughout the first six sessions). Here we are dealing with two small (accumulated reward) datasets that have very different standard deviations (one is more than twice of the other), and statistical comparisons necessitate the use of a t-test with releasing the constraint of equal standard deviation for the two group (Agresti and Finlay, 2009) in order to compute confidence interval for the random variable I. As it turns out, the 95% confidence interval is [0.0289, 3.4197] with a P-value of 0.0477. Since the confidence interval only includes positive numbers, and the P-value of the test is in an acceptable range (below 0.05), one can confidently attest that it is possible that a DDQ policy can outperform a human-driven social interaction strategy.

6 Conclusion

The design and implementation of an RL algorithm that captures favorable features of both model-based and model-free learning and most importantly preserves the PAC property can not only alleviate the cognitive load and time commitment of human caregivers when socially interacting in play-based activities with infants who have motor delays, but potentially also improve motor rehabilitation outcomes. One such algorithm which has been implemented and pilot-tested within an enriched robot-assisted infant motor rehabilitation environment is the DDQ. The DDQ algorithm leverages the idea of earlier Dyna-Q algorithms to combine two existing PAC algorithms, namely the model-based R-max and the model-free Delayed Q-learning, in a way that achieves the best (complexity results) of both. Theoretical analysis establishes that DDQ enjoys a sample complexity that is at worst as high as the smallest of its constituent technologies; yet, in practice, as the numerical example included suggests, DDQ can outperform them both. Numerical examples comparing DDQ to the state of the art in model-based and model free RL indicate advantages in practical implementations, and experimental implementation and testing of DDQ as it regulates a robot’s social interaction with an infant in a game of chase hints at possible advantages in rehabilitation outcomes compared to a reactive yet still goal-oriented human strategy.

Data Availability Statement

The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the corresponding author.

Author Contributions

All authors listed have made a substantial, direct, and intellectual contribution to the work and approved it for publication.

Funding

This work has been supported by NIH R01HD87133-01 and NSF 2014264 to BT.

Conflict of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s Note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary Material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/frobt.2022.797213/full#supplementary-material

References

Adolph, K. (2015). Motor Development. Handbook Child. Psychology Developmental Science 2, 114–157. doi:10.1002/9781118963418.childpsy204

CrossRef Full Text | Google Scholar

Agresti, A., and Finlay, B. (2009). Statistical Methods for the Social Sciences.

Google Scholar

Andrychowicz, M., Wolski, F., Ray, A., Schneider, J., Fong, R., Welinder, P., et al. (2017). “Hindsight Experience Replay,” in Advances in Neural Information Processing Systems (Long Beach, United States: Curran Associate Inc.), 5048–5058.

Google Scholar

Auer, P., and Ortner, R. (2005). “Online Regret Bounds for a New Reinforcement Learning Algorithm,” in 1st Austrian Cognitive Vision Workshop (Vienna, Austria: Österr. Computer-Ges.), 35–42.

Google Scholar

Azar, M. G., Osband, I., and Munos, R. (2017). “Minimax Regret Bounds for Reinforcement Learning,” in International Conference on Machine Learning (Sydney, Australia: PMLR), 263–272.

Google Scholar

Bandyopadhyay, T., Won, K. S., Frazzoli, E., Hsu, D., Lee, W. S., and Rus, D. (2013). “Intention-Aware Motion Planning,” in Algorithmic Foundations of Robotics X (Berlin: Springer-Verlag), 86, 475–491. doi:10.1007/978-3-642-36279-8_29

CrossRef Full Text | Google Scholar

Bellemare, M., Srinivasan, S., Ostrovski, G., Schaul, T., Saxton, D., and Munos, R. (2016). Unifying Count-Based Exploration and Intrinsic Motivation. Adv. Neural Inf. Process. Syst. 29, 1471–1479.

Google Scholar

Bernstein, D. S., Givan, R., Immerman, N., and Zilberstein, S. (2002). The Complexity of Decentralized Control of Markov Decision Processes. Mathematics OR 27, 819–840. doi:10.1287/moor.27.4.819.297

CrossRef Full Text | Google Scholar

Brafman, R. I., and Tennenholtz, M. (2002). R-max a General Polynomial Time Algorithm for Near-Optimal Reinforcement Learning. J. Machine Learn. Res. 3, 213–231.

Google Scholar

Broz, F., Nourbakhsh, I., and Simmons, R. (2013). Planning for Human-Robot Interaction in Socially Situated Tasks. Int. J. Soc. Robotics 5, 193–214. doi:10.1007/s12369-013-0185-z

CrossRef Full Text | Google Scholar

Campos, J. J., Anderson, D. I., Barbu-Roth, M. A., Hubbard, E. M., Hertenstein, M. J., and Witherington, D. (2000). Travel Broadens the Mind. Infancy 1, 149–219. doi:10.1207/s15327078in0102_1

PubMed Abstract | CrossRef Full Text | Google Scholar

Cardoso, A. C. D. N., de Campos, A. C., Dos Santos, M. M., Santos, D. C. C., and Rocha, N. A. C. F. (2015). Motor Performance of Children with Down Syndrome and Typical Development at 2 to 4 and 26 Months. Pediatr. Phys. Ther. 27, 135–141. doi:10.1097/pep.0000000000000120

PubMed Abstract | CrossRef Full Text | Google Scholar

Chebotar, Y., Hausman, K., Zhang, M., Sukhatme, G., Schaal, S., and Levine, S. (2017). “Combining Model-Based and Model-free Updates for Trajectory-Centric Reinforcement Learning,” in Proceedings of the 34th International Conference on Machine Learning-Volume 70 (JMLR. org), 703–711.

Google Scholar

Clearfield, M. W. (2004). The Role of Crawling and Walking Experience in Infant Spatial Memory. J. Exp. Child Psychol. 89, 214–241. doi:10.1016/j.jecp.2004.07.003

CrossRef Full Text | Google Scholar

Dong, K., Wang, Y., Chen, X., and Wang, L. (2019). Q-learning with UCB Exploration Is Sample Efficient for Infinite-Horizon MDP. arXiv. [Preprint].

Google Scholar

Feil-Seifer, D., and Matarić, M. J. (2009). Toward Socially Assistive Robotics for Augmenting Interventions for Children with Autism Spectrum Disorders. Exp. robotics 54, 201–210. doi:10.1007/978-3-642-00196-3_24

CrossRef Full Text | Google Scholar

Gheshlaghi Azar, M., Munos, R., and Kappen, H. J. (2013). Minimax Pac Bounds on the Sample Complexity of Reinforcement Learning with a Generative Model. Mach Learn. 91, 325–349. doi:10.1007/s10994-013-5368-1

CrossRef Full Text | Google Scholar

Heess, N., Wayne, G., Silver, D., Lillicrap, T., Erez, T., and Tassa, Y. (2015). “Learning Continuous Control Policies by Stochastic Value Gradients,” in Advances in Neural Information Processing Systems (Montreal, Canada: Curran Associate Inc.), 2944–2952.

Google Scholar

Hollenstein, J. J., Renaudo, E., and Piater, J. (2019). Improving Exploration of Deep Reinforcement Learning Using Planning for Policy Search. arXiv. [Preprint].

Google Scholar

Jaksch, T., Ortner, R., and Auer, P. (2010). Near-optimal Regret Bounds for Reinforcement Learning. J. Machine Learn. Res. 11, 1563–1600.

Google Scholar

Jin, C., Allen-Zhu, Z., Bubeck, S., and Jordan, M. I. (2018). “Is Q-Learning Provably Efficient,” in Advances in Neural Information Processing Systems (Montreal, Canada: Curran Associate Inc.), 4863–4873.

Google Scholar

Kakade, S. M. (2003). On the Sample Complexity of Reinforcement Learning (England: University of London London). Ph.D. thesis.

Kearns, M., and Singh, S. (2002). Near-optimal Reinforcement Learning in Polynomial Time. Machine Learn. 49, 209–232. doi:10.1023/a:1017984413808

CrossRef Full Text | Google Scholar

Keizer, S., Foster, M. E., Lemon, O., Gaschler, A., and Giuliani, M. (2013). “Training and Evaluation of an MDP Model for Social Multi-User Human-Robot Interaction,” in Proceedings of the SIGDIAL 2013 Conference, Metz, France, August 2013, 223–232.

Google Scholar

Kim, E. S., Berkovits, L. D., Bernier, E. P., Leyzberg, D., Shic, F., Paul, R., et al. (2013). Social Robots as Embedded Reinforcers of Social Behavior in Children with Autism. J. Autism Dev. Disord. 43, 1038–1049. doi:10.1007/s10803-012-1645-2

CrossRef Full Text | Google Scholar

Kokkoni, E., Mavroudi, E., Zehfroosh, A., Galloway, J. C., Vidal, R., Heinz, J., et al. (2020). Gearing Smart Environments for Pediatric Motor Rehabilitation. J. Neuroeng Rehabil. 17, 16–15. doi:10.1186/s12984-020-0647-0

CrossRef Full Text | Google Scholar

Lattimore, T., and Hutter, M. (2014). Near-optimal Pac Bounds for Discounted Mdps. Theor. Comput. Sci. 558, 125–143. doi:10.1016/j.tcs.2014.09.029

CrossRef Full Text | Google Scholar

Lee, S. W., Shimojo, S., and O’Doherty, J. P. (2014). Neural Computations Underlying Arbitration between Model-Based and Model-free Learning. Neuron 81, 687–699. doi:10.1016/j.neuron.2013.11.028

PubMed Abstract | CrossRef Full Text | Google Scholar

Lim, S. H., Xu, H., and Mannor, S. (2013). Reinforcement Learning in Robust Markov Decision Processes. Adv. Neural Inf. Process. Syst. 26, 701–709.

Google Scholar

Mavridis, N. (2015). A Review of Verbal and Non-verbal Human-Robot Interactive Communication. Robotics Autonomous Syst. 63, 22–35. doi:10.1016/j.robot.2014.09.031

CrossRef Full Text | Google Scholar

McGhan, C. L. R., Nasir, A., and Atkins, E. M. (2015). Human Intent Prediction Using Markov Decision Processes. J. Aerospace Inf. Syst. 12, 393–397. doi:10.2514/1.i010090

CrossRef Full Text | Google Scholar

Nagabandi, A., Kahn, G., Fearing, R. S., and Levine, S. (2018). “Neural Network Dynamics for Model-Based Deep Reinforcement Learning with Model-free fine-tuning,” in 2018 IEEE International Conference on Robotics and Automation (Brisbane, Australia: IEEE), 7559–7566. doi:10.1109/icra.2018.8463189

CrossRef Full Text | Google Scholar

Nikolaidis, S., Gu, K., Ramakrishnan, R., and Shah, J. (2014). Efficient Model Learning for Human-Robot Collaborative Tasks. arXiv, 1–9.

Google Scholar

Ognibene, D., and Demiris, Y. (2013). “Towards Active Event Recognition,” in Twenty-Third International Joint Conference on Artificial Intelligence. Beijing, China: AAAI Press.

Google Scholar

Ortner, P., and Auer, R. (2007). Logarithmic Online Regret Bounds for Undiscounted Reinforcement Learning. Adv. Neural Inf. Process. Syst. 19, 49.

Google Scholar

Ortner, R. (2020). Regret Bounds for Reinforcement Learning via Markov Chain Concentration. jair 67, 115–128. doi:10.1613/jair.1.11316

CrossRef Full Text | Google Scholar

Palisano, R. J., Walter, S. D., Russell, D. J., Rosenbaum, P. L., Gémus, M., Galuppi, B. E., et al. (2001). Gross Motor Function of Children with Down Syndrome: Creation of Motor Growth Curves. Arch. Phys. Med. Rehabil. 82, 494–500. doi:10.1053/apmr.2001.21956

PubMed Abstract | CrossRef Full Text | Google Scholar

Parr, R., Li, L., Taylor, G., Painter-Wakefield, C., and Littman, M. L. (2008). “An Analysis of Linear Models, Linear Value-Function Approximation, and Feature Selection for Reinforcement Learning,” in Proceedings of the 25th International Conference on Machine Learning (Helsinki, Finland: ACM), 752–759. doi:10.1145/1390156.1390251

CrossRef Full Text | Google Scholar

Pereira, K., Basso, R. P., Lindquist, A. R. R., Silva, L. G. P. d., and Tudella, E. (2013). Infants with Down Syndrome: Percentage and Age for Acquisition of Gross Motor Skills. Res. Develop. Disabilities 34, 894–901. doi:10.1016/j.ridd.2012.11.021

PubMed Abstract | CrossRef Full Text | Google Scholar

Pong, V., Gu, S., Dalal, M., and Levine, S. (2018). Temporal Difference Models: Model-free Deep RL for Model-Based Control. arXiv. [Preprint].

Google Scholar

Prosser, L. A., Ohlrich, L. B., Curatalo, L. A., Alter, K. E., and Damiano, D. L. (2012). Feasibility and Preliminary Effectiveness of a Novel Mobility Training Intervention in Infants and Toddlers with Cerebral Palsy. Develop. Neurorehabil. 15, 259–266. doi:10.3109/17518423.2012.687782

CrossRef Full Text | Google Scholar

Sartorato, F., Przybylowski, L., and Sarko, D. K. (2017). Improving Therapeutic Outcomes in Autism Spectrum Disorders: Enhancing Social Communication and Sensory Processing through the Use of Interactive Robots. J. Psychiatr. Res. 90, 1–11. doi:10.1016/j.jpsychires.2017.02.004

CrossRef Full Text | Google Scholar

Scassellati, B., Admoni, H., and Matarić, M. (2012). Robots for Use in Autism Research. Annu. Rev. Biomed. Eng. 14, 275–294. doi:10.1146/annurev-bioeng-071811-150036

PubMed Abstract | CrossRef Full Text | Google Scholar

Schaul, T., Horgan, D., Gregor, K., and Silver, D. (2015). “Universal Value Function Approximators,” in International Conference on Machine Learning (Lille, France: PMLR), 1312–1320.

Google Scholar

Strehl, A. L., Li, L., and Littman, M. L. (2012). Incremental Model-Based Learners with Formal Learning-Time Guarantees. arXiv. [Preprint].

Google Scholar

Strehl, A. L., Li, L., and Littman, M. L. (2009). Reinforcement Learning in Finite MDPs: PAC Analysis. J. Machine Learn. Res. 10, 2413–2444.

Google Scholar

Strehl, A. L., Li, L., Wiewiora, E., Langford, J., and Littman, M. L. (2006). “PAC Model-free Reinforcement Learning,” in Proceedings of the 23rd International Conference on Machine Learning (Pittsburgh, United States: ACM), 881–888. doi:10.1145/1143844.1143955

CrossRef Full Text | Google Scholar

Strehl, A. L., and Littman, M. L. (2008). An Analysis of Model-Based Interval Estimation for Markov Decision Processes. J. Comput. Syst. Sci. 74, 1309–1331. doi:10.1016/j.jcss.2007.08.009

CrossRef Full Text | Google Scholar

Sutton, R. S. (1991). Dyna, an Integrated Architecture for Learning, Planning, and Reacting. SIGART Bull. 2, 160–163. doi:10.1145/122344.122377

CrossRef Full Text | Google Scholar

Sutton, R. S., Modayil, J., Delp, M., Degris, T., Pilarski, P. M., White, A., et al. (2011). “Horde: A Scalable Real-Time Architecture for Learning Knowledge from Unsupervised Sensorimotor Interaction,” in The 10th International Conference on Autonomous Agents and Multiagent Systems-Volume 2 (Taipei, Taiwan: International Foundation for Autonomous Agents and Multiagent Systems), 761–768.

Google Scholar

Szita, I., and Szepesvári, C. (2010). “Model-based Reinforcement Learning with Nearly Tight Exploration Complexity Bounds,” in International Conference on Machine Learning. Haifa, Israel: Omnipress.

Google Scholar

Tutsoy, O., Barkana, D. E., and Balikci, K. (2021). “A Novel Exploration-Exploitation-Based Adaptive Law for Intelligent Model-free Control Approaches,” in IEEE Transactions on Cybernetics. doi:10.1109/tcyb.2021.3091680

CrossRef Full Text | Google Scholar

Walle, E. A., and Campos, J. J. (2014). Infant Language Development Is Related to the Acquisition of Walking. Develop. Psychol. 50, 336–348. doi:10.1037/a0033238

CrossRef Full Text | Google Scholar

Zehfroosh, A., Kokkoni, E., Tanner, H. G., and Heinz, J. (2017). “Learning Models of Human-Robot Interaction from Small Data,” in 2017 25th IEEE Mediterranean Conference on Control and Automation (Valletta, Malta: IEEE), 223–228. doi:10.1109/MED.2017.7984122

PubMed Abstract | CrossRef Full Text | Google Scholar

Zehfroosh, A., Tanner, H. G., and Heinz, J. (2018). “Learning Option Mdps from Small Data,” in 2018 IEEE American Control Conference (Milwaukee, United States: IEEE), 252–257. doi:10.23919/acc.2018.8431418

CrossRef Full Text | Google Scholar

Keywords: reinforcement learning, probably approximately correct, markov decision process, human-robot interaction, sample complexity

Citation: Zehfroosh A and Tanner  HG (2022) A Hybrid PAC Reinforcement Learning Algorithm for Human-Robot Interaction. Front. Robot. AI 9:797213. doi: 10.3389/frobt.2022.797213

Received: 18 October 2021; Accepted: 18 January 2022;
Published: 09 March 2022.

Edited by:

Adham Atyabi, University of Colorado Colorado Springs, United States

Reviewed by:

Dimitri Ognibene, University of Milano-Bicocca, Italy
Önder Tutsoy, Adana Science and Technology University, Turkey

Copyright © 2022 Zehfroosh and Tanner. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Ashkan Zehfroosh, ashkanz@udel.edu

Download