Computers are learning to recognize letters like we do

Illustration: Lazaro Gamio / Axios

One of the ways computers distinguish humans from robots is with CAPTCHAs — that little box with a weird letter combination at the bottom of your online ticket or other transaction. Researchers report they've now trained a computer to solve CAPTCHAs using less data than other AIs by borrowing the human brain's approach to the problem.

The big picture: This isn't about cracking CAPTCHAs, but a much larger effort to create AIs that use principles of the human brain to solve visual tasks — like recognizing a cat from a dog with not a lot of examples to go on. AI pioneer Geoffrey Hinton recently told Axios he suspects the current approach of giving computers lots of rules and labeled data is limited, and that researchers should look again to the brain to make material advances in AI. This is a step in that direction.

What's new: Computers can solve these tests if given enough examples of the images. (Google and others have retired text-based CAPTCHAs for that reason.) But if the letters are crowded together or the CAPTCHA changes in another way, the AI may need to be retrained to spot the variations, whereas humans can easily recognize a letter in many forms.

"There is a wide variety of things that a human would call an 'A' and understand as an 'A' that is very hard to get into a computer." — Dileep George, who led the research at San Francisco Bay-area AI company Vicarious.

Instead of feeding the algorithm a large dataset containing images of the many variations of CAPTCHA letters, George and his colleagues gave the computer examples of letters that it then broke into parts — the intersections of lines and different contours that make up the shapes of A and N, for example — like the human brain does. Knowing the parts and how they together construct letters, the researchers' model could use those features to identify letter variations it hadn't seen before.

The results:

  • Their model could solve reCAPTCHAs with 66.6% accuracy using five training examples per character. Humans do it with 87.4% accuracy. The accuracy for other deep learning approaches is higher than the new approach but the researchers say theirs is more robust because it models the actual shape of the letter and can therefore generalize to recognize other letters it hasn't seen before.
  • They tested the model's ability to recognize text in real world images compared to a deep learning approach. For about the same or higher accuracy, the deep learning algorithm used roughly 300 times more data.
  • The new algorithm could take a character and create plausible variations of it. "I'm not sure that those examples would be indistinguishable from examples produced by people but it is definitely grasping some important structure in what makes up those concepts of those letters," says NYU's Brenden Lake, who works on similar problems but wasn't involved in this research.

What it means: The researchers hope it sparks a broader return to neuroscience for some AI inspiration.

"Your brain is not an unstructured neural network. Genetics wires some amount of structure into it," says George. "Biology has put a scaffolding in our brain that is suitable for working with this world. It makes the brain learn quickly in our world. So we copy those insights from nature and put it in our model. Similar things can be done in neural networks."

CAPTCHAs are just one benchmark for AI. "As a problem in itself if you have an algorithm that can break CAPTCHAs that's great but it's an application that not everybody needs. Whereas object recognition is something that our minds do every second of every day and it is also a core application domain for technology companies and in products that we use and so on," says Lake.

The big question: Cognitive neuroscientist and philosopher Douglas Hofstadter has said that the toughest challenge for AI researchers is to answer the question: What are the letters 'A' and 'I'?

"Building systems modeled after the brain is a long-term process and we have done only part of the work. Much more work remains to be done if we are to scale these systems to do things that deep learning is good at doing now," says George.

Additional Stories

What we know: Ukrainian Boeing 737 crashes in Tehran

Search and rescue teams at the site of the plane crash near Imam Khomeini Airport in Iran, Jan. 8. Photo: Fatemeh Bahrami/Anadolu Agency via Getty Images

A Boeing 737-800 Ukraine International Airlines plane crashed in Tehran shortly after taking off from Tehran's Imam Khomeini International Airport on Wednesday morning, killing all 167 passengers and nine crew members.

The latest: Iran denied allegations from Western nations that one of its missiles took down the plane, per the AP. The head of its aviation department told a press conference, "What is obvious for us, and what we can say with certainty, is that no missile hit the plane."

U.S. wildfires scorched 4.6 million acres of land in 2019

A firefighter using a drip torch near Somis, California, Nov. 1. Photo: David McNew/Getty Images

49,661 wildfires burned 4.6 million acres in the U.S. in 2019, according to the National Interagency Coordination Center (NICC).

Why it matters: That's a 46% drop in acres burned and an 11% decrease in total fires from the 2018 season.

In photos: Puerto Rico in state of emergency after back-to-back quakes

A damaged street in Guanica town after a 6.4-magnitude earthquake hit Puerto Rico, Jan. 7. Photo: Alejandro Granadillo/Anadolu Agency via Getty Images

President Trump approved Wednesday Puerto Rico's request for a federal disaster declaration following a series of earthquakes this week that killed at least one person and displaced about 2,000 people, according to Disaster Relief.

What's happening: Gov. Wanda Vázquez declared a state of emergency Tuesday after two earthquakes measuring magnitudes of 6.4 and 5.8 struck. The quakes have caused widespread power outages on the island, which is still struggling to recover from 2017's Hurricane Maria. Aftershocks have continued to shake the island.

Alaska experienced its hottest year on record in 2019

Photo: Vintagepix/Getty Images

Alaska endured its hottest year in recorded history in 2019, according to the National Centers for Environmental Information.

By the numbers: The state's average temperature sat at 32.2°F, which was 6.2°F hotter than the long-term average. Last year's temperatures topped 2016's previous record, which saw the statewide average at 31.9°F. For the first time on record, Anchorage recorded a 90°F day in July.

Scientists keep watch in case Betelgeuse explodes as a supernova

Betelgeuse as seen by ALMA. Photo: ESO/NAOJ/NRAO/E. O’Gorman/P. Kervella

Astronomers are speculating that one of the most famous stars in the night sky could explode as a supernova in the not-too-distant future.

Driving the news: Scientists have been watching as Betelgeuse, which is located in the constellation Orion, has dimmed more than expected, potentially signaling that it's about to explode.

Hubble telescope photographs galaxy 2.5 times wider than the Milky Way

Photo: NASA/ESA/B. Holwerda (University of Louisville)

A new photo from the Hubble Space Telescope shows off a spiral galaxy located 232 million light-years away and thought to be the largest in our known, local universe.

Why it matters: The galaxy, named UGC 2885, is about 2.5 times wider than our galaxy and contains 10 times more stars.

Speeding up spacecraft development

Earth from space. Photo: NASA

York Space Systems is offering a new series of missions using its standardized spacecraft to fit the needs of a variety of customers.

Why it matters: As more companies and government entities work to launch small satellites to orbit, this kind of standardization could help to cut down on development time, getting experiments, technology demonstrations and other payloads qualified for spaceflight more quickly.

NASA racing to get astronauts to the moon in four years

Earth rising above the Moon. Photo: NASA

NASA is racing against the clock to get its astronauts' boots back on the Moon within four years.

Why it matters: The Artemis program to the Moon is the Trump administration's flagship space mission, designed to show off U.S. capabilities in space and eventually prove out the technology needed to send humans to Mars.

Read more at Axios
© Copyright Axios 2020