---
title: "Learning Complex Dexterous Manipulation with Deep"
description: "How demonstrations help a robotic hand learn dexterous manipulation, why DAPG improves learning, and what its simulated results establish."
canonical: "https://research.elamur.ai/free/en/papers/rajeswaran-2017-learning-complex-dexterous-manipulation-deep/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/rajeswaran-2017-learning-complex-dexterous-manipulation-deep/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2017](https://md.research.elamur.ai/free/en/papers/2017/) / Learning Complex Dexterous Manipulation with Deep Reinforcement Learning and Demonstrations

# Learning Complex Dexterous Manipulation with Deep Reinforcement Learning and Demonstrations

Paper · 2017 · Aravind Rajeswaran, Vikash Kumar, Abhishek Gupta et al.

**Authors:** Aravind Rajeswaran, Vikash Kumar, [Abhishek Gupta](https://md.research.elamur.ai/free/en/authors/abhishek-gupta/), [Giulia Vezzani](https://md.research.elamur.ai/free/en/authors/giulia-vezzani/), [John Schulman](https://md.research.elamur.ai/free/en/authors/john-schulman/), Emanuel Todorov and [Sergey Levine](https://md.research.elamur.ai/free/en/authors/sergey-levine/) · **Year:** 2017 · **Venue:** arXiv:1709.10087 · **Licence:** [arXiv — non-exclusive licence to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**800** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2757631751) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1709.10087)
- [arXiv 1709.10087](https://arxiv.org/abs/1709.10087)
- [OpenAlex](https://openalex.org/W2757631751)

Citations: OpenAlex, 2026-10-14.

## Deep dive: Learning Complex Dexterous Manipulation with Deep Reinforcement Learning and Demonstrations

How demonstrations help a robotic hand learn dexterous manipulation, why DAPG improves learning, and what its simulated results establish. · about 34 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

A robotic hand can have enough joints to grasp an object in many ways and still struggle to perform a useful task. Picking something up is only part of the problem: the hand may need to change its grip, maintain contact while turning the object, or apply force through a tool. This paper investigates whether deep reinforcement learning can acquire such behavior with a complex, individually controlled hand. Its experiments use a simulated ADROIT hand with 24 degrees of freedom, meaning that its configuration can vary along 24 independently actuated joint coordinates. The task suite covers relocating an object, changing a pen’s orientation within the hand, operating a hammer, and opening a latched door.

The authors first establish that learning these behaviors without demonstrations is possible, but difficult. Natural Policy Gradient, or NPG, succeeds when the researchers supply carefully designed rewards that encourage intermediate progress. Sparse rewards, which mainly report whether the task has been completed, generally leave learning unable to get started; the pen task is the exception. Even with shaped rewards, learning requires substantial interaction, and the resulting movements can look awkward and respond poorly to changes in the manipulated object. Another tested reinforcement-learning algorithm, DDPG, struggles despite considerable tuning. The lesson is therefore more qualified than “reinforcement learning can control a hand”: success depends heavily on how the learner receives guidance and how much experience it can collect.

The proposed method, Demo Augmented Policy Gradient, or DAPG, supplies that guidance through demonstrations. It first trains the policy to reproduce demonstrated actions, a procedure called behavior cloning. It then improves the policy through reinforcement learning while continuing to encourage actions found in the demonstration data. This continuing influence matters because a demonstration can contain useful information about later parts of a task that the learner cannot yet perform. The method gradually reduces the strength of imitation so that demonstrations guide early learning without permanently fixing the policy to the demonstrator’s behavior. Demonstrations come from a virtual-reality interface for the human-demonstrated tasks; for pen manipulation, the authors instead use an expert policy previously trained with a shaped reward.

DAPG learns under sparse completion rewards, outperforms the demonstration-based DDPGfD comparison, and produces behavior the authors judge smoother and more human-like. Their conclusion reports training requirements below 5 hours of equivalent robot interaction and sample-efficiency gains reaching 30x relative to reinforcement learning started from scratch with reward shaping. These are simulation results expressed in terms of how much robot experience the sampled trajectories represent. They are not measurements of learning on physical hardware.

The robustness findings are also important. In object relocation, policies trained with demonstrations tolerate changes in object mass and size better than policies trained through reward shaping alone. Training over a collection of physical variations improves robustness further when combined with DAPG, whereas learning from scratch struggles within a comparable training window. The authors interpret demonstrations as a way to transmit useful human strategies that are difficult to encode in a reward function. That explanation is plausible and consistent with the experiments, but the study does not isolate every reason the strategies generalize. Its central contribution is a practical combination of imitation and reinforcement learning, evaluated on demanding contact-rich tasks, rather than a proof that demonstrations guarantee robustness or make physical deployment straightforward.

### Ideas worth borrowing

Demonstrations can guide exploration. A learner does not need a complete verbal or mathematical description of how to solve a task if it can observe examples that place it near useful behavior. Behavior cloning makes successful actions more likely before reinforcement learning begins. In these experiments, that helps the policy encounter relevant situations instead of spending its early experience moving through unproductive combinations of joint positions. The same principle can apply to other sequential problems where success requires a meaningful sequence and random actions rarely reveal it. The reusable idea is to improve the starting distribution of behavior, while retaining an objective that can evaluate subsequent improvement.

Keep examples useful after initialization. A demonstration is not exhausted when it has supplied initial parameters. Its later actions may become valuable only after the learner masters earlier steps. Hammering makes this concrete: a policy that can reach and grasp still needs guidance about directing the tool toward the nail. DAPG continues consulting demonstrations during policy improvement, allowing information about later stages to influence learning when those stages become reachable. This is useful wherever a task contains dependent skills, such as approaching, securing, positioning, and acting. Initial imitation and continuing imitation address different problems, even when they use the same recorded trajectories.

Let guidance weaken as competence grows. Early in training, the demonstrations provide a sensible direction. Later, a policy may have enough successful experience to improve without following every demonstrated choice. DAPG uses a decaying demonstration weight to express that transition. This offers a general design principle for combining prior examples with an independently measured objective: use the examples strongly when they resolve uncertainty, then reduce their authority as the learner obtains relevant evidence of its own. The particular decay rule in the paper is heuristic, so borrowing the principle does not require treating its exact schedule as universally appropriate.

Choose the channel for human knowledge carefully. Reward shaping and demonstrations both introduce human assumptions about how a task should be solved, but they communicate those assumptions differently. A shaped reward describes preferred outcomes or intermediate conditions. A demonstration supplies coordinated behavior in context. The paper shows that these channels can lead to different movement styles and different tolerance to environmental changes. For another engineering problem, the useful question is not simply whether human knowledge is available. It is whether that knowledge is easier to express as an evaluation rule, an example, or a combination of the two.

Evaluate variation beyond the training instance. A controller can achieve the requested outcome while depending on an accidental property of its training environment. The object-relocation tests expose this by changing size and mass after training. This separates success on a familiar instance from resilience to altered conditions. The idea transfers to other learning systems: identify a meaningful property that was held fixed, vary it deliberately, and ask whether the learned strategy still works. Such tests are especially informative when the training objective does not directly reward the broader quality that matters in deployment.

Design benchmarks around distinct obstacles. The task suite is valuable because its tasks are difficult for different reasons. Relocation stresses exploration through a sequence of prerequisites; pen repositioning stresses contact coordination; a latched door introduces an environmental constraint; hammering requires a grasp that supports effective force application. A reusable benchmark should make those differences visible. Otherwise, strong performance may reflect mastery of a narrow recurring pattern. This principle applies to [evaluation and benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/) beyond robotics: task variety is most useful when it probes different failure mechanisms, rather than merely changing surface details.

### How Mova uses it

For Mova, the small transparent language system implemented in Rust, the strongest connection is an architectural idea: separate learning from examples from improvement against an explicit task objective. The paper does not establish an implementation in Mova, and no existing Mova feature should be attributed to DAPG on that basis. Its relevance is prospective. A language system can borrow the distinction between an example that suggests an action and an evaluator that determines whether the action achieved its purpose.

A concrete possibility is to represent a language task as a sequence of inspectable decisions. Demonstrations could record the context, the chosen operation, and the resulting state. For example, an operation might select an interpretation, request clarification, or construct part of an answer. These are possible applications, not capabilities demonstrated by the robotics experiments. The important correspondence is structural: a recorded successful sequence can suggest where to begin, while an independently defined evaluator determines whether a new sequence works.

The paper also suggests that Mova should preserve examples as usable evidence after initial training or configuration. If a system learns an early stage of a workflow before a later stage, examples of that later stage may become useful only afterwards. Keeping demonstration traces available would make that guidance explicit and inspectable. In a transparent implementation, the contribution of an example could be recorded alongside the contribution of the task objective, making it easier to see why the system preferred a particular operation.

That proposal should not be confused with directly porting DAPG. The paper’s update rule assumes a differentiable stochastic policy, action probabilities, estimated advantages, and a Fisher-based policy update. A Rust implementation does not acquire those properties merely by being written in Rust, and a transparent language system need not use that optimization machinery. The transferable part may therefore be the training structure instead of the exact mathematics: start with demonstrated behavior, measure independent success, and continue using examples while their guidance remains useful.

The robustness analysis offers another concrete research direction. Mova could distinguish performance on familiar examples from performance when wording, context, or intermediate decisions change. These would be language-specific tests inspired by the paper’s object-variation experiments, not results established by them. The analogy is useful because it asks whether the system has acquired a strategy that survives changes to incidental conditions.

Finally, Mova could make the fading influence of demonstrations visible rather than implicit. A system designed for inspection could expose when an example is acting as guidance, how strongly it contributes, and whether the task evaluator supports the resulting choice. That would preserve the paper’s useful separation between imitation and achievement. It would also make failures easier to diagnose: a bad outcome might reflect an unsuitable example, an inadequate evaluator, or a decision process that cannot recover after leaving familiar states. These remain design ideas until implemented and tested in Mova.

### The problem and its context

#### Why dexterous hands are difficult to control

A hand’s versatility comes from the number of ways it can interact with an object. Different fingers can establish, maintain, or release contact. The wrist can change the direction from which force is applied. An object can move relative to the palm without being released altogether. These possibilities make a hand useful, but they also create a demanding control problem.

The paper emphasizes several sources of difficulty. The observation and action spaces are large. Contacts change abruptly. Joint limits constrain which movements remain possible. During some forms of manipulation, the object’s motion is only indirectly controlled through contact rather than through a rigid attachment. A small change in configuration can therefore alter which forces the hand can apply and how the object responds.

This is why grasping alone is an incomplete test of dexterity. A grasp may hold a hammer securely while leaving the tool poorly positioned for striking a nail. A pen may remain in contact with the fingers while requiring a complicated sequence of contact changes to reach its target orientation. Opening a door can require dealing with a latch before applying a useful opening motion. Each task couples the hand’s movement to the mechanics of something outside the hand.

The authors want to retain these difficulties rather than remove them by simplifying the manipulator. Their simulated hand is anthropomorphic and has individually actuated joints. This makes the study different from approaches that reduce control complexity through mechanical design or restrict the task to a narrow behavior.

#### What earlier approaches offered

The paper describes successful earlier work on trajectory optimization using known physical dynamics. Such methods search for movements by predicting their consequences through a representation of the system’s mechanics. They can produce impressive manipulation behavior, particularly in simulation and in settings where the dynamics can be made easier to optimize.

The difficulty, as the authors frame it, is obtaining sufficiently accurate descriptions of contact-rich physical systems. Predicting an object’s movement through repeated finger contacts can be demanding even before accounting for uncertainty in state estimates. A method that relies heavily on accurate dynamics and their gradients can struggle when the physical description is incomplete or difficult to differentiate through.

Model-free reinforcement learning takes a different route. It improves behavior through sampled interaction without requiring an explicit transition function for planning. The learner tries actions, observes consequences, and updates its policy. This removes a particular dependency on a detailed dynamics description, but creates another problem: collecting enough informative experience.

Earlier robotic reinforcement-learning successes discussed in the paper frequently involve simpler manipulators or less complex behaviors. Some approaches use compact movement representations to reduce the amount of experience needed. Others exploit pretraining in simulation or parallel interaction collection. The authors also discuss earlier work on cylinder manipulation with a similar hand, including approaches that use demonstrations. Their claim is not that dexterous learning had never been attempted, but that the task complexity and contact demands here are substantially greater.

#### Why the benchmark itself matters

The authors argue that widely used continuous-control benchmarks do not fully exercise the demands of dexterous manipulation. They note prior findings that relatively simple linear policies can solve many familiar benchmark tasks. That observation motivates a task suite where successful behavior depends on richer interactions and more complex feedback.

The suite has 4 task classes. Their purpose is to provide a compact collection of challenges that resemble useful manipulation in human environments. The tasks do not attempt to cover every activity a household robot might perform. Instead, they isolate several important demands: finding a successful sequence, coordinating changing contacts, respecting environmental constraints, and applying force through a tool.

This makes the benchmark part of the scientific contribution. An algorithm that works on smooth movement tasks may fail when success depends on a latch releasing or on a hammer making effective contact. By placing these difficulties in a shared experimental setting, the paper makes it possible to compare learning methods under conditions where their weaknesses are easier to expose.

The environments also provide explicit success checks. This matters because a shaped reward and actual task completion need not be equivalent. A policy might receive credit for moving closer to an object without ever relocating it. Measuring completed tasks keeps the evaluation focused on outcomes rather than on how well a learner maximizes a particular training signal.

#### Imitation helps, but does not finish the job

Imitation learning uses examples of successful behavior to train a policy. Behavior cloning, the simplest form used here, treats demonstrated actions as supervised targets: given a demonstrated state, make the demonstrated action more probable.

The paper identifies distribution drift as a central weakness. During its own execution, a cloned policy can visit states that differ from the demonstration states. An imperfect action changes the next situation, and that new situation may make the next action less reliable. The policy can then move progressively farther from the conditions under which it was trained.

The authors also distinguish imitation from optimization against a task objective. An imitator learns what the demonstrator did. Reinforcement learning can instead evaluate whether a new action sequence achieves the desired outcome. Combining them creates an opportunity to use demonstrations for guidance while retaining a mechanism for improvement through interaction.

This combination was not new in general. The paper explicitly places itself among earlier methods that combine demonstrations and reinforcement learning. Its particular contribution is a simple way to incorporate demonstrations into an on-policy gradient method, together with evidence that the combination is effective on demanding hand tasks.

The closest comparison is DDPGfD, which incorporates demonstrations into a replay buffer for an off-policy learner. The paper contrasts that approach with its own on-policy procedure. It also discusses concurrent work combining demonstrations with [Hindsight Experience Replay](https://md.research.elamur.ai/free/en/papers/andrychowicz-2017-hindsight-experience-replay/). These connections establish the surrounding research question: how should successful examples enter a learning algorithm so that they reduce exploration difficulty without sacrificing effective policy improvement?

### The method, step by step

DAPG is easiest to understand as a sequence of changes to the learner’s starting point and update rule. Demonstrations first make useful behavior more likely. Reinforcement learning then supplies experience from the current policy. During that improvement process, the original demonstrations continue contributing a separate gradient whose influence gradually declines.

From demonstrations to dexterous control The steps in order.

#### Specify what the hand observes and controls

The environments expose joint angles for the hand, spatial information about the object, and information about the target. Object and target information include position and orientation where relevant. Actions specify desired joint positions. Each actuated coordinate is therefore controlled through position commands rather than through a high-level instruction such as “grasp” or “hammer.”

The simulated platform is ADROIT. The first, middle, and ring fingers each have 4 degrees of freedom. The little finger and thumb each have 5, and the wrist has 2. Joint-angle sensing provides information about the hand’s configuration.

MuJoCo supplies the physical simulation. The authors describe careful treatment of the hand’s mechanics and sensing to encourage realism. Friction is important because these tasks depend on maintaining and changing contact: the setup includes joint dry friction, planar friction at hand–object contacts, and torsional and rolling friction at fingertip contacts.

The simulator can support tactile feedback, but the policies in this study do not use it. This is a deliberate simplification. It also means that the learner’s access to object and target state should not be mistaken for solving perception from images or touch.

#### Define tasks that require different strategies

In object relocation, the hand must acquire the ball and move it to a target. Both the initial object position and the destination vary across the workspace. Success is defined by bringing the object inside a tolerance region around the target. The exploration problem is sequential: reaching, grasping, and transporting must become coordinated before the final reward is available.

For pen manipulation, the hand’s base remains fixed while the pen must reach a target orientation. The target covers different orientations. Success depends on orientation agreement within a tolerance. The difficulty lies in producing different maneuvers while managing changing contacts and joint constraints.

The door task includes a latch, dry friction, and a torque tending to keep the door closed. Door position varies. The policy is not explicitly told how the latch works; it must learn useful interaction through experience. Completion requires opening the door until it reaches the stopper. A movement that merely pushes in an ineffective direction will not satisfy that condition.

Hammering requires the hand to acquire the tool and drive a nail into a board. Nail position changes across episodes, and the nail’s dry friction can resist up to 15N. Success requires the nail to be fully driven in. Holding the hammer is therefore an intermediate achievement rather than the task’s endpoint.

#### Collect demonstration trajectories

The human demonstration interface uses an updated MuJoCo HAPTIX system. A CyberGlove III records finger configuration, an HTC vive tracker follows the hand’s base, and an HTC vive headset provides stereoscopic viewing. The demonstrator acts within the simulated environment, allowing the system to record physically consistent movement and action information.

The paper reports 25 successful demonstrations for the tasks, collected with the relevant task randomization. Each demonstration contains the state and action sequence associated with successful execution. The learner is therefore given trajectories rather than only final states or isolated action labels.

During collection, the actuators receive uniform random perturbations in the interval [-0.1, 0.1] radians at each timestep. The purpose is to broaden the situations represented in the demonstrations and reduce sensitivity to small departures from an ideal trajectory. This addresses distribution drift indirectly by exposing the data-collection process to variation.

Pen manipulation has an important exception. The authors found human demonstration difficult without tactile feedback in virtual reality. They therefore used a computational expert that had already learned through extensive reinforcement learning with a carefully shaped reward. Its trajectories serve as demonstrations for a fresh learner. This tests whether expert experience can accelerate subsequent training, but it does not show that every task received an equally accessible source of human guidance.

#### Express the learning problem

The paper describes the environment as a Markov decision process:

```
ℳ = {𝒮, 𝒜, ℛ, 𝒯, ρ₀, γ}
```

Here, ℳ denotes the complete decision process. The state space is 𝒮, the action space is 𝒜, and ℛ assigns rewards to state–action pairs. The transition rule 𝒯 determines what state follows an action, potentially with randomness. The initial-state distribution is ρ₀. The discount factor γ lies in [0,1) and reduces the contribution of rewards farther into the future.

States and actions are continuous vectors:

```
𝒮 ⊆ ℝⁿ, 𝒜 ⊆ ℝᵐ
```

The symbol ℝ denotes the real numbers. The dimensions n and m specify how many real-valued coordinates describe a state and an action. This notation expresses the continuous nature of the control problem; it does not by itself specify the observation dimensions of every task.

The reward function has the following role:

```
ℛ: 𝒮 × 𝒜 → ℝ
```

The product 𝒮 × 𝒜 represents possible state–action pairs, and ℛ maps each pair to a numerical reward. A sparse completion reward mainly identifies successful task execution. A shaped reward additionally encodes intermediate progress chosen by the researcher.

The learner does not need direct access to the transition rule for optimization. It needs sampled transitions: observations of what happened after taking actions. This is the sense in which the learning procedure is model-free.

Demonstrations are written as a collection of transitions:

```
ρ_D = {(sₜ⁽ⁱ⁾, aₜ⁽ⁱ⁾, sₜ₊₁⁽ⁱ⁾, rₜ⁽ⁱ⁾)}
```

The symbol ρ_D names the demonstration dataset. The index i identifies a trajectory, and t identifies a point within it. The tuple records the current state s, action a, subsequent state, and observed reward r. Later expressions use the state–action pairs drawn from these records.

The policy is stochastic:

```
π: 𝒮 × 𝒜 → ℝ₊
```

The policy π assigns a non-negative probability density to an action in a state; ℝ₊ denotes non-negative real values. Its parameters are written θ. A stochastic policy can explore by producing different actions under similar conditions.

The objective is expected discounted return:

```
η(π) = 𝔼_{π,ℳ}[Σₜ₌₀^∞ γᵗ rₜ]
```

The quantity η measures policy performance. The expectation 𝔼 averages over trajectories generated by policy π in environment ℳ. The summation collects rewards over time, with γᵗ discounting the reward rₜ. Because the policy depends on θ, the paper also writes the objective as η(θ).

#### Estimate how useful an action was

Policy-gradient learning needs more than a final statement that a trajectory succeeded or failed. It needs a way to associate actions with better or worse outcomes. The paper introduces value and advantage functions for this purpose.

The state value is:

```
V^π(s) = 𝔼_{π,ℳ}[Σₜ₌₀^∞ γᵗ rₜ | s₀ = s]
```

The quantity V^π(s) is the expected discounted return when execution begins in state s and then follows π. The condition after the vertical bar fixes the initial state. It gives a baseline for how promising that state is under the current behavior.

The paper displays its action-value definition as:

```
Q^π(s,a) = 𝔼_ℳ[ℛ(s,a)] + 𝔼_{s′∼𝒯(s,a)}[V^π(s′)]
```

The quantity Q^π(s,a) evaluates choosing action a in state s and then continuing with π. The next state is s′, sampled according to 𝒯. The expression combines immediate reward with the value of the subsequent state. As printed, this equation does not place γ before the next-state value, in spite of the discounted return defined above. That notation issue should be kept separate from the algorithm’s main idea.

Advantage compares an action with the state’s baseline:

```
A^π(s,a) = Q^π(s,a) − V^π(s)
```

The advantage A^π(s,a) indicates whether choosing a is better or worse than the policy’s usual prospects at s. A positive value favors increasing that action’s probability; a negative value points in the opposite direction. The implementation uses estimated advantages, because exact future returns are not available from finite samples.

#### Compute the ordinary policy gradient

NPG begins with a sampled policy-gradient estimate:

```
g = (1/(NT)) Σᵢ₌₁ᴺ Σₜ₌₁ᵀ ∇_θ log π_θ(aₜⁱ | sₜⁱ) Â^π(sₜⁱ,aₜⁱ,t)
```

Here, g is the estimated gradient. The batch contains N trajectories, each represented with T timesteps. The gradient operator ∇_θ describes how a quantity changes with the policy parameters. The term log π_θ(aₜⁱ | sₜⁱ) is the log probability density of the sampled action. The estimated advantage is Â^π, with its timestep argument made explicit.

The practical interpretation is straightforward. Increase the probability of actions associated with better-than-expected outcomes, and reduce the probability of those associated with worse-than-expected outcomes. Averaging across sampled trajectories gives an update direction informed by the policy’s current experience.

An ordinary parameter gradient can behave differently depending on how the same policy is represented numerically. Natural-gradient methods address this by accounting for how parameter changes alter the action distribution.

#### Scale the update using policy geometry

The paper uses an empirical Fisher information matrix:

```
F_θ = (1/(NT)) Σᵢ₌₁ᴺ ∇_θ log π_θ(aₜⁱ | sₜⁱ) ∇_θ log π_θ(aₜⁱ | sₜⁱ)ᵀ
```

The matrix F_θ is constructed from outer products of log-probability gradients. The superscript ᵀ means transpose. These products describe how sensitive the policy distribution is to changes in its parameters.

The displayed expression retains a timestep index t without explicitly summing over it. Its intended role is an empirical estimate from sampled state–action data, but the printed indexing is incomplete. Understanding that role is more important here than silently treating the notation as fully specified.

The normalized update is:

```
θₖ₊₁ = θₖ + √(δ / (gᵀ F_θₖ⁻¹ g)) F_θₖ⁻¹ g
```

The parameter vector before the update is θₖ, and the new vector is θₖ₊₁. The iteration index is k. The inverse Fisher matrix, F_θₖ⁻¹, transforms the ordinary gradient into a direction that accounts for the policy distribution’s geometry. The scalar δ controls the step size, and the square-root factor normalizes the transformed direction.

This machinery supplies the reinforcement-learning backbone. DAPG changes the gradient information fed into that backbone by adding demonstrations.

#### Initialize with behavior cloning

The initial policy is obtained by maximizing demonstration likelihood:

```
maximize_θ Σ_(s,a)∈ρ_D ln π_θ(a | s)
```

The maximization chooses θ to make the recorded actions more likely at their recorded states. The symbol ln is the natural logarithm. The sum runs over state–action pairs in the demonstration dataset.

This is a supervised-learning objective. It does not require the learner to discover successful behavior through random exploration, because the demonstrations already identify useful actions in relevant situations.

However, the authors report that the resulting cloned policies usually do not complete the tasks successfully. This is not a contradiction. A policy can learn useful local behavior while remaining unreliable over an entire sequence. Behavior cloning is used to create an informative starting point, after which reinforcement learning can address the consequences of the policy’s own actions.

#### Continue using demonstrations during improvement

DAPG augments the policy gradient:

```
g_aug = Σ_(s,a)∈ρ_π ∇_θ ln π_θ(a | s) A^π(s,a) + Σ_(s,a)∈ρ_D ∇_θ ln π_θ(a | s) w(s,a)
```

The augmented direction is g_aug. The dataset ρ_π contains experience collected by executing the current policy. Its contribution is weighted by advantage. The demonstration dataset ρ_D contributes a separate likelihood gradient, weighted by w(s,a).

This formulation distinguishes the sources of guidance. Current interaction says which actions are working under the policy’s own state distribution. Demonstrations continue pulling the policy towards expert actions at demonstrated states.

The paper describes useful limiting cases. If demonstration weights vanish, the added term disappears and the procedure becomes ordinary policy-gradient learning. If a sufficiently strong constant demonstration weight dominates, imitation becomes the main influence. DAPG aims for a changing balance between these extremes.

An attractive weighting choice would use the current policy’s advantage for each demonstrated action. But those advantages are not readily known for all demonstration states and actions without further interaction or assumptions. The authors therefore choose a heuristic:

```
w(s,a) = λ₀ λ₁ᵏ max_(s′,a′)∈ρ_π A^π(s′,a′), for (s,a)∈ρ_D
```

The parameters λ₀ and λ₁ control the demonstration contribution. The iteration counter is k. The maximum advantage is taken over the current policy’s sampled data, using s′ and a′ as variables for candidate state–action pairs. That maximum supplies a scale related to the reinforcement-learning signal.

The factor λ₁ᵏ reduces the demonstration influence as training proceeds. The paper uses λ₀=0.1 and λ₁=0.95 throughout its experiments. The intended behavior is strong early guidance followed by increasing freedom for the policy to optimize task performance.

The weighting rule does not determine that every demonstration action is useful in every later state of learning. It applies a shared, decaying heuristic weight. That simplicity is part of the method’s appeal, but it also limits what can be claimed about optimal use of demonstrations.

#### Repeat interaction and improvement

After cloning, training alternates between collecting trajectories from the current policy and updating that policy with the augmented gradient. The natural-gradient machinery determines the parameter step. New interaction then reveals which parts of the task the improved policy can reach and perform.

This cycle explains why demonstrations can help at different stages. Early updates may mainly improve approach and grasping. Once those become reliable, the learner can encounter states in which the demonstrated tool motion becomes relevant. Continuing to use the demonstration data preserves that later guidance instead of relying entirely on what survived initial cloning.

The authors make the accompanying code and simulated task assets available through their project website. The task definitions, reward details, and physical settings are part of the experimental setup, while DAPG is the procedure for incorporating demonstrations into policy improvement.

### Experiments and results

#### What the comparisons measure

The experiments evaluate task completion rather than only accumulated reward. The reported success measure is the percentage of successful trajectories in a sample of 100 trajectories. Each environment has its own completion condition, so the common metric asks whether the policy actually accomplishes the specified manipulation.

The learning comparisons involve NPG and DDPG without demonstrations, followed by DAPG and DDPGfD with demonstrations. Reward conditions are central to interpreting the results. The from-scratch experiments examine both sparse completion rewards and shaped rewards. The demonstration-based comparison uses sparse completion rewards.

This distinction prevents an overly simple reading of the results. DAPG is not merely given a more detailed reward signal than the baseline. Its guidance comes through example trajectories, while the reward remains focused on completion. The shaped-reward baseline receives human knowledge in another form.

The article’s numerical learning-time comparison must also be read carefully. The authors describe some from-scratch training requirements as being on the order of 100 hours, while their conclusion places DAPG training below 5 hours for the tasks considered. These statements are an approximate scale and an upper bound, respectively, rather than exact paired measurements for a particular task.

Reported interaction-time scales across the task suite Demonstration-guided learning reaches a substantially smaller time scale; the entries are an approximation and a bound.

**The numbers**

| System or setting | equivalent robot hours |
| --- | --- |
| NPG with shaping, approximate scale for some tasks | 100 |
| DAPG, training below this bound (this paper) | 5 |

The chart represents the stated time scales only. It does not establish an exact task-by-task speedup, and the DAPG entry denotes a boundary that training stays below. The paper separately reports sample-efficiency improvements reaching 30x.

#### Learning without demonstrations

Under sparse completion rewards, randomly exploring policies generally fail to encounter successful outcomes. Without those outcomes, the algorithms lack a useful signal for improving towards the complete task. Pen manipulation is the stated exception.

Reward shaping changes this situation for NPG. By supplying information about intermediate progress, it makes successful learning possible across the suite. This establishes an important feasibility result: a model-free policy-gradient method can acquire demanding hand behavior when the training signal is sufficiently informative.

DDPG does not obtain comparable success in these experiments, even after substantial hyper-parameter tuning. The authors suggest sensitivity to tuning and random initialization as a possible explanation, drawing on the earlier work they discuss. The experiments establish difficulty in this setup, rather than proving that DDPG can never solve such tasks.

The successful NPG policies also have weaknesses beyond interaction cost. The authors show examples of awkward finger configurations, unusual hammer grasps, and wrist behavior during door unlatching. These examples indicate that completing the reward-defined task does not automatically produce the movement style a human would expect.

Naturalness is assessed qualitatively. The paper does not supply a numerical measure that would let a reader rank movement quality independently of the displayed examples and video. The distinction matters because visually unusual behavior, mechanical risk, and poor task performance are different properties, even when they can occur together.

#### Learning with demonstrations

DAPG is compared with DDPGfD, which combines DDPG with demonstration replay and additional learning mechanisms. The paper describes demonstration insertion into the replay buffer, prioritized replay, returns spanning multiple steps, and regularization of the policy and critic.

Under sparse rewards, DAPG makes progress substantially earlier and performs better across the task suite. The authors describe the difference as appearing before DDPGfD begins to show meaningful progress. Exact success percentages at selected points are not stated in the surrounding numerical discussion, so the evidence should be reported as the qualitative comparison the authors make rather than converted into invented values.

For the DAPG curves, the evaluated behavior is the stochastic policy used during exploration. The authors note that the associated deterministic policy performs better at a given iteration. This distinction is useful because exploratory randomness can reduce apparent execution reliability even when the underlying learned action choices are stronger.

The learning-time discussion defines a threshold of 90% success. It also specifies that an iteration contains 200 trajectories, each lasting 2 seconds. These settings explain how sampled experience is related to equivalent robot interaction time.

That accounting does not include every practical component of a physical learning experiment. It measures the duration represented by interaction trajectories. It should not be read as a complete wall-clock schedule for collecting demonstrations, resetting hardware, computing updates, or recovering from failed physical trials.

For object relocation, the authors describe training as almost 30 times faster than learning from scratch. Their conclusion gives the broader claim that sample-efficiency improvement can reach 30x. These are the paper’s own characterizations; they do not establish the same improvement for every task.

#### Robustness to changes in object properties

The robustness analysis uses object relocation and changes the manipulated object’s mass and size. A policy is trained on a particular environment instance and then tested on altered instances. This asks whether its successful behavior depends narrowly on the physical properties seen during learning.

Policies trained with shaped rewards alone are brittle under these changes. DAPG policies remain successful over a broader range of variations. The authors interpret this as evidence that demonstrations convey strategies with useful tolerance to environmental change.

The result is stronger than a comparison of training success alone. A policy could solve its original instance by exploiting a narrow timing or contact pattern. Testing altered physical properties probes whether the behavior remains useful when those details shift.

However, this is still a specific kind of robustness. The experiment varies properties of the object in relocation. It does not establish reliability under every possible change in sensing, actuation, task geometry, or contact conditions.

#### Training across a range of environments

The final experiment introduces variation during training rather than only during evaluation. The learner encounters a collection of environments differing in object size and mass. Success therefore requires behavior that works across that collection.

NPG from scratch with shaped rewards struggles to master this more diverse setting within a time window comparable to learning a fixed instance. DAPG can learn successfully and yields policies with still broader robustness.

This result shows a useful interaction between demonstrations and environment diversity. Demonstrations help the learner find productive behavior, while varied training discourages dependence on a narrow physical instance. Simply adding variation is not enough if the learner cannot obtain useful experience in the resulting problem.

The authors’ interpretation is that demonstration guidance makes robust training more accessible. The evidence supports that conclusion within the tested relocation setting. It does not show that the same training distribution would cover the uncertainties encountered by a physical hand.

### What the ablations show

The paper offers comparisons of reward conditions, learning algorithms, and environmental variation, but it does not report a complete component-by-component ablation separating every part of DAPG.

#### Sparse rewards expose the exploration problem

The sparse-versus-shaped comparison tests whether failure is simply a matter of the hand being uncontrollable by the selected learning method. NPG’s success with shaping shows that useful policies can be found. Its general failure under sparse rewards indicates that discovering productive experience is a major obstacle.

This does not prove that exploration is the only obstacle. The reward change also alters the information used to update the policy. Nonetheless, the contrast supports the authors’ motivation for demonstrations: successful examples can guide the learner towards relevant behavior without requiring an elaborate intermediate reward.

The pen exception is informative. Sparse rewards are not uniformly ineffective across all tasks. Some task structures make useful feedback more accessible than others. The suite therefore demonstrates a range of exploration difficulties instead of a universal impossibility result.

#### Behavior cloning reveals useful but incomplete guidance

The authors report that behavior-cloned policies typically fail to complete the task. Yet those policies provide a productive starting point for reinforcement learning. This separates two claims that can otherwise be confused: examples may be insufficient for reliable autonomous execution while still being highly valuable for learning.

The hammer example explains the proposed mechanism. A cloned policy can frequently acquire the tool but rarely produce an effective swing toward the nail. Demonstration trajectories nevertheless contain the later behavior. Continuing to train against those trajectories offers a route for recovering useful information after earlier parts of the task improve.

That explanation motivates the augmented gradient, but it is not a controlled numerical demonstration of the augmented term’s isolated effect. A direct comparison between cloning followed by ordinary NPG and cloning followed by the full DAPG update would be needed to quantify that component’s separate contribution. The paper’s argument for retaining demonstrations is mechanistic and supported by the overall method’s success.

#### Comparing algorithms tests complete procedures

DAPG’s advantage over DDPGfD shows that the way demonstrations enter learning matters. Both approaches have access to successful examples, but they use different optimization procedures and different mechanisms for retaining that information.

The comparison therefore supports DAPG as an effective complete procedure in these environments. It does not isolate whether the decisive factor is initial cloning, continued imitation, natural-gradient updates, optimization stability, or an interaction among them.

The same caution applies to comparisons with shaped-reward NPG. Those comparisons change how human guidance is supplied as well as aspects of the training objective. Their value is practical: they show the consequences of choosing different available learning strategies. Their explanatory resolution is broader than that of a narrowly controlled ablation.

#### Variation tests reveal more than familiar-instance success

Training on a fixed object and testing altered mass and size distinguishes memorized success conditions from broader physical tolerance. The stronger DAPG result supports the claim that demonstration-guided learning can produce more transferable strategies within this setting.

Training across a distribution then asks a different question: can the learner exploit deliberately varied experience? DAPG’s success shows that demonstration guidance remains useful when the training problem becomes more diverse. The failure of from-scratch learning in a comparable window indicates that diversity can increase learning difficulty even when it is desirable for robustness.

These analyses do not identify a specific contact pattern as the sole cause of generalization. Demonstrations affect the entire learning process, including which states are visited and which solutions are discovered. The evidence supports a relationship between the training procedure and robustness, while leaving the detailed causal explanation partly open.

#### Hyperparameter sensitivity receives a limited assessment

The authors state that performance is not especially sensitive to the demonstration-weight hyper-parameters. They use λ₀=0.1 and λ₁=0.95 throughout the experiments.

That consistency is useful: the reported results do not depend on presenting a different decay schedule for each task. However, the paper does not supply a detailed numerical sensitivity study in its discussion. The statement should therefore be understood as an empirical observation by the authors, not as a comprehensive map of stable settings.

### Limitations

#### The authors’ stated boundary: simulation rather than hardware

The authors explicitly acknowledge that successful physical execution remains to be demonstrated. All reported learning takes place in simulation. Their argument for practical relevance is based on task complexity, physical care in the simulator, and the amount of interaction required.

Those are meaningful reasons to pursue hardware experiments. They do not establish that the same policies or training process would work unchanged on a physical hand. Differences in contacts, actuation, sensing, and task setup remain possible sources of difficulty.

The interaction-time result also has a narrower meaning than a complete deployment claim. Equivalent robot hours describe sampled experience. Physical learning would additionally require a workable procedure for starting trials, resetting tasks, handling objects, and managing failures. A careful reading keeps those operational questions separate from the reported sample efficiency.

The authors identify real-hardware learning as future work. They also propose further reductions in interaction requirements through novelty-based exploration. These goals show that they regard the study as progress towards practical learning, instead of a completed account of physical deployment.

#### The authors’ stated boundary: perception and touch

The policies receive structured information about the hand, object, and target. They are not trained to infer all of that information directly from raw images. Consequently, the results concern control under informative state observations instead of an entire perception-and-action system.

Tactile feedback is available in the simulation framework but unused. The authors expect it could help, especially for contact-rich behavior, but that expectation is not experimentally established here.

Learning from visual input and tactile sensing is listed as future work. The distinction matters because a physical controller may need to act under uncertainty about contact and object pose, whereas these experiments expose relevant state information directly.

The pen demonstrations also reveal a limitation of the demonstration interface itself. Without tactile feedback, human demonstration was difficult enough that the authors substituted a previously trained expert policy. That workaround enables the learning comparison but does not resolve the original human-data-collection problem.

#### A careful reading: demonstration cost is not uniform

The phrase “learning with demonstrations” can conceal differences in where expert behavior comes from. Human demonstrations collected through virtual reality and trajectories generated by a computational expert are both usable by DAPG, but they have different costs and assumptions.

For pen manipulation, the expert already embodies substantial learning with a shaped reward. The accelerated training of a new policy therefore does not account for creating that expertise from nothing. It demonstrates reuse of successful behavior, instead of eliminating the effort required to obtain it.

The experiments also focus on successful demonstrations. They do not establish how the method behaves when examples contain substantial mistakes, conflicting strategies, or incomplete task execution. The paper discusses related attempts to learn from imperfect demonstrations, but DAPG’s reported evidence should not be extended automatically to that setting.

This limitation is especially relevant to the weighting rule. Demonstrated actions receive encouragement because the procedure assumes they are useful guidance. If that assumption weakens, the same auxiliary term could promote unsuitable behavior.

#### A careful reading: naturalness is not a safety guarantee

The authors find demonstration-guided motions more human-like and show awkward examples from learning without demonstrations. These observations help explain why demonstration guidance is attractive for robotic manipulation.

However, the paper does not define a quantitative naturalness metric. Nor does it establish a direct equivalence between human-like appearance and safe physical execution. A smooth motion could still apply excessive force, and an unfamiliar motion could conceivably be mechanically acceptable.

The strongest supported conclusion is that the displayed DAPG behavior better resembles the demonstrated style and avoids some observed idiosyncrasies. Safety certification, physical stress assessment, and reliable failure recovery would require additional evidence.

The task success oracle is similarly limited to its defined outcome. Driving the nail in or opening the door establishes completion. It does not automatically measure every property that would matter around people or fragile objects.

#### A careful reading: robustness is meaningful but bounded

The relocation experiments vary size and mass, providing a concrete test beyond the exact training instance. That is stronger evidence than claiming robustness from visual inspection alone.

Yet robustness always concerns a specified set of changes. The study does not show that DAPG handles arbitrary objects, different tools, new hand designs, or every form of sensing error. It also does not establish that every task benefits to the same degree from the tested physical variation.

Training on an environment distribution further improves performance within the tested setting. Its success depends on which variations are included and whether those variations resemble later conditions. The paper’s results support that strategy without showing that the selected distribution exhausts real-world uncertainty.

The proposed explanation through human priors remains partly interpretive. Demonstrations may guide the policy towards better grasps or more forgiving movements, but the experiments do not separately measure all such mechanisms.

#### A careful reading: the method’s simplicity leaves questions open

DAPG combines several choices: behavior cloning, on-policy interaction, advantage-based reinforcement learning, natural-gradient updates, and a decaying demonstration term. The complete combination performs well, but the reported comparisons do not establish that every choice is necessary.

The demonstration weighting is explicitly heuristic. It avoids the difficulty of estimating the current advantage of every expert action, but it does not solve that estimation problem. A shared scale and decay schedule cannot identify which individual examples remain helpful.

The mathematical presentation also contains the action-value discounting and Fisher-indexing issues noted earlier. These do not erase the empirical contribution, but they caution against treating every displayed expression as a complete implementation specification.

Finally, the task suite is deliberately compact. It captures several important forms of manipulation, but successful learning on it does not amount to general dexterous competence. Its value lies in exposing demanding, distinct control problems under a common experimental framework.

### What came after

The later citation record includes [Advantage-Weighted Regression: Simple and Scalable Off-Policy Reinforcement Learning](https://md.research.elamur.ai/free/en/papers/peng-2019-advantage-weighted-regression-simple-scalable/), published in 2019, and [Language Conditioned Imitation Learning over Unstructured Data](https://md.research.elamur.ai/free/en/papers/lynch-2020-language-conditioned-imitation-learning-over/), published in 2020. They place the paper in a continuing conversation about learning from recorded behavior. Their citations establish a connection, but do not by themselves show that either work directly adopts the DAPG update.

#### From demonstration gradients to weighted learning

Advantage-Weighted Regression’s title identifies a natural point of comparison with DAPG: using an assessment of action quality to influence learning from actions. In DAPG, the policy’s own samples contribute according to estimated advantage, while demonstration actions receive an additional heuristic weight.

That distinction creates a clear research question. How should a learner decide which recorded actions deserve more influence, especially when they come from behavior other than the current policy? DAPG offers a practical answer for successful demonstrations, but its discussion also makes the unresolved part explicit: the true current-policy advantages of demonstrated actions are not readily available.

The later work’s title places advantage weighting and off-policy learning at the center of its subject. A more specific claim about its objective, experiments, or relationship to DAPG would require evidence beyond the citation connection. The useful historical link is the shared concern with turning recorded actions into effective policy improvement.

#### From task-specific demonstrations to language-conditioned imitation

Language Conditioned Imitation Learning over Unstructured Data points toward another extension of the broader problem: connecting demonstrated behavior with language and learning from data that is not already arranged as a small set of task-specific examples.

DAPG’s demonstrations belong to clearly defined manipulation tasks with explicit completion checks. Its policy receives structured state information and learns to act toward that task objective. Language-conditioned imitation raises a different organizing question: how behavior should be associated with a linguistic specification.

The citation does not establish that the later work uses DAPG’s natural-gradient machinery, decay rule, or reinforcement-learning phase. What it does show is that this manipulation study remained relevant to subsequent work concerned with imitation and the use of behavioral data.

Together, these connections clarify the paper’s lasting research value. It demonstrates that successful examples can do more than initialize a controller: they can remain useful during improvement, reduce the burden on reward design, and influence which strategies learning discovers. Its experiments also keep the central qualification visible. Better learning efficiency and broader simulated robustness are substantial results, while dependable physical dexterity, richer sensing, and more flexible sources of demonstrations remain further problems to solve.

## Cite

Cite as Aravind Rajeswaran, Vikash Kumar, Abhishek Gupta, Giulia Vezzani, John Schulman, Emanuel Todorov and Sergey Levine. 2017. Learning Complex Dexterous Manipulation with Deep Reinforcement Learning and Demonstrations. arXiv:1709.10087.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.1709.10087](https://doi.org/10.48550/arxiv.1709.10087) · [arXiv 1709.10087](https://arxiv.org/abs/1709.10087)

```bibtex
@misc{rajeswaran2017learning,
  title = {{Learning Complex Dexterous Manipulation with Deep Reinforcement Learning and Demonstrations}},
  author = {Aravind Rajeswaran, Vikash Kumar, Abhishek Gupta, Giulia Vezzani, John Schulman, Emanuel Todorov and Sergey Levine},
  year = {2017},
  doi = {10.48550/arxiv.1709.10087},
  eprint = {1709.10087},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1709.10087}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
