AI

The secret language of chatbots

Comment

Vadim Berman

Contributor
Vadim Berman is director of engineering at Aspect Software. He came to Aspect with the acquisition of LinguaSys in 2015. Vadim co-founded LinguaSys in 2010 and was the chief technology officer. He recently moved to Massachusetts from Melbourne, Australia.

More posts from Vadim Berman

Give a journalist a buzzword and you’ve fed him for a day.

Give a journalist a topic to investigate and explore and you feed the entire industry for years. Even more so when the topic is a sci-fi trope like artificial intelligence.

These days, we are bombarded by warnings about imminent technological disasters. The scenario of robots and AI putting everyone out of work is one of them. Despite the rising skepticism over IBM’s heavily marketed Watson and companies like Foxconn reaching a measly 2.5 percent of their original ambitious automation goals, very few automation impact studies, let alone pieces that cite them in the mainstream press, seem to consider that the technical and organizational hurdles may not be as easy to overcome. (Even though different waves of hype emerged in the 1950s and the 1980s, this time is different, right?)

And if massive social upheaval is not enough to scare the public, there is always the robot uprising. The latest episode in this saga is an experiment on Facebook that resulted in two chatbots that supposedly “invented a secret language,” which (according to the reporters with more developed imaginations), made Facebook “put a cork” on the experiment.

Game of (broken) telephones

On June 14, 2017, an article on TechCrunch described the experiment: Facebook researchers played with an interesting idea of treating a negotiation like a game. They tried to force the bots to learn both the rules of the game and the limited negotiation language using reinforcement learning. The original link no longer works, but the paper has since been uploaded to Arxiv. Unfortunately, the original screenshots seem to be gone.

An article published in The Atlantic on June 15, 2017, picked an obscure line in the report saying that the bot-to-bot conversation “led to divergence from human language.” The piece claimed that the bots weren’t just spouting nonsense; they “developed their own language” for the purpose of negotiating.

This created an avalanche. Sensationalist details grew like a snowball, and by the end of July, Independent’s summary of the story was: “Facebook’s artificial intelligence robots shut down after they start talking to each other in their own language… Facebook abandoned an experiment after two artificially intelligent programs appeared to be chatting to each other in a strange language only they understood.”

 

I can practically see white-robe-clad researchers in a clean room checking whether the poison gas controls are disconnected, and debating with each other about intelligence, soul and what it means to be human. (Maybe it’s not just my imagination, but the fact remains that many articles pictured sci-fi imagery from Terminator and Westworld. That’s despite the fact that Person of Interest is much more suitable here.)

Several sources, from Gizmodo to the always skeptical commenters on Y Combinator News, picked the story apart. The story earned its own page in Snopes and frustrated Facebook posts of the project lead Mike Lewis.

What really happened

There is no point copying the resources linked above. They explain in exhaustive detail that no robot uprising took place and that no one “stopped” the experiment. There are, however, some interesting conclusions to be drawn and questions to be asked.

A day before the hype began, New Scientist explained the approach from a more technical point of view:

One bot was taught to mimic the way people negotiated in English, but it turned out to be a weak negotiator, and too willing to agree to unfavorable terms. A second was tasked with maximizing its score. This bot was a much better negotiator but ended up using a nonsensical language impossible for humans to understand.

In other words, neither of the bots could accomplish the compound task of learning the language and negotiating properly.

Don’t get me wrong, the task is extremely complex; moreover, I am not sure how or whether it’s possible to learn even a limited language from scratch from only 5,000 sentences.

But the main point that was missed by the hype-hungry press and avoided by the researchers for obvious reasons was that it was not a success with an unexpected side effect; it was another attempt whose main upside was that “we learned something new today” — more “work in progress.” The original purpose was to design a negotiation aid, but it would take a special kind of user to be happy with advice like “balls have zero to me to me to me to me to me to me to me to me to.

According to the press, the researchers claimed that the language was not random nonsense, but had its own grammar (in all fairness, I could not find that part in the Arxiv paper). Some commentators assumed that the repetition is meant to describe numeric values (e.g. if the word is repeated five times, it means five items). To me (pun not intended), it looks like some of the phrases had a buffer overflow and the result was simply truncated, so there is no way to verify the numbers assumption. Can we be even sure that two different bots trained on slightly different data sets will use the same “invented language”? Not at all, so a hypothetical robot uprising would stop at a stage where a bunch of bots slapped together from different data sets are unable to understand each other.

One serious unresolved issue with machine learning systems is debugging. Legendary Peter Norvig from Google highlighted the need for “a better set of tools,” saying that the current machine learning is a “black box,” exhibiting traits which are every coder’s worst nightmare:

Any bug will be replicated throughout the system. Changing one thing changes everything. There are techniques for understanding that there is an error, and there are methods for retraining machine-learning systems, but there isn’t a way to fix just one isolated problem.

In case of the bargaining bots, we can’t tell how bad was the signal degradation caused by the inability to parse the language properly. In fact, do we even know for certain what the bot language meant? We may assume the grammar was consistent, but unless the researchers managed to decipher, communicate back or had some kind of intermediate representation recording the intent of the bot’s communication, it could as well be XXI century’s AI version of Pierre Brassau, the ape artist.

The real language of chatbots

The curious case of the Facebook negotiation experiment aside, can the bots actually benefit from a language of their own?

The answer is yes. And we are not talking about a natural language.

The world where your phone can display an interactive map, detect that you are walking, tag a date or a location in your SMS or call a cab was made possible, among other things, by web services: the ability of different software components to talk to each other across different machines and computer networks. In less than 20 years from the time when the first billing web services were conceived, the ability of components to communicate (even if only over rigid, predefined channels) changed the fundamentals of software and hardware engineering.

Today’s bots are still in their infancy, but at least some of them are meant to handle a large number of domains with the input being unlimited in its scope. Today, these bots know to delegate tasks to predefined web services; some attempts are made to build dynamic cloud catalogues of “how-tos” redirecting to the correct web service.

The next step, however, could be a bot shopping for a better mobile data plan, or investigating what went wrong with a service, “talking” to its fellow bots to find out whether the service is available in another area and when it stopped using a large standard stack of primitives.

 

It does not have to involve natural language processing. It’s a matter of creating a standard language for queries and interactions between the bots, evolving the web services for the era when the software is smarter.

Interestingly enough, the “robot whisper” idea is not new. As early as in 2001, so-called Battle Management Language was proposed to control “human troops, simulated troops, and future robotic forces” (yes, there is a good reason to post that Terminator image again).

Research of Igor Mordatch from OpenAI (mentioned in some articles about the Facebook experiment) focuses on attempts to get the bots to develop their own language in a limited universe. As mentioned above, such a language would depend on the training set (or “universe,” as they call it) and not be useful as a means of communication with other bots (think of an isolated tribe in the Amazon that is unable to communicate with the rest of the world).

The software bots of today and tomorrow will require a more complex and flexible approach, and they will still need a standard and consistent knowledge representation. And, in case of the negotiation bot, the external knowledge representation will eliminate the ambiguities of the natural languages, allowing it to master the art of the deal in a structured, mathematically neat universe.

More TechCrunch

Google has joined investors backing Namma Yatri, an open-source ride-sharing app in India that is eroding market share from Uber and Ola with its no-commission model. Namma Yatri, whose parent…

Google backs Indian open-source Uber rival

These messaging features, announced at WWDC 2024, will have a significant impact on how people communicate every day.

At last, Apple’s Messages app will support RCS and scheduling texts

iOS 18 will be available in the fall as a free software update.

Here are all the devices compatible with iOS 18

The tests indicate there are loopholes in TikTok’s ability to apply its parental controls and policies effectively in a situation where the teen user originally lied about their age, as…

TikTok glitch allows Shop to appear to users under 18, despite adults-only policy

Lhoopa has raised $80 million to address the lack of affordable housing in Southeast Asian markets, starting with the Philippines.

Lhoopa raises $80M to spur more affordable housing in the Philippines

Former President Donald Trump picked Ohio Senator J.D. Vance as his running mate on Monday, as he runs to reclaim the office he lost to President Joe Biden in 2020.…

Trump’s VP candidate JD Vance has long ties to Silicon Valley, and was a VC himself

Hello and welcome back to TechCrunch Space. Is it just me, or is the news cycle only accelerating this summer?!

TechCrunch Space: Space cowboys

Apple Intelligence features are not available in the developer beta, which is out now.

Without Apple Intelligence, iOS 18 beta feels like a TV show that’s waiting for the finale

Apple released the public betas for its next generation of software on the iPhone, Mac, iPad and Apple Watch on Monday. You can now test out iOS 18 and many…

Apple’s public betas for iOS 18 are here to test out

One major dissenter threatens to upend Fisker’s apparent best chance at offloading its unsold EVs, a deal that would keep the startup’s bankruptcy proceeding alive and pave the way for…

Fisker has one major objector to its Ocean SUV fire sale

Payments giant Stripe has delayed going public for so long that its major investor Sequoia Capital is getting creative to offer returns to its limited partners. The venture firm emailed…

Major Stripe investor Sequoia confirms $70B valuation, offers its investors a payday

Alphabet, Google’s parent company, is in advanced talks to acquire Wiz for $23 billion, a person close to the company told TechCrunch. The deal discussions were previously reported by The…

Google’s Kurian approached Wiz, $23B deal could take a week to land, source says

Name That Bird determines individual members of a species by identifying distinguishing characteristics that most humans would be hard-pressed to spot.

Bird Buddy’s new AI feature lets people name and identify individual birds

YouTube Music is introducing two new ways to boost song discovery on its platform. YouTube announced on Monday that it’s experimenting with an AI-generated conversational radio feature, and rolling out…

YouTube Music is testing an AI-generated radio feature and adding a song recognition tool

Tesla had internally planned to build the dedicated robotaxi and the $25,000 car, often referred to as the Model 2, on the same platform.

Elon Musk confirms Tesla ‘robotaxi’ event delayed due to design change

What this means for the space industry is that theory has become reality: The possibility of designing a habitation within a lunar tunnel is a reasonable proposition.

Moon cave! Discovery could redirect lunar colony and startup plays

Get ready for a prime week of savings at TechCrunch Disrupt 2024 with the launch of Disrupt Deal Days! From now to July 19 at 11:59 p.m. PT, we’re going…

Disrupt Deal Days are here: Prime savings for TechCrunch Disrupt 2024!

Deezer is the latest music streaming app to introduce an AI playlist feature. The company announced on Monday that a select number of paid users will be able to create…

Deezer chases Spotify and Amazon Music with its own AI playlist generator

Real-time payments are becoming commonplace for individuals and businesses, but not yet for cross-border transactions. That’s what Caliza is hoping to change, starting with Latin America. Founded in 2021 by…

Caliza lands $8.5 million to bring real-time money transfers to Latin America using USDC

Adaptive is a platform that provides tools designed to simplify payments and accounting for general construction contractors.

Adaptive builds automation tools to speed up construction payments

When VanMoof declared bankruptcy last year, it left around 5,000 customers who had preordered e-bikes in the lurch. Now VanMoof is up and running under new management, and the company’s…

How VanMoof’s new owners plan to win over its old customers

Mitti Labs aims to transform rice farming in India and other South Asian markets by reducing methane emissions by 50% and water consumption by 30%.

Mitti Labs aims to make rice farming less harmful to the climate, starting in India

This is a guide on how to check whether someone compromised your online accounts.

How to tell if your online accounts have been hacked

There is a general consensus today that generative AI is going to transform business in a profound way, and companies and individuals who don’t get on board will be quickly…

The AI financial results paradox

Google’s parent company Alphabet might be on the verge of making its biggest acquisition ever. The Wall Street Journal reports that Alphabet is in advanced talks to acquire Wiz for…

Google reportedly in talks to acquire cloud security company Wiz for $23B

Featured Article

Hank Green reckons with the power — and the powerlessness — of the creator

Hank Green has had a while to think about how social media has changed us. He started making YouTube videos in 2007 with his brother, novelist John Green, at a time when the first iPhone was in development, Myspace was still relevant and Instagram didn’t exist. Seventeen years later, posting…

Hank Green reckons with the power — and the powerlessness — of the creator

Here is a timeline of Synapse’s troubles and the ongoing impact it is having on banking consumers. 

Synapse’s collapse has frozen nearly $160M from fintech users — here’s how it happened

Featured Article

Helixx wants to bring fast-food economics and Netflix pricing to EVs

When Helixx co-founder and CEO Steve Pegg looks at Daisy — the startup’s 3D-printed prototype delivery van — he sees a second chance. And he’s pulling inspiration from McDonald’s to get there.  The prototype, which made its global debut this week at the Goodwood Festival of Speed, is an interesting proof…

Helixx wants to bring fast-food economics and Netflix pricing to EVs

Featured Article

India clings to cheap feature phones as brands struggle to tap new smartphone buyers

India is struggling to get new smartphone buyers, as millions of Indians don’t go for an upgrade and continue to be on feature phones.

India clings to cheap feature phones as brands struggle to tap new smartphone buyers

Roboticists at The Faboratory at Yale University have developed a way for soft robots to replicate some of the more unsettling things that animals and insects can accomplish — say,…

Meet the soft robots that can amputate limbs and fuse with other robots