BLOOM can set a new culture for AI research—but challenges remain – TechTalks

<img data-lazy-fallback="1" data-attachment-id="14189" data-permalink="https://bdtechtalks.com/2022/07/18/bloom-large-language-model-ai-research/bloom-large-language-model/" data-orig-file="https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/BLOOM-large-language-model.jpg?fit=1920%2C1200&ssl=1" data-orig-size="1920,1200" data-comments-opened="1" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="BLOOM large language model" data-image-description data-image-caption="

Image credit: 123RF (with modifications)

” data-medium-file=”https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/BLOOM-large-language-model.jpg?fit=300%2C188&ssl=1″ data-large-file=”https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/BLOOM-large-language-model.jpg?fit=696%2C435&ssl=1″ width=”696″ height=”435″ src=”https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/BLOOM-large-language-model.jpg?resize=696%2C435&ssl=1″ alt=”BLOOM large language model” class=”wp-image-14189″ srcset=”https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/BLOOM-large-language-model.jpg?resize=1024%2C640&ssl=1 1024w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/BLOOM-large-language-model.jpg?resize=300%2C188&ssl=1 300w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/BLOOM-large-language-model.jpg?resize=768%2C480&ssl=1 768w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/BLOOM-large-language-model.jpg?resize=1536%2C960&ssl=1 1536w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/BLOOM-large-language-model.jpg?resize=696%2C435&ssl=1 696w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/BLOOM-large-language-model.jpg?resize=1068%2C668&ssl=1 1068w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/BLOOM-large-language-model.jpg?resize=672%2C420&ssl=1 672w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/BLOOM-large-language-model.jpg?w=1920&ssl=1 1920w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/BLOOM-large-language-model.jpg?w=1392&ssl=1 1392w” sizes=”(max-width: 696px) 100vw, 696px” data-recalc-dims=”1″>

Image credit: 123RF (with modifications)

This article is part of our coverage of the latest in AI research.

This week, the BigScience research project released BLOOM, a large language model that, at first glance, it looks like another attempt to reproduce OpenAI’s GPT-3.

But what makes BLOOM different from other LLMs is the effort that went into researching, developing, training, and releasing the machine learning model.

While in recent years, big tech companies have hidden LLMs like closely guarded trade secrets, BigScience has put transparency in openness at the center of BLOOM since the beginning of the project.

The result is a large language model that is highly accessible for research and study and available to everyone. The open-source and open-collaboration example that BLOOM has set can be very beneficial to the future of research in LLMs and other areas of artificial intelligence. But some of the challenges that are inherent to large language models remain to be solved.

What is BLOOM?

BLOOM transformer

BLOOM stands for “BigScience Large Open-science Open-access Multilingual Language Model.” From the figures, it doesn’t look much different from GPT-3 and OPT-175B. It is a very large transformer model with 176 billion parameters that has been trained on 1.6 terabytes of data, including natural language and software source code.

Like GPT-3, it can perform many tasks with zero- and few-shot learning, including text-generation, summarization, question-answering, and programming.

But what makes BLOOM significant is the organization behind it and the process that went into building it.

BigScience is a research project that was bootstrapped in 2021 by Hugging Face, the popular hub for machine learning models. According to its website, the project “aims to demonstrate another way of creating, studying, and sharing large language models and large research artefacts in general within the AI/NLP research communities.”

In this regard, BigScience takes “inspiration from scientific creation schemes such as CERN and the LHC, in which open scientific collaborations facilitate the creation of large-scale artefacts that are useful for the entire research community.”

In the span of a year, starting from May 2021, more than 1,000 researchers from 60 countries and more than 250 institutions worked together at BigScience to create BLOOM.

Transparency, openness, and inclusivity

biased data

While most major LLMs have been trained exclusively on English text, BLOOM’s training corpus includes 46 natural languages and 13 programming languages. This makes it useful for the many regions where English is not the main language.

BLOOM is also a break from the de facto reliance on big tech to train models. One of the main problems of LLMs is the prohibitive costs of training and tuning them. This hurdle has made 100-billion-parameter LLMs the exclusive domain of big tech companies with deep pockets. Recent years have seen AI labs gravitate toward big tech to gain access to subsidized cloud compute resources and fund their research.

In contrast, BigScience got a 3 million euro grant from the Centre National de la Recherche Scientifique (French National Center for Scientific Research) to train BLOOM on the supercomputer Jean Zay. There were no deals to give commercial companies exclusive license to the technology, and no commitment to commercialize the model and turn it into a profitable product.

Furthermore, the team has been completely transparent about the entire process of training the model. They have published the dataset, the meeting notes, discussions, and code, as well as the logs and technical details of training the model.

Researchers are studying the model’s data and metadata and publishing interesting findings.

And of course, the trained model itself is available for download on Hugging Face’s platform, which relieves researchers of the pain of spending millions of dollars on training.

Last month, Facebook open-sourced one of its LLMs under some restrictions. However, the level of transparency that BLOOM brings is unprecedented and will hopefully set a new standard for the industry.

“BLOOM is a demonstration that the most powerful AI models can be trained and released by the broader research community with accountability and in an actual open way, in contrast to the typical secrecy of industrial AI research labs,” said BLOOM Training co-lead, Teven Le Scao.

Challenges remain

<img data-lazy-fallback="1" data-attachment-id="14130" data-permalink="https://bdtechtalks.com/2022/07/11/large-language-models-zero-shot-reasoning/geometric-shapes-on-a-wooden-background/" data-orig-file="https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?fit=6000%2C4000&ssl=1" data-orig-size="6000,4000" data-comments-opened="1" data-image-meta="{"aperture":"4","credit":"","camera":"ILCE-6300","caption":"The concept of logical thinking. Geometric shapes on a gray background. Business building concept.","created_timestamp":"1552910514","copyright":"","focal_length":"50","iso":"100","shutter_speed":"0.008","title":"Geometric shapes on a wooden background.","orientation":"1"}" data-image-title="logical puzzle" data-image-description data-image-caption="

Image credit: 123RF

” data-medium-file=”https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?fit=300%2C200&ssl=1″ data-large-file=”https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?fit=696%2C464&ssl=1″ loading=”lazy” width=”696″ height=”464″ src=”https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?resize=696%2C464&ssl=1″ alt=”logical puzzle” class=”wp-image-14130″ srcset=”https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?resize=1024%2C683&ssl=1 1024w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?resize=300%2C200&ssl=1 300w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?resize=768%2C512&ssl=1 768w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?resize=1536%2C1024&ssl=1 1536w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?resize=2048%2C1365&ssl=1 2048w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?resize=696%2C464&ssl=1 696w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?resize=1068%2C712&ssl=1 1068w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?resize=630%2C420&ssl=1 630w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?resize=1920%2C1280&ssl=1 1920w, https://i0.wp.com/bdtechtalks.com/wp-content/uploads/2022/07/logical-puzzle.jpg?w=1392&ssl=1 1392w” sizes=”(max-width: 696px) 100vw, 696px” data-recalc-dims=”1″>

Image credit: 123RF

While the efforts of the BigScience to bring openness and transparency to AI research and large language models are commendable, the inherent challenges of the field remain unchanged.

LLM research is trending toward bigger and bigger models, which will further increase the costs of training and running them. BLOOM was trained on 384 Nvidia Tesla A100 GPUs (~$32,000 each). Larger models will require even larger compute clusters. BigScience has declared that it will continue to create other open-source LLMs, but it remains to be seen how it will fund its growingly costly research. (OpenAI, which started out as a non-profit organization, ended up becoming a for-profit organization that sells products and relies on funding from Microsoft.)

Another problem that remains to be solved is the huge costs of running the models. The compressed BLOOM model is 227 gigabytes large. Running it requires specialized hardware with hundreds of gigabytes of VRAM. For comparison, GPT-3 requires a computing cluster that is the equivalent of Nvidia DGX 2, which is priced at around $400,000. Hugging Face plans to launch an API platform that enables researchers to use the model for around $40 per hour, which is not a small cost.

The costs of running BLOOM will also affect the applied ML community, startups and organizations that want to build products powered by LLMs. Currently, the GPT-3 API offered by OpenAI is much more attuned to product development. It will be interesting to see which directions BigScience and Hugging Face will take to enable developers to create products on top of their valuable research.

In this regard, I’m looking forward to the smaller versions of the model that BigScience plans to release in the future. Contrary to the way they are often portrayed in the media, LLMs still follow the “no free lunch” theorem. This means that when it comes to applied ML, a more compact model that has been finetuned for a specific task is more efficient than a very large model that has average performance on many tasks. An example is Codex a modified version of GPT-3 that provides superb programming assistance at a fraction of GPT-3’s size and costs. GitHub is currently offering Copilot, a product built on Codex, at $10 per month.

With the new culture that BLOOM hopes to establish, it will be interesting to see which directions academic and applied AI will take in the future.

Spread the love

Leave a Reply

Your email address will not be published.