Facebook launches open-source bot training framework

ParlAI helps researchers train machines on key conversation tasks

Facebook has released an open-source framework that allows human tutors to teach AI chatbots how to have more natural conversations.

The company's artificial-intelligence research team, known as FAIR, has released the Python-based ParlAI tool, which gives researchers the ability to train bots over many different datasets at once, including benchmarking datasets like WebQuestions, WikiMovies and bAbl tasks.

Training is split into five tasks: general question answering; sentence completion, where the bot has to fill in the next word of a dialogue; back-and-forth chit-chat; visual dialogue with conversations involving images; and goal oriented dialogue, where a conversation is intended with a specific outcome.

"For the first time, ParlAI provides a place for researchers to collect all the significant dialog tasks in one place," wrote FAIR researchers Jason Weston, Alexander Miller and Will Feng in a blog post.

Advertisement
Advertisement - Article continues below

"Not only does this allow for much easier iteration on any of these tasks individually, but also makes it possible to easily train a bot on all of them (which eventually should lead to better bots) and to evaluate bots across all those skills."

The framework uses Amazon Mechanical Turk, a programme which uses low-paid human operators to do repetitive grunt-work that goes into training AI models, to improve the quality of AI conversations through question-and-answer sessions.

The release comes as part of the company's push into the AI space. The goal is to provide advertisers and brands with the ability to roll out natural-language chatbots on platforms like Facebook Messenger and WhatsApp, allowing customers to make enquiries, bookings and purchases just by talking to an AI helper.

"ParlAI is a platform we hope will bring together the community of researchers working on AI agents that perform dialog," Facebook's researchers said, "and continue pushing the state of the art in dialog research."

Featured Resources

The IT Pro guide to Windows 10 migration

Everything you need to know for a successful transition

Download now

Managing security risk and compliance in a challenging landscape

How key technology partners grow with your organisation

Download now

Software-defined storage for dummies

Control storage costs, eliminate storage bottlenecks and solve storage management challenges

Download now

6 best practices for escaping ransomware

A complete guide to tackling ransomware attacks

Download now
Advertisement

Recommended

Visit/policy-legislation/32857/irish-data-protection-commission-facebook-whatsapp-instagram-merge
Policy & legislation

Irish Data Protection Commission has questions for Facebook

29 Jan 2019
Visit/digital-currency/34762/china-prepares-to-launch-the-first-domestic-cryptocurrency
digital currency

China prepares to launch the first domestic cryptocurrency

6 Nov 2019
Visit/digital-currency/34578/mastercard-and-visa-abandon-support-of-facebooks-libra-cryptocurrency
digital currency

MasterCard and Visa abandon support of Facebook's Libra

14 Oct 2019
Visit/software-as-a-service-saas/34600/workplace-by-facebook-boasts-three-million-users-in-three-years
software as a service (SaaS)

Facebook Workplace boasts three million users in three years

9 Oct 2019

Most Popular

Visit/security/identity-and-access-management-iam/354289/44-million-microsoft-customers-found-using
identity and access management (IAM)

44 million Microsoft customers found using compromised passwords

6 Dec 2019
Visit/cloud/microsoft-azure/354230/microsoft-not-amazon-is-going-to-win-the-cloud-wars
Microsoft Azure

Microsoft, not Amazon, is going to win the cloud wars

30 Nov 2019
Visit/operating-systems/microsoft-windows/354297/this-exploit-could-give-users-free-windows-7-updates
Microsoft Windows

This exploit could give users free Windows 7 updates beyond 2020

9 Dec 2019
Visit/hardware/354237/five-signs-that-its-time-to-retire-it-kit
Sponsored

Five signs that it’s time to retire IT kit

29 Nov 2019