TRANSCRIPT 🔗
WEBVTT
1
00:00:00.040 --> 00:00:02.839
Hello everyone. My name is Catherine
Tow and I'm a host of the data
2
00:00:02.879 --> 00:00:05.719
standard. Audio experience. For today
and the day on our show we have
3
00:00:05.799 --> 00:00:08.750
will on pin, our a tech
lead at TUC to on, and so
4
00:00:08.869 --> 00:00:12.189
today we're going to be speaking about
feature stores. So I'm very excited to
5
00:00:12.230 --> 00:00:14.750
speak with you today, will and
just here about more about your journey.
6
00:00:14.949 --> 00:00:17.949
Thanks for having me, Catherine.
Let's just get started. Can you just
7
00:00:18.070 --> 00:00:21.980
introduce yourself tell the audience more about
what you do? Okay, so I
8
00:00:22.260 --> 00:00:24.579
take lead at tech to on.
I give you a bit of background.
9
00:00:24.660 --> 00:00:29.219
I am kind of a data and
ML and engineering background. So I've been
10
00:00:29.300 --> 00:00:33.939
in software engineering prombout ten years.
Roughly, depending on which employers you count,
11
00:00:33.939 --> 00:00:37.810
has what I was doing, and
primarily the last I'd say five years
12
00:00:37.850 --> 00:00:41.490
or so can focus eveilion, machine
learning, data science and building data to
13
00:00:41.570 --> 00:00:46.210
Tuting, so basically making sure that
data scientists can ship models into production and
14
00:00:46.409 --> 00:00:51.000
actually make in by primarily driving that
through tools, but also education and just
15
00:00:51.200 --> 00:00:55.560
general kind of base practices that we
disseminate in the industry. My previous employer,
16
00:00:55.759 --> 00:00:58.479
Coja, it was in Southeast Asia, where I laated a machine learning
17
00:00:58.520 --> 00:01:00.280
platform team. We both a lot
of great tools, on of which I
18
00:01:00.359 --> 00:01:03.390
pre will talk to you. Talk
to you about today called a feature store
19
00:01:03.590 --> 00:01:08.349
that enabled our data scientists to take
their data that's offline and ship it into
20
00:01:08.390 --> 00:01:12.829
production so that their models had richer
data sources and were more predictive and accurate.
21
00:01:12.909 --> 00:01:15.750
Yeah, that sounds great, and
so now I want to just jump
22
00:01:15.790 --> 00:01:19.379
right into the idea of the feature
store. Can you explain to the audience
23
00:01:19.540 --> 00:01:23.459
what this concept is and how it
kind of improves businesses? Feature store was
24
00:01:23.459 --> 00:01:27.700
originally started at Uber. Technically a
feature story probably existed in some kind of
25
00:01:27.780 --> 00:01:33.409
way in major banks and edge funds
and brokers, pretty much anybody as trading
26
00:01:33.450 --> 00:01:37.530
on the stock market or anybody that's
doing credit scoring for probably like thirty,
27
00:01:37.569 --> 00:01:41.810
forty years. But in its current
in can implementation, it's essentially a system
28
00:01:42.129 --> 00:01:47.359
that is a operational data system that
allows you to take data from an offline
29
00:01:47.400 --> 00:01:51.159
kind of like the data engineering world, into the production machine learning world.
30
00:01:51.159 --> 00:01:53.480
I give you a concrete example.
At Goer Jeck we'd have to do things
31
00:01:53.599 --> 00:01:57.799
like decide which driver to match with
a customer in real time, within Milli
32
00:01:57.920 --> 00:02:02.390
seconds, or what prices to display, you know when. So we have
33
00:02:02.590 --> 00:02:07.150
it's basically a righthealding service recommend products. You can rank drivers and determine prices
34
00:02:07.270 --> 00:02:10.389
will in real time. But you
need to obviously have a model that is
35
00:02:10.629 --> 00:02:15.379
produced by data scientists creating a pipeline
and training model. The model needs data
36
00:02:15.460 --> 00:02:21.819
and production, and often these worlds
are separate. Production engine environment is maintained
37
00:02:21.819 --> 00:02:24.060
by engineers and all fine world is
the realm of the data scientists, and
38
00:02:24.180 --> 00:02:28.620
so the feature store is the bridge
between those worlds. So what a feature
39
00:02:28.620 --> 00:02:31.770
store enables you to do is,
as a data scientists, create etl Pipelians,
40
00:02:31.810 --> 00:02:36.689
elt pipeline, so you can use
there for aspar python panders, whatever
41
00:02:36.729 --> 00:02:40.409
you need to create your features or
fine and through a feature store you are
42
00:02:40.490 --> 00:02:45.520
then able to ingest or kind of
load or publish, depending on the type
43
00:02:45.520 --> 00:02:49.639
of feature, store that data into
the production environment in the control way,
44
00:02:49.879 --> 00:02:53.240
without engineers being involved. So it's
essentially an kind of a platform or an
45
00:02:53.280 --> 00:02:58.159
API that enables you to just like
you would deploy model introduction, it's also
46
00:02:58.240 --> 00:03:00.389
way to deploy data introduction so that
your model can then get that dad in
47
00:03:00.469 --> 00:03:04.789
real time as it needs it,
and that obviously off those a lot of
48
00:03:04.830 --> 00:03:07.870
the burden that engineers traditionally had.
So they don't have to, every time
49
00:03:07.909 --> 00:03:10.069
you ship a new model into production, deploy new infrastructure. All they need
50
00:03:10.110 --> 00:03:14.620
to do is say here's the API
to the feature store. You can push
51
00:03:14.620 --> 00:03:16.939
your own data into production and we're
going to put some checks and balance and
52
00:03:17.020 --> 00:03:21.219
balances in there, and that's the
feature store. BESURE store large youtube ship
53
00:03:21.300 --> 00:03:23.819
both batch data, large amounts of
static data, as well as it kind
54
00:03:23.819 --> 00:03:29.770
of incremental streaming data, and get
both of those sources into production and available
55
00:03:29.810 --> 00:03:31.129
to your model. That's the
Load full transcript
high
level concept. There are some other things
56
00:03:31.129 --> 00:03:35.449
as well that I can drill into, like freature stores enable reuse of features
57
00:03:35.449 --> 00:03:38.810
across teams. That also, you
know, gives you point in time correctness
58
00:03:38.810 --> 00:03:43.159
and prevent you from making mistakes.
But it's mostly about taking that from all
59
00:03:43.159 --> 00:03:47.360
fine to online and providing an abstraction. It's essentially a d coupling of your
60
00:03:49.439 --> 00:03:53.919
production. So it's a interface between
your model and data. Essentially a D
61
00:03:53.039 --> 00:03:58.030
couples the environment in which the model
interacts with data from the model. Yeah,
62
00:03:58.150 --> 00:04:00.629
great explanation. Therefore, feature stores, and so I want to jump
63
00:04:00.669 --> 00:04:04.189
into some of the challenges that you
faced with data for machine learning. What
64
00:04:04.389 --> 00:04:08.710
is the process been for you and
your team's when you're working with data faction?
65
00:04:09.069 --> 00:04:11.699
Part of what we did at go
jo it was we, as a
66
00:04:11.819 --> 00:04:15.060
platform machiner and platform team, address
the whole life cycle. So we'd work
67
00:04:15.139 --> 00:04:18.300
from row data all the way up
to, let's say takes the row data,
68
00:04:18.339 --> 00:04:23.699
data processing, storing that feature,
store training models, shipping models into
69
00:04:23.699 --> 00:04:28.449
production models, serving layer the infrastructure
around that, experimentation and outcome tracking.
70
00:04:29.089 --> 00:04:32.129
That's a complete life cycle for machine
learning, but a large component of that
71
00:04:32.250 --> 00:04:36.050
life cycle is just data. Data
is the hardest part of machine learning,
72
00:04:36.730 --> 00:04:41.319
mostly because, you know, the
the whole point of engineering is to kind
73
00:04:41.319 --> 00:04:46.639
of reign in complexity and simplify things
so that you can actually reliably, you
74
00:04:46.720 --> 00:04:49.879
know, execute some process. But
with data you're constantly introducing entropy in chaos,
75
00:04:50.480 --> 00:04:55.790
and so building tooling that can can
stabilize that is very hard because for
76
00:04:55.910 --> 00:05:00.709
every tool you introduced, ten teams
coming online with new tables or new streams
77
00:05:00.069 --> 00:05:03.949
that just randomize everything. At go
jake would we found was that we had
78
00:05:04.029 --> 00:05:09.500
to build a lot of guard rails
to this is concept of negative engineering and
79
00:05:09.579 --> 00:05:14.459
positive engineering. Negative engineering is things
you do that prevent failures it's going to
80
00:05:14.500 --> 00:05:16.779
be put up monitoring systems, you
put up checks and balances, like tests,
81
00:05:16.939 --> 00:05:20.529
and you do validation and data before
you shipp into production. And then
82
00:05:20.569 --> 00:05:24.610
you have like positive engineering, where
it's, you know, you creating new
83
00:05:24.649 --> 00:05:28.290
features, you're creating new models,
you're doing things that add new value as
84
00:05:28.290 --> 00:05:30.889
opposed to preventing, you know,
the bad things around it. Go Jake,
85
00:05:30.930 --> 00:05:32.610
we found that we had to do
a lot of negative engineering. It's
86
00:05:32.649 --> 00:05:34.959
not really a bad thing, it's
just that we had to put those things
87
00:05:35.000 --> 00:05:39.160
in place because we had a lot
of data scientists that were creating a lot
88
00:05:39.199 --> 00:05:41.879
of new value, but it was
kind of chaotic. So we had to
89
00:05:41.879 --> 00:05:46.079
protect the business from you all these
wild models and data sources. They had
90
00:05:46.160 --> 00:05:48.839
direct business impact, so the products
would being driven by them. You know,
91
00:05:49.029 --> 00:05:53.550
with multi millions of customers, potentially
could be affected by them. And
92
00:05:53.670 --> 00:05:57.670
so I think the biggest challenges we
were we had was centered around data and
93
00:05:57.790 --> 00:06:01.870
center around building tooling that prevents a
data of chrome disrupting the core business outcomes
94
00:06:01.949 --> 00:06:06.420
and processes. So the feature stores
one tool and that life cycle and that
95
00:06:06.620 --> 00:06:10.980
was very successful. We had other
tools as well, like we built an
96
00:06:10.980 --> 00:06:13.819
abstraction on top of airflow that allows
you to kind of, it's declared a
97
00:06:13.860 --> 00:06:16.899
foot framework that allows you to build
scheduling pipelines. We also built a kind
98
00:06:16.899 --> 00:06:19.769
of DBT. I'm not sure if
you're Fulli advt, but it's a kind
99
00:06:19.769 --> 00:06:24.490
of ELT style data transformation tool.
At the end of the day, as
100
00:06:24.490 --> 00:06:27.490
a data scientist, what you'd have
is you'd have a interface that allows you
101
00:06:27.490 --> 00:06:30.529
to define your business logic, but
it doesn't allow you to define rules like
102
00:06:30.730 --> 00:06:34.000
I'm going to connect to this database
or I'm going to do some kind of
103
00:06:34.279 --> 00:06:40.439
logic that is not portable and not
safe to execute. We add those constraints
104
00:06:40.480 --> 00:06:44.720
because it protects the environment from the
pret of the business, from data scientists
105
00:06:44.720 --> 00:06:46.990
that are potentially junior and they don't
understand all the risks involved. That's a
106
00:06:46.990 --> 00:06:50.430
longwinded way of like high level view
of the challenges we faced. Yeah,
107
00:06:50.509 --> 00:06:55.870
and thank you so much for sharing
the challenges. Especially in this technical data
108
00:06:55.910 --> 00:06:59.509
field, there's always a lot of
challenges that arise. It's great to kind
109
00:06:59.509 --> 00:07:02.339
of share your experiences with that.
And so I wanted to
talk more about
110
00:07:02.540 --> 00:07:08.699
the differences and similarities between a data
engineering life cycle versus a product life cycle.
111
00:07:08.899 --> 00:07:11.660
What are some similarities and differences that
you've seen there. Well, like
112
00:07:11.740 --> 00:07:15.379
us, to some degree it's kind
of like what I said earlier around data
113
00:07:15.459 --> 00:07:18.569
life cycle. Is I think there's
one jarring difference in that you can just
114
00:07:18.649 --> 00:07:23.689
look at the way the engineers and
data scientists the differences in their approaches,
115
00:07:23.889 --> 00:07:27.250
with an engineer trying to simplify things
and the amount of data that actually interest
116
00:07:27.290 --> 00:07:31.480
an ex at your your system is
it's eithern relatively limited or it's relatively constrained.
117
00:07:31.639 --> 00:07:34.399
So, for example, in a
product life cycle, you develop probably
118
00:07:34.439 --> 00:07:38.839
towards one database, like there's among
my sequel one post grade is one sequels
119
00:07:39.079 --> 00:07:41.879
or something, and use your APP, the Iot, your APP is Api
120
00:07:42.000 --> 00:07:45.149
calls and you kind of Persiste data
in your database, but it's readily stateful,
121
00:07:45.269 --> 00:07:47.790
relatively consistent. Worst case scenario is
kind of you know, there's some
122
00:07:47.870 --> 00:07:51.350
there no integer overflow or some kind
of lack swan event. Happens once every
123
00:07:51.389 --> 00:07:57.990
year, right. And one of
the key impacts that we've seen that it
124
00:07:58.149 --> 00:08:03.540
is different from the data life cycle
is that production and development and staging or
125
00:08:03.620 --> 00:08:07.339
different environments and organizations that are designed
to be different and they are intentionally designed
126
00:08:07.339 --> 00:08:11.660
to be different. So, for
example, the data might not production data
127
00:08:11.699 --> 00:08:15.170
might not be available to data scientists
and all fine world. So when they're
128
00:08:15.170 --> 00:08:18.649
developing their models they might have synthetic
data or they might have only a subset
129
00:08:18.689 --> 00:08:20.129
of data or they might have only
it's like three months old data. So
130
00:08:20.170 --> 00:08:24.769
when they're model of finally interest production, it's a completely different world and that's
131
00:08:24.850 --> 00:08:28.639
the model breaks or acts differently,
and so sometimes in subtle ways, I'd
132
00:08:28.680 --> 00:08:31.360
send a lot of ways. The
day engineering life cycle is similar to the
133
00:08:31.399 --> 00:08:33.840
product life cycle and that it's sitterative
and you know you have to go from
134
00:08:35.080 --> 00:08:37.519
nothing to do developing a system and
then deploy in production. But where it's
135
00:08:37.559 --> 00:08:43.070
different is that it has to have
a built in robustness in order to survive
136
00:08:43.190 --> 00:08:48.350
in the different environments that are in
unique, intentionally unique where products. Engineering
137
00:08:48.389 --> 00:08:54.429
products are naturally resilient to that because
they have so few inputs and heartputs in
138
00:08:54.669 --> 00:08:58.220
by and large, they typically do
not experience the same kind of harshness of
139
00:08:58.299 --> 00:09:01.700
a different contact in which they operate. I hope that made sense, but
140
00:09:01.779 --> 00:09:05.340
I mean a tangible example is like, you know, there's no production that
141
00:09:05.580 --> 00:09:11.049
and in the offine world, or
maybe there's production streams that are available or
142
00:09:11.129 --> 00:09:13.250
strap but an offline world, maybe
even to get like data being stored on
143
00:09:13.330 --> 00:09:18.450
the bucket or something. And so
failures happen when you move from kind of
144
00:09:18.529 --> 00:09:22.090
your stage of environment into production.
Yeah, great explanation there. And so
145
00:09:22.570 --> 00:09:26.039
feature stores, they're always going to
be changing, since we're in a technical
146
00:09:26.120 --> 00:09:28.519
field, things are always changing,
things are always improving and being innovative.
147
00:09:28.759 --> 00:09:33.799
How do you see the future of
feature stores changing? I still see a
148
00:09:33.879 --> 00:09:37.639
big gap and the amount of protection
and guard rails that we need to add.
149
00:09:37.440 --> 00:09:41.830
There's a lot of category creation and
a lot of discussion right now about
150
00:09:41.830 --> 00:09:45.269
what problems fees to feature stores should
be addressing. There's some teams that are
151
00:09:45.309 --> 00:09:48.470
called feature stores that are very limited
scope. There are some little both very
152
00:09:48.470 --> 00:09:52.059
extensive ones. So I see us
consolidating the category. It's folks like credits
153
00:09:52.059 --> 00:09:56.860
of Michelangelo tacked on. It's other
open sort of feature stores. It's the
154
00:09:56.940 --> 00:10:00.259
Amazons of the world. Everybody's developing
feature stores, but we're going to crystallize
155
00:10:00.259 --> 00:10:03.899
a subset of functionality either feature stores
should contain. Once that's crystallized, I
156
00:10:05.340 --> 00:10:09.850
think indirectly you'll see other products adjacent
to the feature store because coming so if
157
00:10:09.889 --> 00:10:13.330
the boundaries of a feature store become
clear, you understand where other product opportunities
158
00:10:13.409 --> 00:10:16.090
again and next to the feature store
existed, that that's something that's going to
159
00:10:16.169 --> 00:10:22.279
happen. And specifically, what I
anticipate happening is greater focus on data quality,
160
00:10:22.840 --> 00:10:26.399
where we've solved the bridging problem between
will find an online world, basically
161
00:10:26.440 --> 00:10:31.840
the data sourcing to your online
rule. But ensuring the quality of models is
162
00:10:31.919 --> 00:10:37.470
something overroa data furation models is something
that's still an unsolved problem and you can
163
00:10:37.549 --> 00:10:41.990
see already a lot of and mel
data monitoring and data validation software like great
164
00:10:41.029 --> 00:10:46.190
expectations becoming more and more prevalent,
and I think that's going to become more
165
00:10:46.309 --> 00:10:50.019
more prevalent in the operational aspects of
data science and machine learning. Yeah,
166
00:10:50.100 --> 00:10:54.860
and I'm glad that you also brought
up the idea of just the importance of
167
00:10:54.899 --> 00:10:58.460
data quality. I've spoken to many
people how they've said their ML models that
168
00:10:58.539 --> 00:11:03.580
their companies have failed because of lack
of data quality and just being able to
169
00:11:03.620 --> 00:11:07.210
find quality data. So it's great
that you brought that up and how that
170
00:11:07.370 --> 00:11:09.049
just needs to be more innovative in
the future. Thank you so much for
171
00:11:09.169 --> 00:11:11.850
being on the show today. Will. It was great to speak with you
172
00:11:13.049 --> 00:11:16.929
and learn more about the feature stores
and how they're kind of implemented it at
173
00:11:16.009 --> 00:11:20.559
businesses and so we had the data
standard. We're trying to build a community
174
00:11:20.679 --> 00:11:24.320
of DAD, enthusiasm, data thought
leaders so that everybody has a place where
175
00:11:24.320 --> 00:11:26.399
they can all network and collaborate with
each other. So what is something that
176
00:11:26.519 --> 00:11:31.200
the community can do for you?
Sure? Okay. So we've got a
177
00:11:31.720 --> 00:11:35.830
we've just staffed or created a slack
channel. It's called tacked on feast,
178
00:11:35.309 --> 00:11:39.750
if you want to find out more
about feature stores. So there's a kind
179
00:11:39.750 --> 00:11:41.789
of enterprise one as well as completely
open source, free one. Join the
180
00:11:41.830 --> 00:11:45.509
slack channel. I can probably link
to it if you want to. If
181
00:11:45.509 --> 00:11:48.659
you want to find out more about
what feature stores do in more detail,
182
00:11:48.779 --> 00:11:52.179
I wrote a quog post with co
creator of take towns feature store and Michael
183
00:11:52.220 --> 00:11:56.500
Angelo. It's I can link to
that online as well. Explains exactly the
184
00:11:56.580 --> 00:11:58.220
components in a feature store and why
you would use one. We also have
185
00:11:58.539 --> 00:12:03.809
feast, which is the open source
feature story that I developed a Kajack that
186
00:12:03.009 --> 00:12:05.330
I can link to. Four folks. They want to just, you know,
187
00:12:05.450 --> 00:12:09.330
get their feet weight and start trying
it out and kicking the tires and
188
00:12:09.370 --> 00:12:13.049
seeing whether feature stores is something that
helps them and their day to day lives.
189
00:12:13.090 --> 00:12:16.080
Awesome. And where can I community
find you online to connect with you?
190
00:12:18.120 --> 00:12:20.080
You can find me on twitter.
I'm also on Linkedin. I'd say
191
00:12:20.120 --> 00:12:24.720
slack is Great Medium and probably the
best place to you know, if you
192
00:12:24.840 --> 00:12:26.759
really want to get my attention.
is on Githube cread an issue and feast,
193
00:12:26.879 --> 00:12:31.389
ask question a score features, get
engaged, get start contributing. Slot
194
00:12:31.429 --> 00:12:35.549
of activity right now, excited to
engage with your audience. Sounds Great.
195
00:12:35.950 --> 00:12:39.350
And to our audience. For more
information on the data standard, you can
196
00:12:39.389 --> 00:12:43.860
find us out www dot data standard, dot ioh and we're also available on
197
00:12:45.139 --> 00:12:48.500
Youtube, medium and also our linkedin
page. And so this episode is also
198
00:12:48.500 --> 00:12:52.820
sponsored by Pandio. They're innovating the
text based with their PATCHRI POLSAR messaging system.
199
00:12:54.059 --> 00:12:56.740
So you can learn more about their
work of Pandiocom and thank you so
200
00:12:56.860 --> 00:12:58.289
much. Well on for joining us. It was so great speaking with you
201
00:12:58.529 --> 00:13:01.409
and hope seats you again soon.
Thanks, gofrine.