Robots are creating images and telling jokes. 5 things to know about foundation models and the next generation of AI
- Written by Aaron J. Snoswell, Post-doctoral Research Fellow, Computational Law & AI Accountability, Queensland University of Technology
If you’ve seen photos of a teapot shaped like an avocado[1] or read a well-written article that veers off on slightly weird tangents[2], you may have been exposed to a new trend in artificial intelligence (AI).
Machine learning systems called DALL-E[3], GPT[4] and PaLM[5] are making a splash with their incredible ability to generate creative work.
These systems are known as “foundation models” and are not all hype and party tricks. So how does this new approach to AI work? And will it be the end of human creativity and the start of a deep-fake nightmare?
1. What are foundation models?
Foundation models[6] work by training a single huge system on large amounts of general data, then adapting the system to new problems. Earlier models tended to start from scratch for each new problem.
DALL-E 2, for example, was trained to match pictures (such as a photo of a pet cat) with the caption (“Mr. Fuzzyboots the tabby cat is relaxing in the sun”) by scanning hundreds of millions of examples. Once trained, this model knows what cats (and other things) look like in pictures.
But the model can also be used for many other interesting AI tasks, such as generating new images from a caption alone (“Show me a koala dunking a basketball”) or editing images based on written instructions (“Make it look like this monkey is paying taxes”).
2. How do they work?
Foundation models run on “deep neural networks[7]”, which are loosely inspired by how the brain works. These involve sophisticated mathematics and a huge amount of computing power, but they boil down to a very sophisticated type of pattern matching.
For example, by looking at millions of example images, a deep neural network can associate the word “cat” with patterns of pixels that often appear in images of cats – like soft, fuzzy, hairy blobs of texture. The more examples the model sees (the more data it is shown), and the bigger the model (the more “layers” or “depth” it has), the more complex these patterns and correlations can be.
Read more: What is a neural network? A computer scientist explains[8]
Foundation models are, in one sense, just an extension of the “deep learning” paradigm that has dominated AI research for the past decade. However, they exhibit un-programmed or “emergent” behaviours that can be both surprising and novel.
For example, Google’s PaLM language model seems to be able to produce explanations for complicated metaphors and jokes. This goes beyond simply imitating the types of data it was originally trained to process[9].
Google AI[10]3. Access is limited – for now
The sheer scale of these AI systems is difficult to think about. PaLM has 540 billion parameters, meaning even if everyone on the planet memorised 50 numbers, we still wouldn’t have enough storage to reproduce the model.
The models are so enormous that training them requires massive amounts of computational and other resources. One estimate put the cost of training OpenAI’s language model GPT-3 at around US$5 million[11].
Read more: Can robots write? Machine learning produces dazzling results, but some assembly is still required[12]
As a result, only huge tech companies such as OpenAI, Google and Baidu can afford to build foundation models at the moment. These companies limit who can access the systems, which makes economic sense.
Usage restrictions may give us some comfort these systems won’t be used for nefarious purposes (such as generating fake news or defamatory content) any time soon. But this also means independent researchers are unable to interrogate these systems and share the results in an open and accountable way. So we don’t yet know the full implications of their use.
4. What will these models mean for ‘creative’ industries?
More foundation models will be produced in coming years. Smaller models are already being published in open-source forms[13], tech companies are starting to experiment with licensing and commercialising these tools[14] and AI researchers are working hard to make the technology more efficient and accessible.
The remarkable creativity shown by models such as PaLM and DALL-E 2 demonstrates that creative professional jobs could be impacted by this technology sooner than initially expected.
Read more: AI could be our radiologists of the future, amid a healthcare staff crisis[15]
Traditional wisdom always said robots would displace “blue collar” jobs first. “White collar” work was meant to be relatively safe from automation – especially professional work that required creativity and training.
Deep learning AI models already exhibit super-human accuracy in tasks like reviewing x-rays[16] and detecting the eye condition macular degeneration[17]. Foundation models may soon provide cheap, “good enough” creativity in fields such as advertising, copywriting, stock imagery or graphic design.
The future of professional and creative work could look a little different than we expected.
5. What this means for legal evidence, news and media
Foundation models will inevitably affect the law[18] in areas such as intellectual property and evidence, because we won’t be able to assume creative content is the result of human activity[19].
We will also have to confront the challenge of disinformation and misinformation generated by these systems. We already face enormous problems with disinformation, as we are seeing in the unfolding Russian invasion of Ukraine[20] and the nascent problem of deep fake[21] images and video, but foundation models are poised to super-charge these challenges.
Read more: 3.2 billion images and 720,000 hours of video are shared online daily. Can you sort real from fake?[22]
Time to prepare
As researchers who study the the effects of AI on society[23], we think foundation models will bring about huge transformations. They are tightly controlled (for now), so we probably have a little time to understand their implications before they become a huge issue.
The genie isn’t quite out of the bottle yet, but foundation models are a very big bottle – and inside there is a very clever genie.
References
- ^ a teapot shaped like an avocado (www.nytimes.com)
- ^ veers off on slightly weird tangents (www.theguardian.com)
- ^ DALL-E (openai.com)
- ^ GPT (openai.com)
- ^ PaLM (ai.googleblog.com)
- ^ Foundation models (arxiv.org)
- ^ deep neural networks (theconversation.com)
- ^ What is a neural network? A computer scientist explains (theconversation.com)
- ^ imitating the types of data it was originally trained to process (arxiv.org)
- ^ Google AI (ai.googleblog.com)
- ^ around US$5 million (lambdalabs.com)
- ^ Can robots write? Machine learning produces dazzling results, but some assembly is still required (theconversation.com)
- ^ open-source forms (openai.com)
- ^ experiment with licensing and commercialising these tools (openai.com)
- ^ AI could be our radiologists of the future, amid a healthcare staff crisis (theconversation.com)
- ^ reviewing x-rays (theconversation.com)
- ^ detecting the eye condition macular degeneration (www.macularsociety.org)
- ^ affect the law (www.abc.net.au)
- ^ creative content is the result of human activity (www.smithsonianmag.com)
- ^ unfolding Russian invasion of Ukraine (theconversation.com)
- ^ deep fake (theconversation.com)
- ^ 3.2 billion images and 720,000 hours of video are shared online daily. Can you sort real from fake? (theconversation.com)
- ^ study the the effects of AI on society (www.admscentre.org.au)