1
00:00:04,420 --> 00:00:07,010
So we've got another big 
question to start the show 

2
00:00:07,020 --> 00:00:10,770
today, and the question is, 
Damien, why does the concept of 

3
00:00:10,780 --> 00:00:14,870
learning in machine learning 
raise philosophical questions 

4
00:00:14,880 --> 00:00:18,650
about the nature of 
intelligence, consciousness, and

5
00:00:18,660 --> 00:00:22,670
the boundaries between human 
cognition and artificial 

6
00:00:22,720 --> 00:00:26,170
algorithms? 
I guess one of the reasons is 

7
00:00:26,180 --> 00:00:30,490
that in machine learning we 
discovered a different way to 

8
00:00:30,500 --> 00:00:34,630
learn than the one we tend to 
think about when we think about 

9
00:00:34,730 --> 00:00:38,510
humans. 
So in machine learning we have 

10
00:00:38,560 --> 00:00:43,840
statistical principles that 
allow us to optimise the 

11
00:00:43,850 --> 00:00:46,550
learning of the model. 
So basically you have 

12
00:00:46,620 --> 00:00:49,580
optimization principles that 
allow you to learn from the 

13
00:00:49,590 --> 00:00:54,470
data, and models are just 
following that optimization 

14
00:00:54,480 --> 00:00:58,360
process such that. 
They understand the patterns 

15
00:00:58,370 --> 00:01:02,240
within the data. 
It's a very solace type of 

16
00:01:02,250 --> 00:01:06,440
learning and that makes it, I 
guess, strange if you try to 

17
00:01:06,450 --> 00:01:11,940
compare that to the way we grow 
as humans and we learn from 

18
00:01:11,950 --> 00:01:15,200
experience. 
But if you look at the way we 

19
00:01:15,210 --> 00:01:18,540
learn from experience, there's a
lot of similarities. 

20
00:01:18,750 --> 00:01:23,840
We are trying to optimise for 
some outcomes, for example. 

21
00:01:23,850 --> 00:01:27,660
We are trying to do things that 
make us more happy. 

22
00:01:27,710 --> 00:01:30,890
We are. 
Learning from our mistakes and 

23
00:01:30,900 --> 00:01:35,950
in a sense it's very similar to 
what we try to do when we train 

24
00:01:35,960 --> 00:01:38,850
mothers in machine learning. 
Yes, it's interesting. 

25
00:01:38,860 --> 00:01:44,410
I actually feel that especially 
in our everyday sort of I'm 

26
00:01:44,420 --> 00:01:48,150
talking about Western practises 
when Western society there is 

27
00:01:48,160 --> 00:01:52,550
this encouragement to actually 
try to optimise happiness. 

28
00:01:52,560 --> 00:01:56,330
Which as you've just highlighted
illustrates, you know the 

29
00:01:56,400 --> 00:02:01,580
optimization process that is 
laid out for the machine 

30
00:02:01,630 --> 00:02:05,120
learning model and actually made
a book recently that was called 

31
00:02:05,130 --> 00:02:08,560
Solve for Happiness where they 
were actually looking for the 

32
00:02:08,570 --> 00:02:13,480
equation that would enable a 
happy life. 

33
00:02:13,490 --> 00:02:18,440
So it's almost like we're in a 
parallel of looking now for 

34
00:02:18,550 --> 00:02:23,560
opportunities to mechanically 
optimise or happiness in real 

35
00:02:23,570 --> 00:02:26,000
life as well, just like machine 
learning models. 

36
00:02:26,310 --> 00:02:29,060
I guess you can say that and 
like in machine learning, the 

37
00:02:29,070 --> 00:02:32,760
important thing to to do is to 
try to find the right. 

38
00:02:32,850 --> 00:02:35,870
Metric to optimise. 
So when you have a problem to 

39
00:02:35,880 --> 00:02:37,740
solve, you're trying to find the
right metrics. 

40
00:02:37,750 --> 00:02:41,470
That would lead the model to 
learn to predict the right 

41
00:02:41,480 --> 00:02:43,830
outcomes for the problem you 
actually have. 

42
00:02:43,900 --> 00:02:48,590
And in real life, happiness may 
not actually be the right metric

43
00:02:48,600 --> 00:02:51,290
to optimise. 
So we go through life trying to 

44
00:02:51,300 --> 00:02:56,850
find the right metrics to 
optimise to make sure that we 

45
00:02:56,920 --> 00:03:00,170
have a more fulfilling life. 
Sometimes we make mistakes about

46
00:03:00,180 --> 00:03:02,690
the right metrics, sometime we 
get it right. 

47
00:03:02,820 --> 00:03:06,620
It's a experimental process. 
Yes, I would say so. 

48
00:03:07,140 --> 00:03:08,740
Hi everyone, it's Lauren. 
Hawkers offer. 

49
00:03:08,750 --> 00:03:11,810
Welcome back to Redefining AI, 
the tech Podcast. 

50
00:03:11,870 --> 00:03:16,080
Now today I've been joined by 
the machine learning engineer 

51
00:03:16,090 --> 00:03:19,560
and newsletter author of the 
AIH. 

52
00:03:19,630 --> 00:03:23,440
And that's Damien Benveniste. 
Welcome, Damien. 

53
00:03:23,790 --> 00:03:27,100
Thank you. 
So we start with the flow and 

54
00:03:27,110 --> 00:03:30,330
the introduction into our 
forefront a topic today, which 

55
00:03:30,340 --> 00:03:32,090
is machine learning. 
We're looking at machine 

56
00:03:32,100 --> 00:03:34,630
learning 101. 
And I think that we can 

57
00:03:34,640 --> 00:03:38,370
certainly say with certainty 
that there's a lot of listeners 

58
00:03:38,380 --> 00:03:42,010
that have a varying degree of 
understanding when it comes to 

59
00:03:42,020 --> 00:03:44,470
machine learning. 
And I also put myself into the 

60
00:03:44,480 --> 00:03:48,650
category of being on an ongoing 
learning journey around machine 

61
00:03:48,660 --> 00:03:51,850
learning. 
So maybe we can start with a 

62
00:03:51,860 --> 00:03:56,790
fundament of looking at it from 
quite a logical start. 

63
00:03:56,960 --> 00:04:01,500
People nowadays, I think, 
especially with the enhanced 

64
00:04:01,510 --> 00:04:07,080
prominence of machine learning 
and models per say, they tend to

65
00:04:07,090 --> 00:04:12,880
confuse a lot of the terms when 
they talk about machine learning

66
00:04:12,890 --> 00:04:16,899
and the differences in learning 
and some people sort of stumble 

67
00:04:16,910 --> 00:04:20,740
on trying to comprehend it. 
And your experience, Damian, 

68
00:04:20,750 --> 00:04:23,740
because you know you've got 10 
years plus experience in machine

69
00:04:23,750 --> 00:04:25,820
learning. 
Where are people stumbling? 

70
00:04:25,830 --> 00:04:28,720
What are they confusing when 
they talk about machine 

71
00:04:28,730 --> 00:04:31,630
learning? 
You know machine learning is a 

72
00:04:31,680 --> 00:04:37,610
is a sub part of artificial 
agents and we tend to call the 

73
00:04:37,620 --> 00:04:40,080
same thing with those two 
different names. 

74
00:04:40,300 --> 00:04:44,250
Artificial agents is is a is a 
field where we are trying to 

75
00:04:44,640 --> 00:04:49,960
have ways for computers 
algorithms to appear intelligent

76
00:04:50,120 --> 00:04:55,120
to make decisions and take 
actions that look like and agent

77
00:04:55,130 --> 00:04:57,110
ones. 
Machine learning is a subfield 

78
00:04:57,120 --> 00:05:02,450
of artificial agents where 
instead of trying to codify. 

79
00:05:02,530 --> 00:05:05,640
Intelligence we actually trying 
to learn it from from data. 

80
00:05:06,130 --> 00:05:12,640
Something that's I find as a 
confusion is that and it's due a

81
00:05:12,650 --> 00:05:15,860
lot to the way machine learning 
is taught in school. 

82
00:05:16,930 --> 00:05:22,200
In textbooks you would find a 
lot of the formalism of machine 

83
00:05:22,210 --> 00:05:26,940
learning to be very mathematical
and this that typical underlying

84
00:05:26,950 --> 00:05:29,400
formalism is called statistical 
learning theory. 

85
00:05:29,650 --> 00:05:34,220
And this is a set of principles 
that allow you to have. 

86
00:05:34,340 --> 00:05:36,890
Some learning done from the 
data. 

87
00:05:37,220 --> 00:05:43,070
And this is the way people tend 
to educate students about 

88
00:05:43,080 --> 00:05:46,630
machine learning. 
And there's a mistake that is 

89
00:05:46,640 --> 00:05:49,930
typically made to think that 
machine learning is very much a 

90
00:05:49,940 --> 00:05:53,790
mathematical science, where in 
fact there's a lot that relate 

91
00:05:53,800 --> 00:05:56,990
to computer science, where you 
need to implement those 

92
00:05:57,000 --> 00:06:00,490
principles, those statistical 
learning principles, into 

93
00:06:00,500 --> 00:06:02,650
algorithms. 
So there's a big algorithmic 

94
00:06:02,660 --> 00:06:07,130
part of machine learning and in 
practise, machine learning. 

95
00:06:07,490 --> 00:06:11,560
Is more of a experimental 
science than anything else. 

96
00:06:11,610 --> 00:06:14,720
So we have a lot of principles 
to have, models to learn. 

97
00:06:14,830 --> 00:06:20,860
But in the end what we have is 
people taking some data, taking 

98
00:06:20,870 --> 00:06:24,620
some mothers and trying to get 
better learning for specific 

99
00:06:24,630 --> 00:06:28,590
learning task. 
And the field became much more 

100
00:06:28,640 --> 00:06:33,490
of a set of experimental 
processes where we're trying to 

101
00:06:33,540 --> 00:06:37,610
understand how to build better 
models for some some specific 

102
00:06:37,620 --> 00:06:41,410
land task. 
So how would you then encourage 

103
00:06:41,500 --> 00:06:48,750
people to reteach or re analyse 
how they're teaching it? 

104
00:06:49,180 --> 00:06:53,090
Would you say that it would be 
more based around trying to 

105
00:06:53,160 --> 00:06:58,350
experiment with these 
experimental processes, or what 

106
00:06:58,360 --> 00:07:02,340
would you encourage there to try
and minimise this 

107
00:07:02,390 --> 00:07:06,890
misunderstanding? 
So the bias that we see in the 

108
00:07:06,900 --> 00:07:11,020
way it is, you know, it is 
thought is due to the different 

109
00:07:11,030 --> 00:07:13,560
people that are teaching that 
domain. 

110
00:07:14,170 --> 00:07:17,580
People that are teaching that 
domains are teachers, I mean 

111
00:07:17,650 --> 00:07:22,720
professors, researchers that try
to pursue boundaries of machine 

112
00:07:22,730 --> 00:07:24,820
learning in term of the 
discoveries. 

113
00:07:24,830 --> 00:07:28,080
But for example, in the 
industry, a lot of what they 

114
00:07:28,090 --> 00:07:32,160
teach does not matter as much as
other things. 

115
00:07:32,490 --> 00:07:35,900
And there are things that I wish
were taught in school. 

116
00:07:35,970 --> 00:07:40,050
Which would be to understand how
to build machine learning 

117
00:07:40,060 --> 00:07:43,990
systems and to end to make sure 
you can actually deliver 

118
00:07:44,000 --> 00:07:47,770
products for users. 
And that's not something that is

119
00:07:47,780 --> 00:07:50,810
taught in school and it's 
something that many machine 

120
00:07:50,820 --> 00:07:55,030
learning engineers take a long 
time to wrap their head around 

121
00:07:55,080 --> 00:07:58,790
when they get into working in a 
company. 

122
00:07:58,920 --> 00:08:00,790
Yes, I've also heard that as 
well. 

123
00:08:00,800 --> 00:08:04,350
And not to interrupt you, but 
just to clarify there, when 

124
00:08:04,360 --> 00:08:07,790
you're talking to Damian, so 
when you're encouraging people 

125
00:08:07,800 --> 00:08:10,680
to look at being able to 
understand how to build a 

126
00:08:10,690 --> 00:08:14,000
machine learning system end to 
end, what does that mean, build 

127
00:08:14,010 --> 00:08:15,520
a machine learning system 
maintained? 

128
00:08:16,070 --> 00:08:19,240
So first of all you start to 
with a business problem. 

129
00:08:19,330 --> 00:08:23,600
You start with a need from your 
users trying to understand what 

130
00:08:23,610 --> 00:08:26,500
would help them. 
Trying to understand what 

131
00:08:26,570 --> 00:08:32,360
business metrics would help you 
qualify or quantify the specific

132
00:08:32,370 --> 00:08:37,500
success on the deployment of a 
new ML powered product you need 

133
00:08:37,510 --> 00:08:40,549
to understand. 
The technical requirements 

134
00:08:40,559 --> 00:08:44,510
beyond machine learning, meaning
that when you need to deploy 

135
00:08:44,580 --> 00:08:47,990
your models, you need to make 
sure that they sit on a server. 

136
00:08:48,000 --> 00:08:52,230
You need to make sure that those
servers can handle the request 

137
00:08:52,240 --> 00:08:54,730
loads. 
You need to make sure that you 

138
00:08:54,740 --> 00:08:58,490
have some fail safe in place. 
We need to make sure you have 

139
00:08:58,500 --> 00:09:01,110
some monitoring. 
You need to make sure that you 

140
00:09:01,120 --> 00:09:05,030
understand what needs to happen 
if something breaks. 

141
00:09:05,180 --> 00:09:08,710
You need to understand who need 
to work on the different pieces 

142
00:09:08,720 --> 00:09:11,790
of the problem. 
There's lots of skills that go 

143
00:09:11,800 --> 00:09:15,780
into deploying machine learning 
systems beyond machine learning 

144
00:09:15,790 --> 00:09:18,950
engineering. 
There's like ML OPS, there is 

145
00:09:18,960 --> 00:09:21,790
data engineering with software 
engineering. 

146
00:09:21,860 --> 00:09:25,440
There's obviously some more 
theatrical aspects that relates 

147
00:09:25,450 --> 00:09:30,090
to test statistics that are 
sometimes there but not always. 

148
00:09:30,260 --> 00:09:32,750
So you know, there's there's a 
lot of things to take into 

149
00:09:32,760 --> 00:09:36,750
consideration when you build 
machine learning systems beyond 

150
00:09:36,760 --> 00:09:40,150
just the model and it's 
something that many of the. 

151
00:09:40,350 --> 00:09:43,160
Beginners in the field don't 
really understand, I think I 

152
00:09:43,170 --> 00:09:46,340
mean and then keeping on that as
well and trying to understand, 

153
00:09:46,350 --> 00:09:49,660
you know, real life scenarios, 
real world problems. 

154
00:09:49,710 --> 00:09:54,680
We can also see that in 
understanding the system and the

155
00:09:54,690 --> 00:09:58,660
models that you're building. 
There's a lot of different types

156
00:09:58,670 --> 00:10:03,940
of learning and models that can 
be built and I think that some 

157
00:10:03,950 --> 00:10:07,900
of the main ones that a lot of 
our listeners might have heard 

158
00:10:07,950 --> 00:10:13,420
or supervised, unsupervised and 
now which is more popular as 

159
00:10:13,430 --> 00:10:17,670
well Reinforcement learning. 
So what's the difference between

160
00:10:17,720 --> 00:10:19,550
these? 
And if we were to exemplify 

161
00:10:19,560 --> 00:10:24,170
those with real world problems, 
can we give an example of the 

162
00:10:24,180 --> 00:10:26,930
types of learning that relate to
specific problems? 

163
00:10:27,340 --> 00:10:30,770
Yeah. 
So I think we start to go beyond

164
00:10:30,820 --> 00:10:34,650
a bit those 3 categories, 
especially with the generative 

165
00:10:34,660 --> 00:10:38,170
AI we are, we are seeing 
something slightly different, I 

166
00:10:38,180 --> 00:10:40,380
believe. 
But let's start with supervised 

167
00:10:40,390 --> 00:10:41,920
learning. 
So supervised learning. 

168
00:10:42,000 --> 00:10:46,060
Is the type of learning where 
you have some input data and 

169
00:10:46,070 --> 00:10:47,880
you're trying to predict an 
outcome. 

170
00:10:47,930 --> 00:10:50,620
So you're trying to basically 
learn the statistical 

171
00:10:50,630 --> 00:10:53,800
relationship between some input 
data, some input variables, and 

172
00:10:53,810 --> 00:10:57,360
a specific outcome. 
So for example, if you try to 

173
00:10:57,410 --> 00:11:02,210
personalise ad placement on a 
website, you have maybe the 

174
00:11:02,220 --> 00:11:06,380
browsing history of a user and 
you're trying to place a new ad 

175
00:11:06,390 --> 00:11:10,500
today, right now. 
And what you need is you need 

176
00:11:10,550 --> 00:11:16,150
some labels that. 
Indicates that the user is 

177
00:11:16,160 --> 00:11:18,610
likely to click on a specific 
ad. 

178
00:11:18,660 --> 00:11:23,330
So you need to have some 
examples on users clicking on 

179
00:11:23,340 --> 00:11:27,210
ads, and this is supervised 
because you have a label that 

180
00:11:27,220 --> 00:11:31,250
will supervise the learning. 
You're trying to predict a 

181
00:11:31,260 --> 00:11:34,930
specific outcome that you have 
labelled for just one question 

182
00:11:34,940 --> 00:11:36,570
there. 
So are we talking about, I mean 

183
00:11:36,720 --> 00:11:40,820
not only like binary labelling 
but like multi labels. 

184
00:11:40,830 --> 00:11:45,260
So we've got a possible, what, 
30 people's 50 labels? 

185
00:11:45,570 --> 00:11:49,580
It can be any type of of labels.
You can try to predict the 

186
00:11:49,590 --> 00:11:53,060
probability of a user to comment
on a post on LinkedIn. 

187
00:11:53,320 --> 00:11:58,290
You can have some labels that 
relate to how you detect object 

188
00:11:58,300 --> 00:12:01,220
in an image. 
You can have some labels that 

189
00:12:01,280 --> 00:12:05,420
relate to next quarterly profit 
margin. 

190
00:12:05,470 --> 00:12:10,480
So those type of labels that you
may want to try to, I mean some 

191
00:12:10,490 --> 00:12:14,140
type of outcomes you're trying 
to predict, you need a label to 

192
00:12:14,150 --> 00:12:17,670
educate the. 
Modern on what that labour looks

193
00:12:17,680 --> 00:12:21,810
like, statistically speaking, 
and how it relates to the input 

194
00:12:21,820 --> 00:12:24,170
data, you may have to predict 
that outcome. 

195
00:12:24,270 --> 00:12:26,870
Hmm. 
So how does that differ then to 

196
00:12:26,880 --> 00:12:29,470
unsupervised? 
So unsupervised learning is 

197
00:12:29,480 --> 00:12:33,510
actually the type of learning 
where you don't have a label, so

198
00:12:33,580 --> 00:12:36,310
there's nothing to supervise the
the learning. 

199
00:12:36,400 --> 00:12:38,790
So in in supervised learning 
you're trying to learn 

200
00:12:38,800 --> 00:12:41,170
statistical patterns to predict 
an outcome. 

201
00:12:41,260 --> 00:12:44,210
In unsupervised learning, you're
trying to learn patterns within 

202
00:12:44,220 --> 00:12:48,540
the data that will help you. 
Categorise a bit better the the 

203
00:12:48,550 --> 00:12:50,600
data. 
For example, clustering 

204
00:12:50,610 --> 00:12:53,760
algorithms tend to be 
unsupervised. 

205
00:12:53,810 --> 00:12:59,480
You just look at data elements, 
data points and you're trying to

206
00:12:59,490 --> 00:13:04,180
understand how similar those 
points may be and you may try to

207
00:13:04,190 --> 00:13:06,900
group them together into a 
cluster. 

208
00:13:07,170 --> 00:13:11,240
Unsupervised learning also help 
you to, by understanding the 

209
00:13:11,250 --> 00:13:16,020
patterns in the data, help you 
to change the shape of the data.

210
00:13:16,070 --> 00:13:17,640
You know. 
You can reduce for example the 

211
00:13:17,650 --> 00:13:21,320
dimensionality of your. 
Data by crunching it into a 

212
00:13:21,330 --> 00:13:25,510
different shape than it is 
originally in One question that 

213
00:13:25,520 --> 00:13:27,980
might be interested in there as 
well when I'm thinking about the

214
00:13:28,030 --> 00:13:31,020
perspective of our listeners is 
obviously both of those have a 

215
00:13:31,030 --> 00:13:33,990
training set, correct? 
Supervised and unsupervised. 

216
00:13:34,000 --> 00:13:36,560
So what's the differences in the
training sets then, between 

217
00:13:36,570 --> 00:13:39,520
supervised and unsupervised? 
That's mostly the label. 

218
00:13:39,570 --> 00:13:44,000
So in supervised learning you 
have a training set where you 

219
00:13:44,010 --> 00:13:48,340
have input set of variables and 
you have a target, a label. 

220
00:13:48,610 --> 00:13:51,890
So this is a. 
Pair of elements you need to be 

221
00:13:51,900 --> 00:13:53,950
able to train a supervised 
learning model. 

222
00:13:54,220 --> 00:13:58,130
In unsupervised learning, you 
have a training set that may 

223
00:13:58,140 --> 00:14:01,810
look like the one of your 
supervised learning one but 

224
00:14:01,860 --> 00:14:05,130
without the label. 
So you're missing that label and

225
00:14:05,140 --> 00:14:08,310
instead of trying to predict 
that label, you're trying to 

226
00:14:08,320 --> 00:14:13,010
find relationship between the 
data points in the data to try 

227
00:14:13,020 --> 00:14:15,930
to group them or to shape them 
in a different format. 

228
00:14:16,020 --> 00:14:20,280
Also something that is 
interesting to know is that. 

229
00:14:20,470 --> 00:14:25,800
In the industry, supervised 
learning is I would say the the 

230
00:14:25,810 --> 00:14:30,120
type of learning that is used 
95% of the time because it's 

231
00:14:30,130 --> 00:14:36,400
very easy to quantify results, 
to build some experimental 

232
00:14:36,450 --> 00:14:40,920
designs where you're going to be
able to quantitatively assess a 

233
00:14:40,930 --> 00:14:44,340
better model and how it relates 
to your business metrics. 

234
00:14:44,450 --> 00:14:50,700
It's also maybe more costly in a
sense that you may have to spend

235
00:14:50,710 --> 00:14:53,090
more money. 
To acquire the label that you 

236
00:14:53,100 --> 00:14:55,910
are trying to predict. 
So very often you will need to 

237
00:14:55,920 --> 00:14:59,300
buy some data or we need to 
spend some money to try to 

238
00:14:59,310 --> 00:15:01,140
acquire the label. 
You're trying to predict. 

239
00:15:01,190 --> 00:15:05,400
Where in an unsupervised 
learning setup, it's easier to 

240
00:15:05,410 --> 00:15:09,020
deal with it because you don't 
have a label that you need to 

241
00:15:09,030 --> 00:15:13,180
acquire and you might need to 
pay for, but it's also less 

242
00:15:13,190 --> 00:15:14,520
useful. 
It's also. 

243
00:15:14,530 --> 00:15:17,840
It's also less useful in 
business settings because 

244
00:15:17,890 --> 00:15:21,350
clustering or changing the shape
of your data it's not something 

245
00:15:21,360 --> 00:15:24,690
that has. 
A good business use case and 

246
00:15:24,700 --> 00:15:28,790
where does the modality of the 
data come into play, Damian and 

247
00:15:28,800 --> 00:15:30,330
the East. 
Like if we're talking about 

248
00:15:30,340 --> 00:15:33,810
maybe images versus text videos,
like, you know, where does the 

249
00:15:33,820 --> 00:15:36,360
modality come into play when 
we're looking at these different

250
00:15:36,370 --> 00:15:39,230
types of learning? 
Does it increase complexity? 

251
00:15:39,240 --> 00:15:42,820
Does it pertain to the use case 
and the type of learning? 

252
00:15:42,830 --> 00:15:44,930
Like where does modality come 
into play in that? 

253
00:15:45,240 --> 00:15:49,700
I guess the data plays a role in
maybe the algorithms you're 

254
00:15:49,710 --> 00:15:53,090
going to use, and also maybe 
about. 

255
00:15:53,270 --> 00:15:56,860
Engineering pipelines you will 
need to build to deal with the 

256
00:15:56,870 --> 00:16:01,200
specific data When it comes to 
let's say what we call tabular 

257
00:16:01,210 --> 00:16:05,320
data, where you have a set of 
variables, let's say you know 

258
00:16:05,330 --> 00:16:10,320
some some user variables, age, 
gender, job title. 

259
00:16:10,410 --> 00:16:13,900
Those are very well defined 
categories of variables. 

260
00:16:13,950 --> 00:16:18,060
We have been very good at 
building algorithms to predict 

261
00:16:18,070 --> 00:16:22,300
outcomes on that type of data. 
This is called tabular data and 

262
00:16:22,350 --> 00:16:26,150
we have had. 
Very successful models running 

263
00:16:26,160 --> 00:16:29,090
on that type of data for 20-30 
years. 

264
00:16:29,140 --> 00:16:33,010
It's something that we know to 
do very well when it comes to 

265
00:16:33,120 --> 00:16:38,030
image or text or audio. 
This is the type of data that 

266
00:16:38,040 --> 00:16:42,310
we're being less good at 
extracting statistical patterns 

267
00:16:42,320 --> 00:16:45,870
from from those to predict 
interesting outcomes. 

268
00:16:45,960 --> 00:16:50,690
And with the assumption with the
latest models from that we have 

269
00:16:50,700 --> 00:16:54,690
in in neural networks, we were 
able to actually. 

270
00:16:54,800 --> 00:16:58,630
Be more efficient and more 
performant at extracting the 

271
00:16:58,640 --> 00:17:00,760
right patterns from this type of
data. 

272
00:17:00,830 --> 00:17:05,810
So now we have very good models 
that are able to take image as 

273
00:17:05,819 --> 00:17:09,630
an input, text as an input and 
understand the statistics of 

274
00:17:09,640 --> 00:17:13,000
that type of data to predict an 
outcome from it. 

275
00:17:13,290 --> 00:17:20,520
So for example we in starting 
from the 2013, 2014, we've got a

276
00:17:20,530 --> 00:17:24,180
set of algorithms that in 
computer vision that allowed us 

277
00:17:24,190 --> 00:17:28,369
to be. 
Very good at predicting our art 

278
00:17:28,440 --> 00:17:32,990
labelling, at detecting an 
object on specific image. 

279
00:17:33,040 --> 00:17:36,350
It's something that we were not 
extremely good at before 

280
00:17:36,780 --> 00:17:39,670
recently. 
We're being extremely good at 

281
00:17:39,740 --> 00:17:45,090
generating text because we have 
better algorithms that allow us 

282
00:17:45,100 --> 00:17:48,350
to understand the statistics of 
that type of data. 

283
00:17:48,480 --> 00:17:53,330
We had mothers before, but we 
saw a revolution recently, let's

284
00:17:53,340 --> 00:17:59,990
say, I would say in 2018-2019. 
2020 in the way to generate 

285
00:18:00,000 --> 00:18:06,730
create text from text input or 
other type of outcomes and 2013,

286
00:18:06,740 --> 00:18:11,390
2014, 2015, we saw a revolution 
in computer vision in the way we

287
00:18:11,400 --> 00:18:15,690
were able to understand image 
and predict outcomes from them. 

288
00:18:15,740 --> 00:18:18,210
So maybe something that our 
listeners as well will be asking

289
00:18:18,220 --> 00:18:22,050
there we sort of transgressed 
onto like generating text which 

290
00:18:22,060 --> 00:18:24,630
comes into the whole generative 
AI space. 

291
00:18:25,000 --> 00:18:29,140
And you touched upon the neural 
networks, we've also got 

292
00:18:29,230 --> 00:18:33,380
convolutional neural networks, 
recurrent neural networks that 

293
00:18:33,430 --> 00:18:36,200
also function and solving 
different problems. 

294
00:18:36,310 --> 00:18:39,460
I think reinforcement possibly 
could be tied in there. 

295
00:18:39,470 --> 00:18:42,410
I mean you you can tell us if 
it's not, but when people are 

296
00:18:42,420 --> 00:18:46,060
thinking about now the 
generative capabilities of AI 

297
00:18:46,070 --> 00:18:49,900
and then taking it back to the 
subset of, you know, machine 

298
00:18:49,910 --> 00:18:53,200
learning, what can they 
understand about the machine 

299
00:18:53,210 --> 00:18:55,720
learning models that are then 
working and generate a VI? 

300
00:18:56,290 --> 00:18:59,320
Your question is like how are 
the? 

301
00:18:59,420 --> 00:19:02,770
Alternative I models different 
from what we had before, yes. 

302
00:19:02,920 --> 00:19:08,950
So yes, the the neural networks 
has been the underlying 

303
00:19:09,200 --> 00:19:13,870
modelling that led to extremely 
good charity AI models. 

304
00:19:14,280 --> 00:19:17,680
You could create generative AI 
models with other type of 

305
00:19:17,740 --> 00:19:19,410
algorithms. 
You don't need neural net. 

306
00:19:19,420 --> 00:19:24,270
I mean you don't have in 
principle to use neural networks

307
00:19:24,280 --> 00:19:27,690
to do so, but it has proven to 
be much less performance. 

308
00:19:28,020 --> 00:19:31,750
So the interesting thing about 
neural networks. 

309
00:19:32,310 --> 00:19:34,320
Is what it is. 
What is it? 

310
00:19:34,330 --> 00:19:35,590
Is it? 
Yeah, that's what's going to 

311
00:19:35,600 --> 00:19:36,340
ask. 
Like what? 

312
00:19:36,350 --> 00:19:39,860
What? 
What is it in terms as well, Now

313
00:19:39,870 --> 00:19:42,000
we, I mean, I just spoke to 
someone earlier and they were 

314
00:19:42,010 --> 00:19:44,300
talking about neural search and 
I was like, oh, it's neural 

315
00:19:44,310 --> 00:19:46,160
search. 
I mean semantic search, neural 

316
00:19:46,170 --> 00:19:48,920
search, cognitive search. 
So yeah, what's the neural 

317
00:19:48,930 --> 00:19:49,780
network? 
Yeah. 

318
00:19:49,930 --> 00:19:56,580
So network is a model that is 
composed of many very simple 

319
00:19:56,590 --> 00:19:59,540
computational units. 
If you think about the 

320
00:19:59,550 --> 00:20:02,850
computational unit, you could 
think about, you know a linear 

321
00:20:02,860 --> 00:20:05,540
regression for example. 
Linear regression is a very 

322
00:20:05,550 --> 00:20:09,440
simple computational unit, 
something that takes. 

323
00:20:09,510 --> 00:20:13,290
Input, as you know some input 
data and generate a now you know

324
00:20:13,300 --> 00:20:17,110
some number from it. 
So a neural networks is composed

325
00:20:17,120 --> 00:20:19,470
of many of those computational 
units. 

326
00:20:19,540 --> 00:20:23,410
And because you have a lot of 
flexibility in the way you 

327
00:20:23,420 --> 00:20:28,070
architect those neural networks,
the way you place the those 

328
00:20:28,080 --> 00:20:32,390
competition units in those 
models, as an engineer you you 

329
00:20:32,400 --> 00:20:36,590
have more flexibility to 
architect something very 

330
00:20:36,600 --> 00:20:40,520
different than what we had 
before in previous models in 

331
00:20:40,590 --> 00:20:42,720
what I would call traditional 
machine learning. 

332
00:20:42,790 --> 00:20:49,080
We have learning algorithms that
are not very flexible in the way

333
00:20:49,090 --> 00:20:51,660
you construct them. 
Neural networks, you can really 

334
00:20:51,710 --> 00:20:56,020
architect their structure, so 
you can replace, you can add 

335
00:20:56,030 --> 00:21:00,400
some different competitional 
units and you can specialise 

336
00:21:00,410 --> 00:21:03,600
them to the specific data you 
input in. 

337
00:21:03,670 --> 00:21:07,880
For example, conventional 
network is a network where you 

338
00:21:07,890 --> 00:21:12,320
have convolution layers. 
So you have a convolution, Not 

339
00:21:12,330 --> 00:21:15,710
exactly a convolution, but we 
call it convolution that is 

340
00:21:15,720 --> 00:21:22,710
computed on the image and later 
in some intermediary results 

341
00:21:22,720 --> 00:21:26,150
within the network. 
And those compilations are very 

342
00:21:26,160 --> 00:21:30,280
good at understanding the local 
correlations between the 

343
00:21:30,290 --> 00:21:34,250
different pixels in an image. 
And because of that specific 

344
00:21:35,000 --> 00:21:40,470
computational unit, we were able
to understand the statistics of 

345
00:21:40,480 --> 00:21:45,000
pixels in an image at many 
different scans in an image and 

346
00:21:45,010 --> 00:21:48,520
we were able to have a 
performance computer vision 

347
00:21:48,530 --> 00:21:52,040
systems because of it. 
When you think about language 

348
00:21:52,050 --> 00:21:56,920
modelling, recurrent network has
been a very successful type of 

349
00:21:56,930 --> 00:22:00,420
architecture where the 
competitional units, the 

350
00:22:00,430 --> 00:22:05,790
recurring competitional unit is 
using previous data and current 

351
00:22:05,800 --> 00:22:09,440
data to predict the coming data,
the future data. 

352
00:22:09,530 --> 00:22:13,440
So you have this recurring 
aspect where you're able to 

353
00:22:13,450 --> 00:22:17,630
reuse what happened in the past 
to predict with the current 

354
00:22:17,640 --> 00:22:19,710
input what will happen in the 
future. 

355
00:22:19,760 --> 00:22:24,250
So when you think about text, 
you have words that are ordered,

356
00:22:24,360 --> 00:22:27,130
it's it's really a time series 
of of words. 

357
00:22:27,220 --> 00:22:31,570
And if you're trying to predict 
the next word in a sentence, you

358
00:22:31,580 --> 00:22:35,700
can use the current word, the 
one that is just before the word

359
00:22:35,710 --> 00:22:38,810
you're trying to predict. 
But you can also use the words 

360
00:22:38,820 --> 00:22:42,650
that happen previously in the 
sentence and recurring networks 

361
00:22:42,740 --> 00:22:45,580
having very good at 
understanding that. 

362
00:22:45,770 --> 00:22:48,820
Just thinking like so, there's 
obviously a calculation about 

363
00:22:48,830 --> 00:22:51,700
the probability of two words 
coming together. 

364
00:22:51,710 --> 00:22:54,540
So if we're thinking about the 
car is driving on the road, then

365
00:22:54,550 --> 00:22:58,170
we're looking maybe at the 
correlation between the car and 

366
00:22:58,180 --> 00:23:00,230
drive. 
Is that what you're highlighting

367
00:23:00,240 --> 00:23:04,230
as well? 
There have a better likeliness 

368
00:23:04,240 --> 00:23:07,910
to understand what is the next 
word if you read the whole 

369
00:23:07,920 --> 00:23:12,610
sentence basically. 
So how do you get that whole 

370
00:23:12,620 --> 00:23:15,840
sentence to be fed into the 
network such that the network 

371
00:23:15,900 --> 00:23:19,210
can take into consideration all 
that information? 

372
00:23:19,600 --> 00:23:24,430
And more recently, we had the 
transformer architecture, but 

373
00:23:24,440 --> 00:23:28,490
it's not using a recurring 
competitional unit, but more 

374
00:23:28,500 --> 00:23:30,790
what we call attention 
mechanism. 

375
00:23:30,840 --> 00:23:33,410
But it's trying to understand 
the relationship between the 

376
00:23:33,420 --> 00:23:37,740
words was the different units of
data you're feeding it to 

377
00:23:37,790 --> 00:23:41,360
predict what will be the next 
unit of data. 

378
00:23:41,430 --> 00:23:44,200
So in the case of natural 
language processing, that would 

379
00:23:44,210 --> 00:23:46,840
be the word or the next 
sentence. 

380
00:23:47,490 --> 00:23:51,390
I mean obviously when you're 
looking at the implementation 

381
00:23:51,400 --> 00:23:54,880
and the usage of the models in 
real life scenarios, you've got 

382
00:23:54,890 --> 00:23:58,460
to consider the performance like
how it's performing. 

383
00:23:58,670 --> 00:24:03,560
How do you select and evaluate 
appropriate performance metrics 

384
00:24:03,570 --> 00:24:05,570
for different type of machine 
learning? 

385
00:24:05,650 --> 00:24:09,570
Tasks. 
So it depends on where you work.

386
00:24:09,800 --> 00:24:13,170
If you're a researcher, there 
may be a consensus on the type 

387
00:24:13,180 --> 00:24:18,570
of metrics that is usually 
accepted to be the right ones to

388
00:24:18,580 --> 00:24:21,590
assess your mother's on. 
And when you're trying to build 

389
00:24:21,600 --> 00:24:28,110
new mothers, you need to utilise
benchmark data to compare your 

390
00:24:28,120 --> 00:24:32,280
models to the previous ones that
has been made by, but you know, 

391
00:24:32,290 --> 00:24:35,870
developed by other teams. 
When you're in a industry 

392
00:24:35,880 --> 00:24:39,750
setting, I think it's a bit 
different In my opinion it it 

393
00:24:39,760 --> 00:24:42,650
really depends on the business 
problem you're trying to solve. 

394
00:24:42,780 --> 00:24:47,120
Umm, if you have a business 
problem then you understand the 

395
00:24:47,130 --> 00:24:49,230
business metrics you're trying 
to optimise. 

396
00:24:49,240 --> 00:24:53,810
So let's say you're trying to 
optimise quarterly revenue, 

397
00:24:53,880 --> 00:24:56,470
that's what you're trying to 
optimise as a as a company. 

398
00:24:56,730 --> 00:25:01,590
And well there are two type of 
metrics that we usually deal 

399
00:25:01,600 --> 00:25:04,570
with in machine learning. 
There's the performance of the 

400
00:25:04,580 --> 00:25:08,320
model that is measured on 
production data and there's a 

401
00:25:08,330 --> 00:25:11,630
performance of the model that is
measured on historical data. 

402
00:25:11,830 --> 00:25:17,760
And the metrics chosen to assess
the models on those two types of

403
00:25:17,770 --> 00:25:20,140
data may actually be very 
different. 

404
00:25:20,290 --> 00:25:25,940
So what matters is production 
when your mother is in 

405
00:25:25,950 --> 00:25:28,580
production, it is when it's 
generating revenue. 

406
00:25:28,930 --> 00:25:32,580
When you're trying to understand
what is a better model in 

407
00:25:32,590 --> 00:25:36,780
production need to have metrics 
that relate to your business 

408
00:25:36,790 --> 00:25:39,030
metrics. 
So if you're trying to maximise 

409
00:25:39,040 --> 00:25:42,430
the revenue, so the next quarter
most likely you need to have 

410
00:25:42,440 --> 00:25:46,750
some metrics, what we call 
online metrics that assess 

411
00:25:46,760 --> 00:25:50,550
models based on some type of 
revenue metrics. 

412
00:25:50,620 --> 00:25:55,850
So for example in ads ranking, 
when you personalise ads you may

413
00:25:55,980 --> 00:26:00,690
have your business metrics which
is to optimise quarterly revenue

414
00:26:00,740 --> 00:26:04,770
and as the online metric, the 
one you're choosing, you're 

415
00:26:04,780 --> 00:26:08,470
choosing to run a, B testing. 
Between different models. 

416
00:26:08,560 --> 00:26:13,660
You may want to choose something
like model revenue per thousand 

417
00:26:13,670 --> 00:26:18,560
impressions, so how much money 
did the model generated per 

418
00:26:18,690 --> 00:26:21,640
impression? 
And you want to choose a model 

419
00:26:21,650 --> 00:26:25,600
that generates the most revenue.
So this is easy to measure in 

420
00:26:25,670 --> 00:26:30,500
production because you present 
an ad to user and you see the 

421
00:26:30,510 --> 00:26:33,760
user click on it or not. 
But when you run offline 

422
00:26:33,770 --> 00:26:37,440
experiments, meaning that you 
use historical data, you don't 

423
00:26:37,450 --> 00:26:41,510
know what would have happened if
you presented another ad is the 

424
00:26:41,520 --> 00:26:43,580
one that has been presented to 
the user. 

425
00:26:44,030 --> 00:26:46,900
So you don't have the full 
context to actually completely 

426
00:26:46,910 --> 00:26:48,700
assess the model in the same 
way. 

427
00:26:49,250 --> 00:26:54,460
And typically you need to choose
metrics that can be quite 

428
00:26:54,470 --> 00:26:58,460
different from the one you have 
in production. 

429
00:26:58,710 --> 00:27:02,200
So the game is to try to find 
the right metric that correlates

430
00:27:02,210 --> 00:27:08,640
well with your online metrics. 
So if you have some experimental

431
00:27:08,650 --> 00:27:13,300
results that happen when you run
some offline experiments, you 

432
00:27:13,310 --> 00:27:17,780
want similar results happening 
in online settings. 

433
00:27:18,030 --> 00:27:21,800
You want to make sure that when 
you select a model in offline 

434
00:27:21,810 --> 00:27:25,660
experiments, the same model 
would be selected if you were to

435
00:27:25,670 --> 00:27:29,320
run online experiments. 
If your metrics don't correlate 

436
00:27:29,330 --> 00:27:32,800
very well, you would have 
potentially A suboptimal model 

437
00:27:32,810 --> 00:27:35,920
selection in your on your 
historical data. 

438
00:27:36,150 --> 00:27:38,670
Fascinating, Damian. 
It's really, really good 

439
00:27:38,680 --> 00:27:40,210
insights. 
I think that a lot of people 

440
00:27:40,220 --> 00:27:44,350
will be able to take away and 
actually integrate into their 

441
00:27:44,360 --> 00:27:47,920
practises and also their 
interaction with machine 

442
00:27:47,930 --> 00:27:50,190
learning. 
So I've got a million questions 

443
00:27:50,200 --> 00:27:54,430
that I wanted to ask you about. 
Time is not on our side today. 

444
00:27:54,480 --> 00:27:57,710
Is there any sort of parting 
word that you'd like to share 

445
00:27:57,720 --> 00:28:00,790
with us as we end our 
conversation? 

446
00:28:02,020 --> 00:28:04,080
Right, so Western to talk about 
machine learning. 

447
00:28:04,090 --> 00:28:07,800
So thank you for inviting me and
maybe we can do that again, you 

448
00:28:07,810 --> 00:28:10,780
know, in the future. 
Definitely a huge thank you 

449
00:28:10,790 --> 00:28:13,700
again and I'd like to thank 
everyone else that's listening 

450
00:28:13,710 --> 00:28:16,660
and joining our session today. 
If you'd like to find out more 

451
00:28:16,670 --> 00:28:20,120
about AI, machine learning and 
the insights engine, then go to 

452
00:28:20,130 --> 00:28:22,180
learn.skiddle.com. 
Thank you. 

453
00:28:22,250 --> 00:28:22,700
Thank you.
