lang icon En
Sept. 12, 2024, 7:45 a.m.
294

Introducing DataGemma: Grounding LLMs with Google’s Data Commons

Brief news summary

Large Language Models (LLMs) have revolutionized information access, but their reliability is compromised by inaccuracies known as hallucinations. To tackle this issue and promote responsible AI development, DataGemma emerges as an innovative suite of open models that links LLMs to verified data from Google’s Data Commons, providing easy access to crucial statistical information. Users can delve into various topics, such as California’s job market trends or global forest land changes, without requiring technical knowledge. DataGemma enhances LLM accuracy by incorporating reliable institutional data through advanced techniques like Retrieval Interleaved Generation (RIG) and Retrieval Augmented Generation (RAG), which enrich context using relevant information from Data Commons. While DataGemma marks a significant step towards achieving trustworthy AI, it is merely the beginning of an extensive journey. We encourage AI enthusiasts to explore these models on platforms like Hugging Face and Kaggle, and to collaborate in creating a future where AI consistently delivers accurate and factual information.

Large Language Models (LLMs) have changed the way we interact with information, but grounding their outputs in verifiable facts is still a major challenge. This difficulty is exacerbated by the fragmented nature of real-world knowledge across various sources with differing formats and APIs, which complicates integration. The lack of grounding often results in "hallucinations, " where LLMs produce incorrect or misleading information. Our research focuses on creating responsible and trustworthy AI systems, making it essential to address hallucinations in LLMs. We are pleased to introduce DataGemma, an experimental set of open models designed to tackle hallucination challenges by grounding LLMs in the extensive statistical data available in Google's Data Commons. This resource already features a natural language interface, allowing users to query data without having to write traditional database queries. For instance, one can ask, "What industries contribute to California jobs?” or "Have any countries increased their forest land?" DataGemma thus simplifies access to diverse data formats by acting as a universal API for LLMs. DataGemma enhances the Gemma family of lightweight, cutting-edge open models, which leverage technologies underlying our Gemini models. By utilizing the knowledge stored in Data Commons, DataGemma aims to improve the factual accuracy and reasoning of LLMs, employing advanced retrieval techniques to integrate data from credible institutions, thereby reducing hallucinations and enhancing reliability. DataGemma operates through natural language queries, negating the need for users to understand complex data schemas. It employs two methodologies: Retrieval Interleaved Generation (RIG) and Retrieval Augmented Generation (RAG). RAG retrieves relevant data from Data Commons prior to text generation, ensuring a solid factual basis for responses. A challenge with RAG is managing the vast amount of data returning from broad queries, which can average 38, 000 tokens, with some reaching up to 348, 000 tokens.

This is made feasible due to the Gemini 1. 5 Pro’s long context window, permitting extensive data integration. Here’s how RAG functions: 1. **User submission**: A user poses a question to the LLM. 2. **Query processing**: The DataGemma model analyzes the input and formulates a natural language query for Data Commons. 3. **Data retrieval**: The model queries Data Commons and retrieves pertinent data tables. 4. **Prompt augmentation**: The gathered data is integrated with the user’s original query. 5. **Response generation**: The larger LLM then generates a well-rounded and fact-based response using the enhanced prompt. Using this approach has advantages, such as improved accuracy as LLMs evolve and utilize context more effectively. However, modifying the user prompt can sometimes diminish the user experience, and the effectiveness largely depends on the quality of the generated queries. We recognize that DataGemma is just the beginning in developing grounded AI and invite researchers, developers, and enthusiasts to explore this tool with us. Our aim is to ground LLMs in Data Commons’ real-world data, enhancing AI's ability to provide intelligent, evidence-based information. We encourage a reading of our accompanying research paper for further insights. Moreover, we hope others extend this research beyond our approach with Data Commons, as it offers means for third parties to create their own instances. The principles of this research are also applicable to other knowledge graph formats, and we anticipate further exploration in this area. To get started with DataGemma, download the models from Hugging Face or Kaggle (RIG, RAG) and check out our quickstart notebooks that provide practical introductions to both approaches.


Watch video about

Introducing DataGemma: Grounding LLMs with Google’s Data Commons

Try our premium solution and start getting clients — at no cost to you

Content creator image

I'm your Content Creator.
Let’s make a post or video and publish it on any social media — ready?

Language

Hot news

March 1, 2026, 9:49 a.m.

AI Video Synthesis Techniques Create Realistic Vi…

Artificial intelligence (AI) video synthesis technologies are transforming the creation and experience of virtual environments across diverse fields, including gaming, professional training, and simulation exercises.

March 1, 2026, 9:20 a.m.

AI-Driven SEO: The Next Frontier in Digital Marke…

Artificial intelligence (AI) is rapidly emerging as a transformative force in digital marketing, significantly impacting search engine optimization (SEO).

March 1, 2026, 9:20 a.m.

Vista Social Integrates Canva's AI Image Generato…

Vista Social, a leading social media marketing platform renowned for its comprehensive and user-friendly tools, has introduced a major upgrade by integrating Canva’s AI Text to Image generator.

March 1, 2026, 9:18 a.m.

AI and the Evolution of Content Marketing

Artificial intelligence (AI) is transforming content marketing by enhancing the efficiency and data-driven nature of content creation, distribution, and optimization.

March 1, 2026, 9:15 a.m.

Google's DeepMind Unveils AlphaEvolve, an Evoluti…

In a major AI breakthrough, Google DeepMind unveiled AlphaEvolve in May 2025, an advanced AI agent that uses evolutionary algorithms to innovate and optimize computer programming.

March 1, 2026, 9:14 a.m.

Salesforce Targets Telco Gains with New Agentic A…

Salesforce has introduced a new suite of artificial intelligence agents specifically designed for telecommunications operators, aiming to transform how these companies manage their networks and customer services.

March 1, 2026, 5:31 a.m.

AI Visibility Increased by 667% Following SEO Ini…

Digital Silk, a renowned agency specializing in innovative brand strategies, custom website design, and impactful digital marketing, recently published a detailed case study highlighting significant improvements in AI-enhanced visibility and organic search performance for client BELFOR.

All news

AI Company

Launch your AI-powered team to automate Marketing, Sales & Growth

AI Company welcome image

and get clients on autopilot — from social media and search engines. No ads needed

Begin getting your first leads today