Human-Oriented Robotics
- Prof. Kai Arras
Social Robotics Lab
Human-Oriented Robotics Supervised Learning
Part 2/3 Kai Arras Social Robotics Lab, University of Freiburg
1
Human-Oriented Robotics Supervised Learning Part 2/3 Kai Arras - - PowerPoint PPT Presentation
Human-Oriented Robotics Prof. Kai Arras Social Robotics Lab Human-Oriented Robotics Supervised Learning Part 2/3 Kai Arras Social Robotics Lab, University of Freiburg 1 Human-Oriented Robotics Supervised Learning Prof. Kai Arras Social
Human-Oriented Robotics
Social Robotics Lab
1
Human-Oriented Robotics
Social Robotics Lab
2
Human-Oriented Robotics
Social Robotics Lab
b kwk
3
Human-Oriented Robotics
Social Robotics Lab
T xAT xB
x2 x1 w x
y(x) kwk
x?
w0 kwk
y = 0 y < 0 y > 0 R2 R1
f(x) =
+ b
4
Human-Oriented Robotics
Social Robotics Lab
T x⊥ T x + T x +
T x +
x2 x1 w x
y(x) kwk
x?
w0 kwk
y = 0 y < 0 y > 0 R2 R1
f(x) =
+ b
b kwk
5
Human-Oriented Robotics
Social Robotics Lab
x2 x1 w x
y(x) kwk
x?
w0 kwk
y = 0 y < 0 y > 0 R2 R1
f(x) =
+ b
f(x) =
d
k k k c
θ xw = k x k c
θ
b kwk
b kwk
b kwk
6
Human-Oriented Robotics
Social Robotics Lab
7
Human-Oriented Robotics
Social Robotics Lab
8
Human-Oriented Robotics
Social Robotics Lab
9
Human-Oriented Robotics
Social Robotics Lab
) = w
margin support vectors
10
Human-Oriented Robotics
Social Robotics Lab
b kwk
margin support vectors
y<1 y=1 y=0 y=+1 y>+1
) = w
k
11
Human-Oriented Robotics
Social Robotics Lab
y<1 y=1 y=0 y=+1 y>+1
) = w
12
Human-Oriented Robotics
Social Robotics Lab
y=1 y=0 y=+1
) = w
Does not maximize the margin
13
Human-Oriented Robotics
Social Robotics Lab
1 2 kwk2
w,b
14
Human-Oriented Robotics
Social Robotics Lab
Source [6]
15
Human-Oriented Robotics
Social Robotics Lab
Source [6] Source [6]
16
Human-Oriented Robotics
Social Robotics Lab
x,y f = λ r x,y g
r rx,y f = ✓∂f ∂x, ∂f ∂y ◆ r r rx,y g = ✓∂g ∂x, ∂g ∂y ◆
x f(x) = λ r x g(x)
Source [6] Source [6]
17
Human-Oriented Robotics
Social Robotics Lab
x,y,λ L(x, y, λ) = 0
x,y f = λ r x,y g
x,y f + λ r x,y g = 0
Source [6]
18
Human-Oriented Robotics
Social Robotics Lab
x,y,λ L(x, y, λ) = 0
x,y f = λ r x,y g
x,y f + λ r x,y g = 0
Source [6]
19
Human-Oriented Robotics
Social Robotics Lab
20
Human-Oriented Robotics
Social Robotics Lab
λ L(x, y, λ) = 0
Source [6]
21
Human-Oriented Robotics
Social Robotics Lab
Source [6]
22
Human-Oriented Robotics
Social Robotics Lab
Source [6]
23
Human-Oriented Robotics
Social Robotics Lab
x f(x) = λ r x g(x)
x f(x) = T x +
x g(x)
x f(x) = N
i=1
x gi(x)
x gi(x)
Source [6]
24
Human-Oriented Robotics
Social Robotics Lab
N
i=1
T x +
x,λ L(x, λ) = 0
25
Human-Oriented Robotics
Social Robotics Lab
N
i=1
M
i=1
Source [6]
26
Human-Oriented Robotics
Social Robotics Lab
Source [6]
27
Human-Oriented Robotics
Social Robotics Lab
w,b
N
i=1
28
Human-Oriented Robotics
Social Robotics Lab
T x +
N
i=1
N
i=1
N
i=1
N
i=1
N
i=1
29
Human-Oriented Robotics
Social Robotics Lab
N
i=1
i
i=1
i
N
j=1
N
i,j
i xj
N
i=1
N
i=1
N
i,j=1
i xj + N
i=1
N
i=1
30
Human-Oriented Robotics
Social Robotics Lab
N
i=1
N
i,j=1
i xj
i λi yi = 0
31
Human-Oriented Robotics
Social Robotics Lab
N
i=1
N
i=1
i x + b
32
Human-Oriented Robotics
Social Robotics Lab
33
Human-Oriented Robotics
Social Robotics Lab
si (
sj∈ S
sjxsi + b) = 1
si (
sj∈ S
sjxsi + b) = ysi
sj∈ S
sjxsi
si∈ S
sj∈ S
sjxsi)
34
Human-Oriented Robotics
Social Robotics Lab
T x0 +
N
i=1
i x0 + b)
35
Human-Oriented Robotics
Social Robotics Lab
36
Human-Oriented Robotics
Social Robotics Lab
y=1 y=0 y=+1
) = w
ξ = 0 ξ < 1 ξ > 1 ξ = 0
ξ kwk
37
Human-Oriented Robotics
Social Robotics Lab
w,b
N
i=1
w,b
38
Human-Oriented Robotics
Social Robotics Lab
N
i=1
N
i=1
i=1
39
Human-Oriented Robotics
Social Robotics Lab
N
i=1
N
i=1
N
i=1
N
i,j=1
i xj
40
Human-Oriented Robotics
Social Robotics Lab
i λi yi = 0
41
Human-Oriented Robotics
Social Robotics Lab
Source [5] Source [5]
42
Human-Oriented Robotics
Social Robotics Lab
43
Human-Oriented Robotics
Social Robotics Lab
φ : ✓ x1 x2 ◆ → @ x2
1
x2
2
√ 2 x1x2 1 A R2 → R3
44
Human-Oriented Robotics
Social Robotics Lab
φ : ✓ x1 x2 ◆ → @ x2
1
x2
2
√ 2 x1x2 1 A R2 → R3
45
Human-Oriented Robotics
Social Robotics Lab
φ : ✓ x1 x2 ◆ → @ x2
1
x2
2
√ 2 x1x2 1 A R2 → R3 Linearly separable!
46
Human-Oriented Robotics
Social Robotics Lab
47
Human-Oriented Robotics
Social Robotics Lab
N
i=1
N
i,j=1
i xj
si∈ S
sj∈ S
sjxsi)
N
i=1
i x0 + b)
48
Human-Oriented Robotics
Social Robotics Lab
N
i=1
N
i,j=1
si2 S
sj2 S
N
i=1
49
Human-Oriented Robotics
Social Robotics Lab
N
i=1
N
i,j=1
si2 S
sj2 S
N
i=1
T x + φ(x)
50
Human-Oriented Robotics
Social Robotics Lab
51
Human-Oriented Robotics
Social Robotics Lab
1 x2 2
1
2
1z2 1 + x2 2z2 2 + 2 x1x2z1z2
1
2
52
Human-Oriented Robotics
Social Robotics Lab
53
Human-Oriented Robotics
Social Robotics Lab
1z2 1 + x1x2z1z2 + x2x1z2z1 + x2 2z2 2
54
Human-Oriented Robotics
Social Robotics Lab
i=1
m
j=1
m
i=1 m
j=1
m
i,j=1
55
Human-Oriented Robotics
Social Robotics Lab
m
i,j=1
m
i=1
56
Human-Oriented Robotics
Social Robotics Lab
57
Human-Oriented Robotics
Social Robotics Lab
i xj + 1)p
i xj
58
Human-Oriented Robotics
Social Robotics Lab
59
Human-Oriented Robotics
Social Robotics Lab
Source [5] Source [5]
60
Human-Oriented Robotics
Social Robotics Lab
Source [5]
61
Human-Oriented Robotics
Social Robotics Lab
P
i λi yi = 0
0 λi C 8i L(λ) =
N
X
i=1
λi − 1 2
N
X
i,j=1
λiλj yiyj k(xi, xj) X X b = 1 NS X
si∈ S
(ysi − X
sj∈ S
λsj ysj k(xsj, xsi)
y0 = sign(
N
X
i=1
λi yi k(xi, x0) + b)
i, x0) +
0 λi C 8i 0 < λi C
62
Human-Oriented Robotics
Social Robotics Lab
63
Human-Oriented Robotics
Social Robotics Lab
64
Human-Oriented Robotics
Social Robotics Lab
65
Human-Oriented Robotics
Social Robotics Lab
66