generation of movement explanations for testing gesture ...€¦ · [email protected]....

12
GENERATION OF MOVEMENT EXPLANATIONS FOR TESTING GESTURE BASED CO-OPERATIVE LEARNING APPLICATIONS Ayan Banerjee, Imane Lamrani, Prajwal Paudyal, and Sandeep K.S. Gupta. iMPACT Lab CISDE, Arizona State University. [email protected]

Upload: others

Post on 11-Oct-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Generation of Movement Explanations for Testing Gesture ...€¦ · sandeep.gupta@asu.edu. INTRODUCTION Explanations are necessary for generating Trust in AI Systems Trust is paramount

GENERATION OF MOVEMENT EXPLANATIONS FOR TESTING GESTURE BASED CO-OPERATIVE

LEARNING APPLICATIONS

Ayan Banerjee, Imane Lamrani, Prajwal Paudyal, and Sandeep K.S. Gupta.

iMPACT Lab

CISDE, Arizona State University.

[email protected]

Page 2: Generation of Movement Explanations for Testing Gesture ...€¦ · sandeep.gupta@asu.edu. INTRODUCTION Explanations are necessary for generating Trust in AI Systems Trust is paramount

INTRODUCTION

Explanations are necessary for generating Trust in AI Systems

Trust is paramount in any AI enabled System

Lack of

Trust

2 crashes in

5 months

Crash in

Autonomous Cars

Hyperglycemia

Why did the AI system fail?

How can the AI system be improved?

Page 3: Generation of Movement Explanations for Testing Gesture ...€¦ · sandeep.gupta@asu.edu. INTRODUCTION Explanations are necessary for generating Trust in AI Systems Trust is paramount

COOPERATIVE LEARNING

• ML-based gesture CLA include computer

aided training of military personnel,

rehabilitation for diseases such as or Parkinson,

performance coaching in entertainment

applications …

• ML-based gesture CLA recognize the

correctness of the gesture performed by the

learner.

• . ML-based gesture CLA should also provide

feedback to the learner.

Trust ➔ Explanation

Why was a gesture

recognized positively or

negatively?

Page 4: Generation of Movement Explanations for Testing Gesture ...€¦ · sandeep.gupta@asu.edu. INTRODUCTION Explanations are necessary for generating Trust in AI Systems Trust is paramount

EXPLANATIONS FOR GESTURES: AMERICAN SIGN LANGUAGE EXAMPLE

Learn2Sign

Expert

Learner

Page 5: Generation of Movement Explanations for Testing Gesture ...€¦ · sandeep.gupta@asu.edu. INTRODUCTION Explanations are necessary for generating Trust in AI Systems Trust is paramount

COMPONENTS OF EXPLANATION

• Handshape Explanation

• Explanation generation: CNN, RNN, DNNs [Andreas, et al., B. Liu, et al., R, Hu, et al., A. H. Abdulnabi, et al.].

• Location Explanation

• Visual explanations are intuitive.

• Movement Explanation

• Very limited work.

Paper Focus: Movement Explanation and

corrective feedback

Page 6: Generation of Movement Explanations for Testing Gesture ...€¦ · sandeep.gupta@asu.edu. INTRODUCTION Explanations are necessary for generating Trust in AI Systems Trust is paramount

CHALLENGE FOR EXPLAINING MOVEMENT

SHAPE

2

SHAPE

3

SHAPE

4

𝒅𝒑

𝒅𝒕= 𝒗,

𝒅𝒗

𝒅𝒕= 𝒂,

𝒅𝒂

𝒅𝒕= 𝒇𝟏(𝒂, 𝒗, 𝒙)

𝒅𝒑

𝒅𝒕= 𝒗,

𝒅𝒗

𝒅𝒕= 𝒂,

𝒅𝒂

𝒅𝒕= 𝒇𝟐(𝒂, 𝒗, 𝒙)

𝒅𝒑

𝒅𝒕= 𝒗,

𝒅𝒗

𝒅𝒕= 𝒂,

𝒅𝒂

𝒅𝒕= 𝒇𝟑(𝒂, 𝒗, 𝒙)

Shape

Transition

Condition

Shape

Transition

Condition

Shape

Transition

Condition

SHAPE

1

Unique shapes interspersed with differential dynamics

How do we explain differential dynamics?

a)What is the reason behind a given recognition result?

b) When does a learner succeed or fail a gesture execution?

c) When can a recognition result be trusted?

d) How does a learner correct the error in case of failure?

e) How do we tackle variations among experts?

Page 7: Generation of Movement Explanations for Testing Gesture ...€¦ · sandeep.gupta@asu.edu. INTRODUCTION Explanations are necessary for generating Trust in AI Systems Trust is paramount

CONTRIBUTIONS

Hybrid Automata>> Model Gestures

Reachability Analysis>> Expert Variations

>> Learner DeviationReach set

Comparison

>> Corrective FeedbackParameter Variations

in Kinematic Models

Hybrid Model Mining

Technique

HyMn

Expert variation

extraction from

practical deployments

Usage of Learn2Sign

Mobile Application

Multi-variate

Parameter Estimation

Page 8: Generation of Movement Explanations for Testing Gesture ...€¦ · sandeep.gupta@asu.edu. INTRODUCTION Explanations are necessary for generating Trust in AI Systems Trust is paramount

SOLUTION ARCHITECTURE

Domain Experts

Gesture

Executions

Gesture Execution

traces

Hand Shapes

recognition

system Expert

Movement

Dynamical System

Variation Model

Unique Hand

Shapes

&

time stamps

Learner

Gesture

Execution

Movement

Dynamics

ExtractionKinematic Model

Parameters

Expert vs Learner

Movement Comparison

Module

Challenge 1

Challenge 2

Gesture Execution

traces

Hand Shapes

recognition

system

Unique Hand

Shapes

&

time stamps

Movement

Dynamics

ExtractionKinematic Model

Parameters

Challenge 3Corrective

Feedback

Learner

Movement

Model

Page 9: Generation of Movement Explanations for Testing Gesture ...€¦ · sandeep.gupta@asu.edu. INTRODUCTION Explanations are necessary for generating Trust in AI Systems Trust is paramount

DATA COLLECTION

• We collected Kinect data including video and bone movement data from 60 subjects for 20 ASL gestures.

• About, After, Hello, Tiger, Cat, Cop, Help, Day, Deaf…

• 30 users performed every gesture nearly like an expert.

➢Used to build expert hybrid model based movement recognition.

• 10 users performed every gesture nearly like an expert.

➢Used to test the accuracy of the inferred expert hybrid model.

• 20 users made several errors in executing any gesture.

➢Used to evaluate the movement explanation module.

Page 10: Generation of Movement Explanations for Testing Gesture ...€¦ · sandeep.gupta@asu.edu. INTRODUCTION Explanations are necessary for generating Trust in AI Systems Trust is paramount

EXPERT VARIATION MODELING

Experts Hybrid Model Mining using HyMnTechnique:

1. Change-point detection using RuLSIF:

• Position A: Position of the back right hand on the top of the left hand.

• Position B: Position of the left hand in front of the right hand.

• Position C: Position of the left hand in front of the back of the left

2. Multivariate Non-Linear Polynomial Regression Analysis:

𝑑 ശ𝑝

𝑑𝑡= ശ𝑣 ,

𝑑𝑣

𝑑𝑡= ശ𝑎,

𝑑𝑎

𝑑𝑡= 𝑥1 ശ𝑎 + 𝑥2 ശ𝑣 + 𝑥3 ശ𝑝 + 𝑥4

𝒑 is the position vector for the right arm𝒗 is the velocity vector 𝒂 is the acceleration vector 𝒙𝒊 are parameters of the hand motion.

Page 11: Generation of Movement Explanations for Testing Gesture ...€¦ · sandeep.gupta@asu.edu. INTRODUCTION Explanations are necessary for generating Trust in AI Systems Trust is paramount

RESULTS

40 45 50 55 60 65 70 75 80-1

-0.8

-0.6

-0.4

-0.2

0

0.2

Rig

ht A

rm X

Ori

enta

tion

Expert Reach

Set

Learner dynamic

trajectory

Time Interval

Explanation

The acceleration increases

resulting in overshooting.

Feedback

Control the right arm so that

the velocity is uniform.

Page 12: Generation of Movement Explanations for Testing Gesture ...€¦ · sandeep.gupta@asu.edu. INTRODUCTION Explanations are necessary for generating Trust in AI Systems Trust is paramount

CONCLUSION

• Applied software testing mechanism to generate explainable interfaces for an ML based gesture recognition system

• We propose a hybrid system model inference technique for a ML based gesture recognition system.

• Modes are used to represent movement components.

• Kinematic equations to describe the continuous spatio-temporal movement dynamics.

• Reachability analysis from the execution of an inferred expert model is used for corrective feedback.