Thu, Nov 28, 2024 | Jumada al-Awwal 26, 1446 | DXB ktweather icon0°C

The race to make AI smaller (and smarter)

Teaching fewer words to large language models might help them sound more human

Top Stories

Matt Rota/The New York Times

Matt Rota/The New York Times

When it comes to artificial intelligence chatbots, bigger is typically better.

Published: Tue 27 Jun 2023, 11:01 PM

Updated: Tue 27 Jun 2023, 11:02 PM

  • By
  • Oliver Whang

Large language models such as ChatGPT and Bard, which generate conversational, original text, improve as they are fed more data. Every day, bloggers take to the internet to explain how the latest advances — an app that summarizes articles, AI-generated podcasts, a fine-tuned model that can answer any question related to professional basketball — will “change everything.”

But making bigger and more capable AI requires processing power that few companies possess, and there is growing concern that a small group, including Google, Meta, OpenAI and Microsoft, will exercise near-total control over the technology.

Also, bigger language models are harder to understand. They are often described as “black boxes,” even by the people who design them, and leading figures in the field have expressed unease that AI’s goals may ultimately not align with our own. If bigger is better, it is also more opaque and more exclusive.

In January, a group of young academics working in natural language processing — the branch of AI focused on linguistic understanding — issued a challenge to try to turn this paradigm on its head.

The group called for teams to create functional language models using data sets less than one-ten-thousandth the size of those used by the most advanced large language models. A successful mini-model would be nearly as capable as the high-end models but much smaller, more accessible and more compatible with humans. The project is called the BabyLM Challenge.

“We’re challenging people to think small and focus more on building efficient systems that way more people can use,” said Aaron Mueller, a computer scientist at Johns Hopkins University and an organiser of BabyLM.

Alex Warstadt, a computer scientist at ETH Zurich and another organizer of the project, added, “The challenge puts questions about human language learning — rather than ‘How big can we make our models?’ — at the center of the conversation.”

Large language models are neural networks designed to predict the next word in a given sentence or phrase. They are trained for this task using a corpus of words collected from transcripts, websites, novels and newspapers. A typical model makes guesses based on example phrases and then adjusts itself depending on how close it gets to the right answer.

By repeating this process over and over, a model forms maps of how words relate to one another. In general, the more words a model is trained on, the better it will become; every phrase provides the model with context, and more context translates to a more detailed impression of what each word means. OpenAI’s GPT-3, released in 2020, was trained on 200 billion words; DeepMind’s Chinchilla, released in 2022, was trained on 1 trillion.

To Ethan Wilcox, a linguist at ETH Zurich, the fact that something nonhuman can generate language presents an exciting opportunity: Could AI language models be used to study how humans learn language?

For instance, nativism, an influential theory tracing back to Noam Chomsky’s early work, claims that humans learn language quickly and efficiently because they have an innate understanding of how language works.

But language models learn language quickly, too, and seemingly without an innate understanding of how language works — so maybe nativism doesn’t hold water.

The challenge is that language models learn very differently from humans. Humans have bodies, social lives and rich sensations. We can smell mulch, feel the vanes of feathers, bump into doors and taste peppermints. Early on, we are exposed to simple spoken words and syntax often not represented in writing.

So, Wilcox concluded, a computer that produces language after being trained on gazillions of written words can tell us only so much about our own linguistic process.

But if a language model were exposed only to words that a young human encounters, it might interact with language in ways that could address certain questions we have about our own abilities. So, together with a half-dozen colleagues, Wilcox, Mueller and Warstadt conceived of the BabyLM Challenge, to try to nudge language models slightly closer to human understanding.

In January, they sent out a call for teams to train language models on the same number of words that a 13-year-old human encounters — roughly 100 million. Candidate models would be tested on how well they generated and picked up the nuances of language, and a winner would be declared.

Eva Portelance, a linguist at McGill University, came across the challenge the day it was announced. Her research straddles the often blurry line between computer science and linguistics.

The first forays into AI, in the 1950s, were driven by the desire to model human cognitive capacities in computers; the basic unit of information processing in AI is the “neuron,” and early language models in the 1980s and ’90s were directly inspired by the human brain.

But as processors grew more powerful, and companies started working toward marketable products, computer scientists realized it was often easier to train language models on enormous amounts of data than to force them into psychologically informed structures.

As a result, Portelance said, “they give us text that’s humanlike, but there’s no connection between us and how they function.”

For scientists interested in understanding how the human mind works, these large models offer limited insight. And because they require tremendous processing power, few researchers can access them.

“Only a small number of industry labs with huge resources can afford to train models with billions of parameters on trillions of words,” Wilcox said.

“Or even to load them,” Mueller added. “This has made research in the field feel slightly less democratic lately.”

The BabyLM Challenge, Portelance said, could be seen as a step away from the arms race for bigger language models and a step toward more accessible, more intuitive AI.

The potential of such a research program has not been ignored by bigger industry labs. Sam Altman, CEO of OpenAI, recently said that increasing the size of language models would not lead to the same kind of improvements seen over the past few years.

Companies such as Google and Meta have been investing in research into more-efficient language models, informed by human cognitive structures. After all, a model that can generate language when trained on less data could potentially be scaled up.

Whatever profits a successful BabyLM might hold, for those behind the challenge, the goals are more academic and abstract. Even the prize subverts the practical.

“Just pride,” Wilcox said.

This article originally appeared in The New York Times.



Next Story