103 points · by adamgordonbell · 5y ago · 28 comments
Jason Gauci joined facebook to try to solve some problems with the newsfeed using reinforcement learning. He originally got into ML via training bots to play capture the flag. What he ended up creating is open source [1].
[1]: https://reagent.ai/
Also, from the transcript:
> when you go to Facebook, [...], you see all these posts from your friends
Maybe I'm an outlier but my newsfeed probably contains ~5% of posts related to my friends, birthday wishes included. I use facebook primarily as a news aggregator nowadays.
Isn't this how people end up trapped in alternative-facts bubbles?
Sports news is usually pretty factual.
I think that is the hardest question, what to optimize for. Jason mentions that facebook employs social scientists who help set what the value is they are optimizing for.
> I don’t work on the social science part of it. We try to optimize and we do it on good faith that the goals we’re optimizing for are good faith goals. But I’ve been in enough of the meetings to see the intent is really a good intent. It’s just a thing that’s very difficult to quantify.
> But I do think that the intent is to provide that value. And I do think that they would trade some of the margin for the value in a heartbeat.
My understanding is they are looking at page management activity and whether it increases above what they would expect if they didn't notify.
Some of the details are covered in the paper [1]
>The Markov Decision Process (MDP) is based on a sequence of notification candidates for a particular person. The actions here are sending and dropping the notification, and the state describes a set of features about the person and the notification candidate. There are rewards for interactions and activity on Facebook, with a penalty for sending the notification to control the volume of notifications sent. The policy optimizes for the long term value and is able to capture incremental effects of sending the notification by comparing the Q-values of the send and drop action
> The training data spans multiple weeks to enable the RL model to capture page admins’ responses and interactions to the notifications with their managed pages over a long term horizon. The accumulated discounted rewards collected in the training allow the model to identify page admins with longterm intent to stay active with the help of being notified.
I spoke with them to test our own machine learning platform (https://iko.ai). The workflow they described was really odd. SSHing into boxes to use a cluster, etc. Which is what we have been doing as a tiny, immature company a few years ago until it became so frustrating that we built our platform. I'm talking about a tiny team, so I'm wondering how they get away with it, or is it that the people I talked with did simply not adopt it.
Someone went as far as saying that "experiment tracking" was "I told my manager which hyperparameters worked best".
no clue what you're talking about - most everyone on a product team uses fblearner (the platform you're alluding to) which is a job queue type tool i.e. submit fblearner jobs and watch them run along with metrics tracking.
>Someone went as far as saying that "experiment tracking" was "I told my manager which hyperparameters worked best"
hyperparameters are rarely fiddled with because of how much data there is to train on but like i said fblearner has plenty of views to help with "experiment tracking" when it comes to hpo.
We like these conversations where people share problems they may be having in order to get a bigger picture. We built our ML platform to solve our own problems that we faced over the years, but it's always nice to be exposed with problems we have not seen before to solve a slightly more general problem.
Given the very widespread complaints about this type of recommender system - eg modern YouTube and FB Newsfeed rankings are widely panned as reinforcing biases, optimizing for pure engagement which leads to reinforcing outrage, both by ML experts and general users who don’t like the experience & feel it is manipulative, what is your take on how we can steer the conversation in the other direction - that this is NOT a reinforcement learning problem, and that we shouldn’t reward people looking to pad their ML resume with solutions in search of a problem that facilitate their ability to brag about scale & complexity over a solution that very demonstrably serves users poorly?
I think you are correct to have concerns around optimizing for pure engagement though. These algos are giant optimizing machines. What should we be asking them to optimize? That seems like an important question that was only vaguely touched on in this discussion.
Balancing learning vs serving the optimal result is fine - many companies have approached ranking and recommendation that way for decades - but reinforcement learning would still not be justified unless you present some extremely compelling evidence.