Learn How Supervised and Unsupervised ML Can Work Together
1. CAN SUPERVISED AND UNSUPERVISED
LEARNING MARRY HAPPILY?
USE CASES ON HUMAN ACTIVITY RECOGNITION
Natalia Díaz Rodríguez
Visiting scholar
University of California, Santa Cruz
nadrodri@ucsc.edu
4th August 2015, Mobilize Center, Stanford University
2. OUTLINE
•ABOUT ME & MY RESEARCH
•RECENT PROJECTS
•SUPERVISED AND UNSUPERVISED MACHINE
LEARNING
•Use Cases on Activity Recognition
3. ABOUT ME: What excites me in AI?
•Semantic computing
•Interpretable, intuitive, human-readable knowledge representation
•Unsupervised and Deep Learning (e.g. ComputerVision)
•Automatic and powerful statistical learning
•Can semantics and statistics blend together?
• Cognitive neuroscience
•Can the brain’s learning mechanism inspire machine learning?
•Quantified Self
•Actionable, personalized well-being
4. RECENT ACTIVITIES
•Google Anita Borg Scholar
•/SYS/TUR Global
•Women in Math and CS
•India collab.NIT Meghalaya:
Wearables activity recognition
5. RECENT ACTIVITIES: India collab: IIT Kharagpur
Virtual tutor: India folklore dance:
Kinect touch free interaction
6. RECENT ACTIVITIES: SICN 2015 Fellow
Summer Institute of Cognitive Neurosciences
http://sicn.cmb.ucdavis.edu/
Program http://sicn.cmb.ucdavis.edu/SI_2015_Week_1_Schedule_1_1_15.pdf http://sicn.cmb.ucdavis.edu/SI_2015_Week_2_Schedule_1_2_15.pdf
7. RECENT ACTIVITIES:
Smart Dosing (with Nursing Science Dept., Finland)
Medication tray filling and dispensing in hospital wards
8. RECENTACTIVITIES:
First PersonVision for Activity Recognition
Unsupervised annotation (collab. with A. Betancourt, Netherlands)
• Recording public Autographer dataset
Betancourt, A., Morerio, P., Barakova, E. I., Marcenaro, L., Rauterberg, M., & Regazzoni, C. S. (2015). A Dynamic Approach and a New Dataset for Hand-
Detection in First Person Vision. In International Conference on Computer Analysis of Images and Patterns. Malta.
9.
10.
11. Currently:Visiting Scholar
HYBRID POSSIBILISTIC AND PROBABILISTIC
SEMANTIC MODELLING OF UNCERTAINTY FOR
SCALABLE HUMAN ACTIVITY RECOGNITION
•Prof. Lise Getoor
•Probabilistic Soft Logic (PSL)
12. RESEARCH AGENDA
• Supervised and unsupervised learning USE CASES:
1. Remote rehabilitation with Kinect
2. Human activity recognition in Ambient Intelligence
3. Semantic lifestyle profiling with wearables
4. Conciliating probabilistic and possibilistic Activity
Recognition with PSL
• Mentally stimulating future challenges
15. Knowledge-based Machine Learning
WHY Semantic Technologies & Ontologies?
•Semantic Web: well-defined meaning
•Ontology:
•In Philosophy: study of entities and their relations
•In Artificial Intelligence: “Explicit specification of a
conceptualization” [Gruber, 93]
• Web Ontology Language (OWL)
16. Background:
Ubiquitous computing and Ambient Intelligence
•Smart Space (SS)
•Context-awareness:
•Infrastructure and architectures
•End-user programming frameworks for AmI
16
17. Background: Ambient Assisted Living
•Usage of technology to provide assistance to people
who needs it in their daily activities, in the less
obstrusive way
•Aim: support older/disadvantaged people,
independent living, safety
•Includes: methods, systems, products and services
17
18. Case study 1: A Kinect ontology for physical
exercise annotation and recognition
•Active Healthy Ageing project (EIT Digital)
with Philips Personal Health Labs (PHL)
•Sensor data aggregation platform
18
20. Kinect for remote rehabilitation DEMOS
•Sit-to-stand test
https://www.youtube.com/watch?v=g8HOtFTk80c
• Remote monitoring of post-surgery
rehabilitation exercises on shoulder, knee, hip
https://www.youtube.com/watch?v=XL4JexDNs-Q
23. Kinect ontology: examples of use
23
• Example 1: Defining basic movement (Stand, BendDown,
TwistRight, MoveObject, etc.)
• Example 2: Provide workout feedback (# series in time, quality
comparison with medical guidelines)
24. Kinect ontology: examples of use
24
• Example 3: Historic analysis can monitor posture quality in time. E.g. having back
less straight than 1 year ago-> notify to correct/prevent on time.
• Example 4: Notifications for office workers sitting too long/ not properly
25. Case Study 2: PhD (Cum laude, Finland-Spain):
Semantic and fuzzy modelling for human behaviour recognition in
Smart Spaces, a case study on Ambient Assisted Living
Ros et. Al. 2011
26. 26
SPAIN: 15m of elders in 2049 (1/3 of the population) (INE)
FINLAND population 65+ years: 18.14% [1]
• [1] http://www.finnbay.com/media/news/government-prepares-to-set-out-new-requirements-for-senior-caretakers/
38. A fuzzy ontology for activity modelling and recognition
38
Classes, Individuals, Data Properties and Object Properties
SUBJECT PREDICATE OBJECT
User performs activity Taking medicine =
(0.3 User performs sub-activity reach Cup or Medicine Box)
(0.3 User performs sub-activity move Cup or Medicine Box)
(0.1 User performs sub-activity place Cup or Medicine Box)
(0.1 User performs sub-activity open Medicine Box)
(0.1 User performs sub-activity eat Medicine Box)
(0.1 User performs sub-activity drink Cup)
60. A visual language to configure the Smart Space behaviour
•TARGET USER:
a) Developer
b) Non-technical background
•AIM:
•Rapid & easy programming of applications
•Improve interoperability and usability
60
64. PhD main contributions
1. A set of ontologies to model human behaviour and tackle
uncertainty and vagueness inherent to real life
2. An architecture that integrates Semantic Web and Fuzzy Logic
for interpretable activity recognition
3. A hybrid knowledge-based and data-driven algorithm for real-
time, robust activity recognition (84.1% prec.)
4. Design & development of a toolbox for non-expert users and
rapid programming of Smart Spaces
[4 Journals -3 on Q1-, 9 conf. Papers. Google Anita Borg, Nokia and HLF scholar. University entrepreneurship award]
64
66. USE CASE 3:
Semantic lifestyle profiling with wearables
Can we recognize lifestyle patterns automatically?
1. Provide meaning to large heterogeneous data
-Interpretable, actionable insights
2. Knowledge-based methods & uncertainty handling
-Behavior vs Profile recognition
Day routines and lifestyles:
•Work/shop-aholics, Gym addicts
•Pet/ Partner/ Kids
•Retired/ Worker/ On holiday
67. USE CASE 4:
Activity recognition with Probabilistic Soft Logic
•Can manual work be automated?
•Can we improve…
•Model & rule learning
•Accuracy
•Scalability
•Genericity
68. Probabilistic Soft Logic (PSL) :
Expresses collective inference problems
mapping logical rules to convex functions
(defining a hinge-loss Markov Random field).
• FOL Predicate: relationship, property or role
• Atom: (continuous) random variables
• Rule: dependencies or constraints
• Set: aggregates
PSL Program = Rules + Input DB
[PSL (open-source): psl.umiacs.umd.edu]
70. Current work @LINQS Lab
•Can we seamlessly blend…
•Knowledge-based and data-driven mechanisms
•Supervised and unsupervised learning
for a general activity recognition framework?
•CanTIMED streams be handled naturally?
•Cost-sensitive, Online model learning and evolution
•Can models balance
•Flexibility and reproducibility?
•AccuracyVS deviation/anomaly detection?
71. General activity recognition framework
AIM:
Automate heuristics while maintaining rich semantic granularity:
•Context-awareness
•Object interaction, cardinality, recursion, rule subsumption
•Unordered/ordered (sub)sequences of sub-activity-object pairs
•Min/ max pattern sequential repetition in Δt
73. Future Challenges in Activity Recognition
•Multiple human sensing
•Parallel/interleaved activities
•Automatic ontology learning and evolution
•Reduce manual work
•(FOL/DL) Logics support for temporal constraints
73
74. • Unsupervised activity modelling
• First camera visionAR
• Automatic dataset annotation
• Wearables sparsity and uncertainty
• Scaling and real-timeness
74
Future Challenges in Activity Recognition
75. TAKE HOME MESSAGE
•Supervised ML: Statistical and probabilistic approaches
•Unsupervised ML: Interpretable knowledge-based techniques
Both are needed!
Domain expert knowledge and common sense knowledge:
Classical ML & Deep Learning: unable to exploit it!
76. THANKYOU!
Brainstorming/collaboration ideas, tips, pointers are welcome!
Natalia Díaz Rodríguez nadrodri@ucsc.edu
https://research.it.abo.fi/personnel/ndiaz
COST Action on Architectures, Algorithms and Platforms for Enhanced Living
Environments: aapele.eu and Finnish Foundation for Technology Promotion
77. Kinect for remote rehabilitation DEMOS
•Sit-to-stand test
https://www.youtube.com/watch?v=g8HOtFTk80c
• Remote monitoring of post-surgery
rehabilitation exercises on shoulder, knee, hip
https://www.youtube.com/watch?v=XL4JexDNs-Q
79. Human Activity Recognition
A crucial but challenging task in Ambient Intelligence
and AAL. Requires:
Context-awareness and heterogeneous data sources
Training data: examples
Common-sense knowledge /domain experts
Adaptation of behaviours
Alzheimer, Parkinson
79