Hardware

Reverse-engineering the universal translator

Comment

Image Credits: CBS Photo Archive

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

Cinema critics keep raving about Arrival, a sci-fi drama by Denis Villeneuve focusing on one linguist’s attempts to decipher an alien language. Star Trek recently celebrated its 50th anniversary. As a language geek and a sci-fi fan, I felt it only logical to look into the feasibility of the universal translator, the device used by the crew of the Starship Enterprise.

No, this is not yet another post about machine translation. This technology is already a reality with a variety of approaches and new promising developments. While not yet at the level of a human translation expert, machine translation is already usable in multiple scenarios. (Translation of known languages is, of course, also a part of the Star Trek universal translator, and on some occasions Star Trek linguists have to tweak the linguistic internals manually.)

This article will focus on the device’s decoding module for unknown languages, or decipherment.

Decipherment in real life

No matter how elaborate, all decipherment techniques have the same core: pairing an unknown language with known bits of knowledge. The classic Rosetta Stone story is the most famous example: A tablet with inscriptions of Ancient Egyptian hieroglyphs, Ancient Greek and another Egyptian script (Demotic) was used as a starting point to understand a long-dead language.

Today, statistical machine translation engines are generated in a similar fashion, using parallel texts as “virtual Rosetta Stones.” If, however, a parallel text is not available, the decipherment relies on closely related languages or whatever cues can be applied.

Perhaps the most dramatic story of decipherment is that of the Maya script, which involved two opposing points of view amplified by Cold War tensions. More recently, Regina Barzilay from MIT decoded a long-dead language using machine learning assuming similarity with a known language.

But what happens when there is no Rosetta Stone or similar language? In face-to-face interaction, like the scenario depicted in Arrival, gestures, physical objects and facial expressions are used to build the vocabulary. These methods were used by the seafarers exploring the New World and are occasionally employed today by anthropologists and linguists, like Daniel Everett who spent decades working with the Pirahã people in the Amazon.

Life imitates fiction: lingua universalis

But what if the face-to-face interaction is not possible?

For decades, SETI researchers have been scanning the skies for signs of extraterrestrial intelligence. Some of them specifically focus on the questions, “what happens if we do get a signal?” and “how do we know if this is a signal and not just noise?”

The two most notable SETI people working on these issues are Laurance Doyle and John Elliott. Doyle’s work focuses on the application of Claude Shannon’s information theory to determine whether a communication system is similar to human communication in its complexity. Doyle, together with the famous animal behavior and communication researcher Brenda McCowan, analyzed various animal communication data, comparing its information theory characteristics to those of human languages.

John Elliott’s work specifically focuses on unknown communication systems; the publication topics range from detecting whether the transmission is linguistic to assessing the structure of the language, and, lastly, on building what he calls a “post-detection decipherment matrix.” In Elliott’s own words, this matrix would use a “corpus that represents the entire ‘Human Chorus’ ” applying unsupervised learning tools, and, in his later works, include other communication systems (e.g. animal communication). Elliott’s hypothetical system relies on an ontology of concepts with a “universal semantic metalanguage.” (Just like Swadesh lists compile a set of shared basic concepts.)

Interestingly, there are certain similarities between the fictional universal translator and the ways real-life scientists attack the problem. According to Captain Kirk’s explanation, “certain universal ideas and concepts” were “common to all intelligent life,” and the translator compares the frequencies of “brainwave patterns,” selects those ideas it recognized and provides the necessary grammar.

Assuming that a variety of hypothetical neural centers may produce recognizable activity patterns (brainwaves or not), and that communication produces a stimulus that activates specific areas in the neural center, the approach may have merit — provided the hardware sensitive enough to detect these fluctuations will be available. The frequency analysis is also in line with Zipf’s law, which is mentioned throughout the work of Elliott and Doyle.

Other Star Trek series keep mentioning a vaguely described translation matrix, which is used to facilitate translation. Artistic license and techno-babble aside, the word “matrix” and the sheer number of translation pair combinations correspond to a real-world interlingua model, which employs an abstract, language-independent representation of knowledge.

There are a couple of occasions in Star Trek where a certain linguacode, used as a last-resort tool when the universal translator doesn’t work, is mentioned. The linguacode may also have a real-world equivalent called lincos. Lincos, together with its derivatives, is a constructed language designed to communicate with other species using universal mathematical concepts.

View from the engine room

As someone who spent more than a decade working on a language-neutral semantic engine, I got very excited when I realized that the system and the ontology described by Elliott as a prerequisite to the semantic analysis is very close to what I constructed. Bundling all of the languages into a “human chorus” may steer the system toward a “one-size-fits-all” result, which is too far from the target communication system.

It doesn’t have to be this way; with a system capable of mapping both syntactic structures and semantics (not just a limited set of entities), it is possible to build a “corpus of scenarios” that will allow for building more accurate ordered statistical models relying on the universality of interaction scenarios.

For example:

  • Most messages meant to be a part of a dialogue, in most languages, start with a greeting.
  • Most technical documents contain numbers.
  • All demands contain a request, and, often, a threat.
  • News accounts refer to an event.
  • Most long documents are divided into chapters and so have either numbers or chapter names between the chapters.
  • Reference articles describe an entity.

The reasons for that have nothing to do with a structure of a particular language, and generally stem from the venerable principle of least effort or necessities for efficient communication in groups.

Using a system that runs on semantics will allow building a corpus without the dependency on surface representation and instead records word senses, and creates a purely semantic and a truly universal corpus. Having syntactic structures semantically grouped opens up even more possibilities.

Instead of a Rosetta Stone, this system could serve as a high-tech “Rosetta Rubik’s Cube,” with an immense number of combinations being run until the best matching combination is found.

Beyond words

Is it possible to test the hypothetical “universal translator” software on something more accessible than a hypothetical communication from extraterrestrial intelligence? Many researchers believe so. While it has not been proven that cetacean communication has all the characteristics of human language, there is evidence that strongly suggests it could.

Dolphins, for example, use so-called individual signature whistles, which appear to be equivalent to human names. Among other things, the signature whistles are used to locate individuals, and therefore, meet one of the requirements for a communication system to be considered a language: displacement. In the course of Louis Herman’s experiments, dolphins managed to learn an adapted version of American Sign Language to understand abstract concepts like “right” or “left. Lastly, the complex social life of dolphins requires coordination of activities that can be only achieved by efficient and equally complex communication.

In addition to the often-cited cetaceans, there is evidence of other species having complex communication systems. A series of experiments has shown that ant communication may be infinitely productive (that is, have infinite amount of combinations like human language does) and that it may efficiently “compress” content (e.g. instead of saying “turn left, left, left, left” say “turn left four times”).

Both Doyle and Elliott studied cetacean communication with various tools provided by information theory. Elliott calculated entropy for human language, bird song, dolphin communication and non-linguistic sources like white noise or music.

Communication systems share a “symmetric A-like amplitude” shape: more symmetric for humans and dolphins, less symmetric for birds. Doyle conducted similar measurements with humpback whale vocalizations and arrived at similar conclusions.

This is why several animal communication initiatives are coordinated with the SETI initiatives. A truly universal decipherment framework would be incomplete without the ability to ingest and learn a complex animal communication system.

More TechCrunch

Featured Article

CIOs’ concerns over generative AI echo those of the early days of cloud computing

CIOs trying to govern generative AI have the same concerns they had about cloud computing 15 years ago, but they’ve learned some things along the way.

2 hours ago
CIOs’ concerns over generative AI echo those of the early days of cloud computing

It sounds like the latest dispute between Apple and Fortnite-maker Epic Games isn’t over. Epic has been fighting Apple for years over the company’s revenue-sharing requirements in the App Store.…

Epic Games CEO promises to ‘fight’ Apple over ‘absurd’ changes

As deep-pocketed companies like Amazon, Google and Walmart invest in and experiment with drone delivery, a phenomenon reflective of this modern era has emerged. Drones, carrying snacks and other sundries,…

What happens if you shoot down a delivery drone?

A police officer pulled over a self-driving Waymo vehicle in Phoenix after it ran a red light and pulled into a lane of oncoming traffic, according to dispatch records. The…

Waymo robotaxi pulled over by Phoenix police after driving into the wrong lane

Welcome back to TechCrunch’s Week in Review — TechCrunch’s newsletter recapping the week’s biggest news. Want it in your inbox every Saturday? Sign up here. This week, Figma CEO Dylan…

Figma pauses its new AI feature after Apple controversy

We’ve created this guide to help parents navigate the controls offered by popular social media companies.

How to set up parental controls on Facebook, Snapchat, TikTok and more popular sites

Featured Article

You could learn a lot from a CIO with a $17B IT budget

Lori Beer’s work is a case study for every CIO out there, most of whom will never come close to JP Morgan Chase’s scale, but who can still learn from how it goes about its business.

24 hours ago
You could learn a lot from a CIO with a $17B IT budget

For the first time, Chinese government workers will be able to purchase Tesla’s Model Y for official use. Specifically, officials in eastern China’s Jiangsu province included the Model Y in…

Tesla makes it onto Chinese government purchase list

Generative AI models don’t process text the same way humans do. Understanding their “token”-based internal environments may help explain some of their strange behaviors — and stubborn limitations. Most models,…

Tokens are a big reason today’s generative AI falls short

After multiple rejections, Apple has approved Fortnite maker Epic Games’ third-party app marketplace for launch in the EU. As now permitted by the EU’s Digital Markets Act (DMA), Epic announced…

Apple approves Epic Games’ marketplace app after initial rejections

There’s no need to worry that your secret ChatGPT conversations were obtained in a recently reported breach of OpenAI’s systems. The hack itself, while troubling, appears to have been superficial…

OpenAI breach is a reminder that AI companies are treasure troves for hackers

Welcome to Startups Weekly — TechCrunch’s weekly recap of everything you can’t miss from the world of startups. Sign up here to get it in your inbox every Friday. Most…

Space for newcomers, biotech going mainstream, and more

Elon Musk’s X is exploring more ways to integrate xAI’s Grok into the social networking app. According to a series of recent discoveries, X is developing new features like the…

X plans to more deeply integrate Grok’s AI, app researcher finds

We’re about four months away from TechCrunch Disrupt 2024, taking place October 28 to 30 in San Francisco! We could not bring you this world-class event without our world-class partners…

Meet Brex, Google Cloud, Aerospace and more at Disrupt 2024

In its latest step targeting a major marketplace, the European Commission sent Amazon another request for information (RFI) Friday in relation to its compliance under the bloc’s rulebook for digital…

Amazon faces more EU scrutiny over recommender algorithms and ads transparency

Quantum Rise, a Chicago-based startup that does AI-driven automation for companies like dunnhumby (a retail analytics platform for the grocery industry), has raised a $15 million seed round from Erie…

Quantum Rise grabs $15M seed for its AI-driven ‘Consulting 2.0’ startup

On July 4, YouTube released an updated eraser tool for creators so they can easily remove any copyrighted music from their videos without affecting any other audio such as dialog…

YouTube’s updated eraser tool removes copyrighted music without impacting other audio

Airtel, India’s second-largest telecom operator, on Friday denied any breach of its systems following reports of an alleged security lapse that has caused concern among its customers. The telecom group,…

India’s Airtel dismisses data breach reports amid customer concerns

According to a recent Dealroom report on the Spanish tech ecosystem, the combined enterprise value of Spanish startups surpassed €100 billion in 2023. In the latest confirmation of this upward trend, Madrid-based…

Spain’s exposure to climate change helps Madrid-based VC Seaya close €300M climate tech fund

Forestay, an emerging VC based out of Geneva, Switzerland, has been busy. This week it closed its second fund, Forestay Capital II, at a hard cap of $220 million. The…

Forestay, Europe’s newest $220M growth-stage VC fund, will focus on AI

Threads, Meta’s alternative to Twitter, just celebrated its first birthday. After launching on July 5 last year, the social network has reached 175 million monthly active users — that’s a…

A year later, what Threads could learn from other social networks

J2 Ventures, a firm led mostly by U.S. military veterans, announced on Thursday that it has raised a $150 million second fund. The Boston-based firm invests in startups whose products…

J2 Ventures, focused on military healthcare, grabs $150M for its second fund

HealthEquity said in an 8-K filing with the SEC that it detected “anomalous behavior by a personal use device belonging to a business partner.”

HealthEquity says data breach is an ‘isolated incident’

Roll20 said that on June 29 it had detected that a “bad actor” gained access to an account on the company’s administrative website for one hour.

Roll20, an online tabletop role-playing game platform, discloses data breach

Fisker has a willing buyer for its remaining inventory of all-electric Ocean SUVs, and has asked the Delaware Bankruptcy Court judge overseeing its Chapter 11 case to approve the sale.…

Fisker asks bankruptcy court to sell its EVs at average of $14,000 each

Teddy Solomon just moved to a new house in Palo Alto, so he turned to the Stanford community on Fizz to furnish his room. “Every time I show up to…

Fizz, the anonymous Gen Z social app, adds a marketplace for college students

With increasing competition for what is, essentially, still a small number of hard tech and deep tech deals, Sidney Scott realized it would be a challenge for smaller funds like…

Why deep tech VC Driving Forces is shutting down

A guide to turn off reactions on your iPhone and Mac so you don’t get surprised by effects during work video calls.

How to turn off those silly video call reactions on iPhone and Mac

Amazon has decided to discontinue its Astro for Business device, a security robot for small- and medium-sized businesses, just seven months after launch.  In an email sent to customers and…

Amazon retires its Astro for Business security robot after only 7 months

Hiya, folks, and welcome to TechCrunch’s regular AI newsletter. This week in AI, the U.S. Supreme Court struck down “Chevron deference,” a 40-year-old ruling on federal agencies’ power that required…

This Week in AI: With Chevron’s demise, AI regulation seems dead in the water