+ All Categories
Home > Science > A Theory for Motion Primitive Adaptation

A Theory for Motion Primitive Adaptation

Date post: 12-Feb-2017
Category:
Upload: richard-southern
View: 212 times
Download: 0 times
Share this document with a friend
52
A Theory For Motion Primitive Adaptation A Theory For Motion Primitive Adaptation Richard Southern National Centre for Computer Animation Richard Southern National Centre for Computer Animation Liu, F.; Southern, R.; Guo, S.; Yang, X.; Zhang, J. J.; , "Motion Adaptation With Motor Invariant Theory," Systems, Man, and Cybernetics, Part B: Cybernetics, IEEE Transactions on, 2013
Transcript
Page 1: A Theory for Motion Primitive Adaptation

A Theory For Motion Primitive

Adaptation

A Theory For Motion Primitive

Adaptation

Richard SouthernNational Centre for

Computer Animation

Richard SouthernNational Centre for

Computer Animation

Liu, F.; Southern, R.; Guo, S.; Yang, X.; Zhang, J. J.; , "Motion Adaptation With Motor Invariant Theory," Systems, Man, and Cybernetics, Part B: Cybernetics, IEEE Transactions on, 2013

Page 2: A Theory for Motion Primitive Adaptation

Talk StructureTalk Structure

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

Page 3: A Theory for Motion Primitive Adaptation

Motivation: Character AnimationMotivation: Character Animation

● Still lots of problems in game character animation– Handling lots of character collisions (crowds)– Repetition of pre-recorded animations– Sliding when running into walls

● Still lots of problems in game character animation– Handling lots of character collisions (crowds)– Repetition of pre-recorded animations– Sliding when running into walls

The following clips thanks to David Greer @ NaturalMotion

Page 4: A Theory for Motion Primitive Adaptation
Page 5: A Theory for Motion Primitive Adaptation
Page 6: A Theory for Motion Primitive Adaptation
Page 7: A Theory for Motion Primitive Adaptation

Motivation: RoboticsMotivation: Robotics

“At present there is no accepted theory of how animals can, or robots might, be energy-stingy, robust, versatile and adaptable. Finding plausible schemes for the organization of a controller that has these features is, I think, the key problem in locomotion research today."

Andy Ruina, Cornell Robotics Group

“At present there is no accepted theory of how animals can, or robots might, be energy-stingy, robust, versatile and adaptable. Finding plausible schemes for the organization of a controller that has these features is, I think, the key problem in locomotion research today."

Andy Ruina, Cornell Robotics Group

Page 8: A Theory for Motion Primitive Adaptation
Page 9: A Theory for Motion Primitive Adaptation

Basic Assumptions of Low Level Motor ControlBasic Assumptions of Low Level Motor Control

● Brain not used much in low level locomotion ● Motion Primitives: building blocks of complex motion (e.g. frog

wave)● Body+Environment=Motion – animals don't move the way they

want, but the way they can (e.g. whale vs fish)● The central nervous system (CNS) only controls final motion

result, not process (equilibrium point hypothesis)

● Brain not used much in low level locomotion ● Motion Primitives: building blocks of complex motion (e.g. frog

wave)● Body+Environment=Motion – animals don't move the way they

want, but the way they can (e.g. whale vs fish)● The central nervous system (CNS) only controls final motion

result, not process (equilibrium point hypothesis)M. Latash, Neurophysiological Basis of Movement. Champaign, IL: Human Kinetics Publ., 2008.E. Bizzi, S. Giszter, E. Loeb, F. Mussa-Ivaldi, and P. Saltiel, “Modular organization of motor behavior in the frog’s spinal cord,” Trends Neurosci.,vol. 18, no. 10, pp. 442–446, Oct. 1995.A. G. Feldman, “Once more on the equilibrium-point hypothesis (λ model) for motor control,” J. Motor Behav., vol. 18(1), 17–54, Mar. 1986.

Page 10: A Theory for Motion Primitive Adaptation

Basic Assumptions cont.Basic Assumptions cont.

● All interesting motion is periodic● Motion adaptation: CNS “tweaks” these primitives to adapt

to environmental changes● We're going to describe “tweaking” mathematically

● All interesting motion is periodic● Motion adaptation: CNS “tweaks” these primitives to adapt

to environmental changes● We're going to describe “tweaking” mathematically

Page 11: A Theory for Motion Primitive Adaptation

What we don't do (yet)What we don't do (yet)

● High level motion planning– Computer vision– Adaptation selection

● Use complex biomechanical models (no ankles, muscles, running)

● Build robots● Rigorously test hypothesis on humans subjects

● High level motion planning– Computer vision– Adaptation selection

● Use complex biomechanical models (no ankles, muscles, running)

● Build robots● Rigorously test hypothesis on humans subjects

Page 12: A Theory for Motion Primitive Adaptation

State (Dynamic) StabilityState (Dynamic) Stability

● How well does it respond to perturbations in state space? (e.g. walker is pushed)

● Region of stability = basin of attraction

● How well does it respond to perturbations in state space? (e.g. walker is pushed)

● Region of stability = basin of attraction

Page 13: A Theory for Motion Primitive Adaptation

Structural StabilityStructural Stability

● If we change the system (e.g. add a term to the function), does the topology change?

● If we change the system (e.g. add a term to the function), does the topology change?

Page 14: A Theory for Motion Primitive Adaptation

Talk StructureTalk Structure

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

Page 15: A Theory for Motion Primitive Adaptation

OverviewOverview

Page 16: A Theory for Motion Primitive Adaptation

OverviewOverview

No input – not much happening

Page 17: A Theory for Motion Primitive Adaptation

OverviewOverview

Global controller ensures stable periodic system

Page 18: A Theory for Motion Primitive Adaptation

OverviewOverview

Local controller to alters limit cycle

Page 19: A Theory for Motion Primitive Adaptation

Talk StructureTalk Structure

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

Page 20: A Theory for Motion Primitive Adaptation

The Motor InvariantThe Motor Invariant

● The motor invariant we want to preserve is the topology of the dynamic system.

● Type and Number of attractors do not change.● Shape of attractor and basin may change.

● The motor invariant we want to preserve is the topology of the dynamic system.

● Type and Number of attractors do not change.● Shape of attractor and basin may change.

Page 21: A Theory for Motion Primitive Adaptation

Theory of Valid Motion AdaptationTheory of Valid Motion Adaptation

● For example: walker continues to walk, ball keeps bouncing ● Evidence: motion capture analysis, handwriting

adaptation*● Realised through Lie group symmetry

● For example: walker continues to walk, ball keeps bouncing ● Evidence: motion capture analysis, handwriting

adaptation*● Realised through Lie group symmetry

*Affine differential geometry analysis of human arm movementsTamar Flash and Amir A. Handzel, Biol Cybern. 2007 June; 96(6): 577–601.

A valid motion adaptation is one which preserves the motor invariant

Page 22: A Theory for Motion Primitive Adaptation
Page 23: A Theory for Motion Primitive Adaptation

What does this mean?What does this mean?

● These are validity conditions for motion adaptation● We can construct energy efficient controllers to make a

system more stable under certain environmental conditions

● These are validity conditions for motion adaptation● We can construct energy efficient controllers to make a

system more stable under certain environmental conditions

Page 24: A Theory for Motion Primitive Adaptation

Talk StructureTalk Structure

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

Page 25: A Theory for Motion Primitive Adaptation

Application 1: Global ControllerApplication 1: Global Controller

● Design a controller to enhance state stability, or grow the basin of attraction

● Without changing the type or number of attractors

● Design a controller to enhance state stability, or grow the basin of attraction

● Without changing the type or number of attractors

Page 26: A Theory for Motion Primitive Adaptation
Page 27: A Theory for Motion Primitive Adaptation

EntrainmentEntrainment

● Couple an unconditionally stable oscillator with a potentially unstable one

● Stable oscillator controls unstable one● Both oscillators assume same period● Strong biological evidence

● Couple an unconditionally stable oscillator with a potentially unstable one

● Stable oscillator controls unstable one● Both oscillators assume same period● Strong biological evidence

A. H. Cohen, “Evolution of the vertebrate central pattern generator forlocomotion,” in Neural Control of Rhythmic Movements in Vertebrates.Hoboken, NJ: Wiley, 1988, pp. 129–166.

Page 28: A Theory for Motion Primitive Adaptation

Oscillator couplingOscillator coupling● We use Matsuoka oscillator: exactly one periodic attractor.● F is mechanical system● S neural oscillator● Controller u input/output derived from oscillator

parameters / mechanical system parameters● h in/out user entrainment parameters

● We use Matsuoka oscillator: exactly one periodic attractor.● F is mechanical system● S neural oscillator● Controller u input/output derived from oscillator

parameters / mechanical system parameters● h in/out user entrainment parameters

K. Matsuoka. Sustained oscillations generated by mutuallyinhibiting neurons with adaptation. BiologicalCybernetics, 52(1):345–353, 1985.

Page 29: A Theory for Motion Primitive Adaptation

Results: greater structural stabilityResults: greater structural stability

Page 30: A Theory for Motion Primitive Adaptation

Results: enforces periodicityResults: enforces periodicity

Page 31: A Theory for Motion Primitive Adaptation

Talk StructureTalk Structure

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

Page 32: A Theory for Motion Primitive Adaptation

Application 2: Local ControllerApplication 2: Local Controller

● Reasons to transform the dynamic system:– Move system so current state is within basin of attraction,

accounting for terrain variation– Change frequency of system (walk faster, bounce ball faster)– Change style of motion (more energetic, bounce ball higher)

● Effectively realised as a local affine transform to the state space.

● Reasons to transform the dynamic system:– Move system so current state is within basin of attraction,

accounting for terrain variation– Change frequency of system (walk faster, bounce ball faster)– Change style of motion (more energetic, bounce ball higher)

● Effectively realised as a local affine transform to the state space.

Page 33: A Theory for Motion Primitive Adaptation

Local controller derivationLocal controller derivation

Divergence Shooting Our Method

Page 34: A Theory for Motion Primitive Adaptation

Lie Group Control SymmetryLie Group Control Symmetry● Transforming a motion by a function g is equivalent

to transforming every state by g.● For each action g there is a corresponding “lift”

action Tg applied to tangential space● Control symmetry: solve Euler-Legrange equations

for transformed and untransformed systems

● Transforming a motion by a function g is equivalent to transforming every state by g.

● For each action g there is a corresponding “lift” action Tg applied to tangential space

● Control symmetry: solve Euler-Legrange equations for transformed and untransformed systems

Page 35: A Theory for Motion Primitive Adaptation

Invariant Preserving OperatorsInvariant Preserving Operators

Page 36: A Theory for Motion Primitive Adaptation

Controller DerivationController Derivation

Page 37: A Theory for Motion Primitive Adaptation

Talk StructureTalk Structure

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

Page 38: A Theory for Motion Primitive Adaptation

Motion PrimitivesMotion Primitives

● Difficult to decouple motion primitives from complex motion

● Walking triggers little brain activity, uses very little energy● Passive Dynamic Walker (with knees) from robotics● Mechanical, physics based model, not a muscle model

● Difficult to decouple motion primitives from complex motion

● Walking triggers little brain activity, uses very little energy● Passive Dynamic Walker (with knees) from robotics● Mechanical, physics based model, not a muscle model

The following clip from the Cornell Robotics Group

Page 39: A Theory for Motion Primitive Adaptation
Page 40: A Theory for Motion Primitive Adaptation

Passive Dynamic WalkerPassive Dynamic Walker

● We use Chen's passive dynamic walker with knees● We use Chen's passive dynamic walker with knees

V. F. H. Chen. Passive dynamic walking with knees: Apoint foot model. Master’s thesis, Massachusetts Instituteof Technology, 2007.

Page 41: A Theory for Motion Primitive Adaptation

Enhancing stabilityEnhancing stability

Slope 0.03 radsSlope 0.06 rads

+Neural Oscillator +Local Control

Page 42: A Theory for Motion Primitive Adaptation

Motion AdaptationMotion Adaptation

Page 43: A Theory for Motion Primitive Adaptation

Talk StructureTalk Structure

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

● Background● Overview● Theory for Motion Adaptation● Entrainment for Structural Stability● Local Controllers for State Stability● Walking model● Results

Page 44: A Theory for Motion Primitive Adaptation

ResultsResults

● Controller design choice influences state stability while maintaining structure

● Computationally trivial – a couple of matrix multiplications at each time step

● Very energy efficient – cost of transport 0.02 (half of Cornell Ranger, tenth of a human)

● Controller design choice influences state stability while maintaining structure

● Computationally trivial – a couple of matrix multiplications at each time step

● Very energy efficient – cost of transport 0.02 (half of Cornell Ranger, tenth of a human)

Page 45: A Theory for Motion Primitive Adaptation

ApplicationsApplications

● Robot controller design● Rehabilitation: understanding human motion adaptation● One day: in character synthesis for games

● Robot controller design● Rehabilitation: understanding human motion adaptation● One day: in character synthesis for games

Page 46: A Theory for Motion Primitive Adaptation

ChallengesChallenges

● Describing complex mechanical systems with solvable dynamic models (ankles, running and muscles)

● More complex (not affine transform) local controllers● Isolating motion primitives

● Describing complex mechanical systems with solvable dynamic models (ankles, running and muscles)

● More complex (not affine transform) local controllers● Isolating motion primitives

Page 47: A Theory for Motion Primitive Adaptation

Questions?Questions?

Page 48: A Theory for Motion Primitive Adaptation

AppendicesAppendices

Page 49: A Theory for Motion Primitive Adaptation

Why Periodic Motion?Why Periodic Motion?

Using Degallier and Ijspeert 2010 as a reference, we argued that most motion is probably periodic, on a biological level at least.

Of the three types of attractors, chaos is not applicable to motion control problems, and fxed point attractors can be easily modeled using a traditional proportional derivative controller,which in many cases is a trivial problem.

For these reasons, periodic motion is of most interest to biology and robotics researchers, and are the most difficult to explain.

Using Degallier and Ijspeert 2010 as a reference, we argued that most motion is probably periodic, on a biological level at least.

Of the three types of attractors, chaos is not applicable to motion control problems, and fxed point attractors can be easily modeled using a traditional proportional derivative controller,which in many cases is a trivial problem.

For these reasons, periodic motion is of most interest to biology and robotics researchers, and are the most difficult to explain.

Page 50: A Theory for Motion Primitive Adaptation

Matsuoka OscillatorMatsuoka Oscillator

Page 51: A Theory for Motion Primitive Adaptation

Chen's model for passive dynamic walking with kneesChen's model for passive dynamic walking with knees

Page 52: A Theory for Motion Primitive Adaptation

PD Controllers for Periodic MotionPD Controllers for Periodic Motion

● Problems with methods from Van De Panne et al.:– High gain (leading to stiffness)– Reference trajectory– Overshooting

● Problems with methods from Van De Panne et al.:– High gain (leading to stiffness)– Reference trajectory– Overshooting


Recommended