Latest / Agentic Conversations (formally mlops.community) / LinkedIn Recommender System Predictive ML vs LLMs
Transcript
- 0:00So I'm working on mostly how we can recommend the right content.
- 0:03Why is it different than traditional recommender systems?
- 0:07I have to explicitly go and ask it like take the signal, take
- 0:11the signal. And when I'm using LLMS, I don't
- 0:14have to explicitly go, OK, take this signal.
- 0:16OK, see what this person has impacted you.
- 0:18So basically you're abstracting away the feature engineering
- 0:21that you should be doing. Yeah, I like posts on LinkedIn
- 0:27just to show support to friends. Yeah, doesn't mean I want to see
- 0:3150 more posts like that. Yeah, but the model doesn't know
- 0:35that way. So you're liking it just because
- 0:37to show? Support.
- 0:38How do I tell the model that? How do I say this?
- 0:41Is the support like, not a interest like?
- 0:44Yeah, because it counts any reaction that you make to the
- 0:47polls that count as a plus for you.
- 0:49So this is something that you're interested to know more about,
- 0:51because if you're not interested, you might not like
- 0:53or comment on it, right? Imagine it has like a cluster.
- 0:56Yep. So if you have two clusters and
- 0:59then one cluster has all the IT industry people and other
- 1:01cluster has like all finance people.
- 1:03So if one of the finance guy likes this post, it's pretty
- 1:07much sure the model is pretty much sure that the other person
- 1:09is going to like it. So they will show that post to
- 1:11the other person and then once you like it then it gives the
- 1:15signal for the and it goes on like that.
- 1:18So it's basically two different cluster, every different
- 1:21profession or every different people based on their activities
- 1:24or interaction. It's being in one cluster and in
- 1:27that and they belong to the cluster which where they have
- 1:29similar interests. So that's how if one of the user
- 1:33likes it, they are pretty sure in that cluster the other people
- 1:35will like it as well. And then occasionally there's
- 1:38probably one that crosses over clusters.
- 1:41I think it's very, it's very rare that I will crossover your
- 1:46cluster like I like because it because if you see based on how
- 1:51it decides the cluster is based on whatever you have entered in
- 1:54your profile information and whatever type of content you
- 1:58have been liking so far. So even it takes as a feature
- 2:02what is on my profile. Your information is basically
- 2:05the more the most key point for the model to understand it what
- 2:09actually you're going to like so it that's why whatever you
- 2:11entered your profile is the first entry point in order to
- 2:15make any recommendation. Yeah, my profile is pretty
- 2:19satire these days. I am the vibe manager at Vibe
- 2:23OPS Community, so I don't know how well the model's going to be
- 2:28able to understand. That confused and it it does
- 2:30weird things right? Yeah, it's going to default back
- 2:34to the old stuff. Yeah, it's just like you.
- 2:36And if we get confused, we do whatever we can think of, right?
- 2:40So that's the user facing side that I'm seeing.
- 2:44You're working on the back end of it, right?
- 2:46So I'm working on mostly how we can recommend the right content
- 2:50that user may have more and more reaction to it or they like
- 2:53those content. And then also on the
- 2:55recommendation side, we see, we we want to make sure that
- 2:58whatever we are recommending is that adding value to you.
- 3:01It's not some random recommendation that we're doing
- 3:03here and there. And to get those things we need
- 3:06to know what are your interest, what time period.
- 3:09That is the one where you like to see most of the content.
- 3:12Maybe in the morning you're in hurry and you don't want to see
- 3:14too many contents, you just scroll and just you leave.
- 3:16So maybe that's not the ideal time for us to give you the best
- 3:19content. And then maybe after work you
- 3:22would like to scroll more and go into the deep of it.
- 3:24So that's the time we should recommend you more important
- 3:26content or more valuable content that you might be interested in.
- 3:30So this is like one of the factor.
- 3:32And then there are a lot of features that we consider such
- 3:34as like what are in your recent interaction with the people or
- 3:37recent interaction with the feed basically.
- 3:39And that we consider like, OK, so this person likes more video
- 3:42content, the person doesn't like more text posts.
- 3:44So OK, that's something that we need to consider that we
- 3:46shouldn't be recommending more video posts to this person.
- 3:49And then also we also look like, OK, so maybe you like AI
- 3:53content, but you like more yeah, infra content.
- 3:56So it's more specific, right? It's not just GPT models and
- 3:59it's also about how GPT models are doing those things.
- 4:01So it takes all this very it looks like very minute signal,
- 4:05but it makes a major difference on the feed side of it.
- 4:07And since with LLM being coming, it's getting much and more and
- 4:11more easier to get all those time information and then get
- 4:15the most out of it. So I think it's so I think every
- 4:21action or everything that you're doing on LinkedIn, it might
- 4:23sound like very nonsensical to you, but on the our side it's
- 4:28some signal that you are sending that we need to consider in
- 4:31order to give you right pose that you're looking for.
- 4:34Why is it different than traditional recommender systems
- 4:38or how has it changed? The LLM's, yeah.
- 4:41So it depends. Like I think in overall
- 4:43industry, LLM's is definitely something everyone is trying to
- 4:47use in recommendation. One reason is like eventually
- 4:51earlier in the traditional recommended system, you have
- 4:54these signals that you need to create and you need to give it
- 4:57to the model. So these are the signals that
- 4:59you need to look and then recommend the post.
- 5:01But with LLM income, I don't have to give it like look at the
- 5:05signal, look at the signal. I just give it like, OK, this is
- 5:07a post and this is a user and they like this post.
- 5:12In the past few features, other people have liked this.
- 5:14So just tell me whether I should recommend this post to user or
- 5:18not. So this LM is now already
- 5:21capable enough to understand like, OK, these are the signal
- 5:23that I should think about. And then it recommends you the
- 5:25next post or it creates the next post if you want to use the LM
- 5:28for creating the post as well. So I think what LM is a capable
- 5:33is like, since it's being trained on huge amount of
- 5:36resources, it's able to cache those tiny signals much, much
- 5:41easier as compared to a traditional recommended system
- 5:44where I have to explicitly go and ask it like take the signal,
- 5:47take the signal. And when I'm using LLMS, I don't
- 5:50have to explicitly go, OK, take this signal.
- 5:53OK, see what this person has interacted to.
- 5:55I don't have to look on all those tiny minute things
- 5:58anymore, which LLM can handle because it has all those
- 6:02understanding that it needs to know that whether I should
- 6:04recommend it. Because if you think on the back
- 6:06end side, GPT is already for an example, let's take a GPT.
- 6:10If we ask it something, it gives the answer based on that, right?
- 6:13Yeah. And now maybe a month back, if I
- 6:17want to know, OK, give me my biography or tell me if I will
- 6:19be interested in this or not. It knows based on your all the
- 6:22data, right, that whether you will be interested in this or
- 6:25not. So it's kind of already doing
- 6:26the recommendation for you. So it knows like what signals to
- 6:29catch if to if you have to make a recommendation.
- 6:32So that makes it much easier if you use LLM as a recommender
- 6:36compared to the traditional recommended.
- 6:38System. So basically you're abstracting
- 6:39away the feature engineering that you should be doing.
- 6:43Because it's making it much easier for LMS to do that.
- 6:46But I think the thing that I've heard folks talk about which is
- 6:52hard is if you're using the LLM for the inference, it takes so
- 6:57long to actually give you that recommendation.
- 7:00And then how do you, how do you do it or think about it if
- 7:04you're now having to populate a feed so it's not just one LLM
- 7:08call? So I think that's the most
- 7:11challenge part when you're using LLM.
- 7:13So there are a few things that we can think of.
- 7:16The one way is maybe if I had to handle this problem one way, it
- 7:20would like make create a light handed model.
- 7:22I think Google is currently working on making some light or
- 7:26lightweight LLM models. Yeah, like the Gemma models,
- 7:29right? Yeah.
- 7:30So which you can directly use during the inference and it
- 7:33won't add those latency. So you can still serve all those
- 7:36candidates like whatever candidates recommended you from
- 7:40the last phase and then you can still serve it on the feed of
- 7:42the user. But so that's one way to handle
- 7:45is to make them model more and more lighter.
- 7:49The other thing also is something known as knowledge
- 7:51distillation, which is something you have this big model which
- 7:55you already have fine tune and everything and then you create a
- 7:57student model out of it. So the let's call the early
- 8:01model the teacher model. So do you have the student model
- 8:04which mimics this teacher model, but it's much lightweighted and
- 8:07it's much smaller. So you can still use this to
- 8:10populate your complete feed. So that's to handle the infra
- 8:14case and other thing. If you can't do all this two
- 8:17option, the other option would be to not use LLM directly on
- 8:20the inference side. You do it in the offline
- 8:23training or whatever training you are doing and then you do
- 8:26some other normal traditional ML models to do the final
- 8:30recommendation on your feed. Yeah.
- 8:32So in that case you still leverage the limbs input and
- 8:35then you do the final ranking on the feed side so.
- 8:37You're just using the LLM to help you generate features.
- 8:41You can use it either to generate the feature because
- 8:43obviously the post is already there, right?
- 8:44So you're not using LMS to create those posts for you.
- 8:47You use existing posts and ask if this who should I recommend
- 8:51this post to you so and so basically all these things can
- 8:55be done in offline. But if, if you want to use an
- 8:58inference, you have to consider the lightweight models.
- 9:01Otherwise, I think it's not possible to use until we have
- 9:04such a huge collection of GPUs and all those saying that we can
- 9:08serve the whole feed with the Lamar whatever model we have so
- 9:12far, which is very huge weighted.
- 9:14Yeah, traditional recommender systems have very tried and true
- 9:21eval systems, but with LLMS, the eval systems are a bit
- 9:26different. Are you still going back and
- 9:29using the traditional ML or predictive ML eval systems when
- 9:34you're even plugging in the LLM? So I think if you are, even
- 9:39though you're using the new RLMS right, you can still keep the
- 9:42eval system as same because the base the criteria that you are
- 9:45counting if this so for say I have ABC post right?
- 9:49And I asked my RLM like OK, what out of this ABC what should I
- 9:54recommend to Arbiter? Should I recommend AB or C?
- 9:56And LM says like OK, I recommend her C and I recommended C to
- 10:00that user, right? But my eval still earlier even
- 10:03even then traditionally recommended the eval was based
- 10:06on like will the user like it or not?
- 10:08If the user likes it, that's a positive signal.
- 10:10Like my recommendation is correct.
- 10:11So even with the traditional recommended, that was the same
- 10:14case, right? We were still evaluating if I
- 10:17recommended this, did the user like it or they spent or
- 10:20commented it or whatever reaction they made on it.
- 10:22So I think that eval system is still remains the same because
- 10:25we still need people to show like, OK, this is a positive
- 10:29post because that's how the LLM will learn in future, right?
- 10:32That OK, I recommended see to her, but then Arpita liked it.
- 10:35So means this is something valuable to her.
- 10:38So I should recommend similar post to her.
- 10:40So I think it doesn't change as much on the eval side of it.
- 10:44It just changes like how you use the output of your model in the
- 10:47eval side. You still need to see if user
- 10:50app making reaction to the post that you're recommending either
- 10:52be a traditional recommended system or by LM.
- 10:56But it still has to be the user liking it or is it being
- 11:00interested to it or they're just disinterested on this post.
- 11:03So that's a still a negative signal.
- 11:04So I don't think much changed on the eval side of it yet.
- 11:08So I guess where I'm trying to wrap my head around is which
- 11:14parts do it change? And it feels like it's that that
- 11:20model that you're using. Obviously if you're swapping it
- 11:23out for an LLM, that's a big change.
- 11:25But then on the data side, like the data you're feeding, the LLM
- 11:29changes to because now you're not having to feed it so much,
- 11:33you're just giving it a post. The LLM understands the post and
- 11:36so you don't have to do much there.
- 11:38So I think earlier in the traditional recommended system
- 11:41as well, it needs to know the member information and it needs
- 11:44to know the post information. And still even with the LLMS,
- 11:48yeah, it still needs to know the member information and it still
- 11:52needs to know what are the items that you want to recommend.
- 11:55So I think not much changes in that area.
- 11:58What changes here is in the traditional recommended system,
- 12:00I have this, I have this member information, I have this item, I
- 12:06mean post informations. And then we also give it like,
- 12:09what are the specific signals you need to look for it like
- 12:11features. Yeah, features to the model like
- 12:14look for the last interaction of the user or look like what he
- 12:18liked in the last seven days or 8 days, all those information
- 12:22and what the things that they don't like or what time they
- 12:25like to see the post more. So you used to give this signals
- 12:29as well to the model. But right now with the LMS, we
- 12:31only need memory information and the post that I want to ask LLMS
- 12:36for, I don't want to give, I don't need to give LLMS the
- 12:39information like oh, whether this person will like it or not,
- 12:43the person didn't like this post in the last seven days.
- 12:45So do you think I should recommend this post or not?
- 12:48So I think these features, the features that we're giving to
- 12:50the model is not required anymore because LLM already has
- 12:53those inbuilt feature which it can incorporate in order to make
- 12:57the final judgment for the recommendation.
- 13:00Also, with recommender systems, a lot of times you're not just
- 13:02using one model, right? Yeah.
- 13:04Are you still bringing that idea to this type of architecture?
- 13:09So I think if you're using, if you're using LLM, it's very hard
- 13:13to add more model on top of it because itself is.
- 13:17And also honestly I don't think you need multiple models because
- 13:20it's capable enough to handle all those scenarios.
- 13:22You just need to use it in certain way to get out what you
- 13:25want. I think with the lamps the most
- 13:29key factor is the prompt. How better you prompt your
- 13:33question? That's what will get get you the
- 13:35right answer out of it. So I think earlier in the
- 13:38traditional models, the key factor was the features.
- 13:41What feature should I get? What more feature can I get to
- 13:44my model to make it more better, to make it more precise
- 13:47recommendation. But now with LLM, how better can
- 13:49I prompt it? How better can I get prompted in
- 13:52such a way that I get the exact information that I'm looking
- 13:54for? So the I think the shift has
- 13:56moved from feature to being more prompt engineering parts because
- 14:01we know LLM has those feature it can extract those features.
- 14:03Just need to know what I'm looking for.
- 14:06Yeah, you have to be specific in those prompts.
- 14:08And those prompts will get you that feature engineering in a
- 14:11way. Yeah.
- 14:12But it's like, I mean, it's more trickier compared to the
- 14:16traditional because in traditional system your data
- 14:19science team tells you or in teams like these are the
- 14:21feature, it's very important. Or you look event for Google or
- 14:25Meta, you see what are the things that have been happening
- 14:27so far. And these are the feature that's
- 14:29important, the model. You just give those features to
- 14:31your model. But right now with the prompt,
- 14:33you don't know what's the right prompt.
- 14:34Like how do I get the model to use those feature and give me
- 14:38the right answer? So you just play around and then
- 14:41you pick and you do like some literature survey and then you
- 14:44figure out like this might work. So I think the LLM side is still
- 14:48a lot in progress. It has a lot of potential, but I
- 14:51don't think from the scientific side we have actually explored
- 14:56all the potential of LLMC yet. So you're not using LLMS in
- 15:00production on the feed right now, Or sometimes you're trying,
- 15:05or you can't answer that. I think I can't answer that.
- 15:08First plead the fifth. OK, so well, I.
- 15:12Think once we have more details and it's open source maybe then
- 15:16I can share it. OK.
- 15:19That's a very diplomatic way of saying it.
- 15:21I like it. Now, how do you measure that
- 15:24this is actually better than the traditional or predictive ML way
- 15:28of doing it? Yeah.
- 15:30So I think that's, I think there is no right or wrong answer to
- 15:36it. So one way would be definitely
- 15:38so say like if I have an example like a feed that I want to
- 15:41recommend to and I use LLM to recommend out of 10, just
- 15:46recommend 5 to this user. And then I compare what my
- 15:49traditional LLM recommended 5. And then I we have the same eval
- 15:53system for both of them, right? So when then we just compare the
- 15:57evaluation is similar or not like, so if I committed 5 posts
- 16:01using LMS, did user like all of five or did user had only paid
- 16:06attention to two of it rather than when I used a traditional
- 16:09they liked all 5 of it. So in that case, LM is not
- 16:12performing as good as traditional recommender because
- 16:14in traditional I gave the user 5 posts and user tend to like all
- 16:17of it. But here I'm not having that
- 16:20case, right. So I think it's the when we do
- 16:23the evaluation, it mostly is like how is it compared to the
- 16:26traditional model? Do you did you recommend the
- 16:29pose which add more value or do you recommend pose which had
- 16:31more interaction with the user? So if you don't satisfy all this
- 16:35to condition or any like there are a lot more.
- 16:37So if you don't satisfy all those condition, then obviously
- 16:41that's not the right model for you to use.
- 16:43Because I think right now it's become so much like everyone
- 16:47wants to use LM, but the point is, maybe you don't need an LM
- 16:51to do this. Maybe a traditional model is
- 16:54good enough and you don't need to worry about using LMS.
- 16:58Because I understand that it's a new technology and it's a soda,
- 17:01so everyone wants to use it. But what if you're able to
- 17:04achieve pretty well or better results or at least not forget
- 17:11about the better and it's in parity with LLM or why do you
- 17:14need LLM? Why do you need to spend so much
- 17:16on the infra part of LLM when you can have the same parity
- 17:19result with the traditional recommended system?
- 17:21So I think it always comes down to what is your interest and
- 17:26what you want to use your model for.
- 17:28So if my traditional recommended system is working good enough,
- 17:31like Facebook, if you look Instagram, right, it's working
- 17:34good enough. So I don't know what they're
- 17:36using, but whatever they're using, it's working for us.
- 17:39So I don't think they need to change it right now, right?
- 17:42Because whatever is working, I, I don't think they want to plan.
- 17:45Or if they have to move to LM or they want to do it, they need to
- 17:48because right now it's good enough until unless there is
- 17:51something that I don't know, but, but I think it's I we need
- 17:55to make the decision in more sensible way rather than just
- 17:58running around it like LLM, LLM, LLM.
- 18:02It's not the only solution I believe.
- 18:04Just doing it just because we just for sake of.
- 18:07Doing it, Yeah, because everyone is doing it.
- 18:09But and then how do you look at some of the pros and cons you
- 18:12mentioned? Like obviously it's a headache
- 18:14on the infra side because it's a much bigger model.
- 18:16So you have to figure that out. What are other ways that you're
- 18:20thinking? Well, the pros are that we now
- 18:23don't have to worry about this feature engineering and we can
- 18:26just give the data to the model. Yeah, I think there's some more
- 18:32pros to it. Like it reduced a lot of burden
- 18:35that we had earlier in the traditional model.
- 18:37You have to make those clusters and then pick like, OK, this
- 18:41post goes to this cluster, so we should recommend it to all the
- 18:45user in this cluster. Not in this cluster.
- 18:47We don't have to handle all those issue anymore.
- 18:50We don't. So there are multiple models in
- 18:51traditional recommended rights, one is taking care of those
- 18:54clustering all things and then we are doing the recommendation.
- 18:57But in LLMS, you don't have to worry, right.
- 18:59So even though you are adding an extra info cost, but you're
- 19:02getting rid of all those like forward and backward things.
- 19:05So you just have one model which is taking care of everything
- 19:08that you need to do. So if you think in the pros and
- 19:11cons, so yeah, you do add infra cost to it, but you're also
- 19:15reducing the cost. You're still there having some
- 19:17cost when you're using a traditional recommender system.
- 19:18Obviously it might not be as high as LM, but if you're
- 19:22getting rid of the all the other steps that you are doing, you
- 19:24can still use those resources in your LM and use that as your
- 19:29potential recommender system. But I think there is there's a
- 19:34trade off. I believe if you don't want to
- 19:37spend on infra, then obviously traditional add more features,
- 19:40keep adding more feature, whatever you think is working.
- 19:43And then the trade off is like instead of having just one
- 19:48model, you will have to still have multiple models to take
- 19:50care of it. And then the trade off is if you
- 19:52just need one more, you need to have more infra to handle those
- 19:56things. Yeah.
- 19:57Yeah. You want many models that then
- 19:59you have to babysit and continuously be retraining and
- 20:03trying to optimize. Or you have this one model that
- 20:06potentially doesn't need as much retraining, but it's bigger and
- 20:10you have to figure out that inference side of things.
- 20:14Yeah. I think it's basically a trade
- 20:17off that we do in normal ML models, right?
- 20:19There's so many traders that we do like, OK, we want more
- 20:22presses and we want less recall or less recall.
- 20:24So you this is a trade off I think you have to make in every
- 20:28part of ML like OK I I can take an extra intra cost but I don't
- 20:31want to take care of the multiple models that I have to
- 20:33handle. You bring in the LLM just to
- 20:36certain parts of the puzzle and you say, all right, well, just
- 20:40the LLM here. But then we're going to have
- 20:44traditional LL, traditional ML be the, yeah, the final
- 20:49inference piece because we still need that speed.
- 20:53Have you seen the LLMS be put in other ways?
- 20:56Because I've heard of folks using LLMS to suggest features,
- 21:01and this feels like a bit of a variation of that, but not
- 21:06necessarily the same thing. If you're just giving it to the
- 21:09LLM and saying you you got the features inside of you, let's
- 21:12prompt it so that it uses them and we can find those features.
- 21:17Or we can find the best performance through prompting,
- 21:20not through featuring. Yeah, I think I did see some
- 21:26research work that it was more in sequential recommendation and
- 21:29they have uses LM to do the sequential recommendation.
- 21:33So what I mean by sequential recommendation here is like say,
- 21:36OK, if I go to a new city for say, if I go to Tennessee, what
- 21:41will the next step is like 1 to get a hotel.
- 21:43So now it recommends it. OK.
- 21:45So even though when you for say when you open a book, go and
- 21:48book for a flight, right, the next thing it recommends you to
- 21:50rent a car. And then once you rent a car,
- 21:53where do you want to stay? Yeah.
- 21:55And then? Yeah.
- 21:55So they'll complete package. So this is sequential
- 21:58recommendation. Insurance, etcetera.
- 21:59Yeah. So I think one of the model that
- 22:02I was reading the paper about is like they're using LLMS to do
- 22:05this. So they see like, OK, the user
- 22:07has booked this book the flight for what should be the next
- 22:10thing that the person is looking for.
- 22:12And then it recommends like, OK, once you book the flight, you'd
- 22:15need a car or you, you need to book an Uber or deserve it
- 22:18beforehand to go what? And then book a hotel and all
- 22:21those like attraction spot that you need to go to.
- 22:24So I think in this an earlier traditionally recommended
- 22:27system, you have to explain the model.
- 22:29So OK, it was like, given this, what should be the next part
- 22:33that it should do? And then again, you're OK, this
- 22:35is done. Then what's the next that it has
- 22:36to do? But LLM can do all the in one
- 22:39go. You don't have to ask LLM every
- 22:41time. We'd say like, OK, person book
- 22:43the flight. What are the next 5 steps that
- 22:45the person is going to do? And then it will tell you like
- 22:47once they have booked the flight, they will book the car,
- 22:49they will book this, this, this. So that's what you need to
- 22:51basically recommend it. So I think when we are doing the
- 22:55LLM part of it, they're getting rid like on, on, on the part
- 22:59where you mentioned for using, how different that we can use
- 23:02LLM. So I think this can give you the
- 23:05like the whole structure like after this, this, this step, one
- 23:08step to Step 3. And then you can use your normal
- 23:11models if you don't want to do to OK, out of this car like
- 23:15Hertz or Enterprise Oregon, whatever 1 of this you can
- 23:18recommend to the user whatever you have association with.
- 23:21So you don't have to have a model, which is a very heavy way
- 23:24to understand all these signals. You have this LLM which gives
- 23:28you offline results like, OK, these are the things that I want
- 23:31that a person will ideally do. And then you use your model to
- 23:34just recommend those things. So I think this still in my
- 23:39understanding, it still reduces your model, multiple models to
- 23:43do these things and it still reduces your.
- 23:46So if you think like if you have multi like multiple models,
- 23:50you're also adding the risk of the accuracy of each of the
- 23:55model. Because if one of the my model
- 23:57is not performing well, the rest won't be able to perform either.
- 24:01But with the LLMS, since I only have one more than just one more
- 24:04folder, just fetching the results and just ranking it.
- 24:07So in that case, like I'm, I don't have to take care of them
- 24:10anymore and accuracy, I only care the accuracy for my LLM,
- 24:13right? Because the other is just
- 24:15ranking based on whatever the score that LLM has given it.
- 24:18So I think this helps reduce us and even I agree by the value
- 24:24you mentioned, like we fetch the feature and give it to LLMS.
- 24:28That's another way to do it as well that you use your
- 24:30traditional models like extract the features and then you give
- 24:34it to the LMS. Like these are the feature I'm looking for and
- 24:36just give me the information about it.
- 24:38So that's the one way to do it as well.
- 24:40Because in this way, I think you, even though you're using
- 24:43LMS, but you still need, but you're still saving the time and
- 24:47the computation because it doesn't have to do all those
- 24:49fine tuning and everything for the model.
- 24:50Because you're just asking like given this text post, give me
- 24:54the features from it. So I think that's one way to
- 24:57also we can probably use LMS, yeah.
- 24:59I and I like this. It's almost like a, a reasoning
- 25:04model is going to tell you. Yeah, and you might not even
- 25:07need to have a reasoning model because generally when you go on
- 25:11vacation, you're gonna do the same 5 things.
- 25:15It's not like unless you're doing some wild stuff, which I
- 25:18can only imagine there are people out there doing it.
- 25:21Then depending on where you go also you're probably going to
- 25:25get different recommendations. But for the most part, you need
- 25:28somewhere to, you need somewhere to go, you need some way to get
- 25:33around when you're there, you need somewhere to sleep when
- 25:35you're there. So those are going to be pretty.
- 25:39Same for all the time. Yeah.
- 25:41And then while you're there, you're going to want to do
- 25:43experiences. You're or you're going to want
- 25:44to have experiences. So maybe that's where it gets
- 25:47very personal to each person. And I think, I don't know if
- 25:52they're still being using it, but one thing they can
- 25:54definitely do with LM is like if it has, so if I have been
- 25:58booking my things from the same website, right.
- 26:01So they can't feed this information to LM.
- 26:03So this person doesn't like for say hiking, they don't like
- 26:06hiking. So don't recommend them those
- 26:09things. Yeah, for that fraction Spot
- 26:11probably recommend them more sightseeing.
- 26:12They get off of the site as soon as we recommend any hiking
- 26:16activities. Yeah.
- 26:17So I think they can you can use those information as well.
- 26:19I think I don't know if they're still doing it or not, but
- 26:22that's a very good signal for to use LM and customize your
- 26:26preferences. Because we know like if we book
- 26:28a flight, we take a car, we take a hotel.
- 26:30These are very generic. Everyone will do it.
- 26:32But what after that is very specific to every person.
- 26:35Maybe some person likes to OK, I don't want to roam around the
- 26:38city. I just want to go more suburb
- 26:40and use more site like nature beauty.
- 26:43So you can't recommend that person.
- 26:45OK, go and watch. Like if I'm in DC GO and MC
- 26:48Abraham Lincoln Tower, they don't they are not interested in
- 26:50those things. So I think they can also the
- 26:52other part would be where after this three-part they have this
- 26:57LM model being more centric toward the user interest, not
- 27:01like a generate thing that you will do in that city or town.
- 27:04Yeah. I think that's something very
- 27:06much easier to do using LMS if we are using.
- 27:09Because with traditional ML models, you can't say what
- 27:13people don't like. Yeah.
- 27:14So I think with the traditional model, the problem will be they
- 27:17will they'll have to 1st get these features of the user like
- 27:22and then train them all. Yeah.
- 27:24So if I'm a first time user, it won't be able to handle that.
- 27:28So I think LLM does pretty good with the cold start problem
- 27:32because they just learn it like very quickly.
- 27:36So even though I asked LLM today that I'm more a laid back
- 27:40person, What are the things that you will recommend?
- 27:41And it knows, OK, this is what you need to know.
- 27:44And since we are already using GPT so much and it has all the
- 27:47data, honestly, yeah. So it's much easier for them to
- 27:51understand. OK, this kind of person might
- 27:53like these things. And then the question becomes
- 27:59that data sharing, because ChatGPT or whatever, Anthropic
- 28:03or Gemini, they have that data because I talk with it all the
- 28:08time. Yeah.
- 28:10But then is the service that I'm using to book my flights or book
- 28:13my whatever is it going to be through ChatGPT?
- 28:17So it has that data on me. But I think even though if
- 28:20they're using any LMS and they again still can understand like,
- 28:25OK, the person is more toward this nature, they might like
- 28:29something around it. Because even in general as a
- 28:31human, if we see some person here like more introverted
- 28:34person, we know what things they obviously we know they won't
- 28:37like to socialize, right? So how we know that is just we
- 28:40just know one data point about them that the person is
- 28:42introverted. And so the same thing is with
- 28:45LMS right? I think they just need few data
- 28:47point. They don't need all the data
- 28:49points like how do I look what I do in everyday it just need one.
- 28:52I see what you're saying. So it doesn't have to be so
- 28:54rich. It doesn't have to.
- 28:56You don't have to give it a million features.
- 28:58You just give it one and it'll give you.
- 29:00A key point. Yeah.
- 29:01And then we'll give you at least put you in the ballpark so you
- 29:05can say, hey, we've got cool movie theaters, but then those
- 29:10super specific ones you'll need special data for.
- 29:14So I think even for the any even for your feed or anything that
- 29:18you're using LMS, right, It's very good in doing a generic
- 29:21recommendation based on your past interest or something.
- 29:25But if you want your post to be very, very like granular towards
- 29:30you, it has to learn all those feature eventually.
- 29:33So and that it learns over the time, right?
- 29:35Even how does AGPT currently know so much information is
- 29:38because it has learned about us over the time that we have been
- 29:40chatting with it. Like when we ask something about
- 29:43a model or something, it knows like, OK, this person might be
- 29:45working on certain areas. So when you ask it, it gives you
- 29:48similar ideas like right. So I think that's what I didn't
- 29:52even learn over the time. So I think as it's trying to do
- 29:56similar to humans, right? So as a human, we talk and then
- 29:59we get to learn more, more and more about the persons and we
- 30:01can recommend more things about that person.
- 30:03So I think that's what the LM is trying to do here.
- 30:06But when you compare traditional recommender system or any
- 30:11traditional models, they are only learning whatever we are
- 30:14giving it to. We are not doing any active
- 30:17learning while they are doing. So.
- 30:18If I only give you 3 features, you're only going to learn about
- 30:21those 3 features. You don't have any idea about
- 30:24that. They can't write the current
- 30:25model. I think there are some
- 30:27improvement that's been going on, but it's not there yet.
- 30:29That OK, if the person is introvert, then the person can
- 30:32also with this, they don't know that yet.
- 30:35But LMS knows that, right? So if the person is say
- 30:39autistic, they might be introverted, autistic, or they
- 30:42might be extra. There's only two ways that they
- 30:44can be categorized. But in friction model, they
- 30:46won't know. They just know OK, this person
- 30:48is autistic. That's the only information it
- 30:50has. So it doesn't know the features
- 30:53of what basically. And in LMS they know the feature
- 30:57of features. So I think that's what is making
- 30:59them more powerful compared to the traditional LMS. It's yeah,
- 31:03it almost gives you a much more rich feature or that kind of
- 31:08like the 360 view as opposed to a very 2 dimensional view of all
- 31:13right, there's this feature. Yes or no?
- 31:15Yeah, OK, there's this feature. Yes or no.
- 31:18Boom. Yeah, there are some improvement
- 31:20that they're making in the that side as well.
- 31:22Where do, where do do do cross featuring?
- 31:24So if you have this feature, then probably the feature, if
- 31:27the person has feature A, that person will have feature B.
- 31:30So then they do cross featuring. But I haven't seen any
- 31:33successful research paper out of it yet.
- 31:36So I can't say 100% it's going to it's working or it's, it will
- 31:39work. But I think as the AI is
- 31:41evolving, obviously, I'm pretty sure that a lot of researchers
- 31:44actually working how we can do the same thing without LMS as
- 31:47well. Oh, without.
- 31:49So I think I recently did a work on SSMS, so which is state space
- 31:54models. So I used this model to
- 31:57basically do question answering and obviously it we used LLM is
- 32:03much better to do it. But what I did it was just for
- 32:06the like Indic languages, like language that's being spoken in
- 32:10India over. So there's very much less data
- 32:12that you have and there's much more change in the scripting
- 32:16part of it. So I didn't use LM for two
- 32:20reasons. The 1st it's very heavy to use
- 32:22so it's hard to fine tune it if you are doing it from academic
- 32:26purpose. The second part is like it's.
- 32:30So I wanted to see if we can use some lightweight model because
- 32:33it's just a question answering desk.
- 32:34I'm not asking you to recommend after this or after about this
- 32:37anything, just giving a question, give me the answer.
- 32:40So I think for those kind of things, I did see that SIM is
- 32:44able to perform much better than a lot of other Transformers
- 32:47model and transform models are. So if you consider like Bert or
- 32:51Roberta models, those are also large language models and it did
- 32:55perform better than Roberta. So we, so there are some models
- 32:58that's being developed currently which are more like kind of
- 33:04equally well as LM but or like slightly under performing.
- 33:09But then the problem is they are very specific like it's only
- 33:12going to work for question answering.
- 33:14But in LMS it works for everything.
- 33:16It summarizes the question answer.
- 33:18It gives like summary of whatever you have given it to
- 33:22it. So I think there are people can
- 33:25develop or eventually there will be some development where we can
- 33:27do so many things with smaller different models rather than
- 33:31having one huge RLMS. Yeah. But that's like another area
- 33:35that probably we'll have some research later on.
- 33:38Yeah. And you see that being different
- 33:41than the way that we're doing recommender systems now.
- 33:45I don't think that will change anything with the recommender
- 33:47system because in the recommender system right now we
- 33:51are doing the LMS right because it's making sense.
- 33:54But if I for for right now, I don't see anything like that.
- 33:58But in future if there is, it might change.
- 34:00But based on this SSM evaluation that I did, I don't think it can
- 34:04replace the Recommender System LMS because it doesn't have that
- 34:07much. So it's more for different use
- 34:08cases. Yeah, it's more, I would say
- 34:10it's more very specific. If I want to just do like 1 task
- 34:14out of it, it's that model is going to be just made for that
- 34:17task. So you have to create multiple
- 34:19models for each of the tasks that you want to do.
- 34:21So it won't be able replace the whole LLM for sure.
- 34:24But what I'm saying is like maybe in future if since people
- 34:27have already put some foot on this direction, they are also
- 34:30probably be researching on how we can do a more better
- 34:34recommended model without using LMS as well.
- 34:36Yeah, we never know. Like, what's the future?
- 34:38If it's really good at 1 task, then you can potentially plug it
- 34:43into your DAG and you have that as the one task that it does.
- 34:48And you know that in my workflow I need this done.
- 34:51So we have that done. But or you plug it in as a tool
- 34:56for an agent to use and yeah. I think that's the next wave
- 35:00that's coming, right, The agentic AI and I think with the
- 35:04agentic AI being coming since you bought it up.
- 35:07So I think it might, it will change a lot of things basically
- 35:10if we if it actually starts performing that well.
- 35:13Because based on the based on the like research work that I
- 35:17have seen so far, I don't see like it's outperforming
- 35:19drastically anything. But maybe over the time it will
- 35:23evolve because I think right now I didn't think is that not that
- 35:25phase that we can count on it yet.
- 35:29But I think if that is there, then it's definitely going to
- 35:31change the recommender system as well.
- 35:33Maybe I don't need really LMS as well.
- 35:35I just ask the agent. So this is the person and this
- 35:38person likes this. Just recommend it, whatever.
- 35:42And you put some layer on, I put some more inside the agentic
- 35:46yeah, to do certain tasks like right, you just add some flows
- 35:49to it. So like even there isn't think I
- 35:51could be for say like if I want to like a research paper, right?
- 35:55And I give like, OK, so this is the agent which writes research
- 35:58papers. And I give you like, this is the
- 36:01topic that I want to write about.
- 36:03So do the literature survey, do related work, search and just
- 36:07write a paper for me. I want to submit it to say new
- 36:10ribs or CPR. And it does that for you.
- 36:13So you just need to review it and that's it.
- 36:15And if they didn't feel like they're lacking some information
- 36:19or they want some validation, they can obviously ask back.
- 36:22And so this, that's the least effort you have to do, right?
- 36:25It does experimentation, it does the literature survey and it
- 36:28just writes the people for you. So then what's the future for
- 36:31the researchers if the is able to do that?
- 36:33You just have to give idea like this is something I think might
- 36:36work and then it will do all the different layers of work.
- 36:41So you can have agent for each of the tasks and it will do
- 36:44that. I'm ready for when the agents
- 36:46can go out and also collect the data too.
- 36:49They're calling people. Yeah, I think, I think it's
- 36:53evolving, but I don't know if it's going to evolve that fast
- 36:57because no one I think five years back no one thought about
- 37:00LMS or anything such that. But it's it came and it changed
- 37:03everything drastically. So we never know, maybe they
- 37:05didn't take it is going to be hugely reliable by tomorrow and
- 37:09then everyone is moving toward it.
- 37:11So. Yeah, You bring up a great point
- 37:13with the reliability on, especially on agents and how
- 37:17right now it's not good enough to actually be using for a lot
- 37:22of different pieces of this puzzle.
- 37:24And especially if you're at a big company like LinkedIn, I
- 37:28imagine it's very hard to figure out, can this work in the manner
- 37:35and fashion that we need it to be working at, like holding it
- 37:39to this high standard so that it's able to complete the tasks
- 37:469 times out of 10. And there's so much work that
- 37:50goes into that. You think about it for a second,
- 37:54you go, well, actually our recommender, maybe there's lower
- 37:57hanging fruit that we can tackle before we need to find out if we
- 38:03can recreate A recommender system with agents as opposed to
- 38:07just the LMS versus the traditional ML.
- 38:11Yeah, I think I agree with that because I think the agents.
- 38:16So first of The thing is like at LinkedIn or any other companies,
- 38:19you're sharing those information with agents.
- 38:21So first you need to be very sure that the agent is being
- 38:25used correctly. And so that's like the first
- 38:27part, like privacy and everything is being taken care.
- 38:30And then still you don't know if the.
- 38:33So it becomes very hard to debug an agent.
- 38:36Like if something goes wrong. Yeah, like where?
- 38:38So I got 5 output, but maybe all of them are irrelevant, but I
- 38:42don't know like what should I fix in the agent to get those to
- 38:45be relevant? Yeah, because even with the LLMS
- 38:48or even with the traditional, So I think one thing that's very
- 38:53easier for the traditional recommended system, it's very
- 38:55easy to debug, you know like what is coming and how you which
- 38:58one do you need to tune to get the right output.
- 39:00Even with the LLMS, you are only 50% sure that why it might be
- 39:05doing it, but you're not 100% sure.
- 39:07But I think with Agentic you're 80% not sure how it's doing what
- 39:10it's doing. So you it's very hard to debug
- 39:13it if you don't know what's happening inside the black box.
- 39:16So the agent becomes a kind of black box for us, right.
- 39:18So we know like we are giving this information, we are asking
- 39:21you to do it, but we don't know like how it finally ended up
- 39:25doing it totally. So I think as as more advanced
- 39:30we go projecting or any other thing, it becomes more and more
- 39:34black box going backwards. So I think that's where the
- 39:38traditional ML models or any traditional models brings more
- 39:41sense because you know like, OK, this layer is taking care of
- 39:45this. That's why we are getting this.
- 39:46So it's simple maths that you do and then you get it.
- 39:49But with LLM, I know it's still math, but like you don't know
- 39:52exactly which maths would wear to get you what you want.
- 39:56So I think that's that's going to be very challenging with
- 40:00identity. Yeah, yeah, I guess.
- 40:02Yeah, right, total random question, why have I been seeing
- 40:07older posts on my feed lately in LinkedIn?
- 40:12Do you OK? That's a very good question.
- 40:16I don't know why you're. Saying I when I say older, I
- 40:20mean like a week old, two weeks old, 3 weeks old.
- 40:24I remember seeing. And you're not seeing any new
- 40:26content. No, I am seeing, but every once
- 40:29in a while I'll get a two week old post put in or a three-week
- 40:33old post put in and it's like what is this doing here?
- 40:36Where do? Maybe they don't have any new
- 40:38posts for you to. I've looked at it, I'm not much
- 40:40of A power user. No I have more friends.
- 40:43I got more than like 5 friends and I think they post about.
- 40:48Yeah, I think sometime it's also like maybe the model does it
- 40:52have the new data, so it's not recommending to.
- 40:54The new post, I thought for sure it was some kind of a wait, got
- 40:59tuned to show more older posts. Yeah, older posts or like your
- 41:04post has a longer lifetime now because there's certain posts
- 41:09that have more exposure or but it's not like I was thinking
- 41:14about it too, because I was looking and it's not like these
- 41:17posts have been performing wildly.
- 41:21It's not like they're like those thousand likes post.
- 41:24It's like a 30 like post or 100 like post, but it's two weeks
- 41:27old or three weeks old. Maybe there is some bug that you
- 41:30should definitely report, because that's not that's not
- 41:33what we expect. That's not normal.
- 41:34Yeah, that's not normal actually.
- 41:36Yeah, you shouldn't be seeing like older and older posts.
- 41:39Yeah, I think 3 weeks is the oldest that I've seen, but it's
- 41:43pretty common, honestly, on my feet.
- 41:45I'll show you in a SEC. Yeah.
- 41:47And I thought it was for some reason, I thought it was your,
- 41:50your change in the model to give the post a longer lifetime.
- 41:54And it made me think now, because when I first started
- 41:59using LinkedIn back in whatever 2019, the posts would have a
- 42:06long lifespan. Like it would take a few days
- 42:11for the post to get going. And if it got going, then it
- 42:15would stay for a bit longer, like a week and a half, two
- 42:19weeks type thing. When I say longer.
- 42:21And then I saw it shrink and it was like, OK, now it's more like
- 42:28it happens for a couple days. But it's really hard on LinkedIn
- 42:34to share things that are happening today or tomorrow.
- 42:38Not like you know, like with Twitter, you usually, oh, I'm
- 42:41going here, who's coming or I'm free in the airport for an hour,
- 42:45ask me anything. That kind of stuff is impossible
- 42:49because. It wouldn't.
- 42:50Even though you post it, your user won't see it exactly, so it
- 42:54won't make any sense. Exactly.
- 42:56That's it. Yeah.
- 42:57I think that's the area that I don't think Lincoln is currently
- 43:00working on like, but I think that's going to be, I think they
- 43:03will be working on that very soon because that's very
- 43:06important. Because if you think of a
- 43:08Lincoln, it's more kind of professional networking, right?
- 43:13And for professional networking, you might not use such things
- 43:16like OK, I'm at airport or let's meet or let's chat.
- 43:20You probably plan ahead, right? So I'm going to this workshop
- 43:23and I plan to do this. Is this.
- 43:24So feel free to connect or feel free to come and talk.
- 43:28So that's like a professional thing that you will do on
- 43:30LinkedIn. Maybe that's why that's not a
- 43:32criteria that they want to focus on because on Facebook,
- 43:35Instagram, you can just go and write, OK, I'm here, just meet
- 43:37me or, but because that's the purpose, right?
- 43:40They want to be social networking.
- 43:42But I think that's where LinkedIn separated from Facebook
- 43:44or LinkedIn or Instagram or TikTok is that LinkedIn is very
- 43:48specific. The professional networking,
- 43:50what they call it's like you connect based on your
- 43:53profession. So you basically look at someone
- 43:55is in industry is doing very well and you want to connect to
- 43:57that person. Yeah, this is a platform for
- 43:59you. So you So basically I think
- 44:01that's probably why they don't have this feature that you can
- 44:04just post it and everyone can see and come.
- 44:07It's more about pre planning. So I'm going to be there.
- 44:09You can come and we can have a chat, explore and talk,
- 44:13whatever. So I think that's the One
- 44:15Direction. And regarding the older posts,
- 44:17did you also tend to see this post earlier and then you saw it
- 44:20again, or is it just the first time you saw and it's three-week
- 44:23old? Sometimes I would see so both,
- 44:28but sometimes I would see it once and then I would see it
- 44:30again like a few weeks later. Why is that something?
- 44:33Now it makes sense. No, I it still doesn't make
- 44:37sense. I'm just trying to see what are
- 44:38the things. Yeah, yeah, because I see that I
- 44:41liked it already. OK.
- 44:43And you still see. It.
- 44:43Yeah, and I still see it, OK. Maybe, I don't know.
- 44:47We're debugging live on air. I like it.
- 44:50What is going on? So is it then that my cluster
- 44:54has a finite amount, amount of people and they're on when
- 44:58they're on and then you show it to them when they're on and if
- 45:02they're not on, you don't show it, Obviously you don't show it
- 45:05to him, but it's like, oh, there's 2000 or 2 million people
- 45:10in your cluster And outside of that cluster, we're not going to
- 45:13ever show it outside of that cluster unless it really.
- 45:17So I think if some post becomes very viral, that's being shown
- 45:21to everyone. It doesn't matter what cluster
- 45:23you are. But I guess the question I have
- 45:25is then. So the cluster is basically on
- 45:27the offline side of it just to get the features from there.
- 45:31But on the online side there is no such thing as cluster,
- 45:34everyone is the same user. So when the post is there, I the
- 45:38model just knows based on whatever it has learned from the
- 45:41cluster or whatever feature it has been given.
- 45:43It just knows like OK, this is Arpita's AI post.
- 45:46Maybe someone from LinkedIn or someone from AI will like this
- 45:49post so or is interested in this post it even though that person
- 45:53is not in my network, it will still recommend that post to
- 45:55that user. So I think what it does it it
- 45:59during the inference time, it doesn't know any clustering.
- 46:02It just know whatever it has learned so far.
- 46:04So when I use example of clustering, it's just for model
- 46:07to learn like how it's learning those features.
- 46:10So once it has learned it like OK, so Arpita is not from
- 46:13finance and there's her her friend who posted something
- 46:17about finance. Maybe she might not be
- 46:18interested in it because it's not the area she works or
- 46:21something. And then it might not show up
- 46:23that day on my feed. But later on since there's we
- 46:26are still friends, right? So it might show you OK, after
- 46:28even 3 weeks your friend did finish her finance education or
- 46:32whatever. But then so I think it based on
- 46:35the model at that time, they already have like say it has to
- 46:39rank top five post for my feed and it already has the best top
- 46:43five. Then it won't take that finance
- 46:45post in. But after 10 days or 20, I, they
- 46:48don't have enough post or there's not enough being posted
- 46:50about, then it will pick that post and we'll look at like the
- 46:53first position that this is a post.
- 46:55And also this answers to that question where you have multiple
- 46:59post events showing up again and again, probably there's no, they
- 47:02couldn't find any relatable content that's available
- 47:05currently that could be shown to your feed.
- 47:07So they just show that post again like this is all we have
- 47:10for now.