Google releases new ‘open’ AI models with a focus on safety

Written by
Kyle Wiggers
Published on
July 31, 2024, 10:32 p.m.

Google has released a trio of new, “open” generative AI models that it’s calling “safer,” “smaller” and “more transparent” than most — a bold claim, to be sure.

They’re additions to Google’s Gemma 2 family of generative models, which debuted back in May. The new models, Gemma 2 2B, ShieldGemma and Gemma Scope, are designed for slightly different applications and use cases, but share in common a safety bent.

Google’s Gemma series of models are different from its Gemini models in that Google doesn’t make the source code available for Gemini, which is used by Google’s own products as well as being available to developers. Rather, Gemma is Google’s effort to foster goodwill within the developer community, much like Meta is attempting to do with Llama .

Gemma 2 2B is a lightweight model for generating analyzing text that can run on a range of hardware, including laptops and edge devices. It’s licensed for certain research and commercial applications and can be downloaded from sources such as Google’s Vertex AI model library, the data science platform Kaggle and Google’s AI Studio toolkit.

As for ShieldGemma, it’s a collection of “safety classifiers” that attempt to detect toxicity like hate speech, harassment and sexually explicit content. Built on top of Gemma 2, ShieldGemma can be used to filter prompts to a generative model as well as content that the model generates.

Lastly, Gemma Scope allows developers to “zoom in” on specific points within a Gemma 2 model and make its inner workings more interpretable. Here’s how Google describes it in a blog post: “[Gemma Scope is made up of] specialized neural networks that help us unpack the dense, complex information processed by Gemma 2, expanding it into a form that’s easier to analyze and understand. By studying these expanded views, researchers can gain valuable insights into how Gemma 2 identifies patterns, processes information and ultimately makes predictions.”

The release of the new Gemma 2 models comes shortly after the U.S. Commerce Department endorsed open AI models in a preliminary report. Open models broaden generative AI’s availability to smaller companies, researchers, nonprofits and individual developers, the report said, while also highlighting the need for capabilities to monitor such models for potential risks.

Weekly newsletter
No spam. Just the latest releases and tips, interesting articles, and exclusive interviews in your inbox every week.
Read about our privacy policy .
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.