Cyclic policy distillation: Sample-efficient sim-to-real reinforcement learning with domain randomization
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.1016/j.robot.2023.104425
- 저널
- Robotics and Autonomous Systems
- 발행년도
- 2023
- 발행기관
- Elsevier BV
- 피인용수
- 8
- 라이선스
- publisher-specific-oa
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1016/j.robot.2023.104425
- 토픽
- Fuel Cells and Related Materials
- OpenAlex ID
- W4364374595
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
초록이 없습니다.
본문 34,399자
본문 펼치기
섹션 본문 98문단 · 32,292자
(제목 없음)
1Deep reinforcement learning with domain randomization learns a control policy in various simulations with randomized physical and sensor model parameters to become transferable to the real world in a zero-shot setting. However, a huge number of samples are often required to learn an effective policy when the range of randomized parameters is extensive due to the instability of policy updates.To alleviate this problem, we propose a sample-efficient method named cyclic policy distillation (CPD). CPD divides the range of randomized parameters into several small sub-domains and assigns a local policy to each one. Then local policies are learned while cyclically transitioning to sub-domains. CPD accelerates learning through knowledge transfer based on expected performance improvements. Finally, all of the learned local policies are distilled into a global policy for sim-to-real transfers. CPD's effectiveness and sample efficiency are demonstrated through simulations with four tasks (Pendulum from OpenAIGym and Pusher, Swimmer, and HalfCheetah from Mujoco), and a real-robot, balldispersal task. We published code and videos from our experiments at https: //github.com/yuki-kadokawa/cyclic-policy-distillation.
Introduction
2Deep reinforcement learning (DRL) is one of the most promising methods for robots to automatically acquire autonomous control policies through interaction with a real-world environment [1,2,3]. Recent studies utilize DRL to learn control policies in simulations and thus make these policies transferable to the real world, an approach called sim-to-real.
3In sim-to-real by DRL, zero-shot learning [4,5,6], in which policies are learned in a simulation environment and utilized in real-world environments, has been the focus of attention. However, in zero-shot learning, policies must be learned with domain randomization (DR) in which the simulation parameters are widely randomized to reduce the reality gap between the real-world and simulation environments. As required tasks have become increasingly complex in recent years, the randomization range and the number of parameters to be addressed by DR have also increased. The learning policies in such large domains have been difficult due to gradient instability and the increased number of learning samples that are required [7]. Therefore, few-shot learning [8,9,10], such as differentiable simulators and real-to-sim-to-real, have been proposed where the simulation parameters are adjusted to reduce the use of simulators by utilizing a certain amount of real-world samples. These approaches can learn policies with fewer samples than DRL with DR, assuming that the learning setup can be constructed in a real-world environment. On the other hand, since these approaches require interaction with real-world environments, they eventually become human-in-the-loop settings, or applying them to such tasks as sand and chemical powder tasks will be complicated because real environments are difficult to set up or initialize.
4The above background suggests the significance of re-focusing and further developing DRL with DR to improve its sample efficiency and learning stability and achieving zero-shot learning that is applicable to more complex tasks.
5Establishing such development is challenging in real environments.
6This study addresses this zero-shot approach. In particular, such use of RL with DR is classified into visual randomization [4,11] and dynamics randomization. We tackled the latter [7,12].
7Sample efficiency, evaluated by the number of samples required to reach a certain performance threshold, is one of the biggest DRL subjects. In the category of DRL with DR, where full-domain denotes a complete range of randomized parameters and sub-domain denotes part of a full-domain, the existing methods for improving sample efficiency fall into three categories: limiting the range of randomized parameters [13,14,15]; making a curriculum that extends the domain range to a full-range [16]; dividing the full-domain into several subdomains and learning local policies restricted to each sub-domain [12,7,17].
8These categories suffer from such issues as a lack of real-world samples for a posterior that adjusts the ranges, makes a curriculum based on domain difficulty, or creates inefficiency resulting from independence among sub-domains.
9Consequently, if there were a mechanism that shared samples or learned values and policies among sub-domains, it might be possible to improve sample efficiency. Nevertheless, naively sharing may even degrade the performance due to domain gaps among sub-domains. Therefore, we are motivated to develop a new scheme that appropriately shares learned values and policies among sub-domains to improve both sample efficiency and learning performance. If sub-domains share similar parameters, the resulting Markov decision processes (MDPs) might also resemble. Under this assumption, the values and policies in similar sub-domains probably share similar characteristics. Therefore, we hypothesize that learning can be accelerated by transferring among neighboring partitioned sub-domain's values and policies. This assumption will be validated empirically through our experiments. This paper proposes cyclic policy distillation (CPD) as a sample-efficient RL method for sim-to-real in a zero-shot setting. CPD divides the range of randomized parameters into several small sub-domains and assigns a local policy to each one. Then the learning of local policies is performed while cyclically transitioning the target sub-domain to neighboring sub-domains, and the learned values and policies of the neighboring sub-domains are exploited with a mono- : Experimental scenes of robotic ball-dispersal task with domain randomization: Upper three rows are simulation environments; bottom row is real-world environment. Simulation parameters are randomized, including ball-size (radius) and ball-position (center position of all balls). Sub-domains are made from a simulation environment formed by dividing the range of randomized parameters. Learned policies in all sub-domains are distilled into a global policy transferred to a real domain for sim-to-real transfer.
Agent
10Sub-agent 1
RL
11Merge DRL with DR Cyclic Policy Distillation π Q Figure 2: Overview of cyclic policy distillation: Unlike typical methods that conduct DR in simulations with a full range of randomized parameters, CPD divides the range of randomizing parameters into several small sub-domains and assigns local policy π (n) and local value Q (n) to each sub-domain n. Next the learning of local policies is performed while cyclically transitioning the target sub-domain to neighboring sub-domains and exploiting the learned values and policies of neighboring sub-domains with a monotonic policy-improvement scheme. Finally, all learned local policies are distilled into one global policy π (g) for sim-to-real transfer.
12tonic policy-improvement scheme. Finally, all of the learned local policies are distilled into a global policy for a sim-to-real transfer. To validate CPD's effectiveness and sample efficiency, we evaluated it on simulation problems, i.e., with four tasks (Pendulum from OpenAIGym [18] and Pusher, Swimmer, and HalfCheetah from Mujoco [19]), and a real-robot ball-dispersal task (Fig. 1).
13Ball-dispersal tasks are designed as a simplified environment for operations that handle multiple particulate objects, such as powder manipulation [20,21,22] and soil excavation [23,24,25]. Simplification is achieved using increased ballsize with a small number of balls; however, difficulties remain, including applying DRL due to the hardness of the automatic initialization and the enormous patterns of observation samples with their irregular shapes and deformations.
14Therefore, it is a suitable task to be tackled by a sim-to-real approach.
15The rest of this paper is organized as follows. Section 2 describes related works. In Section 3, we offer preliminary considerations before discussing our proposed CPD method, which Section 4 describes. Section 5 presents simulation experiments, and Section 6 presents real-robot experiments. In Section 7, we discuss the limitations of the CPD method. Finally, Section 8 concludes this paper.
Related Works
16Reinforcement learning (RL) in sim-to-real can be divided into two categories, depending on whether the real-world environment is utilized for learning policies: few-shot learning and zero-shot learning.
Few-shot sim-to-real
17In the few-shot settings of RL, recent studied have proposed these two approaches.
18Differentiable simulator (DS): In this method, the simulator behavior is directly updated by back propagation by real-world samples using differentiable simulators [8,26]. Since the methods reproduce the simulator's behavior using differentiable physical equations, non-differentiable physics has to be approximated with other models, such as NNs, or learned with robust policies.
System identification (SI):
19This approach performs test behaviors in a real-world environment using the policies obtained in simulations [15,9,10].
20The range of randomized parameters is shifted and limited by a probabilistic distribution to cover the plausible parameters based on the errors between stateaction sequences in simulations and in the real world. Since executing actions in the real-world is necessary, such a scope is beyond the scope of this paper, which aims for a zero-shot setup.
Zero-shot sim-to-real
21In zero-shot settings of RL with DR, some studies have attempted to stabilize the learning process. When DR frequently switches the randomized parameters, there is considerable variation in the samples, and the updating direction of the policies can also frequently change. Thus, the learning of the policies becomes unstable, resulting in low sample efficiency and poor performance [7]. Previous works have stabilized the updating policies by dividing the range of randomized parameters into smaller ranges to avoid frequent changes in the policies. The following four major approaches have been pursued for this purpose.
DS SI DiDoR P2P DnC ADR CPD
22Using real samples Distilled domain randomization (DiDoR) [12]: Active domain randomization (ADR) [16]: In this approach, the domain range's breadth can be classified as a curriculum, and the domain range is expanded adaptively as the performance of the policy improves. A reward threshold must be defined in advance to evaluate whether the policy has achieved satisfactory performance for the domain's current size. Once the reward threshold is reached, the domain ranges are expanded, eventually extending the scope to the full range of domains. In general, curriculum design requires deep knowledge of the task, which is expensive to implement [27,28].
23A common feature of the above previous methods (except CL) is that the sub-domains to be learned are selected randomly. Therefore, the gap of the sub-domains in distillation can be large, making the learning results unstable and failing to improve the sample efficiency. In contrast to these methods, our
24proposed method cyclically transitions to neighboring sub-domains with similar ranges of randomized parameters and exploits the neighboring sub-domains' learned values and policies with a monotonic policy-improvement scheme. Consequently, values and policies are shared within small-gap domains to ensure improved learning stability and sample efficiency. The characteristics of our proposed method and related works are summarized in Table 1.
25Since a feature between CPD and ADR on behalf of CL (the reward threshold in ADR) is changed by both the task and domain characteristics, designing it is difficult to uniquely determine the threshold. Thus the method cannot guarantee that its policies will learn in the full-domain. On the other hand, our
26proposed CPD requires some knowledge to determine the target of the domain segmentation, as we will discuss below, although it is guaranteed that the policy will learn the full-domain because sub-domains completely learn it.
Reinforcement Learning with Domain Randomization
27Reinforcement learning (RL) problems are typically formulated by Markov decision processes (MDP) expressed by components (S, A, µ, P, r, γ). S is the set of observations that can be obtained from the environment, and A is the set of selectable actions. µ is the initial state distribution. P a ss denotes the probability of transitioning to observation s ∈ S when action a ∈ A is chosen,
28given observation s ∈ S. The reward for making the transition is represented by r a ss , and γ ∈ [0, 1) is the discount factor. Policy π(a|s) is the probability of choosing action a given s. We define the stationary distribution induced by π
29For each observation s, evaluation criterion V π under policy π can be defined:
30where
31π(a t |s t )P at stst+1 r at stst+1 . The goal of RL is to find optimal policy π * that maximizes the discounted total reward starting from arbitrary initial observation s 0 drawn from µ: J π * µ = s0 d π * ,µ (s 0 )V * (s 0 ). It is a wellknown result that such an optimal policy satisfies the Bellman equation:
32where V * (s) is the optimal value function. To evaluate policies based not only on observation s but also action a, the optimal value function is defined:
33Given Q, we can extract its greedy policy by greedy operator G(Q π ) := argmax π Q π (s, a).
34The relationships of Eqs. (2) and (3) also hold for arbitrary stationary policy π by removing the max operator. We also define advantage function A π (s, a) = Q π (s, a) − V π (s) as the evaluation of how well an action performs compared to the average. The expected advantage can be defined as the expectation of A π (s, a) w.r.t. another policy π : A π π (s) = a π (a|s)A π (s, a). As for RL with DR, the transition probability depends on a domain-specific parameter. Then assume N randomly sampled domains, each of which has its own specific transition probability, as P a,(n) ss where n ∈ N . The goal of RL with DR is to find optimal policy π * that commonly maximizes the following equation for all N domains:
35where all the domains share the same reward function. Each domain possesses its own policy and value function.
Monotonic Policy Improvement in RL
36In the presence of various errors and noises, such as approximation error and observation noise, there is no guarantee that the updated RL policy can improve performance. Degraded performance threatens such physical systems as robots.
37Drawing inspiration from the classic but popular monotonic improvement (MI) literature [29,30,31], the problem of performance degradation can be solved if one can ensure that updated policy π k+1 attains non-negative im-
38Conservative policy iteration (CPI) [29] is one such method that guarantees lower-bounded improvement ∆ k+1 ≥ 0 by linearly interpolating both the current and greedy policies:
39where m k+1 ∈ [0, 1] is the policy mixture rate. Since policy-improvement lower bound ∆ k+1 is a negative quadratic function in m k+1 [29], we can solve for maximizer m * k+1 :
40where R is the maximum possible reward.
Policy Distillation
41Policy distillation (PD) [32] for integrating multiple policies into a single policy is used in the proposed CPD method and in previous works described in Section 2.2. Modern deep learning features large-scale models that contain millions of parameters. The network size with the parameters can be compressed in significant portions without performance degradation by PD [32].
42Hence, it is advantageous to compress large-scale models into smaller ones to save computational resources without degrading performance. Motivated by the need for compression, the core function of PD is to express the knowledge of a large policy network by a much smaller one [32,33]. Besides a compressive purpose, PD has natural applications in multi-task RLs, where the policies learned in each sub-task are merged into a single policy to achieve comparable performance on all the sub-tasks [34,35,36]. In this paper, our proposed method performs these two distillation tasks to transfer learned knowledge between local policies in divided sub-domains, followed by the final integration of all the local policies into a single global policy.
Cyclic Policy Distillation
43To alleviate the sample inefficiency of RL with DR, we propose a sampleefficient method named cyclic policy distillation (CPD) whose overview is shown in Fig. 2. CPD consists of the following three steps:
441. Dividing the randomized domain into sub-domains.
452. Cyclic learning of all the local policies.
463. Distilling local policies into a single global policy.
47Details of these steps are described below, and the pseudo-code is provided in Algorithm 1. The CPD parameters are shown in Table 2.
Dividing a Randomized Domain into Sub-domains
48As shown in Fig. 3, CPD divides a full-domain with all the randomized parameters into sub-domains with a part of the randomized parameters based on the target domain parameter and assigns a local policy to each sub-domain.
49To this end, we set target parameters and their randomization ranges and divide them into N parts, each of which is utilized as the randomization range of each Domain Parameters
50Full-domain Although the number of divisions N can be arbitrarily defined, there may be a trade-off between sample efficiency and stability since a small N increases the range of each sub-domain, causing unstable learning, and vice versa.
Cyclic Learning of All Local Policies
51For each sub-domain, we define its sub-agent, including local policy π (n) and local value function Q (n) , where n is an index of the sub-domain. Next the learning of local policies is performed while cyclically transitioning the target subdomain to neighboring sub-domains, and the learned values and policies of the neighboring sub-domains are exploited with a monotonic policy-improvement scheme [29,30,31]. The details of the learning process's flow are described below.
Execution Flow
52In the first step, the previous sub-domain's local value function Q (n−1) is copied to current sub-domain Q (n) . At each time step t, local value function Q (n) and local policy π (n) are updated by RL through interaction with the current sub-domain. To accelerate the local policy learning, we apply the monotonic policy-improvement scheme [29,30,31] based on the similarity between the Algorithm 1: Cyclic Policy Distillation # Set parameters described in Table 2 with policy π (g) # Push (s (n) g , a (n) g ) to D (g) # Distill policy π (g) with π (n) by Eq. (9) neighboring sub-domains, as assumed in the domain division step. The linear mixture composition of neighboring local policy π (n−1) and updating current local policy π (n) is addressed (details are given in the following subsection).
53After learning in the current sub-domain for a certain number of episodes, the learning sub-domain proceeds to the next one, n + 1. The above explanation regards the forward transition starting from n = 0 to n = N and then switches to a backward transition starting from n = N to 0. These are iterated repeatedly until the learning is converged.
Policy Mixing
54CPD approximately utilizes the MI scheme in Eq. (5) for accelerating the learning of local policy π (n) k by appropriately exploiting neighboring sub-domain local policy π (n ) . This "approximation" will be accurate if the range of ran- (5) and (6):
55where m 0 is a constant coefficient, D (n) is the replay buffer of the current subdomain, and k is an update number. Thus, the overall loss function of updating local policies L for learning local policy π (n) k is defined:
56where θ (n) is the network parameters of the local policies, L RL is an RL loss function, and L MI is a loss function estimated from Eq. (7).
Global Distillation
57At the end of the sub-domain learning, local policies π (n) are distilled into single global policy π (g) , which stands in contrast to prior work that simultaneously learns both the local policies and the global one [7,17]. These works distill incomplete local policies in the learning process, and updating global policies repeatedly with local policy actions that offer low reward increases learning times. Thus, in CPD, learning a global policy is explicitly done only in this process after completing the learning of individual local policies.
58The flow of this process is given below, where the aim is to learn global policy π (g) whose performance resembles those of local policies π (n) for their respective domains. We loop over the following three steps until reaching convergence or the maximum number of iterations: (1) Obtain rollout (s in each sub-domain n using π (g) , since it is more sample-efficient than rollout by local policies π (n) (reason described in [39]). (2) Evaluate the learned local policy action probability from observation s
59g , a (n) g )||π (n) (s (n) g , a (n) g ) . Network structure of CPD in experiment: CPD use an actor-critic structure. Actor has policy-network output that continues action at by estimating mean µ and standard deviation σ of Gaussian distribution used for sampling actions at. Critic has a value network that evaluates value function Q, whose inputs contain domain parameters ξ. These networks consist of fully connected layers and LSTM layers with 64 nodes.
Simulation Experiment
60In this section, we validate the performance of the proposed CPD method in a simulation and investigate the following:
Common Settings
61We leverage soft actor-critic (SAC) [40] as the base algorithm for implementing CPD and select four tasks: OpenAI Gym Pendulum, Pusher, Swimmer, and HalfCheetah from Mujoco. The randomization settings of the domain parameters are shown in Table 3. CPD has LSTM layers in both the actor and critic (1) and (2). No Dist denotes that first sub-domains of (1) and (2) are not distilled by neighboring local policies because distillations are inefficient due to neighboring policies already utilized just previously. m denotes policy mixture rate, dynamically updated only in m = opt. by Eq. (7). We started evaluating mixing rate m with 120 samples because updating of local policies starts from that number. Each curve is a plot of mean and variance per sample of five experiments. networks because it is virtually impossible to distinguish dynamical parameters without a recurrent network architecture or more generally a history of states and actions [41]. The network architecture of CPD is shown in Fig. 4.
62The actor network outputs mean µ and standard deviation σ for a Gaussian distribution from which action a t is sampled.
Results
63The results are shown in Fig. 5. From the total reward of Fig. 5, m = opt. has the best sample efficiency and a 10 % higher final performance than the others.
64The performance of m = 0, with no acceleration by exploiting neighboring local policies, is better than m = 1, where the neighboring local policies are exploited without optimization. These results show that naively exploiting neighboring local policies, i.e., m = 1, is not always practical, perhaps due to the domain gaps. In fact, performance can be worse than without this exploitation.
65From the transition of policy mixture rate m in CPD in Fig. 5, m tends to be low in the early learning stages. This indicates that exploiting neighboring local policies in the initial stage is ineffective because they are nearly random policies. As learning progresses, the local policies become more informative, and the mixing rate gains a larger quantity. Several instances where m rises sharply at a certain period correspond to the sub-domain transitions' timing. As long as the learning sub-domain is fixed, m decays almost monotonically, indicating that it is beneficial to smoothly shift toward using samples from the current sub-domain for better policy improvement.
Settings
66Since CPD divides the range of the randomized parameters into N subdomains for learning local policies, N and the partitioning method may influence the final performance and sample efficiency. Thus, we investigated the CPD performance with various N and partitioning methods on Pendulum.
Results
67As shown in Fig. 6(a) shows that CPD partitioning the parameters in N ≥ 4 reached comparable performance without a significant difference at (ii) 108,000 samples. On the other hand, at (i) 54,000 samples, meaning half samples of (ii), the performances of N ≤ 4 are higher than N > 4 with a significant difference.
68The results indicate a trade-off in N between final performance and sample efficiency. The optimal balance is found at N = 4, and increasing N above that value gradually decreases sample efficiency. Based on this result, all subsequent experiments were evaluated by N = 4 due to the best sample efficiency and performance.
69Although a partitioning method of CPD can be freely designed, performances might differ. In Fig. 6(b), we evaluated the performance differences in three types of partitioning methods: plane, splitting so that there is one adjacent region for each axis; grid, splitting into blocks for each axis; and edge, splitting at right angles to each axis. As shown in Fig. 6(b), the proposed method is robust to partitioning patterns in terms of total reward and sample efficiency with no significant difference at (i) and (ii). Based on this result, all subsequent experiments were evaluated by the plane method.
Settings
70As a common setting of CPD and other baselines, SAC was used as a base-RL method. The difference between CPD and the baselines is in the distillation process of the local and global policies, details of which are shown as follows and summarized in Table 4:
71• CPD updates the current local policies by the distillation of one neighboring policy per step. It finally mixes local policies into a global policy.
72• CPD, CPD (m = 0), and CPD (rand) respectively indicate CPD with full components, CPD without exploiting neighboring local policies, and CPD with random transitioning of subdomains. CPD (m = 0) and CPD (rand) are the same update count as the original CPD.
73• SAC-DR updates the current policy only by RL per step. SAC-DR never mixes a policy and finally uses the current policy as a global policy.
74• P2PDRL updates the current local policies by mutual distillation between all the local policies in total N P 2 update per step.
75P2PDRL never mixes a policy and finally uses one of the local policies as a global policy.
76• DnC updates the current local policies only by RL per step. At each end of the iterations, DnC mixes the local policies into a global policy.
77• DiDoR updates current local policies only by RL per step. Di-DoR finally mixes local policies into a global policy.
78We conducted experiments with four environments: Pendulum, Pusher, Swimmer, and HalfCheetah. In this section, we evaluate the learning performance by the rewards and the cost by the learning schedule and learning time.
Results of Learning Performance
79As shown in Fig. 7(a), CPD shows the highest performance by achieving sixand three-times better sample efficiencies than the methods that outperformed all the others. SAC, P2PDRL, and DiDoR only achieved a low total reward that was under 70% of CPD's. As shown in Fig. 7(d), none of the methods (except CPD) learned effective policies with a practical number of samples. SAC-DR, which does not partition the range of randomization parameters, learns quickly; however, its highest total reward is only about 40% of CPD. For the other environments shown in Fig. 7(b) and Fig. 7(c), CPD achieved the highest total reward and sample efficiency.
80We also applied CPD (m = 0) and CPD (rand) as an ablation study. Table 5: Range of randomized parameters in ball-dispersal task: Ball-place denotes center position of piled balls. When true ball-position is (x, y, z), randomized positions are (x + X bias , y+Y bias , z ×Z weight +Z bias ).
81convergence. Furthermore, CPD (rand) showed less sample efficiency than CPD (m = 0).
82In summary, our comparisons to previous works show the higher sample efficiency of the proposed method, and ablation studies show the effectiveness of the proposed architecture with a monotonic policy-improvement scheme and neighboring transitions of the sub-domain.
Results of Learning Cost
83As shown in Table 4, the fastest algorithm is SAC-DR because it has no distillation. CPD has a moderate learning time due to some policy mixing steps: 24% lower than SAC-DR and 30% faster than P2PDRL.
Robot
84Depth camera
85Making balls dispersed Action space
Real-Robot Experiment
86In this section, we verify the effectiveness of the proposed method (CPD) on a ball-dispersal task as a real-world task (Fig. 1). As shown in Fig. 1, the upper three rows show the randomized simulation environment, and the bottom row shows the real-world environment. This task is characterized by the countless ball-placement patterns that are possible in the process of knocking down a pile of many balls. Thus, the agent must efficiently learn an effective policy that can manage such innumerable ball patterns. This task is appropriate for a simto-real approach because it requires that the balls are restacked each time and that many initializations are made in the real-robot environment.
Settings
87The settings of the real-robot experiment are shown in Fig. 8. method with the same networks and setting as in Section 5.1. Due to the greater task difficulty compared to the simulation experiments, all the node numbers of networks were increased to 128.
Results
88CPD and other baselines are compared in Fig. 9. SAC-DR converges faster than CPD in the initial stage of learning, although its performance soon becomes unstable. The top total reward of SAC-DR can be achieved by one touch of the balls, which then transitions to an enormous number of patterns, and so SAC-DR cannot identify good actions under such conditions. On the other hand, CPD shows stable performance improvement and achieves around 40% better total reward than the other baselines.
89To evaluate the effectiveness of the learned policies for a sim-to-real transfer, we prepared two test environments with different types of balls: juggling and bead. Table 6 shows the results of evaluating how well the balls are knocked down using the learned policies from the experiments shown in Fig. 9. We also evaluated SAC learned without DR as a comparison. Just as SAC-DR failed to
Discussions
90In the current CPD framework, dividing number N of the range of randomized parameters needs to be set manually. As described in Section 5.3, Lower two rows are environments and observations of real world. These observations are depth images compressed to (5,9). Simulation observations are randomized by DR as given in Table 5.
91dividing number N controls the tradeoff between the learning performance and the sample efficiency. We addressed three different partitioning patterns for the proposed method and confirmed their robustness to these patterns. In common, they gave equal importance to all the sub-domains, although they may not all contribute equally to policy distillation. Future work will develop a mechanism to identify sub-domains that do not contribute to learning and exclude them from periodic transitions.
92In the current implementation, the decision regarding which parameters to split is determined by the designer's knowledge. Parameters that significantly change the reward scale or the behavior of the actor depending on the parameter should be selected and split. Exploring its automatic approach is also future work.
93Since CPD learns by cyclically transitioning through each sub-domain, it does not seem straightforward to extend it to a parallelized RL [42,43,44].
94However, CPD can indeed be extended to a parallelized RL by grouping a certain number of sub-domains into one cluster. Such a method could be applied to larger domains.
95Since our proposed method has an actor-critic structure for RL, it requires policies and action value functions. Applicable learning algorithms include the latest DRL algorithms, such as SAC, TD3 [45], and DDPG [46]. This paper utilizes SAC, which shows the best performance of the actor-critic method [40].
96The experimental results indicated that our CPD empirically achieved better sample efficiency than the previous methods for multiple tasks. However, its
97theoretical justification remains open since the theoretical guarantees of the original MI method were obtained assuming a single domain [29] and might not hold in a randomized environment.
Conclusion
98The following are this paper's main contributions: 1) it proposed CPD, a new DRL method that is sample-efficient with DR in a zero-shot setting; 2) it utilized a monotonic policy-improvement scheme proposed in single-domain RL setting to a multi-domain RL setting and successfully sped-up the policy performance increase; 3) it made a numerous ball environment in both simulations and the real world as preliminary tasks of sand and powder operations and achieved its task in the zero-shot setting.
참고문헌 25건
- Massively Parallel Methods for Deep Reinforcement Learning arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1507.04296
- Human-level control through deep reinforcement learning Nature · Nature Portfolio · 2015 10.1038/nature14236
- MuJoCo: A physics engine for model-based control 2012 10.1109/iros.2012.6386109
- Deep reinforcement learning for robotic manipulation with asynchronous off-policy updates 2017 10.1109/icra.2017.7989385
- Domain randomization for transferring deep neural networks from simulation to the real world 2017 10.1109/iros.2017.8202133
- Autonomous Free-Form Trenching Using a Walking Excavator IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2019 10.1109/lra.2019.2925758
- Learning hand-eye coordination for robotic grasping with deep learning and large-scale data collection The International Journal of Robotics Research · SAGE Publishing · 2017 10.1177/0278364917710318
- BayesSim: Adaptive Domain Randomization Via Probabilistic Inference for Robotics Simulators 2019 10.15607/rss.2019.xv.029
- Closing the Sim-to-Real Loop: Adapting Simulation Randomization with Real World Experience 2022 International Conference on Robotics and Automation (ICRA) · 2019 10.1109/icra.2019.8793789
- Solving Rubik's Cube with a Robot Hand arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1910.07113
- Deep Conservative Policy Iteration Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2020 10.1609/aaai.v34i04.6070
- Sim-to-Real Transfer for Biped Locomotion 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · 2019 10.1109/iros40897.2019.8968053
- Inferring the Material Properties of Granular Media for Robotic Tasks 2020 10.1109/icra40945.2020.9197063
- Sim-to-Real Transfer of Robotic Control with Dynamics Randomization 2018 10.1109/icra.2018.8460528
- Data-Efficient Domain Randomization With Bayesian Optimization IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2021 10.1109/lra.2021.3052391
- A Survey on Curriculum Learning IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2021 10.1109/tpami.2021.3069908
- NeuralSim: Augmenting Differentiable Simulators with Neural Networks 2021 10.1109/icra48506.2021.9560935
- Manipulation of Granular Materials by Learning Particle Interactions IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2022 10.1109/lra.2022.3158382
- Learning Audio Feedback for Estimating Amount and Flow of Granular Material Proceedings of Machine Learning Research · 2018
- Excavation Reinforcement Learning Using Geometric Representation IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2022 10.1109/lra.2022.3150511
- Randomized-to-Canonical Model Predictive Control for Real-World Visual Robotic Manipulation IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2022 10.1109/lra.2022.3189156
- Soil-Adaptive Excavation Using Reinforcement Learning IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2022 10.1109/lra.2022.3189834
- Autonomous Skill Learning of Water Polo Ball Heading for a Robotic Fish: Curriculum and Verification IEEE Transactions on Cognitive and Developmental Systems · Institute of Electrical and Electronics Engineers · 2022 10.1109/tcds.2022.3189095
- Does Knowledge Distillation Really Work? arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2106.05945
- Distilled Domain Randomization arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2112.03149