Detecting Anomalies in Object Appearance and Motion Dynamics
�Mazen Alotaibi
1
2
https://loc.gov/pictures/resource/var.1680/
What is Common Sense?
Object Permanence:�“Understanding that items and people �still exist even when you can't see or �hear them.” - webmd
3
https://loc.gov/pictures/resource/var.1680/
4
https://www.youtube.com/watch?v=rVqJacvywAQ
Why Machine Common Sense is important?
5
Why Machine Common Sense is important?
6
Benchmark[1]
7
[1] Ricochet et al. “IntPhys 2019: A Benchmark for Visual Intuitive Physics Understanding”
Prior work
8
[1] Battaglia et al. “Simulation as an engine of physical scene understanding”
[2] Smith et al. “Modeling Expectation Violation in Intuitive Physics with Coarse Probabilistic Object Representations”
Table of Content
9
MCS Challenge
10
Problem Statement
11
Scene
Plausible Y/N
Machine
12
Collisions (COLL)
Focus objects can't change their �motion or appearance without �an explanation.
13
Gravity Support (GRAV)
A dropped focus object follows �gravity.
14
Object Permanence (OP)
Focus objects can't appear �or disappear from the scene �without an explanation.
15
Shape Constancy (SC)
Focus objects can't change �their appearance.
16
replace with video
Spatiotemporal Continuity (STC)
A thrown focus object needs �to have a continuous motion
17
Input
18
Problem Statement
19
SEG
RGB
Depth
Plausible Y/N
Machine
Approach
20
System - Pipeline
21
Mask to 2dbox
Tracker
SEG
RGB
Depth
Learning
component
Reasoning�Agent
Plausible Y/N
Rule-base
component
Role Assigner
3D Amodal Detector
Algorithm
Mask to 2dbbox
22
Mask to 2dbox
Tracker
Reasoning
Agent
Role Assigner
3D amodal detector
Tracker
23
Mask to 2dbox
Tracker
Reasoning
Agent
Role Assigner
3D amodal detector
Tracker
2D �Bounding Boxes
Tracks
RGB
Tracker - Pipeline
24
1st�Stage
Learning
component
Algorithm
Voting
Candidates�pairing
Merging
RGB
Tracks
2D �Bounding �Boxes
2nd Stage
Tracker - 1st Stage
25
[1] “Discriminative appearance modeling with multi-track pooling for real-time multi-object tracking”, � Kim et al. - CVPR 2021
1st Stage
Tracklets
2D �Bounding Boxes
RGB
Tracker - 1st Stage
Objects before and after�occlusion have different�object IDs.
26
Tracker - 2nd Stage
27
2nd Stage
Tracks
Continuous�Tracklets
RGB
Tracker - 2nd Stage (Candidates Pairing)
28
Tracker - 2nd Stage (Voting)
29
Tracker - 2nd Stage (Voting)
30
Tracker - 2nd Stage (Voting)
31
Similarity�Score
Network
Tracker - 2nd Stage (Merging)
32
Tracker - Pipeline
33
1st�Stage
Learning
component
Algorithm
Voting
Candidates�pairing
Merging
RGB
Tracks
2D �Bounding �Boxes
2nd Stage
Role Assigner
34
Mask to 2dbox
Tracker
Reasoning
Agent
Role Assigner
3D amodal detector
Role�Assigner
Focus Object�Y/N
Tracks
RGB
3D amodal detector
35
[1] “Tracking Objects as Points”, Xingyi Zhou et al. - ECCV 2020
Mask to 2dbox
Tracker
Reasoning
Agent
Role Assigner
3D amodal detector
3D�Amodal�Detector
3D �Tracks
2D Tracks
Depth
Rule-based Reasoning Agent
36
Mask to 2dbox
Tracker
Reasoning
Agent
Role Assigner
3D amodal detector
Reasoning�Agent
Plausible Y/N
3D
Tracks
Rule-based Reasoning Agent - GRAV
37
Rule-based Reasoning Agent - GRAV
38
Rule-based Reasoning Agent - SC
39
Rule-based Reasoning Agent - SC
40
Rule-based Reasoning Agent - OP
41
Rule-based Reasoning Agent - OP
42
Rule-based Reasoning Agent - STC
43
Rule-based Reasoning Agent - STC
44
Rule-based Reasoning Agent - COLL
45
Rule-based Reasoning Agent - COLL
46
Evaluation
47
Evaluation
48
Tracker
49
Tracker
50
| Baseline | Ours | ||
IDSW↓ | MOTA↑ | IDSW↓ | MOTA↑ | |
Collisions | 0.1 | 0.9944 | 0.1 | 0.9944 |
Object Permanence | 0.14 | 0.9966 | 0.18 | 0.9961 |
Shape Constancy | 0.44 | 0.9867 | 0.29 | 0.9891 |
Spatiotemporal Continuity | 0.0 | 0.9924 | 0.0 | 0.9924 |
Gravity Support | 0.0 | 0.9998 | 0.0 | 0.9998 |
All | 0.136 | 0.9939 | 0.114 | 0.9943 |
Role Assigner
51
Role Assigner
52
| Baseline | Ours | ||||
Precision | Recall | F1-score | Precision | Recall | F1-score | |
Collisions | 0.71 | 0.82 | 0.76 | 1.0 | 1.0 | 1.0 |
Object Permanence | 0.6 | 1.0 | 0.75 | 1.0 | 1.0 | 1.0 |
Shape Constancy | 0.47 | 1.0 | 0.64 | 1.0 | 0.98 | 0.99 |
Spatiotemporal Continuity | 0.42 | 1.0 | 0.6 | 1.0 | 1.0 | 1.0 |
Gravity Support | 1.0 | 0.75 | 0.86 | 1.0 | 0.96 | 0.98 |
All | | 0.72 | | 0.99 | ||
Reasoning Agent
53
Reasoning Agent - Ground-Truth Tracks
54
| Baseline | Ours | ||||
Precision | Recall | F1-score | Precision | Recall | F1-score | |
Collisions | 0.54 | 1.0 | 0.70 | 0.29 | 0.16 | 0.21 |
Object Permanence | 0.47 | 0.88 | 0.61 | 1.0 | 0.88 | 0.94 |
Shape Constancy | 0.0 | 0.0 | 0.0 | 1.0 | 1.0 | 1.0 |
Spatiotemporal Continuity | 0.56 | 1.0 | 0.72 | 1.0 | 0.84 | 0.91 |
Gravity Support | 0.0 | 0.0 | 0.0 | 1.0 | 0.92 | 0.96 |
All | | 0.41 | | 0.8 | ||
Reasoning Agent - Actual Tracks
55
| Baseline | Ours | ||||
Precision | Recall | F1-score | Precision | Recall | F1-score | |
Collisions | 0.5 | 1.0 | 0.67 | 0.45 | 0.64 | 0.53 |
Object Permanence | 0.5 | 1.0 | 0.67 | 1.0 | 0.6 | 0.75 |
Shape Constancy | 0.0 | 0.0 | 0.0 | 1.0 | 0.86 | 0.92 |
Spatiotemporal Continuity | 0.55 | 1.0 | 0.7 | 1.0 | 0.84 | 0.91 |
Gravity Support | 0.0 | 0.0 | 0.0 | 1.0 | 0.92 | 0.95 |
All | | 0.41 | | 0.82 | ||
Future
56
Improvement
57
Questions?
58
Thank you!
59
Appendix
60
Number of Identity Switch (IDSW↓)
61
Leal-Taixe et al. MOTChallenge 2015: Towards a Benchmark for Multi-Target Tracking
Multiple Object Tracking Accuracy (MOTA↑)
62
Leal-Taixe et al. MOTChallenge 2015: Towards a Benchmark for Multi-Target Tracking