Sun Sentinel Broward Edition

Facebook allowing free downloads of AI software

- By Jeremy Kahn Bloomberg News

Facebook will allow anyone to freely download and use the same artificial intelligen­ce tools it used to make key improvemen­ts to the social network’s video and notificati­on features as well as its Messenger messaging app.

The software, which Facebook calls Horizon, became available on the code repository GitHub starting this month, the company said in a blog post. GitHub is owned by Microsoft.

Facebook used this set of tools internally to optimize how 360-degree videos are displayed on the social network, taking into account such factors as the available bandwidth and how much of the video has already been buffered. The same tools, according to the blog post, were also used to improve what content to push to users through notificati­ons. And it was used to hone the suggestion­s that its intelligen­ce assistant, which is called M, makes to users of its Messenger app.

The Horizon software is focused on reinforcem­ent learning, in which software improves itself by trialand-error from experience to maximize some reward or minimize some loss, rather than from labeled data sets.

Reinforcem­ent learning underlies a number of breakthrou­ghs in AI — most notably the algorithm that beat the world’s top human players at the strategy game Go as well as the ones that are now competitiv­e with humans in complex multiplaye­r computer games such as Dota2.

But so far, it’s only rarely been used by businesses to address real-world problems — in part because, outside of games, it often isn’t wise or safe to let an algorithm learn by trialand-error. And, for many real-world phenomenon, there aren’t accurate simulators in which an algorithm can be safely trained.

Figuring out what goal to give the algorithm and how to reward it for actions that seem to lead toward that goal while penalizing it for actions that might have adverse consequenc­es is also tricky outside of games, where these elements are often built into the structure of the game.

To overcome some of these limitation­s, Facebook developed Horizon so that its teams could use reinforcem­ent learning on real problems the company was facing, said Srinivas Narayanan, the company’s director of applied machine learning. But he said the company now wanted to share the software with others.

“We’re committed to open source, so it was a natural decision to share this latest production­ready system for the community,” Narayanan said in emailed responses to questions.

Facebook follows other AI research groups, including Alphabet Inc.’s DeepMind and GoogleBrai­n AI teams, and OpenAI, which have recently made reinforcem­ent learning algorithms, programmin­g tools and test environmen­ts publicly available.

Jason Gauci, a Facebook engineer who worked on Horizon, said in an email that Facebook was the first company to make freely available what it calls “an end-to-end” reinforcem­ent learning program designed for addressing large-scale business problems.

Horizon contains several features that make it safer to use reinforcem­ent learning on real-world problems. For instance, the software helps programmer­s pick the right goal and rewards to feed the algorithm.

Rather than having algorithms start with zero knowledge and learn from random actions, Horizon initially trains algorithms to take a set of actions that a product engineer has specified. It then uses several kinds of counterfac­tual analysis, based on existing data, to simulate different actions the algorithm could have taken. In this way, Horizon mimics training the algorithm in a simulator, allowing it to be refined without worrying about it wreaking havoc in the real world.

Once the algorithm seems to be working well, Horizon allows users to carry out small-scale online experiment­s, using real data in real time, and then gradually roll the new algorithm out to larger sets of users or data.

 ?? BEN MARGOT/AP ??
BEN MARGOT/AP

Newspapers in English

Newspapers from United States