WEBVTT

0:00:14.594 --> 0:00:46.352
<v A>Programming Throwdown Episode 94: Search at Etsy. Take it away, Jason. Hey everybody, we have a pretty awesome episode here. We have an interview episode with Liang Ji, who's Director of Engineering Data Science and Machine Learning at Etsy. And Liang Ji is going to tell us all about kind of how search works. When you type a search query into that box, you know what actually happens under the hood? Um, Liang Ji, why don't you talk about like introduce yourself and talk about um, you know, kind of what led you to the path that took you to where you are?

0:00:47.483 --> 0:02:10.204
<v B>Now, yeah, sure. Uh first of all, thank you for having me here. So I'm Liang Ji. Home, I'm a Director of Engineering Data Science and Machine Learning here at Etsy. So I'm managing the organization of applying machine learning to a lot of different products here at Etsy. So currently we have a mix of data scientists and machine learning engineers here at Etsy working on problems like search, which is kind of a major topic we are going to talk about today, as well as other domains like recommendations, advertising, as well. We have engineers present in both of our headquarters: New York City office as well as San Francisco office, and we are you know hiring and growing teams there as well. Um, before coming to Etsy in 2016, I worked in Yahoo Research in California. So I first joined as a research scientist and later as a senior research scientist and later promoted to managing a group of researchers focusing on personalization, recommendation, as well as some of the mobile search innovations back then. So that is a path that led me to

0:02:11.740 --> 0:02:27.045
<v B>figuring out how to best for fields providing the most relevant to user, most relevant to result to users. And then Etsy is a place that I can grow the team and grow my career. Yeah, so that's pretty much of that. Cool.

0:02:27.045 --> 0:02:41.300
<v A>That's quite a move. I mean, that's probably the furthest move you can make, right? From, you know, Northern California to New—I guess you could technically go from I guess Miami to Alaska or something, but that's still a pretty far move.

0:02:42.621 --> 0:02:43.819
<v B>Yeah, that's in me.

0:02:44.798 --> 0:03:07.022
<v A>Yeah, cool. That's awesome. So kind of, you know, for someone who doesn't have a background in machine learning or in search and relevance, you know what actually happens when someone types in, you know, 'new shoes' in Etsy and hits enter? Like what what actually happens behind the

0:03:08.625 --> 0:05:05.159
<v B>scenes? Yeah, that's a great question. So a lot of things happen back in the scene, and within that, I would say 100 milliseconds, we need to figure out how to present the best result for you. So I would vaguely on a very high level divide that into three phases. One is that we need to understand what is the user intent or what do you really mean? You type, you know, a query like 'wedding dress' or, you know, 'new shoes.' So that is the first one, what we call it like query understanding or user intent understanding. So then with that understood, we need to go to our inventory. We have more than 60 million items in our inventory. So then we need to figure out how we can quickly boil down to around 1,000 items that seem promising from that inventory through search index. After that, you know, we have around roughly like, you know, 1,000ish candidates and then we apply sophisticated machine learning model to re-rank that according to many things. For instance, like how likely you are going to click on that, how likely you are going to buy that, and so forth, mixing a lot of signals to get the best result—let's say the best top 48 results, which is the first page. So then we apply additional kind of business rules or ideas, say hey, you know there are certain things are free shipping or there's

0:05:05.160 --> 0:05:29.400
<v B>certain things that are in some promotion. So then we would like to pop them up further up. So then we apply that. So then we present the final result to the users. So everything I just described should happen within a 100ish kind of millisecond and really provide us a very speedy result to users.

0:05:29.400 --> 0:05:42.520
<v A>Yeah, that's—that's amazing. So going through that kind of line by line, so what would what do you mean by intent? So what are the different intents that someone has on something like

0:05:42.520 --> 0:07:05.000
<v B>Etsy? Yeah, that's also a great question. So um, intent or user understanding basically we want to understand what are you really looking for. And, you know, like the users would like to use search for things they have specific idea in mind. Oh, I want to buy a gift card for my mother. I want to purchase certain things for my wedding all the way to a very vague kind of generic terms. Okay? So we need to understand do they have a very strong shopping intent or shopping ideas such that we can help them quickly on their purchase path, or are they in some kind of discovery mode where they don't know exactly what they are looking for but they have some vague ideas? So in that scenario how we could help them in the discovery mode as well. So shopping intent is a way we kind of categorize like how strong, how weak like your intent or your ideas are and so forth. We provide a different kind of mechanisms to surface different items, and so

0:07:05.820 --> 0:07:23.826
<v A>forth? Yeah, that makes sense. I think there's a huge difference between searching for something specific like iPhone 16 gigabyte versus putting something in like 'funny.' If you put in funny, you don't really want something with funny in the title. I mean, that's not the requirement, right?

0:07:25.750 --> 0:07:43.705
<v A>How do you know that? So in other words, how can you tell what sort of happens maybe in advance? Like what sort of processing can you do to figure out okay these words correspond to something very specific and these other words are just abstractions or

0:07:45.105 --> 0:09:16.787
<v B>Generalities. Yeah, that's probably the core of the challenge of e-commerce search in general. I mean, Etsy is definitely specifically, you know, one such example. So like comparing to generic search, like you know general web search, especially specifically, like you know Google being or you know in the past Yahoo where I worked in the past, e-commerce search—there's a tremendous amount of ambiguity and also in terms of like, you know, also personalization in terms of that, right? So like there is no kind of a standard ground truth of relevance, so to speak. So a lot of things we are trying to figure out is what the people are looking for and, you know, what kind of thing they would like to buy now, what kind of thing they would like to buy, you know, in six months down the line? And how do we define relevance? You know, quote unquote relevance. On top of that, so that is definitely one of the challenges that we are facing. And we're actually, you know, in my opinion, we're at the very early stage. Etsy is part of that, but I think in general in the e-commerce search, if you try things in numbers and others, you can easily see the search experience—it's not there yet. Like, we are not at the stage where we can easily figure out all these intents, you know, in the current like a technology.

0:09:17.378 --> 0:09:56.040
<v A>Yeah, that makes sense. I mean, my guess is there would be just a very wide distribution over something like 'funny.' So, you know, if someone puts in, um, you know, iPhone 16 gigabyte and I guess I'm using Amazon as an example here, they're going to look for exactly that iPhone. They're going to buy it, and the precision is going to be pretty high. But if—but if someone puts 'funny,' there's probably a huge distribution of content that people will visit based on that search, and from that you can kind of guess that okay, funny is one of these things that isn't tied to any particular product.

0:09:57.480 --> 0:11:20.380
<v B>Yeah, so this is a great example. So like that would really differentiate Etsy versus Amazon to some degree, right? Because for Amazon, 'iPhone 64 gigabyte' or 'iPhone 11 Pro' is kind of a standardized kind of commodity if you wish. So there is a standard answer to that and, to some degree, there's one source of truth of the wide range of things Amazon is offering. Actually, however, right? So we—you know, we are the global marketplace for unique goods. So there's a lot of things you can quantify as a funding. There's a lot of things you can quantify as, you know, that could be appropriate for a gift for your mother. So there's no standard either. So it's a—or at least very hard to say there is a standard answer. So we heavily rely on user data and user behavior and figure out what is a good thing you might be looking for and what is a thing that you feel you don't have interest in for the moment. So that is one of the challenges we have versus Amazon's kind of a commodity e-commerce search. Yeah, that.

0:11:21.004 --> 0:11:55.615
<v A>Makes sense. So so in this case you've—we've figured out the intent. Let's say the person has some specific shopping intent and they've put in a couple of keywords, but it's not something so specific we can just take them right to that iPhone and something like your heart pendant for mom or something like that. And then you said the next step is we—you take your inventory of I think 17 million and you narrow it down to a thousand candidates. How does how does that actually work, and what is that process like?

0:11:57.269 --> 0:13:08.042
<v B>Yeah, so um we take the item and we—you know, sorry, we take the query, right? So then we translate to some intent. Then we match those things with you know in our search index. In a very very naive way, you can think at least we match with, you know, 'query okay funny' or like we figured okay, 'funny,' which need which, you know, during period of time of let's say Christmas time period.' So then we also send 'Christmas funny' into the back end. So then we match things related to Christmas and related to funny. So basically we have an inverted index that we could match these terms or these kind of intent if you show categories, and then we have some very rudimentary scores that basically representing how likely or how popular or how interested these items are so that we sort them and we pick the top, let's say one time. Then we return to the second phase. Got it? So.

0:13:09.000 --> 0:13:27.567
<v A>Could you describe like for folks who have never taken, say, a database class—we have plenty of thousands of people listening who are high school students or just starting college—what is an inverted index and how does that let you go through all 17 million of these items in less than 100 milliseconds?

0:13:29.085 --> 0:15:26.400
<v B>Yeah, that's a great question. So an inverted index basically you can think that it's like you have the keys as, you know, very naive simplicity world are our terms, right? So like 'funny' is one term, 'Christmas' is another term. So we build these keys and then we associate each key with a list of product listings in our case. Like, you know, each listing, each item is once, each item ID is one such kind of value, right? So then we say, hey, 'funny' term, you know, item ID 260, you know, 40s and blah blah,' so and so forth. These two million items have contain term 'funny.' So then we associate these items with that key. And then we apply certain mechanism to sort of that and we say, hey, you know, for this 'funny' term, for all the items, there are certain items seems more important than the others. So then we build this a key value kind of a pair associations and we build for all the terms, all the intents, all the categories so they can imagine it's a huge kind of a key value kind of mapping. And then when we when we do the retrieval, we basically go to the keys and say okay, how many keys we're going to hit? And you know, then we get back the top items for each key. Then we blend them, right? We mix them together and then we say, hey, you know, we want to apply this popularity or interest score and then we rank on that. So that's basically the very very high level describing how the inverted index works. Got it? Got it.

0:15:27.362 --> 0:16:13.650
<v A>So the idea is like for every—so someone types in, you know, 'funny shoes for mom' and 'funny shoes and mom,' they all are in this database with a set of documents that are more or less relevant to those words. And then what you could do is you can take the union of all of these documents and then combine the scores in some way where you can kind of crush it down into one score. So if there was a document that had 'funny shoes' and 'mom' in it, then you could add up all those scores or in some way you could combine the scores. If there's a document that only had 'mom' in it, maybe it wouldn't—it wouldn't score as highly because it didn't have the.

0:16:14.730 --> 0:16:19.472
<v B>Other ones. Yeah, to some degree. Yes, that's pretty much on a very high level with what happens.

0:16:19.995 --> 0:16:41.359
<v A>Cool, that makes sense. Is there any sort of are you doing any work with embeddings or anything like that to handle, you know, like for example someone types 'shoes' and maybe there's this product but it's boots? But then you could use some sort of mathematical embedding, some vector space where shoes and boots are really close together?

0:16:42.743 --> 0:17:43.139
<v B>Yeah, this is an area that we are actively investigating. And earlier this year we published a paper regarding like we apply embedding techniques and building the similarity because you know trying to understand the similarities between items and exactly like you say, like there are certain things, you don't know exactly the keywords but they more or less correspond to the same concepts or same kind of intent. So then we utilize embedding techniques to smooth and, you know, smooth out the items such that even though you don't have exactly matching, we still get items that possibly relevant to the quality and, you know, so this is one area that we are also keeping a very active eye on how to utilize this further in our search stats. Cool.

0:17:44.421 --> 0:18:31.399
<v A>That makes sense. So then these thousand items—you know, I guess now you have the resources to say let's do a lot more work with these thousand items that we couldn't do with the 17 million. And that's where you as you said all of this sort of business logic comes in. So you have these sort of hypothetical—you have these models that generate hypotheticals like will the person, I believe you said, like will the person buy it? Will they click on it? But then how do you sort of take, there's this thing is highly multi-modal, right? So someone can do all these different things. They might spend a lot of time looking at something and they might spend a little bit of time but then buy it. Like how do you at the end of the day sort when there's so many different things that have value?

0:18:33.224 --> 0:18:41.999
<v B>Yeah, that's a great question. And also it's another, you know, core of the challenges of e-commerce.

0:18:43.560 --> 0:20:37.542
<v B>Search or e-commerce AI in general. Um, so I think, you know, this question has two layers. One is short-term and long-term; the other is long-term. So, short-term wise, we have at least, you know, for Etsy, we have a business goal and we're business metrics we would like to drive for our part. I mean, a lot of our products including Search, which is called Generalized Merchandise Value (GMV), have also for revenue, for, you know, advertising as well. So, we basically, you know, use that as a north star to kind of guide us, like what kind of model we need to build and what kind of in that—in your knowledge of what sorting mechanism we need to apply—and we also use that as a guidance for us to derive machine learning pipelines and evaluation kind of a framework. So you can think that, you know, how to sort, how to weigh, let's say clicks a little bit more, favorite a little bit more, how to a way that you don't click anything, you know, you spend how much time on the site. All these are the parameters, and we are seeking—I mean, ideally the optimal parameter setting such that we optimize this, you know, our north star metric, which is GMV, our GM, you know, the Generalized Merchandise Value. Um, and then we launched A/B testing, right? So, we're launching like, you know, A/B testing, and we measure the model on real traffic, on real users, and then we see, oh, this model indeed

0:20:38.132 --> 0:21:53.817
<v B>you know outperform the control, which is maybe using the older version of model or maybe not sometimes not using model at all. And then you know there's a real difference from the A/B testing saying, hey, you know, within these two weeks of time we do the A/B testing, let's say there's a one million or two million dollar—you know, these are real dollars—the difference between the control environment. So then we could conclude, say, hey, you know, we are, you know, whatever this parameter set up, right? So this we kind of figure out through some mechanism are really doing good in terms of our north star, you know, metric. So this is a short-term kind of thing we are doing, and we apply this across the board for Search for our recommendations and so forth. But then of course there's one more challenge because you could say, sure, you know, this sounds reasonable. Um, but there are customers come to Etsy they just want to do discovery; they may not purchase anything within these two weeks of period time. So, you know, are they still contributing to the business goal? How do they like how do we?

0:21:53.817 --> 0:22:09.797
<v A>I was actually just thinking that, you know, if you do a two-week experiment, everyone who comes to Etsy at least once every two weeks will be represented. But of the people who come, maybe well, the P—if someone comes once every four weeks, there's a 50/50 chance they won't even be in the data.

0:22:10.557 --> 0:23:15.272
<v B>Set, right? Right. So that is one of the challenges, which is okay. So we need to figure out this is the long-term value. Long-term meaning like longer than A/B testing time period or so how—how that what's the value of that? That's usually we call like, you know, long-term customer value (LTV) in some sense that we need to assess and investigate what is the impact of our algorithms with LTV sometimes like, you know, longer than two weeks, or sometimes six months, or even like sometimes we want to understand for like one year. Like, you're very long term, what is the value and how can we even optimizing our model towards long-term value? So that is like more larger challenges and more like working progress, I would say. But like, you know, very high level, we figure out for the short-term kind of in terms of launching experiments, you know, in terms of guiding machine learning models utilizing GMV as a target. Yeah, that makes

0:23:16.268 --> 0:23:43.572
<v A>sense. That makes sense. Yeah, I think that the long-term value stuff is fascinating because it's—it's almost it almost has to be counterfactual in other either that or you need to have experiments that run for extremely long time to really see, okay, I took this, I made this change and it affected the long-term value in this way. You either have to wait a long time or you have to do some really clever analysis. Yeah.

0:23:44.989 --> 0:24:52.405
<v B>That's a that's a great point. And in fact we're thinking about that. So, you know, we are indeed running some of the longer experiments to measure the impact of a lot of the things, you know, we roll out and especially aggregating, right? So like, you know, we roll out one thing this weekend and another thing next week, and each of them have an A/B test. But do they aggregate, like add up to the overall impact and so forth? So we are doing a lot of long-term experiments. But of course, we need analysis as well because certain things we cannot really run long experiments for, like, you know, so for instance running for years, running for multiple quarters, or there are certain things, you know, there are like business requirements, certain, you know, and etc., we couldn't be able to run experiments. So then sure we need to do a lot of counterfactual, you know, observation study to style type of investigation to measure the impact. Cool.

0:24:54.447 --> 0:25:19.506
<v A>Yes, it's really fascinating. So the so now we've we do the ranking and then I guess at that point the ranking—yeah, the ranked list of items goes back to whoever requested it. So I guess this would be a web request that would go to actually it would probably go to some other server, I guess, that would handle the front-end traffic. Yeah. So

0:25:21.143 --> 0:26:28.035
<v B>like, you know, so we can sort of conceptualize this as a front-end, you know, as a like PHP layer or, you know, iOS or Android our apps sending that thing to a back-end server. And then within this back-end server, we synthesize and combine a result from the inverted index I just mentioned, and then we apply all this ML algorithm to optimize GMV if we wish. So then we also apply additional business rules as I mentioned, like hey, you know, we want to maybe promote free shipping items, we want to promote other sort of items that our kind of let's say marketing campaigns want to show. So then those results would return to the front-end layer like PHP or, you know, or iOS and certain things, then they will run to those ID results in whatever the format they need to read. Got it? Yeah.

0:26:29.640 --> 0:27:01.160
<v A>We just had Andy and Dave from The Pragmatic Programmer on the show um on the past episode, and one of the things they were suggesting for engineers is—is they're saying if you only know one language or if your whole job is just one language, learn another language. That was one of their big suggestions. And it sounds like from what you've described that this even if we take away the app and the website design, that even this back-end process involves many different languages.

0:27:03.287 --> 0:28:11.960
<v B>And technologies absolutely. So there is a variety of things we are using here at Etsy, I mean similar to some other tech companies as well, right? So we have offline, you know, processing which where we generating ideas, validating ideas, and trying to write imaginary algorithms and so and so forth. So there we utilize like Hadoop-style, you know, technologies including Spark, and we also, you know, we are on Google Cloud. So we also heavily utilizing a lot of offerings from Google as well. Um and then we have the servers, right? So server, you know, inverted index and whatever this back-end server I mentioned, there we use Java, we use Scala, and other languages as well to write efficient code such that things can return with the water like a millisecond. And then other, you know, times when when we do like

0:28:13.480 --> 0:28:33.737
<v B>data analysis, for example, as we talk about like counter-finding analysis, we have data scientists use R Studio, Python to do a lot of other data processes as well. So there is a variety of tools and languages that the teams are using to get productive. Cool. What is

0:28:34.784 --> 0:28:56.130
<v A>The skill that you feel is most lacking—it doesn't have to be a language, but for folks out there who are in college and what is something that the universities aren't teaching per se, or something where you find it's um you know kind of something that people should pay more attention.

0:28:57.919 --> 0:30:55.420
<v B>Right. That's a very good topic. I think in general currently a lot of universities and by the way, like I occasionally talk to university here at New York City—like Columbia University, New York, NYU—they are offering bachelor program or master level program in Data Science, Machine Learning. So I have a lot of contacts and interactions with the faculty, center with prospective students, and so forth. I think currently a lot of these programs, a lot of these degrees offering, I think on the skill level, I think in terms of languages or in terms of tools are really kind of getting up to speed, right? So if you want to know, let's say Python, if you want to know, let's say NumPy, SciPy, or some of TensorFlow, like all these tools, okay, you can get the training and programs easily with a sufficient understanding of those tools. I think one of the challenge for the moment is that applying Machine Learning, applying AI to a lot of product domains require a deep understanding of that product domain—like a business case, a business use case—as well as you're looking into everything from end-to-end perspective, right? So like we just talk about, okay, query coming. I need to understand the query. I need to understand how to get the things from the index. I even need to understand what an inverted index is, and then I need to understand why we need to rank things according to GMV, not according to let's say click rate or some other thing.

0:30:55.909 --> 0:32:02.532
<v B>So understanding that holistic business kind of a scenario and also start to develop ideas, to develop intuitions into that. I think we still require tremendous of training and really get hands-on into those problems and work on those things. So roughly speaking, we have a couple of master level and even PhD level really good graduates join our teams in the past. Roughly speaking, they get up to speed after at least six to ten months, if not even longer, really being able to get productive in the field. So that's I think like the most lacking in terms of education piece is where this gap or where the students could get more hands-on in a lot of real-world problems but at the same time studying those tools.

0:32:02.600 --> 0:33:37.487
<v A>Yeah, I totally agree. I think the reasoning is always the part that seems to be left off the table. Like for example, you see so many of these Machine Learning bootcamps and what they'll do is they'll give you a set of images and they'll walk you through in TensorFlow how to say whether this is a cat or a dog, right? But then what you end up with is this model that predicts the probability of cat, probability of dog. But you don't actually do anything with it. Like for example, I mean this is a bit of a contrived example, but if you got—if you mislabeled in one direction, like you said it was a cat and it was a dog—let's say hypothetically nobody really cared that much. But if you mislabeled in the other direction, people just stopped using Etsy, well then that massively changes the decisions that you should make based on those probabilities. So even if you think it's a one percent chance, it's a dog, if you say dog and you're wrong and that has huge ramifications, then even 99 isn't good enough, right? On the flip side, if someone is let's say in discovery mode, maybe you want to show things that you're not confident about almost on purpose because you want to learn more. And so yeah, actually doing things with the Machine Learning models and reacting to what happens—that's the part that I feel is completely left out.

0:33:39.023 --> 0:34:55.585
<v B>I absolutely think I agree with you. I think here at Etsy we use Machine Learning, and Machine Learning are not kind of a code block technologies. We know that they have real-world impact, right? So like recommendations such results are really presented to millions and millions of our customers, and they are using those results to determine what gifts they are going to buy for their parents, what things they get for their adversaries and so forth. So the recommendation result definitely would drive those users away and also have a very real business impact. So yeah, like those things are not just one percent or two percent numbers in terms of accuracy or precision. So we look at—we constantly looking into how are we really evaluating our results? Not just talking about the accuracy level but actually are people satisfying? Are people really return to Etsy because of we provide more relevant results and so forth. Yeah.

0:34:56.091 --> 0:35:20.391
<v A>That makes sense. So diving into the Machine Learning, there's that part you mentioned where you've narrowed it down to about a thousand candidates and you want to know let's say the probability someone's going to—let's say click on one of these candidates. How do you actually know that? So I mean kind of what goes into the model? How's the model created?

0:35:22.214 --> 0:37:17.640
<v B>yeah so that's a you know uh that's definitely the uh the challenge or one of the many challenges um so in a nutshell right um we can think we need to formulate it in a machine learning kind of the concept of a supervised learning problem by supervised we mean that we have a target or a metric uh then we want to uh use that target or metric to guide our you know model training or guide our learning process such that we optimize in our case maximize certain things now in our case the target i just mentioned earlier we can think that is a form of gmov or you know how much money you can you know very simplistic way you can think that is how much money uh we are going to gain uh that is our uh you know target and then we we say we form um attributes or features for each of our items right so then uh we gather information like uh oh in the past how many people are clicking on this thing in the past uh how many people are purchasing this thing uh and how you know these people are from which region right so uh and uh what is a contest which what time of day or what week of the month is this the christmas season or not right so there's a lot of a lot of a lot of information from historically how how good how bad you know this item performing from you know tax information that this item has like title description reviews and so on and so forth from uh you know many other data sources as part you know as

0:37:17.640 --> 0:38:29.640
<v B>Much as possible we could together and we form what we call these attributes and features, and we are gathering literally millions and millions of these attributes. And then after gathering these attributes and then we have our target—like the GMV or the money—then we give these two sides of the problem, right? So target features or attributes—that's one side. Another side is generic Machine Learning algorithms things like logistic regression, decision trees, deep learning models, and so on and so forth, and collect the model trying to figure out what is the best mechanism such that we can associate with we can associate features with the target. Then we learn the model, get the model all of those learning algorithms. So this is a very high level how we figure out to rank things to optimize our business metric.

0:38:30.840 --> 0:39:13.300
<v A>Cool, that makes sense. What about how do you sort of capture somebody's style? Like for example, if I like blue shirts or let's say I don't like shirts with buttons—which is actually kind of true; I almost never try to wear things with buttons because I feel like I'll become a product manager if I wear too many shirts with buttons. Okay, how do you how do you sort of capture there are so many different contexts, so many different aspects to someone's style? And the information you have is kind of what they've looked at. How can you sort of compose all of that to figure out someone's style so that next time someone types in 'blue shirt,' they get the...

0:39:14.920 --> 0:41:00.200
<v B>The polo, right? So we need to understand for each item what styles or what kind of—the styles the each item is belong to. So that is step one. So there we have Machine Learning experts from my team and we also partner with domain experts inside Etsy. So then we come up 43 kind of styles here to categorize all the listings, all the items here at Etsy. So then we develop basically classifiers—Machine Learning classifiers—that we can classify one of our 60 million items into those 43 styles, right? So then each listing you could think belong to this space of styles and this might be 80 percent to more mid-century modern and not another thing belong to another styles. So we first get this information. Then we need to understand user preference, right? So okay, so let's use a counter to the side depending on their past behaviors what is the distribution? What is the preference distribution over these styles? Okay, each user would have a distribution over styles. So after these two steps, so we get the style kind of category for each item, we get a style profile preferences for each user. Wait, can you?

0:41:00.200 --> 0:41:07.510
<v A>Dive into a little bit on that second part? I wasn't—I'm not totally clear on how do you know the do you ask the users like a survey?

0:41:08.489 --> 0:41:18.445
<v B>Or well in our current way we basically look at what kind of styles things you click, you purchase, do you search. Oh, I see.

0:41:18.445 --> 0:41:20.149
<v A>Oh, that makes sense. Yeah, then.

0:41:20.655 --> 0:42:09.981
<v B>We aggregate that, right? We build a model on top of that. We do the profiling and then we get the user, you know, preference over that. And then the third step, which is basically matching your, you know, profile versus this, you know, database of all the styles or, you know, all the items with style. So then we, you know, match that, right? So then we get let's say oh these are top 100 scenes matching your, you know, past style kind of behaviors in the past. Then we, you know, further apply, you know, all the, you know, mechanics that I mentioned, okay? But within this 100, right? Which one, you know, you would like to purchase, you know, most and so on and so forth. So then we, you know, uh, apply those things again. So that's basically the very high level of process how to apply style cool.

0:42:10.859 --> 0:42:22.334
<v A>Yeah, that totally makes sense. And then that has to somehow make its way back into that um, um, that uh reverse index so that you can you can index on the styles.

0:42:23.430 --> 0:42:58.851
<v B>Yes, exactly right. So like all these are additional information, you know, we uh we get, you know, to help us understand user behaviors because user behavior is very, very complex. Like, you know, there are certain—there might be certain users who always like stick to their styles, but there are certain users, right? So like they buy gifts for their friends; they may not, you know, look for things for themselves. So oh, that's true. Yeah, so there are a lot of variations. So like how to understand users and how to understand like all the behaviors is a very complex.

0:42:59.695 --> 0:43:28.011
<v A>Yeah, that's really fascinating. You know, I mean it's funny. Netflix—I don't know how this came to my mind—but Netflix is very explicit. It says, 'Hey, who's watching the Netflix right now?' And so if my son is watching, he knows to switch over to his name. But for something like this, it's there's still that multi-modality, but you just it's not explicit. So you—there's Etsy doesn't pop up and say, 'Hey, are you shopping for yourself?' You have to kind of figure that out based on what the

0:43:29.142 --> 0:44:02.115
<v B>person is doing. Yeah, right? So like hypothetically we would love to uh have customers telling us like, you know, what mission they are on and, you know, how how how we could help. But like, you know, we're in a much more implicit way, right? So like we have to figure out from user like how they interact with the site and, you know, a lot of contextual information we can and trying to guess or, you know, try to best guess so like what is your intent and, you know, how to how to do that. So it's a it's a very very uh big challenge. Yeah.

0:44:02.757 --> 0:44:24.863
<v A>This sounds like an enormous effort. I mean, I don't know if if uh uh it feels free to be really rough with these numbers, but like roughly, like how many people are involved in this effort? And what's the growth trajectory been like? And and like how are you expected expecting this team to grow? It seems like it's a huge.

0:44:26.264 --> 0:44:41.789
<v B>Effort. Yeah, that's also a great question. Um so when I joined Etsy like in 2016, we had roughly five folks working in like Machine Learning kind of space—five.

0:44:41.789 --> 0:44:43.000
<v A>Very busy people.

0:44:45.480 --> 0:46:38.760
<v B>But uh so we grew from there, right? So right now we're in between 30 and 40. And of course like we're going to grow. But having said that, I want to emphasize is that um a you know we we probably are not going to do something like big companies where, you know, solving problems is basically scaling up teams, right? So like hiring hundreds and hundreds of Machine Learning engineers, Data Scientists—figure out every single, you know, problem. So we probably are not, you know, on that trajectory. Um which also opened up the door where we could look at things holistically and, you know, come up with better, you know, technical solutions, right? So for instance, you know uh we are the same where we are with a single team trying to figure out how to, you know, provide the best result for search, desktop search, mobile search in-app. I know I do know that in some of the other companies these are different teams. Uh now in our case, we are the same team. So we have the opportunity to provide a model framework such that could work the best in three different, you know, contexts but without like scaling up the team, right? So like each individual uh could work on a more technical challenge problems similar to our recommendation problems. Like we we have uh more than 50 pages modules require recommendations, right? But like we do not have that number of people versus some companies, each team working on one page, one module. We have the opportunity to work out of framework such as, you know, let's say one model or one type of model could power multiple modules and power multiple pages.

0:46:38.760 --> 0:46:49.937
<v B>Uh so that's where we would like to, you know, really use technology using innovations uh to scale up the the opportunity to really, you know, meet uh meet the needs. Yeah, that makes.

0:46:50.579 --> 0:48:08.322
<v A>Sense. I think another part of it which you mentioned earlier is um that you you're using the like Google Cloud and it was similar—I believe Netflix uses AWS. You know, a lot of the um a lot of companies are you're relying on cloud services. And and I think from the purpose of someone who's looking for a career, um it really encourages people again to just try and be polymaths, right? So if if you have to build the entire cluster from the ground up and on day one you're trying to write a distributed file system, then you need as you said just a huge army of people. And you could be the, you know, distributed file system person who's writing, you know, C um message, you know, ZeroMQ code all day. Um but at Etsy if you have 30 people handling all of search, then every one of those people, each one of those people needs to be a true polymath. Um and that's that's something where um again just learning a lot of languages, learning a lot of technologies and probably trying to build one of these systems. I mean if you're running on the cloud, then anybody out there listening could also build something like this on the cloud um and and kind of play around.

0:48:08.997 --> 0:48:10.887
<v B>With it. Yeah, yeah, absolutely.

0:48:12.659 --> 0:48:41.430
<v A>Cool. So what is next? Like I know, I mean there's AI, machine learning obviously still hot topics. I don't know if we're at—I really don't think we're at peak machine learning, although it's really, really high up there. We might be peak Big Data, but there's still a lot of ground to cover on machine learning. What is what is Etsy doing, you know, in the future? What are some really cool search ideas that we should see coming?

0:48:43.067 --> 0:49:03.621
<v B>out yeah so i think you know i agree with you i think we are as i mentioned earlier right so in the multiple fronts we are in a very early stage uh not only us like i also believe uh ml or ai for e-commerce uh also by early stage um so like you know we definitely need to uh

0:49:05.319 --> 0:50:06.632
<v B>keep investing in search like you know searching uh in a narrow kind of context meaning maybe like we discuss primarily you know in today's like in the program uh where you type of keywords let's say we want to provide the most relevant or most you know promising results we would like to buy quickly so that's kind of a you know narrow sense of the search so we definitely need to keep doing that and you know providing better better service on that um but i also i want to highlight like there is also a equivalent more or less equivalent uh you know amount of effort we are seeking is uh discovered right so like that you know we briefly talk about that a little bit it's like okay i don't know what to you know what to look after and uh i don't even have a query in my hand uh but i i like to you know come that's the end browse a little bit and then you know go from page to page how can i you know discover my needs right so like you know such kind of thing oh can you dive

0:50:07.307 --> 0:50:14.520
<v A>into that a little bit from the ui experience like what what does that is that just when people go to etsy.com without a without a query

0:50:15.720 --> 0:50:54.439
<v B>yeah we we definitely have a lot of people come back to dot com without a query we have a home page we you know there's a lot of modules and helping right so hey you know these are the things you might be you know might be interesting these are the things from your the shop you purchased in the past and so forth and so forth there's a lot of mechanisms uh we help you to discover new things and uh there are a lot of you know other pages other than the search page serving the functionality of discovery and trying to you know speed up that process yeah if we

0:50:54.439 --> 0:51:22.300
<v A>if you have time it'd be really interesting to dive into that um like it how do you sort of handle that where there's no because now you you still have that 17 million was it 17 or 70 million 60 sorry 60 60 60 okay so you have that 60 million sized inventory and now you don't have any query are you able to still meet that sla um and and get

0:51:23.042 --> 0:53:14.772
<v B>results quickly right that's another like i mentioned like almost another half of our effort which is uh what we call discovery or slash recommendation right so basically you can think recommendation is kind of the process without like you know a lot of other uh you know the companies and you know apps are doing like a so-called query less kind of a search query less like a push or recommendation so there we heavily utilize your past behaviors right so they say hey you know you purchase the things from this shop uh and it seems like there are similar things from the same shop shop are you uh you know are you interested right so and also you purchase the things in this style and there are like other things seems uh you know from the same style uh also from similar kind of categories are you are you interested right so like we we harvest uh heavily heavily on your past behaviors to give your recommendation to get what you are looking for without even asking without you providing a query right we also provide you know kind of a recommendation when you do the browsing right you go to the listing page and then on the listing page there are modules showing other similar listings like sometimes it's uh similar from the same shop meaning like same shop might offer other things you would uh you would like to buy or like you know visually similar right so okay so you are interested in this painting with a with a beard uh with a bear and you know there are other paintings with a bear there so how about you know yeah how about you you pause that a bit right so like we utilize that quite a bit and they're trying to uh you know do the recommendation form

0:53:15.025 --> 0:53:19.560
<v A>that makes sense yeah i mean bears are awesome what so what about um

0:53:21.319 --> 0:53:31.799
<v A>um how do you prevent so let's say someone puts in bear or let's say let's take us to back let's say someone makes a bear i don't know coffee mug on etsy right and so um

0:53:33.503 --> 0:54:08.620
<v A>well maybe something more esoteric than let's say hypothetically there aren't any bear content there isn't any bear content on etsy someone makes the first bear mug um someone types bear and they find that bear mug and then that person kind of becomes the source of truth for bear and and then they end up with a lot of clicks and then because they have a lot of clicks they're the number one result and then because they're not more result they have a lot of clicks and there's this sort of like winner take all phenomena where now if i try to make my own bear mug um i can't compete with these people who have already been on the site for a long

0:54:10.020 --> 0:56:08.040
<v B>time yeah that's a really really a great question so axi is a two-sided marketplace right so we have buyers we have sellers we constantly look into how to optimize a lot of things we talk about today are primarily from a buyer perspective uh but we do care and care very much about our sellers right so like whoever our entrepreneurs and you know these folks are uh making goods and then you know creating things uh you know and offering for the for the buyers and you know growing that audience is also very uh very very important and maintain you know retain that uh you know audience is also very very important um this is not an easy problem right so like uh in a lot of scenarios i guess there might be a phenomenal winner takes all because like the things you are selling are are good like you know you're performing very well and there's a there's a reason your things are performing very well and the system kind of remember that and trying to promote uh same same type of thing um but we also are very cautious of this kind of uh you know winner takes all kind of a phenomenon and trying to help boost uh new sellers or you know new items uh you know in recommendations literally called code start right so we don't have data uh but you know we cannot we cannot assume they are like they're bad or they are like not performing it's just mal right nobody you know we haven't shown them before so we are constantly uh testing different algorithms ideas to uh come back with uh co-start and trying to promote uh new sellers and new items to accommodate this situation but this is not an easy problem like you know how we how we serve the uh buyers uh you know at the the most uh you know

0:56:08.040 --> 0:56:21.560
<v B>most relevant way at the same time keep a very viable marketplace such that everybody or let's say a lot of folks in the server side have a share—that's definitely one of the challenges.

0:56:23.147 --> 0:56:48.578
<v A>Yeah, it seems as if there's it's very empirical, right? I mean, it's almost impossible to come up with some kind of closed form that will tell you how to trade off learning more about some new item versus showing the best thing you've ever seen. It seems like that it's always going to come down to some sort of

0:56:50.249 --> 0:57:50.121
<v B>Empirical analysis? Yeah, that's true. We also have other channels, right? So like sellers, if they are willing, they can participate in our promoted listing program. It's like a you know outside advertising program where they could spend some budget to significantly boost their listings within our system. We do offer such opportunities and in those scenarios we also utilize machine learning in various places to determine how to best show everything. So like if a lot of sellers in fact are utilizing our program to show their things and to boost their things through their reach and through, of course, using some budget. So yeah, so like we're definitely looking into various other channels to accommodate the issue. Yeah.

0:57:50.121 --> 0:58:18.690
<v A>That makes sense. It gets into some really deep sort of economic analysis that they would have to do, and I'm sure you'd help them with. You know, it's like if I showed this advertisement for my product with the expected value of my campaign or my lifetime on Etsy go up. If so, then you'd spend the money on the advertisement to sort of build the brand, and it becomes this sort of short-term long-term thing again.

0:58:19.450 --> 0:58:21.424
<v B>Yeah, that's true. Cool. So,

0:58:21.458 --> 0:58:49.184
<v A>What about one thing I've noticed is there's a ton of companies getting on board with open source and with academia? Some companies are usually like pretty closed doors; they're starting to publish papers and do open source. What is Etsy's sort of how do they feel about the whole open source thing and information sharing, and what do you folks do there and why do you do it? Yeah.

0:58:50.685 --> 1:00:49.452
<v B>this is a good question so if you look at the github uh etsy has uh you know repositories on github and you know public available with a wide range of repositories there um and we have blog posts uh constantly publishing uh you know some of the interesting things learning and experiences that our engineering teams including like my teams are are you know are having here at etsy um and in terms of my team specifically we go to a lot of different uh conferences meetups uh you know conferences including uh you know academic conferences you know industry conferences and we um do talks and we you know sometimes publish papers uh we you know do presentations and we you know we have a very kind of open uh and a collaborative attitude i would say towards uh you know open source community towards like uh the uh tech company in general uh to be part of that to contribute and also you know facilitating a lot of things um i think you know in terms of reasons there are two major reasons i think are very important one is uh like i mentioned right so machine learning where you have e-commerce i think it's a very early stage uh the more people in general are you know are you know are you know are interesting in that the better solutions the term in terms of of technology in terms of uh you know the uh the solutions we are building can build on uh larger communities right so like you know recommendation uh kind of system community only exists after you know netflix competition uh you know almost like uh and also like you know people get excited about uh

1:00:49.722 --> 1:02:06.200
<v B>you know deep learning and so forth well because like you know alpha go kind of a related thing published from like you know deep mind from google so there's a you know the uh you know a larger impact of getting uh you know evolving a community and being able to talk about the technical solutions and get excited about that so that is a one second is of course like you know the hiring and uh getting talents are super super critical for us to uh you know work on those exciting exciting uh problems uh when we go out and talk to candidates uh they value uh we are part of the larger community and they also value that uh we couldn't talk about a lot of things like today we discussed now if we say hey everything just prior to our way like we can't talk uh then it's a very unlikely we can you know really stir the interest from our candidates uh so you know by really being uh you know opening up and being kind of uh uh playing a big role or you know trying to play some some even bigger role in this community uh would help us to establish reputation and it would help us to attract you know the top

1:02:06.200 --> 1:02:45.560
<v A>talent yeah that makes sense you know i think i saw something recently that said one of the best things someone can do from their career is to build sort of a personal brand and when you look at at academics um you know they could go into university and become a professor and they'll have extremely strong personal brand um they'll teach the courses under their own name uh they'll write papers under their own name um and so if if industries such as etsy um keep everything closed off then then someone will say well you know why why would i not go into academia where i can represent myself and so yeah i think it's it's hugely important

1:02:48.359 --> 1:03:04.300
<v A>what uh speaking of of hiring folks from academia what sort of positions do you have where we're um you know where what are the offices where there are search folks and um are you guys hiring what kind of

1:03:05.295 --> 1:04:58.915
<v B>roles yeah yeah so uh we're like i mentioned a little bit earlier right so like we are growing and we are hiring uh data scientists and machine learning engineers uh both here at uh new york city office as well as our san francisco office uh so you know we have um constant openings in these two uh offices and in general like at c engineering like hiring in these two offices as well as toronto office and we have doubling office as well so like we are oh cool yeah growing in these couple of different uh locations uh in terms of roles like we are generally hiring folks with virtual learning background and we're vaguely kind of divided into two kind of type of roles one is called data scientists and the other is called machine learning engineers basically you know we are looking for folks with uh a lot of uh you know modeling background really interesting and pushing the you know last couple miles of our model performance and thinking about the new methodologies to thinking about the new ideas like as a like you know uh data scientists and we would like somebody with a very strong uh system level uh you know engineering design as well as you know pretty much equally uh understanding of machine learning to help us build you know offline pipeline pipelines uh serving systems as you know mentioned as like back end uh as a machine learning engineers so these are the two like you know on very high level uh two kind of roles that we're hiring in brooklyn new york city office and uh san francisco office cool so

1:04:59.421 --> 1:06:03.934
<v A>so one question we get a lot is is from people who um they they want to know how to best get one of these jobs right so um you know they they might have got a degree in let's say petroleum engineering um and and so they're you know coming to programming for the first time um they might even have a very strong mathematical background but maybe not a programming background and the questions we get are you know should i go back and get another four-year degree should i do the you know coursera or udacity or these other moocs and get sort of some of these nano degrees um should i jump into one of these in-person boot camps you know what's your feeling there i mean obviously for some of these uh um very mathematically oriented roles um you know having a let's say a phd in math or in computer science would be preferred but um what are sort of like you know other ways uh that people can sort of get those skills

1:06:05.132 --> 1:08:01.806
<v B>Yeah, that's a great question. I think some part of this also echoes you know a little bit earlier discussion on the master programs and the bachelor programs. So in general, I would say there is no well answer to everybody. So one thing I want to mention is that we have currently in our team a very diverse background. Like these 30-ish people—half of folks have PhD degrees, half of folks have Master degrees. And if we look at their backgrounds, we have folks of course from Computer Science, but we also have folks from electrical engineering, operational research, statistics, economics, physics. Like we have a pretty wide diversity in terms of the background and where their degrees are coming from. So that's why I would say there is no short answer. Any from interviews, we are actually interviewing a pretty wide net because we would like to be inclusive in trying to find the best people, not just looking at your resume or one line of education. So we actually interviewed political science, nuclear physics—you name it, like astrophysics or a lot of different kind of educational background. So the current situation is that when we talk about it early, it's hard to say if the best shot is just going back to your master program or doing this 12-week intense training because after that each person still differs because of their individual kind of experience.

1:08:02.211 --> 1:09:11.922
<v B>I would say in general, if we really want to give some advice to individuals, we will tend to say just look at your own experience and then think about where you are in three to five years and start to build or start to think about the path to that. So like, hey, I'm just a sub-engineer without a Machine Learning background, but I'm really interested in that. Okay? So if my goal is to grow into a hardcore Machine Learning Engineer in three to five years, here are the steps I might take. Or I say that I have zero coding background, but I'm strong in math, like I have a Math degree, and I want to be this kind of person to do some applied research. Okay? So in three to five years time, what are the steps I could take? I think that's it. Fortunately, no one currently has to be personalized, so each person can take their own path.

1:09:12.985 --> 1:09:14.352
<v A>Yeah, that totally makes sense.

1:09:16.545 --> 1:09:23.160
<v A>sense cool um what is you know if someone uh interviews like what what what is that

1:09:24.932 --> 1:11:24.323
<v B>Experience? Like yeah, so we have a kind of standardized interview process which is very similar to most of the typical tech companies. We have two rounds of phone interviews. The first one is to test whether you have some basic coding background—not necessarily solving coding puzzles, but like hey, do you understand data structure? Do you understand four rule brands? Many many kinds of basic ideas. The second phone interview, we tend to look at whether you understand Machine Learning basics because believe it or not, in the current hype of AI and Machine Learning, there's a huge amount of people who almost sort of understand Deep Learning but they don't understand logistic regression. They don't know what supervised learning is. They don't understand right? Regression. So we go to the basic and then we're asking like textbook level kind of a concept. Okay, do you understand this? So that is our second phone screen. After two rounds of phone screens, we bring people on site. In the onsite interview, we have a couple of slots. We have again coding—whiteboardish coding kind of a slot basically, typical coding questions. And then we have so-called Applied Machine Learning kind of a slot. So basically, we present you a real-world problem, kind of abstract a little bit from this real-world business, and then we say, 'Okay, here's a scenario. Imagine that you work with a Product Manager, and this is a thing that the Product Manager comes up.'

1:11:24.694 --> 1:12:33.561
<v B>You as a new member in data science team want to figure out what is the solution, how do you present the solution? So how do you think about this problem? Then we in that 60-minute kind of a slot, the candidate would walk through a solution with our data scientists in the team. So we have two such sessions. Then we also have a System Design slot. So basically, we look at, 'Okay, great. So you have this idea, but how can we get the result back within 100 milliseconds?' Like which process you need to do online? Which process you need to do offline? Like you need to cache things somewhere. Like where do you store those things and so forth? Like can you draw a very simple system diagram to talk about the things you just mentioned?' So we have one that's such session as well. So then this is our kind of a typical onsite kind of interview process. So then we have two rounds of phone screens and a couple of slots outside the interviews.

1:12:34.844 --> 1:13:31.965
<v A>Cool. Yeah, I think just to recap some of the things we said earlier, you're trying to actually build these things by yourself, I think is one of the best ways to get prepared for an interview like this. Now, of course, not all of us have a site with 60 million items in it or anything like that. I mean, it could be just a bunch of synthetic data, but all of these are problems that people could experience in simulation right now. So someone could create a set of 60—60 million set of random vectors and then try to find the nearest neighbor and realize that they need to build some data structures and things like that. Obviously, the kind of courses and things you can find on the internet will help as well, but yeah, it sounds like getting some hands-on experience is something that could really help.

1:13:33.147 --> 1:14:51.784
<v B>People. Yeah, that's actually one thing I actually mentioned to some candidates when we talk because I just said ask a very similar question. We started this program which is like can you imagine a process? You have to type the keyword—to Amazon, to Etsy—how do we get the result back? So like that's a mind exercise, like a thought exercise, how do you do that and how do you break down the system? How do you talk about each component? And several companies will say, 'Wow, yeah. I never thought about like that.' Like we never really try to reason about that. So any fact, you could do that thought exercise to a lot of things. So like imagine how to do that for the scale of Amazon or do you know recommendation in the scale of Netflix or Google Search? So like how do you propose a system or how do you think about that? I think building some cases and exercising some thought—thought exercise, and also letting like you mentioned right, generating some synthetic data—are really good steps to get some intuitions into these.

1:14:52.847 --> 1:15:00.920
<v A>Domains. Yeah, absolutely, totally agree. So the Etsy blog? There's an Etsy Machine Learning blog?

1:15:02.618 --> 1:15:04.879
<v B>We do not have a separate one for.

1:15:04.879 --> 1:17:00.709
<v A>The moment we have it's part of the Engineering Blog. Yes, got it. Okay, cool. So that's I'll search that up and put a link in the show notes. Cool. And you're on Twitter? It's Hong Liangji on Twitter, right? And we'll put a link to that also in the notes. Okay, cool. This was super interesting. I think this is one of those things that Google is probably one of the first things that people do when they get a computer today. I mean, when I got my first computer, I didn't have internet, but today that's probably one of the first things people do is search, right? And so it just seems kind of for many people just magical that they type things into Etsy and get results. It just seems like there might even be—I mean, there's probably people who think that there's some human in the loop just because it is one of these things that it's just so incredibly remarkable how you can search through so much content so quickly. And I think you did an amazing job of kind of breaking it down into those components. You're talking about like sublinear ranking, reverse indexing, and all of that. And I hope—I really hope that people at the end of this have a kind of now a holistic understanding and if they want to deep dive into any of these topics, like if they want to find out what it actually is a reverse index, how can I code one myself? They have all of the right terminology and they have the right mental model to really dive deep on these topics. So I really appreciate you coming on and explaining a lot of this to people, and it's been really exciting. I've learned a lot about Etsy and their processes, and how like the whole thing is organized.

1:17:02.009 --> 1:17:25.802
<v B>Yeah, sure. So absolutely. So I also feel this is a really great opportunity for us to explain how Etsy Search works and also lay out the challenges that we have and talking about a lot of interesting things we're working on and how we could move forward. So I also appreciate the opportunity to chat with you.

1:17:26.022 --> 1:17:30.915
<v A>One, one last question: Are there internship opportunities, or is it only full-time?

1:17:31.860 --> 1:17:57.780
<v B>Yes, we do have interns. So the last couple of years, we have interns coming here working on projects, and you know people get excited about that. So we are hiring interns actually. You know, just go to our career page. So we are hiring interns in the same location, but New York City, and as well as a San Francisco office for data science interns. Cool, cool.

1:17:58.304 --> 1:18:08.580
<v A>So folks out there if you're in university, this is an amazing opportunity. Definitely check it out, and thank you again, Langji, for coming on the show.

1:18:09.542 --> 1:18:11.736
<v B>Thank you for having me here. Yeah, thank you, thank you.

1:18:20.967 --> 1:18:42.360
<v A>The intro music is Axo by Binar Pilot. Programming Throwdown is distributed under a Creative Commons Attribution-ShareAlike 2.0 license. You're free to share, copy, distribute, transmit the work, to remix, adapt the work, but you must provide attribution to Patrick and I, and ShareAlike in kind.

