HT TECH wants to start sending you push notifications. Click allow to subscribe

Horizon: Facebook’s AI tool used to improve video, Messenger is now free to download

Facebook used this set of tools internally to optimise 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.

By: JEREMY KAHN
Updated on: Aug 20 2022, 11:40 IST
The Horizon software is focused on reinforcement learning, in which software improves itself by trial-and-error from experience to maximise some reward or minimize some loss, rather than from labelled data sets. (REUTERS)

Facebook Inc. will allow anyone to freely download and use the same artificial intelligence tools it used to make key improvements to the social network's video and notification features as well as its Messenger messaging app.

The software, which Facebook calls Horizon, will be available on the code repository GitHub starting today, the company said in a blog post Thursday. GitHub is owned by Microsoft Corp.

You may be interested in

Mobiles Tablets Laptops
7% OFF
Apple iPhone 15 Pro Max
  • Black Titanium
  • 8 GB RAM
  • 256 GB Storage
₹148,900₹159,900
Buy now
23% OFF
Samsung Galaxy S23 Ultra 5G
  • Green
  • 12 GB RAM
  • 256 GB Storage
₹115,999₹149,999
Buy now
Google Pixel 8 Pro
  • Obsidian
  • 12 GB RAM
  • 128 GB Storage
₹106,998
Check details
Apple iPhone 15 Plus
  • Black
  • 6 GB RAM
  • 128 GB Storage
₹87,900
Check details
21% OFF
Acer Swift Go SFG14 41 NX KG3SI 002 Laptop
  • Pure Silver
  • 8 GB RAM
  • 512 GB SSD
₹58,990₹74,999
Buy now
39% OFF
Acer Aspire 5 A515 57G Laptop
  • Gray
  • 16 GB RAM
  • 512 GB SSD
₹54,949₹89,999
Buy now
22% OFF
Acer Aspire 3 A315 24 NX KDESI 004 Laptop
  • Silver
  • 8 GB RAM
  • 512 GB SSD
₹33,499₹42,999
Buy now
39% OFF
Asus VivoBook 15 X515JA BQ322WS Laptop
  • Transparent Silver
  • 8 GB RAM
  • 512 GB SSD
₹31,490₹51,990
Buy now
34% OFF
Xiaomi Pad 6
  • Mist Blue
  • 6 GB RAM
  • 128 GB Storage
₹26,299₹39,999
Buy now
55% OFF
Lenovo Tab M10 5G
  • Abyss Blue
  • 6 GB RAM
  • 128 GB Storage
₹20,999₹47,000
Buy now
32% OFF
Realme Pad 2
  • Imagination Grey
  • 6 GB RAM
  • 128 GB Storage
₹19,790₹28,999
Buy now
Honor Pad X9
  • Gray
  • 4 GB RAM
  • 128 GB Storage
₹14,999
Check details

Facebook used this set of tools internally to optimise 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 notifications. And it was used to hone the suggestions that its intelligence assistant, which is called M, makes to users of its Messenger app.

Also read: Looking for a smartphone? To check mobile finder click here.

The Horizon software is focused on reinforcement learning, in which software improves itself by trial-and-error from experience to maximise some reward or minimize some loss, rather than from labelled data sets.

Reinforcement learning underlies a number of breakthroughs 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 competitive with humans in complex multiplayer 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 trial-and-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 consequences is also tricky outside of games, where these elements are often built into the structure of the game.

To overcome some of these limitations, Facebook developed Horizon so that its teams could use reinforcement learning on real problems the company was facing, Srinivas Narayanan, the company's director of applied machine learning, said in emailed responses to questions. 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.

Facebook follows other AI research groups, including Alphabet Inc.'s DeepMind and GoogleBrain AI teams, and OpenAI, which have recently made reinforcement learning algorithms, programming tools and test environments publicly available.

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

Horizon contains several features that make it safer to use reinforcement learning on real-world problems. For instance, the software helps programmers 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 counterfactual 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.

Gauci said that, in general, using an actual simulator would be better than doing this counter-factual analysis. "But for many problems at Facebook, building a simulator is not trivial," he said. "The team is looking into building simulators from datasets as future work."

Once the algorithm seems to be working well, Horizon allows users to carry out small-scale online experiments, using real data in real time, and then gradually roll the new algorithm out to larger sets of users or data. This entire process can then be repeated, with the fully-trained algorithm being used as the starting point for a new training series.

Catch all the Latest Tech News, Mobile News, Laptop News, Gaming news, Wearables News , How To News, also keep up with us on ,Twitter, Facebook, , and Instagram. For our latest videos, subscribe to our YouTube channel.

First Published Date: 02 Nov, 11:40 IST

Sale

Mobiles Tablets Laptops
4% OFF
Samsung Galaxy S24 Ultra
  • Titanium Black
  • 12 GB RAM
  • 256 GB Storage
₹129,999₹134,999
Buy now
7% OFF
Apple iPhone 15 Pro Max
  • Black Titanium
  • 8 GB RAM
  • 256 GB Storage
₹148,900₹159,900
Buy now
13% OFF
Xiaomi 14
  • Matte Black
  • 12 GB RAM
  • 512 GB Storage
₹69,999₹79,999
Buy now
10% OFF
Apple iPhone 15 Plus
  • Black
  • 6 GB RAM
  • 128 GB Storage
₹80,990₹89,900
Buy now
57% OFF
Lenovo Tab M10 5G
  • Abyss Blue
  • 6 GB RAM
  • 128 GB Storage
₹19,999₹47,000
Buy now
38% OFF
Realme Pad 2
  • Imagination Grey
  • 6 GB RAM
  • 128 GB Storage
₹17,999₹28,999
Buy now
13% OFF
Samsung Galaxy Tab S9 5G 256GB
  • Graphite
  • 8 GB RAM
  • 256 GB Storage
₹88,058₹101,398
Buy now
28% OFF
realme Pad 2 WiFi
  • Imagination Grey
  • 6 GB RAM
  • 128 GB Storage
₹17,999₹24,999
Buy now
23% OFF
Infinix INBook X1 Neo XL22 Laptop Intel Celeron Quad Core 8 GB 256 GB SSD Windows 11
  • Blue
  • 4 GB RAM
  • 128 GB SSD
₹22,990₹29,990
Buy now
9% OFF
Asus Vivobook K15 OLED K513EA L512TS Laptop
  • Indie Black
  • 16 GB RAM
  • 512 GB SSD
₹41,999₹45,999
Buy now
22% OFF
Asus ROG Strix G15 G512LI HN059T Laptop
  • Black
  • 8 GB RAM
  • 1 TB SSD
₹70,990₹90,990
Buy now
26% OFF
Asus Zenbook 14 Flip OLED UP3404VA KN542WS Laptop
  • Ponder Blue
  • 16 GB RAM
  • 512 GB SSD
₹99,990₹134,990
Buy now