News: 1651231925

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Meet Flamingo, Deepmind's latest open-ended AI

(2022/04/29)


Google's Deepmind has published a paper proposing a family of machine learning models with the aim of doing more work with far less costly and time-consuming training.

The upside of that is, the tech giant claims, massive cost savings as training is quickly becoming prohibitively expensive. The downside is that it's no small task to combine visual learning with a language model.

The model family, called [1]Flamingo , is a [2]few-shot visual language model (VLM) set of distinct software systems (versus a more monolithic model like [3]GPT-3 , for instance). Google's Deepmind team says it outperforms all previous few-shot learning approaches, even those fine-tuned with orders of magnitude more data.

[4]

Flamingo is described in a preprint of Deepmind's academic paper on the subject as being designed

[5]PDF

to take combined text and image inputs to arrive at a text-only answer, leaving a fair bit of wiggle room for the models to do some interpretation. Deepmind uses an in-house dataset it created especially for multimodal ML research. All data is unlabeled and was retrieved from the public internet to the tune of 43.3 million instances consisting of 185 million images and 182GB of text.

[6]

[7]

To put it simply, here's a good example of what Flamingo makes possible: during training, it was only given a few examples to achieve an inference task (identify an animal, solve a math problem, count types of animals in an image, etc). After being told what sort of inference its users wanted, it was given another image and asked to return explanatory text of the input.

Deepmind based Flamingo off of its own recently released 70-billion parameter [8]Chinchilla language model, which was pre-trained. Deepmind "fused" the Chinchilla LM with visual learning elements "by adding novel architecture components in between" that keeps training data isolated and frozen, giving them the 80-billion parameter Flamingo FLM.

[9]

"A single Flamingo model can achieve state-of-the-art results on a wide array of tasks, performing competitively with approaches requiring task-specific fine-tuning on orders of magnitude more examples, and often requiring hand-engineered 'tricks,'" Deepmind's Flamingo contributors said.

The potential uses of this machine learning model are readily apparent, and aren't restricted to what Flamingo is able to do with data – the model could also help the general state of machine learning, which is facing a problem of growing [10]energy and computing needs to train newer models. According to one estimate, a single Google BERT training session emitted the same amount of carbon as a trans-American jet flight.

[11]Autonomous Mayflower to attempt Atlantic crossing, again

[12]DARPA backs virtual worlds for autonomous off-road vehicles

[13]Ex-Googlers take a stab at building 'general intelligence' that makes software do what you tell it

[14]MegaChips takes aim at edge AI in US with ASIC program

Deepmind didn't make any mention of the energy costs needed to train a Flamingo model, though it does describe it as "computationally expensive to train."

On the other hand, the paper said that Flamingo can be rapidly adapted to low-resource settings and for low-resource tasks, such as evaluating data for PII, [15]social biases , stereotypes and other elements that can lead toward the [16]oft-encountered [17]issue of [18]AI bias .

Despite that, Flamingo might not be anywhere near ready for prime time, and not because the model itself is bad: Deepmind admits limitations in few-shot training, namely that there are too many variables to account for when a training dataset is so small.

[19]

"There is no 'golden' few-shot method that would work well in all scenarios," said the researchers behind Flamingo. ®

Get our [20]Tech Resources



[1] https://www.deepmind.com/blog/tackling-multiple-tasks-with-a-single-visual-language-model

[2] https://www.theregister.com/2022/04/05/ai_google_language/

[3] https://www.theregister.com/2022/04/09/openai_gpt3_contractors/

[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YmwLqm6lQ8eRAXVi-UKwiwAAAI8&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[5] https://storage.googleapis.com/deepmind-media/DeepMind.com/Blog/tackling-multiple-tasks-with-a-single-visual-language-model/flamingo.pdf

[6] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YmwLqm6lQ8eRAXVi-UKwiwAAAI8&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[7] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YmwLqm6lQ8eRAXVi-UKwiwAAAI8&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[8] https://www.theregister.com/2022/04/05/ai_google_language/

[9] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YmwLqm6lQ8eRAXVi-UKwiwAAAI8&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[10] https://www.theregister.com/2021/09/13/ai_environmental_cost/

[11] https://www.theregister.com/2022/04/29/ibm_autonomous_mayflower/

[12] https://www.theregister.com/2022/04/27/darpa_intel_cars/

[13] https://www.theregister.com/2022/04/27/adept_ai_google/

[14] https://www.theregister.com/2022/04/26/megachips_ai_partner_program/

[15] https://www.theregister.com/2020/06/24/ai_image_tool/

[16] https://www.theregister.com/2020/09/21/twitter_image_cropping_ai/

[17] https://www.theregister.com/2021/08/02/twitter_now_crowdsourcing_solutions_to/

[18] https://www.theregister.com/2020/04/13/ai_roundup/

[19] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YmwLqm6lQ8eRAXVi-UKwiwAAAI8&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[20] https://whitepapers.theregister.com/



I don't know why but I read the headline as

JassMan

Meet Flamingo, Deepend's latest open-minded AI

When you think about it, maybe software should not be called AI unless you can first prove it is open-minded. Otherwise it should be Artificial Bigotry software. There are already plenty of examples of ML producing extremely bigoted results.

It happened long ago
In the new magic land
The Indians and the buffalo
Existed hand in hand
The Indians needed food
They need skins for a roof
They only took what they needed
And the buffalo ran loose
But then came the white man
With his thick and empty head
He couldn't see past his billfold
He wanted all the buffalo dead
It was sad, oh so sad.
-- Ted Nugent, "The Great White Buffalo"