# Google Research

The latest news from Google AI.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Generative AI to quantify uncertainty in weather forecasting

DevFeed: [Generative AI to quantify uncertainty in weather forecasting](<https://devfeed.tech/articles/generative-ai-to-quantify-uncertainty-in-weather-forecasting-28557.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/generative-ai-to-quantify-uncertainty.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-29T18:03:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Climate / Weather / Ocean Modeling](<https://devfeed.tech/topics/climate-weather-ocean-modeling.md>), [Generative AI](<https://devfeed.tech/topics/generative-ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-model](<https://devfeed.tech/tags/ai-model.md>), [ai-technology](<https://devfeed.tech/tags/ai-technology.md>), [butterfly](<https://devfeed.tech/tags/butterfly.md>), [climate](<https://devfeed.tech/tags/climate.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [diffusion-models](<https://devfeed.tech/tags/diffusion-models.md>), [extreme-weather](<https://devfeed.tech/tags/extreme-weather.md>), [forecasting](<https://devfeed.tech/tags/forecasting.md>), [generative](<https://devfeed.tech/tags/generative.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [google](<https://devfeed.tech/tags/google.md>), [google-research](<https://devfeed.tech/tags/google-research.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [mit](<https://devfeed.tech/tags/mit.md>), [physics](<https://devfeed.tech/tags/physics.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>), [simulation](<https://devfeed.tech/tags/simulation.md>), [uncertainty](<https://devfeed.tech/tags/uncertainty.md>), [weather](<https://devfeed.tech/tags/weather.md>), [weather-forecasting](<https://devfeed.tech/tags/weather-forecasting.md>)

### AI overview

SEEDS uses a diffusion model to expand one or two physics-based weather forecasts into large ensembles at far lower computational cost than running a numerical weather model repeatedly. In the reported results, its ensembles matched or exceeded physics-based ensembles on several skill metrics and better represented rare tail events. At 2° resolution, it generated 256 members in three minutes on Google Cloud TPUv3-32 instances. Unlike a pointwise Gaussian model, SEEDS models the joint atmospheric distribution and captures spatial and cross-field correlations. In a seven-day forecast case for the 2022 European heat event, it generated 16,384 members from two seed forecasts and covered observed conditions that none of the operational ensemble's 31 members reached. These findings describe the study's reported cases; SEEDS is presented as a hybrid approach that supplements, rather than replaces, physics-based forecasts.

### Source excerpt

Posted by Lizao (Larry) Li, Software Engineer, and Rob Carver, Research Scientist, Google Research Accurate weather forecasts can have a direct impact on people's lives, from helping make routine decisions, like what to pack for a day's activities, to informing urgent actions, for example, protecting people in the face of hazardous weather conditions. The importance of accurate and timely weather forecasts will only increase as the climate changes. Recognizing this, we at Google have been investing in weather and climate research to help ensure that the forecasting technology of tomorrow can meet the demand for reliable weather information. Some of our recent innovations include MetNet-3, Google's high-resolution forecasts up to 24-hours into the future, and GraphCast, a weather model that can predict weather up to 10 days ahead. Weather is inherently stochastic. To quantify the uncertainty, traditional methods rely on physics-based simulation to generate an ensemble of forecasts. However, it is computationally costly to generate a large ensemble so that rare and extreme weather events can be discerned and characterized accurately. With that in mind, we are excited to announce our latest innovation designed to accelerate progress in weather forecasting, Scalable Ensemble Envelope Diffusion Sampler (SEEDS), recently published in Science Advances. SEEDS is a generative AI model that can efficiently generate ensembles of weather forecasts at scale at a small fraction of the cost of traditional physics-based forecasting models. This technology opens up novel opportunities for weather and climate science, and it represents one of the first applications to weather and climate forecasting of probabilistic diffusion models, a generative AI technology behind recent advances in media generation. The need for probabilistic forecasts: the butterfly effect In December 1972, at the American Association for the Advancement of Science meeting in Washington, D.C., MIT meteorology pr

## AutoBNN: Probabilistic time series forecasting with compositional bayesian neural networks

DevFeed: [AutoBNN: Probabilistic time series forecasting with compositional bayesian neural networks](<https://devfeed.tech/articles/autobnn-probabilistic-time-series-forecasting-with-compositional-bayesian-neural-networks-28552.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/autobnn-probabilistic-time-series.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-28T20:53:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Time Series](<https://devfeed.tech/topics/time-series.md>), [Google](<https://devfeed.tech/topics/google.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [data](<https://devfeed.tech/tags/data.md>), [forecasting](<https://devfeed.tech/tags/forecasting.md>), [google](<https://devfeed.tech/tags/google.md>), [kernels](<https://devfeed.tech/tags/kernels.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [model](<https://devfeed.tech/tags/model.md>), [neural-networks](<https://devfeed.tech/tags/neural-networks.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [research](<https://devfeed.tech/tags/research.md>), [statistics](<https://devfeed.tech/tags/statistics.md>), [time-series](<https://devfeed.tech/tags/time-series.md>)

### AI overview

Google Research introduces AutoBNN, an open-source JAX package for automatically discovering interpretable probabilistic time series forecasting models. It combines learned compositional Gaussian process kernels with neural-network scalability and provides uncertainty estimates for large datasets.

### Source excerpt

Posted by Urs Köster, Software Engineer, Google Research Time series problems are ubiquitous, from forecasting weather and traffic patterns to understanding economic trends. Bayesian approaches start with an assumption about the data's patterns (prior probability), collecting evidence (e.g., new time series data), and continuously updating that assumption to form a posterior probability distribution. Traditional Bayesian approaches like Gaussian processes (GPs) and Structural Time Series are extensively used for modeling time series data, e.g., the commonly used Mauna Loa CO2 dataset. However, they often rely on domain experts to painstakingly select appropriate model components and may be computationally expensive. Alternatives such as neural networks lack interpretability, making it difficult to understand how they generate forecasts, and don't produce reliable confidence intervals. To that end, we introduce AutoBNN, a new open-source package written in JAX. AutoBNN automates the discovery of interpretable time series forecasting models, provides high-quality uncertainty estimates, and scales effectively for use on large datasets. We describe how AutoBNN combines the interpretability of traditional probabilistic approaches with the scalability and flexibility of neural networks. AutoBNN AutoBNN is based on a line of research that over the past decade has yielded improved predictive accuracy by modeling time series using GPs with learned kernel structures. The kernel function of a GP encodes assumptions about the function being modeled, such as the presence of trends, periodicity or noise. With learned GP kernels, the kernel function is defined compositionally: it is either a base kernel (such as Linear, Quadratic, Periodic, Matérn or ExponentiatedQuadratic) or a composite that combines two or more kernel functions using operators such as Addition, Multiplication, or ChangePoint. This compositional kernel structure serves two related purposes. First, it is simple e

## Computer-aided diagnosis for lung cancer screening

DevFeed: [Computer-aided diagnosis for lung cancer screening](<https://devfeed.tech/articles/computer-aided-diagnosis-for-lung-cancer-screening-28555.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/computer-aided-diagnosis-for-lung.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-20T20:54:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [image recognition](<https://devfeed.tech/topics/image-recognition.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [human computer interaction](<https://devfeed.tech/topics/human-computer-interaction.md>), [human centric design](<https://devfeed.tech/topics/human-centric-design.md>), [Model Development](<https://devfeed.tech/topics/model-development.md>)

Tags: [3d](<https://devfeed.tech/tags/3d.md>), [ai](<https://devfeed.tech/tags/ai.md>), [anxiety](<https://devfeed.tech/tags/anxiety.md>), [cancer](<https://devfeed.tech/tags/cancer.md>), [costs](<https://devfeed.tech/tags/costs.md>), [detection](<https://devfeed.tech/tags/detection.md>), [diagnosis](<https://devfeed.tech/tags/diagnosis.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [false-positives](<https://devfeed.tech/tags/false-positives.md>), [google](<https://devfeed.tech/tags/google.md>), [google-research](<https://devfeed.tech/tags/google-research.md>), [health](<https://devfeed.tech/tags/health.md>), [healthcare](<https://devfeed.tech/tags/healthcare.md>), [interface](<https://devfeed.tech/tags/interface.md>), [japan](<https://devfeed.tech/tags/japan.md>), [learning](<https://devfeed.tech/tags/learning.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [ml](<https://devfeed.tech/tags/ml.md>), [ml-models](<https://devfeed.tech/tags/ml-models.md>), [models](<https://devfeed.tech/tags/models.md>), [performance](<https://devfeed.tech/tags/performance.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>)

### AI overview

The assistive lung cancer screening system adds a four-level cancer suspicion rating and localized regions of interest to CT studies, so radiologists can consider model results alongside their usual guidelines without changing their workstation. In randomized reader studies, 12 radiologists in the US and Japan reviewed 627 challenging cases with and without model assistance, using their local scoring systems. Assistance increased specificity by an absolute 5-7%, meaning readers more often correctly identified scans without actionable cancer findings; the authors estimate this could help one patient in every 15-20 avoid unnecessary follow-up. The system's guideline-independent output and shared interface were evaluated across the two settings. The results come from retrospective studies using de-identified scans, and the text describes exploration of future product integration rather than established clinical deployment.

### Source excerpt

Posted by Atilla Kiraly, Software Engineer, and Rory Pilgrim, Product Manager, Google Research Lung cancer is the leading cause of cancer-related deaths globally with 1.8 million deaths reported in 2020. Late diagnosis dramatically reduces the chances of survival. Lung cancer screening via computed tomography (CT), which provides a detailed 3D image of the lungs, has been shown to reduce mortality in high-risk populations by at least 20% by detecting potential signs of cancers earlier. In the US, screening involves annual scans, with some countries or cases recommending more or less frequent scans. The United States Preventive Services Task Force recently expanded lung cancer screening recommendations by roughly 80%, which is expected to increase screening access for women and racial and ethnic minority groups. However, false positives (i.e., incorrectly reporting a potential cancer in a cancer-free patient) can cause anxiety and lead to unnecessary procedures for patients while increasing costs for the healthcare system. Moreover, efficiency in screening a large number of individuals can be challenging depending on healthcare infrastructure and radiologist availability. At Google we have previously developed machine learning (ML) models for lung cancer detection, and have evaluated their ability to automatically detect and classify regions that show signs of potential cancer. Performance has been shown to be comparable to that of specialists in detecting possible cancer. While they have achieved high performance, effectively communicating findings in realistic environments is necessary to realize their full potential. To that end, in "Assistive AI in Lung Cancer Screening: A Retrospective Multinational Study in the US and Japan", published in Radiology AI, we investigate how ML models can effectively communicate findings to radiologists. We also introduce a generalizable user-centric interface to help radiologists leverage such models for lung cancer screening. The

## Using AI to expand global access to reliable flood forecasts

DevFeed: [Using AI to expand global access to reliable flood forecasts](<https://devfeed.tech/articles/using-ai-to-expand-global-access-to-reliable-flood-forecasts-28566.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/using-ai-to-expand-global-access-to.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-20T16:06:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Climate / Weather / Ocean Modeling](<https://devfeed.tech/topics/climate-weather-ocean-modeling.md>)

Tags: [1-5](<https://devfeed.tech/tags/1-5.md>), [africa](<https://devfeed.tech/tags/africa.md>), [ai](<https://devfeed.tech/tags/ai.md>), [alerts](<https://devfeed.tech/tags/alerts.md>), [android](<https://devfeed.tech/tags/android.md>), [asia](<https://devfeed.tech/tags/asia.md>), [climate](<https://devfeed.tech/tags/climate.md>), [climate-change](<https://devfeed.tech/tags/climate-change.md>), [data](<https://devfeed.tech/tags/data.md>), [early-warning](<https://devfeed.tech/tags/early-warning.md>), [ecmwf](<https://devfeed.tech/tags/ecmwf.md>), [environment](<https://devfeed.tech/tags/environment.md>), [europe](<https://devfeed.tech/tags/europe.md>), [forecasting](<https://devfeed.tech/tags/forecasting.md>), [global](<https://devfeed.tech/tags/global.md>), [google](<https://devfeed.tech/tags/google.md>), [google-research](<https://devfeed.tech/tags/google-research.md>), [google-search](<https://devfeed.tech/tags/google-search.md>), [hub](<https://devfeed.tech/tags/hub.md>), [machine](<https://devfeed.tech/tags/machine.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>)

### AI overview

Google Research reports that machine learning models trained on streamflow records from 5,680 gauged watersheds can forecast floods in ungauged basins, where gauge data are unavailable. Its two-stage LSTM model combines historical and forecast weather with watershed characteristics and produces probabilistic river-flow predictions. In comparisons with GloFAS version 4, the model achieved reliability at four- to five-day lead times similar to or better than GloFAS nowcasts, and performed better on larger, rarer events by the article's reported precision and recall measures. The work supports Flood Hub forecasts up to seven days ahead across river reaches in more than 80 countries. The authors note that coverage still needs to expand, including for flash and urban floods.

### Source excerpt

Posted by Yossi Matias, VP Engineering & Research, and Grey Nearing, Research Scientist, Google Research Floods are the most common natural disaster, and are responsible for roughly $50 billion in annual financial damages worldwide. The rate of flood-related disasters has more than doubled since the year 2000 partly due to climate change. Nearly 1.5 billion people, making up 19% of the world's population, are exposed to substantial risks from severe flood events. Upgrading early warning systems to make accurate and timely information accessible to these populations can save thousands of lives per year. Driven by the potential impact of reliable flood forecasting on people's lives globally, we started our flood forecasting effort in 2017. Through this multi-year journey, we advanced research over the years hand-in-hand with building a real-time operational flood forecasting system that provides alerts on Google Search, Maps, Android notifications and through the Flood Hub. However, in order to scale globally, especially in places where accurate local data is not available, more research advances were required. In "Global prediction of extreme floods in ungauged watersheds", published in Nature, we demonstrate how machine learning (ML) technologies can significantly improve global-scale flood forecasting relative to the current state-of-the-art for countries where flood-related data is scarce. With these AI-based technologies we extended the reliability of currently-available global nowcasts, on average, from zero to five days, and improved forecasts across regions in Africa and Asia to be similar to what are currently available in Europe. The evaluation of the models was conducted in collaboration with the European Center for Medium Range Weather Forecasting (ECMWF). These technologies also enable Flood Hub to provide real-time river forecasts up to seven days in advance, covering river reaches across over 80 countries. This information can be used by people, communi

## ScreenAI: A visual language model for UI and visually-situated language understanding

DevFeed: [ScreenAI: A visual language model for UI and visually-situated language understanding](<https://devfeed.tech/articles/screenai-a-visual-language-model-for-ui-and-visually-situated-language-understanding-28563.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/screenai-visual-language-model-for-ui.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-19T20:15:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [vlm](<https://devfeed.tech/topics/vlm.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [dataset](<https://devfeed.tech/topics/dataset.md>), [model architecture](<https://devfeed.tech/topics/model-architecture.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [multimodal-ai](<https://devfeed.tech/topics/multimodal-ai.md>)

Tags: [annotations](<https://devfeed.tech/tags/annotations.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [hci](<https://devfeed.tech/tags/hci.md>), [model](<https://devfeed.tech/tags/model.md>), [multimodal](<https://devfeed.tech/tags/multimodal.md>), [multimodal-learning](<https://devfeed.tech/tags/multimodal-learning.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [self-supervised-learning](<https://devfeed.tech/tags/self-supervised-learning.md>), [ui](<https://devfeed.tech/tags/ui.md>), [visual-language](<https://devfeed.tech/tags/visual-language.md>)

### AI overview

ScreenAI combines PaLI's multimodal encoder and autoregressive decoder with pix2struct's aspect-ratio-preserving patching to process UI and infographic images. Its two-stage training uses automatically generated labels for pre-training, then mostly human-labeled data for fine-tuning. Screen annotations identify UI elements and their locations and descriptions; OCR, icon classification, image captioning, and LLM-generated examples help create training data for question answering, navigation, and summarization. At 5B parameters, the authors report state-of-the-art results on WebSRC and MoTIF and best-in-class performance among similarly sized models on Chart QA, DocVQA, and InfographicVQA. They also report competitive results on Screen2Words and OCR-VQA. Performance continued to improve with model size, and the authors note that their approach still trails larger models.

### Source excerpt

Posted by Srinivas Sunkara and Gilles Baechler, Software Engineers, Google Research Screen user interfaces (UIs) and infographics, such as charts, diagrams and tables, play important roles in human communication and human-machine interaction as they facilitate rich and interactive user experiences. UIs and infographics share similar design principles and visual language (e.g., icons and layouts), that offer an opportunity to build a single model that can understand, reason, and interact with these interfaces. However, because of their complexity and varied presentation formats, infographics and UIs present a unique modeling challenge. To that end, we introduce "ScreenAI: A Vision-Language Model for UI and Infographics Understanding". ScreenAI improves upon the PaLI architecture with the flexible patching strategy from pix2struct. We train ScreenAI on a unique mixture of datasets and tasks, including a novel Screen Annotation task that requires the model to identify UI element information (i.e., type, location and description) on a screen. These text annotations provide large language models (LLMs) with screen descriptions, enabling them to automatically generate question-answering (QA), UI navigation, and summarization training datasets at scale. At only 5B parameters, ScreenAI achieves state-of-the-art results on UI- and infographic-based tasks (WebSRC and MoTIF), and best-in-class performance on Chart QA, DocVQA, and InfographicVQA compared to models of similar size. We are also releasing three new datasets: Screen Annotation to evaluate the layout understanding capability of the model, as well as ScreenQA Short and Complex ScreenQA for a more comprehensive evaluation of its QA capability. ScreenAI ScreenAI's architecture is based on PaLI, composed of a multimodal encoder block and an autoregressive decoder. The PaLI encoder uses a vision transformer (ViT) that creates image embeddings and a multimodal encoder that takes the concatenation of the image and text emb

## SCIN: A new resource for representative dermatology images

DevFeed: [SCIN: A new resource for representative dermatology images](<https://devfeed.tech/articles/scin-a-new-resource-for-representative-dermatology-images-28562.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/scin-new-resource-for-representative.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-19T15:00:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [dataset](<https://devfeed.tech/topics/dataset.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Google](<https://devfeed.tech/topics/google.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [consent](<https://devfeed.tech/tags/consent.md>), [crowd-sourcing](<https://devfeed.tech/tags/crowd-sourcing.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [developers](<https://devfeed.tech/tags/developers.md>), [diversity](<https://devfeed.tech/tags/diversity.md>), [google](<https://devfeed.tech/tags/google.md>), [health](<https://devfeed.tech/tags/health.md>), [open](<https://devfeed.tech/tags/open.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [research](<https://devfeed.tech/tags/research.md>)

### AI overview

Google Research Health is releasing the Skin Condition Image Network (SCIN), an open-access dermatology image dataset created with Stanford Medicine physicians. It contains over 10,000 voluntarily contributed images covering skin, nail, and hair conditions across various skin tones and body parts, with retrospective dermatologist labels and contributor-provided metadata.

### Source excerpt

Posted by Pooja Rao, Research Scientist, Google Research Health datasets play a crucial role in research and medical education, but it can be challenging to create a dataset that represents the real world. For example, dermatology conditions are diverse in their appearance and severity and manifest differently across skin tones. Yet, existing dermatology image datasets often lack representation of everyday conditions (like rashes, allergies and infections) and skew towards lighter skin tones. Furthermore, race and ethnicity information is frequently missing, hindering our ability to assess disparities or create solutions. To address these limitations, we are releasing the Skin Condition Image Network (SCIN) dataset in collaboration with physicians at Stanford Medicine. We designed SCIN to reflect the broad range of concerns that people search for online, supplementing the types of conditions typically found in clinical datasets. It contains images across various skin tones and body parts, helping to ensure that future AI tools work effectively for all. We've made the SCIN dataset freely available as an open-access resource for researchers, educators, and developers, and have taken careful steps to protect contributor privacy. Example set of images and metadata from the SCIN dataset. Dataset composition The SCIN dataset currently contains over 10,000 images of skin, nail, or hair conditions, directly contributed by individuals experiencing them. All contributions were made voluntarily with informed consent by individuals in the US, under an institutional-review board approved study. To provide context for retrospective dermatologist labeling, contributors were asked to take images both close-up and from slightly further away. They were given the option to self-report demographic information and tanning propensity (self-reported Fitzpatrick Skin Type, i.e., sFST), and to describe the texture, duration and symptoms related to their concern. One to three dermatologists

## MELON: Reconstructing 3D objects from images with unknown poses

DevFeed: [MELON: Reconstructing 3D objects from images with unknown poses](<https://devfeed.tech/articles/melon-reconstructing-3d-objects-from-images-with-unknown-poses-28561.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/melon-reconstructing-3d-objects-from.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-18T18:41:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Computer vision](<https://devfeed.tech/topics/computer-vision.md>), [3D](<https://devfeed.tech/topics/3d.md>), [gaussian splatting](<https://devfeed.tech/topics/gaussian-splatting.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [Image processing](<https://devfeed.tech/topics/image-processing.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [3d](<https://devfeed.tech/tags/3d.md>), [applications](<https://devfeed.tech/tags/applications.md>), [autonomous](<https://devfeed.tech/tags/autonomous.md>), [camera](<https://devfeed.tech/tags/camera.md>), [computer-vision](<https://devfeed.tech/tags/computer-vision.md>), [dimension](<https://devfeed.tech/tags/dimension.md>), [e-commerce](<https://devfeed.tech/tags/e-commerce.md>), [gaussian](<https://devfeed.tech/tags/gaussian.md>), [gaussian-splatting](<https://devfeed.tech/tags/gaussian-splatting.md>), [inference](<https://devfeed.tech/tags/inference.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [neural](<https://devfeed.tech/tags/neural.md>), [range](<https://devfeed.tech/tags/range.md>), [rotation](<https://devfeed.tech/tags/rotation.md>), [similarity](<https://devfeed.tech/tags/similarity.md>), [techniques](<https://devfeed.tech/tags/techniques.md>)

### AI overview

MELON jointly infers object centered camera poses and reconstructs a NeRF from a few unposed images, without pose initialization or pretraining. It combines a small CNN initialized from noise, which predicts poses from downscaled images, with a modulo loss that tests multiple symmetry related viewpoints and backpropagates through the best fitting view. The authors report accurate reconstruction from as few as 4-6 images; on the NeRF Synthetic benchmark, poses approach their inferred optima within about 1,000 training steps and novel view quality reaches 27.5 dB PSNR after 50,000 steps. MELON also handled heavily noise corrupted synthetic images. The evaluation assumes fixed camera distance and a consistent up direction, so only latitude and longitude must be inferred. Results are demonstrated on synthetic images; adaptation to real world conditions is ongoing.

### Source excerpt

Posted by Mark Matthews, Senior Software Engineer, and Dmitry Lagun, Research Scientist, Google Research A person's prior experience and understanding of the world generally enables them to easily infer what an object looks like in whole, even if only looking at a few 2D pictures of it. Yet the capacity for a computer to reconstruct the shape of an object in 3D given only a few images has remained a difficult algorithmic problem for years. This fundamental computer vision task has applications ranging from the creation of e-commerce 3D models to autonomous vehicle navigation. A key part of the problem is how to determine the exact positions from which images were taken, known as pose inference. If camera poses are known, a range of successful techniques -- such as neural radiance fields (NeRF) or 3D Gaussian Splatting -- can reconstruct an object in 3D. But if these poses are not available, then we face a difficult "chicken and egg" problem where we could determine the poses if we knew the 3D object, but we can't reconstruct the 3D object until we know the camera poses. The problem is made harder by pseudo-symmetries -- i.e., many objects look similar when viewed from different angles. For example, square objects like a chair tend to look similar every 90° rotation. Pseudo-symmetries of an object can be revealed by rendering it on a turntable from various angles and plotting its photometric self-similarity map. Self-Similarity map of a toy truck model. Left: The model is rendered on a turntable from various azimuthal angles, θ. Right: The average L2 RGB similarity of a rendering from θ with that of θ*. The pseudo-similarities are indicated by the dashed red lines. The diagram above only visualizes one dimension of rotation. It becomes even more complex (and difficult to visualize) when introducing more degrees of freedom. Pseudo-symmetries make the problem ill-posed, with naïve approaches often converging to local minima. In practice, such an approach might mistake the

## HEAL: A framework for health equity assessment of machine learning performance

DevFeed: [HEAL: A framework for health equity assessment of machine learning performance](<https://devfeed.tech/articles/heal-a-framework-for-health-equity-assessment-of-machine-learning-performance-28559.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/heal-framework-for-health-equity.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-15T18:22:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [ai evaluation](<https://devfeed.tech/topics/ai-evaluation.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-fairness](<https://devfeed.tech/tags/ai-fairness.md>), [ai-model](<https://devfeed.tech/tags/ai-model.md>), [ai-technology](<https://devfeed.tech/tags/ai-technology.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [artificial-intelligence-ai](<https://devfeed.tech/tags/artificial-intelligence-ai.md>), [assessment](<https://devfeed.tech/tags/assessment.md>), [based](<https://devfeed.tech/tags/based.md>), [cancer](<https://devfeed.tech/tags/cancer.md>), [case-study](<https://devfeed.tech/tags/case-study.md>), [core](<https://devfeed.tech/tags/core.md>), [equity](<https://devfeed.tech/tags/equity.md>), [example](<https://devfeed.tech/tags/example.md>), [existing](<https://devfeed.tech/tags/existing.md>), [framework](<https://devfeed.tech/tags/framework.md>), [health](<https://devfeed.tech/tags/health.md>), [learning](<https://devfeed.tech/tags/learning.md>), [machine](<https://devfeed.tech/tags/machine.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [performance](<https://devfeed.tech/tags/performance.md>), [responsible-ai](<https://devfeed.tech/tags/responsible-ai.md>)

### AI overview

HEAL assesses whether a health ML model prioritizes performance for groups with worse existing health outcomes, a goal distinct from equal performance across groups. Its four steps identify inequity factors and performance measures, quantify existing disparities, measure model performance by subgroup, and calculate a HEAL metric based on how performance correlates with health outcome rankings. In a retrospective dermatology case study, the model was estimated to perform equitably across race/ethnicity (80.5%) and sex (92.1%); results showed room to improve performance for older adults with non-cancer skin conditions. HEAL does not model causation and cannot establish whether a tool reduces real-world outcome disparities. The metric also needs context, including data representativeness, and should be paired with a Pareto condition so improvements do not worsen any subgroup's performance.

### Source excerpt

Posted by Mike Schaekermann, Research Scientist, Google Research, and Ivor Horn, Chief Health Equity Officer & Director, Google Core Health equity is a major societal concern worldwide with disparities having many causes. These sources include limitations in access to healthcare, differences in clinical treatment, and even fundamental differences in the diagnostic technology. In dermatology for example, skin cancer outcomes are worse for populations such as minorities, those with lower socioeconomic status, or individuals with limited healthcare access. While there is great promise in recent advances in machine learning (ML) and artificial intelligence (AI) to help improve healthcare, this transition from research to bedside must be accompanied by a careful understanding of whether and how they impact health equity. Health equity is defined by public health organizations as fairness of opportunity for everyone to be as healthy as possible. Importantly, equity may be different from equality. For example, people with greater barriers to improving their health may require more or different effort to experience this fair opportunity. Similarly, equity is not fairness as defined in the AI for healthcare literature. Whereas AI fairness often strives for equal performance of the AI technology across different patient populations, this does not center the goal of prioritizing performance with respect to pre-existing health disparities. Health equity considerations. An intervention (e.g., an ML-based tool, indicated in dark blue) promotes health equity if it helps reduce existing disparities in health outcomes (indicated in lighter blue). In "Health Equity Assessment of machine Learning performance (HEAL): a framework and dermatology AI model case study", published in The Lancet eClinicalMedicine, we propose a methodology to quantitatively assess whether ML-based health technologies perform equitably. In other words, does the ML model perform well for those with the worst he

## Cappy: Outperforming and boosting large multi-task language models with a small scorer

DevFeed: [Cappy: Outperforming and boosting large multi-task language models with a small scorer](<https://devfeed.tech/articles/cappy-outperforming-and-boosting-large-multi-task-language-models-with-a-small-scorer-28553.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/cappy-outperforming-and-boosting-large.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-14T19:38:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [post-training](<https://devfeed.tech/topics/post-training.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [demand](<https://devfeed.tech/tags/demand.md>), [generation](<https://devfeed.tech/tags/generation.md>), [google](<https://devfeed.tech/tags/google.md>), [gpus](<https://devfeed.tech/tags/gpus.md>), [inference](<https://devfeed.tech/tags/inference.md>), [instructions](<https://devfeed.tech/tags/instructions.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [llm](<https://devfeed.tech/tags/llm.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [memory](<https://devfeed.tech/tags/memory.md>), [natural-language](<https://devfeed.tech/tags/natural-language.md>), [natural-language-processing](<https://devfeed.tech/tags/natural-language-processing.md>), [neurips](<https://devfeed.tech/tags/neurips.md>), [nlp](<https://devfeed.tech/tags/nlp.md>), [performance](<https://devfeed.tech/tags/performance.md>), [power](<https://devfeed.tech/tags/power.md>), [research](<https://devfeed.tech/tags/research.md>), [size](<https://devfeed.tech/tags/size.md>), [software-engineers](<https://devfeed.tech/tags/software-engineers.md>), [storage](<https://devfeed.tech/tags/storage.md>), [tpus](<https://devfeed.tech/tags/tpus.md>), [train](<https://devfeed.tech/tags/train.md>)

### AI overview

Cappy is a 360-million-parameter scorer that estimates whether a response fits an instruction, offering a way to improve multi-task LLM predictions without back-propagating through the LLM. Built on RoBERTa, it was continuously pretrained on 160 million instruction-response examples labeled with Rouge-L similarity to ground-truth responses. For classification, it scores predefined answers directly; for generation, it ranks candidates produced by an LLM. With downstream training data, users can fine-tune Cappy on task-specific scored examples while keeping the backbone LLM frozen, including closed-source models accessed through Web APIs. The article reports that Cappy outperformed OPT-175B and OPT-IML-30B and matched T0-11B and OPT-IML-175B on 11 held-out classification tasks. On 45 BIG-Bench generation tasks, it improved FLAN-T5 performance and beat the tested self-scoring baseline. The authors say its use with in-context learning or other adaptation methods can provide further gains.

### Source excerpt

Posted by Yun Zhu and Lijuan Liu, Software Engineers, Google Research Large language model (LLM) advancements have led to a new paradigm that unifies various natural language processing (NLP) tasks within an instruction-following framework. This paradigm is exemplified by recent multi-task LLMs, such as T0, FLAN, and OPT-IML. First, multi-task data is gathered with each task following a task-specific template, where each labeled example is converted into an instruction (e.g., "Put the concepts together to form a sentence: ski, mountain, skier") paired with a corresponding response (e.g., "Skier skis down the mountain"). These instruction-response pairs are used to train the LLM, resulting in a conditional generation model that takes an instruction as input and generates a response. Moreover, multi-task LLMs have exhibited remarkable task-wise generalization capabilities as they can address unseen tasks by understanding and solving brand-new instructions. The demonstration of the instruction-following pre-training of multi-task LLMs, e.g., FLAN. Pre-training tasks under this paradigm improves the performance for unseen tasks. Due to the complexity of understanding and solving various tasks solely using instructions, the size of multi-task LLMs typically spans from several billion parameters to hundreds of billions (e.g., FLAN-11B, T0-11B and OPT-IML-175B). As a result, operating such sizable models poses significant challenges because they demand considerable computational power and impose substantial requirements on the memory capacities of GPUs and TPUs, making their training and inference expensive and inefficient. Extensive storage is required to maintain a unique LLM copy for each downstream task. Moreover, the most powerful multi-task LLMs (e.g., FLAN-PaLM-540B) are closed-sourced, making them impossible to be adapted. However, in practical applications, harnessing a single multi-task LLM to manage all conceivable tasks in a zero-shot manner remains difficult,

## Talk like a graph: Encoding graphs for large language models

DevFeed: [Talk like a graph: Encoding graphs for large language models](<https://devfeed.tech/articles/talk-like-a-graph-encoding-graphs-for-large-language-models-28565.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/talk-like-graph-encoding-graphs-for.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-12T21:15:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [graph theory](<https://devfeed.tech/topics/graph-theory.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Graphs](<https://devfeed.tech/topics/graphs.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [encoding](<https://devfeed.tech/tags/encoding.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [graph](<https://devfeed.tech/tags/graph.md>), [graphs](<https://devfeed.tech/tags/graphs.md>), [iclr](<https://devfeed.tech/tags/iclr.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [performance](<https://devfeed.tech/tags/performance.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [tasks](<https://devfeed.tech/tags/tasks.md>), [techniques](<https://devfeed.tech/tags/techniques.md>), [text](<https://devfeed.tech/tags/text.md>)

### AI overview

The study finds that LLM performance on graph problems depends on how graphs are encoded as text, the task, and graph structure; choosing an encoding can improve accuracy by around 5% to over 60%. The authors introduce GraphQA, a benchmark spanning varied graph types and basic tasks such as edge checks, counting nodes or edges, finding neighbors, and detecting cycles. Their experiments also show that graph shape affects results: models handled cycle checks well on densely connected graphs but struggled on paths, while mixed few-shot examples helped them adapt. The article presents encoding choices and task-specific prompts as factors to evaluate, without identifying one universally best representation.

### Source excerpt

Posted by Bahare Fatemi and Bryan Perozzi, Research Scientists, Google Research Imagine all the things around you -- your friends, tools in your kitchen, or even the parts of your bike. They are all connected in different ways. In computer science, the term graph is used to describe connections between objects. Graphs consist of nodes (the objects themselves) and edges (connections between two nodes, indicating a relationship between them). Graphs are everywhere now. The internet itself is a giant graph of websites linked together. Even the knowledge search engines use is organized in a graph-like way. Furthermore, consider the remarkable advancements in artificial intelligence -- such as chatbots that can write stories in seconds, and even software that can interpret medical reports. This exciting progress is largely thanks to large language models (LLMs). New LLM technology is constantly being developed for different uses. Since graphs are everywhere and LLM technology is on the rise, in "Talk like a Graph: Encoding Graphs for Large Language Models", presented at ICLR 2024, we present a way to teach powerful LLMs how to better reason with graph information. Graphs are a useful way to organize information, but LLMs are mostly trained on regular text. The objective is to test different techniques to see what works best and gain practical insights. Translating graphs into text that LLMs can understand is a remarkably complex task. The difficulty stems from the inherent complexity of graph structures with multiple nodes and the intricate web of edges that connect them. Our work studies how to take a graph and translate it into a format that an LLM can understand. We also design a benchmark called GraphQA to study different approaches on different graph reasoning problems and show how to phrase a graph-related problem in a way that enables the LLM to solve the graph problem. We show that LLM performance on graph reasoning tasks varies on three fundamental levels: 1) the

## Chain-of-table: Evolving tables in the reasoning chain for table understanding

DevFeed: [Chain-of-table: Evolving tables in the reasoning chain for table understanding](<https://devfeed.tech/articles/chain-of-table-evolving-tables-in-the-reasoning-chain-for-table-understanding-28554.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/chain-of-table-evolving-tables-in.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-11T19:08:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Language Engineering](<https://devfeed.tech/topics/language-engineering.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [chain-of-thought](<https://devfeed.tech/tags/chain-of-thought.md>), [data](<https://devfeed.tech/tags/data.md>), [framework](<https://devfeed.tech/tags/framework.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [machine-intelligence](<https://devfeed.tech/tags/machine-intelligence.md>), [natural-language](<https://devfeed.tech/tags/natural-language.md>), [natural-language-processing](<https://devfeed.tech/tags/natural-language-processing.md>), [nlp](<https://devfeed.tech/tags/nlp.md>), [performance](<https://devfeed.tech/tags/performance.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [research](<https://devfeed.tech/tags/research.md>), [sql](<https://devfeed.tech/tags/sql.md>), [structured](<https://devfeed.tech/tags/structured.md>), [table](<https://devfeed.tech/tags/table.md>), [tables](<https://devfeed.tech/tags/tables.md>), [tabular-data](<https://devfeed.tech/tags/tabular-data.md>)

### AI overview

Chain-of-Table has an LLM iteratively plan table operations, generate their arguments, and execute them to create intermediate tables that guide the final answer. The evolving table exposes intermediate reasoning and can make complex inputs more manageable; the method builds its operation chain from a subset of rows to balance performance and computation on large tables. Using PaLM 2-S and GPT 3.5, the authors report results on WikiTQ, TabFact, and FeTaQA, with the supplied comparisons focusing on WikiTQ and TabFact. On WikiTQ with PaLM 2, Chain-of-Table outperformed Chain-of-Thought by up to 11.6% and Dater by up to 7.9% across operation-chain lengths, and retained an advantage on larger tables. The excerpt does not specify metric details or full results for all benchmarks.

### Source excerpt

Posted by Zilong Wang, Student Researcher, and Chen-Yu Lee, Research Scientist, Cloud AI Team People use tables every day to organize and interpret complex information in a structured, easily accessible format. Due to the ubiquity of such tables, reasoning over tabular data has long been a central topic in natural language processing (NLP). Researchers in this field have aimed to leverage language models to help users answer questions, verify statements, and analyze data based on tables. However, language models are trained over large amounts of plain text, so the inherently structured nature of tabular data can be difficult for language models to fully comprehend and utilize. Recently, large language models (LLMs) have achieved outstanding performance across diverse natural language understanding (NLU) tasks by generating reliable reasoning chains, as shown in works like Chain-of-Thought and Least-to-Most. However, the most suitable way for LLMs to reason over tabular data remains an open question. In "Chain-of-Table: Evolving Tables in the Reasoning Chain for Table Understanding", we propose a framework to tackle table understanding tasks, where we train LLMs to outline their reasoning step by step, updating a given table iteratively to reflect each part of a thought process, akin to how people solve the table-based problems. This enables the LLM to transform the table into simpler and more manageable segments so that it can understand and analyze each part of the table in depth. This approach has yielded significant improvements and achieved new state-of-the-art results on the WikiTQ, TabFact, and FeTaQA benchmarks. The figure below shows the high-level overview of the proposed Chain-of-Table and other methods. Given a complex table where a cyclist's nationality and name are in the same cell, (a) generic, multi-step reasoning is unable to provide the correct answer (b) program-aided reasoning generates and executes programs (e.g., SQL queries) to deliver the answ

## Health-specific embedding tools for dermatology and pathology

DevFeed: [Health-specific embedding tools for dermatology and pathology](<https://devfeed.tech/articles/health-specific-embedding-tools-for-dermatology-and-pathology-28560.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/health-specific-embedding-tools-for.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-08T19:33:00Z

Content type: release

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Medical imaging](<https://devfeed.tech/topics/medical-imaging.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [Deep learning](<https://devfeed.tech/topics/deep-learning.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Google](<https://devfeed.tech/topics/google.md>)

Tags: [computer-vision](<https://devfeed.tech/tags/computer-vision.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [google](<https://devfeed.tech/tags/google.md>), [health](<https://devfeed.tech/tags/health.md>), [image-classification](<https://devfeed.tech/tags/image-classification.md>), [medical-imaging](<https://devfeed.tech/tags/medical-imaging.md>), [product](<https://devfeed.tech/tags/product.md>), [release](<https://devfeed.tech/tags/release.md>)

### AI overview

Google Research announces Derm Foundation and Path Foundation, two domain-specific embedding tools for research in dermatology and digital pathology. The tools convert medical images into specialized numerical vectors that researchers can use to develop models for downstream applications.

### Source excerpt

Posted by Dave Steiner, Clinical Research Scientist, Google Health, and Rory Pilgrim, Product Manager, Google Research There's a worldwide shortage of access to medical imaging expert interpretation across specialties including radiology, dermatology and pathology. Machine learning (ML) technology can help ease this burden by powering tools that enable doctors to interpret these images more accurately and efficiently. However, the development and implementation of such ML tools are often limited by the availability of high-quality data, ML expertise, and computational resources. One way to catalyze the use of ML for medical imaging is via domain-specific models that utilize deep learning (DL) to capture the information in medical images as compressed numerical vectors (called embeddings). These embeddings represent a type of pre-learned understanding of the important features in an image. Identifying patterns in the embeddings reduces the amount of data, expertise, and compute needed to train performant models as compared to working with high-dimensional data, such as images, directly. Indeed, these embeddings can be used to perform a variety of downstream tasks within the specialized domain (see animated graphic below). This framework of leveraging pre-learned understanding to solve related tasks is similar to that of a seasoned guitar player quickly learning a new song by ear. Because the guitar player has already built up a foundation of skill and understanding, they can quickly pick up the patterns and groove of a new song. Path Foundation is used to convert a small dataset of (image, label) pairs into (embedding, label) pairs. These pairs can then be used to train a task-specific classifier using a linear probe, (i.e., a lightweight linear classifier) as represented in this graphic, or other types of models using the embeddings as input. Once the linear probe is trained, it can be used to make predictions on embeddings from new images. These predictions can be

## Social learning: Collaborative learning with large language models

DevFeed: [Social learning: Collaborative learning with large language models](<https://devfeed.tech/articles/social-learning-collaborative-learning-with-large-language-models-28564.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/social-learning-collaborative-learning.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-07T18:15:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [few-shot-learning](<https://devfeed.tech/topics/few-shot-learning.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>), [dataset](<https://devfeed.tech/topics/dataset.md>), [Post-training optimization](<https://devfeed.tech/topics/post-training-optimization.md>), [human feedback](<https://devfeed.tech/topics/human-feedback.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [communication](<https://devfeed.tech/tags/communication.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [detection](<https://devfeed.tech/tags/detection.md>), [federated](<https://devfeed.tech/tags/federated.md>), [federated-learning](<https://devfeed.tech/tags/federated-learning.md>), [framework](<https://devfeed.tech/tags/framework.md>), [google](<https://devfeed.tech/tags/google.md>), [google-research](<https://devfeed.tech/tags/google-research.md>), [knowledge](<https://devfeed.tech/tags/knowledge.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [learn](<https://devfeed.tech/tags/learn.md>), [learning](<https://devfeed.tech/tags/learning.md>), [llms](<https://devfeed.tech/tags/llms.md>), [machine-intelligence](<https://devfeed.tech/tags/machine-intelligence.md>), [natural-language](<https://devfeed.tech/tags/natural-language.md>), [natural-language-processing](<https://devfeed.tech/tags/natural-language-processing.md>), [performance](<https://devfeed.tech/tags/performance.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [social](<https://devfeed.tech/tags/social.md>)

### AI overview

The framework lets teacher LLMs transfer task knowledge to a student through natural language, without directly sharing private examples. In experiments using PaLM 2-S, teachers either generated synthetic examples or task instructions. With enough examples (such as 16), synthetic teaching showed no statistically significant performance difference from sharing original examples on most tasks. Generated instructions improved on zero-shot prompting and reached accuracy comparable to few-shot prompting, though their quality varied by task and could fail on complex output formatting. Synthetic examples performed better for Lambada, GSM8k, and Random Insertion; instructions performed better on other tested tasks. An adaptation of Secret Sharer found only a slight increase in student confidence on teacher-used canaries, versus much higher confidence when original data was directly shared, suggesting less leakage under this measure. The findings concern the evaluated tasks and privacy metric; the authors identify feedback loops and other modalities as future work.

### Source excerpt

Posted by Amirkeivan Mohtashami, Research Intern, and Florian Hartmann, Software Engineer, Google Research Large language models (LLMs) have significantly improved the state of the art for solving tasks specified using natural language, often reaching performance close to that of people. As these models increasingly enable assistive agents, it could be beneficial for them to learn effectively from each other, much like people do in social settings, which would allow LLM-based agents to improve each other's performance. To discuss the learning processes of humans, Bandura and Walters described the concept of social learning in 1977, outlining different models of observational learning used by people. One common method of learning from others is through a verbal instruction (e.g., from a teacher) that describes how to engage in a particular behavior. Alternatively, learning can happen through a live model by mimicking a live example of the behavior. Given the success of LLMs mimicking human communication, in our paper "Social Learning: Towards Collaborative Learning with Large Language Models", we investigate whether LLMs are able to learn from each other using social learning. To this end, we outline a framework for social learning in which LLMs share knowledge with each other in a privacy-aware manner using natural language. We evaluate the effectiveness of our framework on various datasets, and propose quantitative methods that measure privacy in this setting. In contrast to previous approaches to collaborative learning, such as common federated learning approaches that often rely on gradients, in our framework, agents teach each other purely using natural language. Social learning for LLMs To extend social learning to language models, we consider the scenario where a student LLM should learn to solve a task from multiple teacher entities that already know that task. In our paper, we evaluate the student's performance on a variety of tasks, such as spam detection i

## Croissant: a metadata format for ML-ready datasets

DevFeed: [Croissant: a metadata format for ML-ready datasets](<https://devfeed.tech/articles/croissant-a-metadata-format-for-ml-ready-datasets-28556.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/croissant-metadata-format-for-ml-ready.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-06T18:26:00Z

Content type: release

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [AI-Ready Data](<https://devfeed.tech/topics/ai-ready-data.md>), [dataset](<https://devfeed.tech/topics/dataset.md>), [schema design](<https://devfeed.tech/topics/schema-design.md>), [Dataset development](<https://devfeed.tech/topics/dataset-development.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [dataloaders](<https://devfeed.tech/topics/dataloaders.md>), [hugging face](<https://devfeed.tech/topics/hugging-face.md>)

Tags: [audio](<https://devfeed.tech/tags/audio.md>), [collaboration](<https://devfeed.tech/tags/collaboration.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [format](<https://devfeed.tech/tags/format.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [metadata](<https://devfeed.tech/tags/metadata.md>), [ml](<https://devfeed.tech/tags/ml.md>), [schema-org](<https://devfeed.tech/tags/schema-org.md>), [structured-data](<https://devfeed.tech/tags/structured-data.md>), [text](<https://devfeed.tech/tags/text.md>), [tooling](<https://devfeed.tech/tags/tooling.md>), [train](<https://devfeed.tech/tags/train.md>), [validation](<https://devfeed.tech/tags/validation.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

Croissant is a metadata format intended to reduce the work of finding, understanding, and using varied ML datasets. It builds on schema.org and standardizes descriptions of ML-relevant metadata, data resources and organization, and default ML semantics, including support for training, test, and validation sets. It does not change underlying data formats. The article says Kaggle, Hugging Face, and OpenML would begin supporting Croissant; Dataset Search can find Croissant datasets, and TensorFlow, PyTorch, and JAX can load them through TensorFlow Datasets. The 1.0 release includes a specification, examples, a Python library to validate, consume, and generate metadata, a visual editor, and an RAI vocabulary extension covering areas such as data life cycle, labeling, safety, fairness, explainability, and compliance. The authors describe this as a way to ease dataset discovery and tooling, while encouraging broader adoption by dataset creators and platforms.

### Source excerpt

Posted by Omar Benjelloun, Software Engineer, Google Research, and Peter Mattson, Software Engineer, Google Core ML and President, MLCommons Association Machine learning (ML) practitioners looking to reuse existing datasets to train an ML model often spend a lot of time understanding the data, making sense of its organization, or figuring out what subset to use as features. So much time, in fact, that progress in the field of ML is hampered by a fundamental obstacle: the wide variety of data representations. ML datasets cover a broad range of content types, from text and structured data to images, audio, and video. Even within datasets that cover the same types of content, every dataset has a unique ad hoc arrangement of files and data formats. This challenge reduces productivity throughout the entire ML development process, from finding the data to training the model. It also impedes development of badly needed tooling for working with datasets. There are general purpose metadata formats for datasets such as schema.org and DCAT. However, these formats were designed for data discovery rather than for the specific needs of ML data, such as the ability to extract and combine data from structured and unstructured sources, to include metadata that would enable responsible use of the data, or to describe ML usage characteristics such as defining training, test and validation sets. Today, we're introducing Croissant, a new metadata format for ML-ready datasets. Croissant was developed collaboratively by a community from industry and academia, as part of the MLCommons effort. The Croissant format doesn't change how the actual data is represented (e.g., image or text file formats) -- it provides a standard way to describe and organize it. Croissant builds upon schema.org, the de facto standard for publishing structured data on the Web, which is already used by over 40M datasets. Croissant augments it with comprehensive layers for ML relevant metadata, data resources, data or

## Google at APS 2024

DevFeed: [Google at APS 2024](<https://devfeed.tech/articles/google-at-aps-2024-28558.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/03/google-at-aps-2024.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-03-04T15:06:00Z

Content type: news

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Quantum Computing](<https://devfeed.tech/topics/quantum-computing.md>), [Developer Events](<https://devfeed.tech/topics/developer-events.md>), [Google](<https://devfeed.tech/topics/google.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [computational complexity](<https://devfeed.tech/topics/computational-complexity.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [applications](<https://devfeed.tech/tags/applications.md>), [conference](<https://devfeed.tech/tags/conference.md>), [conferences](<https://devfeed.tech/tags/conferences.md>), [google](<https://devfeed.tech/tags/google.md>), [google-quantum-ai](<https://devfeed.tech/tags/google-quantum-ai.md>), [google-research](<https://devfeed.tech/tags/google-research.md>), [industry](<https://devfeed.tech/tags/industry.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [library](<https://devfeed.tech/tags/library.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [physics](<https://devfeed.tech/tags/physics.md>), [quantum](<https://devfeed.tech/tags/quantum.md>), [quantum-ai](<https://devfeed.tech/tags/quantum-ai.md>), [quantum-computing](<https://devfeed.tech/tags/quantum-computing.md>), [quantum-physics](<https://devfeed.tech/tags/quantum-physics.md>), [quantum-simulation](<https://devfeed.tech/tags/quantum-simulation.md>), [qubit](<https://devfeed.tech/tags/qubit.md>), [simulation](<https://devfeed.tech/tags/simulation.md>), [talks](<https://devfeed.tech/tags/talks.md>)

### AI overview

Google's Quantum AI team announced a substantial presence at the 2024 APS March Meeting in Minneapolis: a booth, more than 50 talks, and involvement in organizing activities, sessions, and events. The listed research spans quantum error correction, superconducting processors and simulation, algorithm resource estimation, and quantum applications, among other physics topics. Booth demonstrations included Crumble, a prototype tool for visualizing quantum error correction circuits, and Qualtran, an open-source library for estimating resources for fault-tolerant algorithms; the schedule also included a Q&A on the $5M XPRIZE / Google Quantum AI competition. The post provides a conference program and booth schedule, noting that events could change.

### Source excerpt

Posted by Kate Weber and Shannon Leon, Google Research, Quantum AI Team Today the 2024 March Meeting of the American Physical Society (APS) kicks off in Minneapolis, MN. A premier conference on topics ranging across physics and related fields, APS 2024 brings together researchers, students, and industry professionals to share their discoveries and build partnerships with the goal of realizing fundamental advances in physics-related sciences and technology. This year, Google has a strong presence at APS with a booth hosted by the Google Quantum AI team, 50+ talks throughout the conference, and participation in conference organizing activities, special sessions and events. Attending APS 2024 in person? Come visit Google's Quantum AI booth to learn more about the exciting work we're doing to solve some of the field's most interesting challenges. You can learn more about the latest cutting edge work we are presenting at the conference along with our schedule of booth events below (Googlers listed in bold). Organizing Committee Session Chairs include: Aaron Szasz Booth Activities This schedule is subject to change. Please visit the Google Quantum AI booth for more information. Crumble: A prototype interactive tool for visualizing QEC circuits Presenter: Matt McEwen Tue, Mar 5 | 11:00 AM CST Qualtran: An open-source library for effective resource estimation of fault tolerant algorithms Presenter: Tanuj Khattar Tue, Mar 5 | 2:30 PM CST Qualtran: An open-source library for effective resource estimation of fault tolerant algorithms Presenter: Tanuj Khattar Thu, Mar 7 | 11:00 AM CST $5M XPRIZE / Google Quantum AI competition to accelerate quantum applications Q&A Presenter: Ryan Babbush Thu, Mar 7 | 11:00 AM CST Talks Monday Certifying highly-entangled states from few single-qubit measurements Presenter: Hsin-Yuan Huang Author: Hsin-Yuan Huang Session A45: New Frontiers in Machine Learning Quantum Physics Toward high-fidelity analog quantum simulation with superconducting qub

## VideoPrism: A foundational visual encoder for video understanding

DevFeed: [VideoPrism: A foundational visual encoder for video understanding](<https://devfeed.tech/articles/videoprism-a-foundational-visual-encoder-for-video-understanding-28551.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/02/videoprism-foundational-visual-encoder.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-02-22T20:05:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [AI Foundation Models](<https://devfeed.tech/topics/ai-foundation-models.md>), [multimodal-ai](<https://devfeed.tech/topics/multimodal-ai.md>), [dataset](<https://devfeed.tech/topics/dataset.md>), [Transformers](<https://devfeed.tech/topics/transformers.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [PaLM](<https://devfeed.tech/topics/palm.md>), [dataloaders](<https://devfeed.tech/topics/dataloaders.md>)

Tags: [classification](<https://devfeed.tech/tags/classification.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [foundation](<https://devfeed.tech/tags/foundation.md>), [foundation-models](<https://devfeed.tech/tags/foundation-models.md>), [google](<https://devfeed.tech/tags/google.md>), [localization](<https://devfeed.tech/tags/localization.md>), [machine-intelligence](<https://devfeed.tech/tags/machine-intelligence.md>), [machine-perception](<https://devfeed.tech/tags/machine-perception.md>), [modeling](<https://devfeed.tech/tags/modeling.md>), [pairs](<https://devfeed.tech/tags/pairs.md>), [qa](<https://devfeed.tech/tags/qa.md>), [research](<https://devfeed.tech/tags/research.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [state](<https://devfeed.tech/tags/state.md>), [train](<https://devfeed.tech/tags/train.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

VideoPrism is a general-purpose video encoder that combines video-text contrastive learning with masked video modeling to learn from both captions and visual motion. It was pretrained on 36 million videos with high-quality captions and 582 million clips with noisier text, using a factorized vision-transformer design. The source reports state-of-the-art results on 30 of 33 benchmarks with minimal adaptation of a single frozen model, spanning classification, localization, retrieval, captioning, question answering, and scientific video tasks. It can also be paired with text encoders or language decoders such as PaLM-2 for video-language tasks.

### Source excerpt

Posted by Long Zhao, Senior Research Scientist, and Ting Liu, Senior Staff Software Engineer, Google Research An astounding number of videos are available on the Web, covering a variety of content from everyday moments people share to historical moments to scientific observations, each of which contains a unique record of the world. The right tools could help researchers analyze these videos, transforming how we understand the world around us. Videos offer dynamic visual content far more rich than static images, capturing movement, changes, and dynamic relationships between entities. Analyzing this complexity, along with the immense diversity of publicly available video data, demands models that go beyond traditional image understanding. Consequently, many of the approaches that best perform on video understanding still rely on specialized models tailor-made for particular tasks. Recently, there has been exciting progress in this area using video foundation models (ViFMs), such as VideoCLIP, InternVideo, VideoCoCa, and UMT. However, building a ViFM that handles the sheer diversity of video data remains a challenge. With the goal of building a single model for general-purpose video understanding, we introduce "VideoPrism: A Foundational Visual Encoder for Video Understanding". VideoPrism is a ViFM designed to handle a wide spectrum of video understanding tasks, including classification, localization, retrieval, captioning, and question answering (QA). We propose innovations in both the pre-training data as well as the modeling strategy. We pre-train VideoPrism on a massive and diverse dataset: 36 million high-quality video-text pairs and 582 million video clips with noisy or machine-generated parallel text. Our pre-training approach is designed for this hybrid data, to learn both from video-text pairs and the videos themselves. VideoPrism is incredibly easy to adapt to new video understanding challenges, and achieves state-of-the-art performance using a single frozen

## Advances in private training for production on-device language models

DevFeed: [Advances in private training for production on-device language models](<https://devfeed.tech/articles/advances-in-private-training-for-production-on-device-language-models-28546.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/02/advances-in-private-training-for.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-02-21T20:15:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Federated Learning](<https://devfeed.tech/topics/federated-learning.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [On-device AI](<https://devfeed.tech/topics/on-device-ai.md>), [model-deployment](<https://devfeed.tech/topics/model-deployment.md>)

Tags: [differential-privacy](<https://devfeed.tech/tags/differential-privacy.md>), [federated-learning](<https://devfeed.tech/tags/federated-learning.md>), [gboard](<https://devfeed.tech/tags/gboard.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [on-device-learning](<https://devfeed.tech/tags/on-device-learning.md>), [private](<https://devfeed.tech/tags/private.md>), [production](<https://devfeed.tech/tags/production.md>), [responsible-ai](<https://devfeed.tech/tags/responsible-ai.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

Google reports that all Gboard next-word-prediction neural language models trained on user data use federated learning with formal differential privacy (DP), and that future Gboard launches trained on user data require DP. The deployment spans 30+ models in 7+ languages and 15+ countries, with reported ε values from 0.994 to 13.69 at δ=10⁻¹⁰. For Portuguese in Brazil and Spanish in Latin America, Matrix Factorization DP-FTRL achieved ε=0.994; training used 12,000+ participating devices per round and limited each client to two participations across 2,000 rounds over 14 days. The authors report that utility was significantly better than earlier non-neural models or comparable to non-DP language models in A/B testing. They say large user populations and aggregation of many device contributions help balance privacy and utility, while strong DP remains challenging; public data, improved algorithms, and tighter accounting can improve privacy, utility, and computation tradeoffs.

### Source excerpt

Posted by Zheng Xu, Research Scientist, and Yanxiang Zhang, Software Engineer, Google Language models (LMs) trained to predict the next word given input text are the key technology for many applications [1, 2]. In Gboard, LMs are used to improve users' typing experience by supporting features like next word prediction (NWP), Smart Compose, smart completion and suggestion, slide to type, and proofread. Deploying models on users' devices rather than enterprise servers has advantages like lower latency and better privacy for model usage. While training on-device models directly from user data effectively improves the utility performance for applications such as NWP and smart text selection, protecting the privacy of user data for model training is important. Gboard features powered by on-device language models. In this blog we discuss how years of research advances now power the private training of Gboard LMs, since the proof-of-concept development of federated learning (FL) in 2017 and formal differential privacy (DP) guarantees in 2022. FL enables mobile phones to collaboratively learn a model while keeping all the training data on device, and DP provides a quantifiable measure of data anonymization. Formally, DP is often characterized by (ε, δ) with smaller values representing stronger guarantees. Machine learning (ML) models are considered to have reasonable DP guarantees for ε=10 and strong DP guarantees for ε=1 when δ is small. As of today, all NWP neural network LMs in Gboard are trained with FL with formal DP guarantees, and all future launches of Gboard LMs trained on user data require DP. These 30+ Gboard on-device LMs are launched in 7+ languages and 15+ countries, and satisfy (ɛ, δ)-DP guarantees of small δ of 10-10 and ɛ between 0.994 and 13.69. To the best of our knowledge, this is the largest known deployment of user-level DP in production at Google or anywhere, and the first time a strong DP guarantee of ɛ < 1 is announced for models trained directly on

## Learning the importance of training data under concept drift

DevFeed: [Learning the importance of training data under concept drift](<https://devfeed.tech/articles/learning-the-importance-of-training-data-under-concept-drift-28550.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/02/learning-importance-of-training-data.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-02-14T18:32:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Model Development](<https://devfeed.tech/topics/model-development.md>), [dataset](<https://devfeed.tech/topics/dataset.md>), [Dataset development](<https://devfeed.tech/topics/dataset-development.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-models](<https://devfeed.tech/tags/ai-models.md>), [all](<https://devfeed.tech/tags/all.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [concept-drift](<https://devfeed.tech/tags/concept-drift.md>), [continual-learning](<https://devfeed.tech/tags/continual-learning.md>), [data](<https://devfeed.tech/tags/data.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [future](<https://devfeed.tech/tags/future.md>), [google-research](<https://devfeed.tech/tags/google-research.md>), [learning](<https://devfeed.tech/tags/learning.md>), [performance](<https://devfeed.tech/tags/performance.md>), [research](<https://devfeed.tech/tags/research.md>), [supervised-learning](<https://devfeed.tech/tags/supervised-learning.md>), [training](<https://devfeed.tech/tags/training.md>), [training-data](<https://devfeed.tech/tags/training-data.md>)

### AI overview

Training examples lose relevance at different rates as data shifts, so uniform weighting and continual learning's focus on recent data can each miss useful signals. The proposed method jointly learns a helper model that weights each example by its contents and age, combining fixed decay timescales to improve performance on future data. On a roughly 39-million-photo, ten-year benchmark, learned reweighting produced up to 15% relative accuracy gains; across other datasets and modalities, the authors report gains over benchmark methods. It trades some accuracy on distant-past data for better future performance. A continual-learning adaptation also outperformed regular continual learning on the photo benchmark, while retaining the limitation that updates and reweighting decisions use only the current data bucket.

### Source excerpt

Posted by Nishant Jain, Pre-doctoral Researcher, and Pradeep Shenoy, Research Scientist, Google Research The constantly changing nature of the world around us poses a significant challenge for the development of AI models. Often, models are trained on longitudinal data with the hope that the training data used will accurately represent inputs the model may receive in the future. More generally, the default assumption that all training data are equally relevant often breaks in practice. For example, the figure below shows images from the CLEAR nonstationary learning benchmark, and it illustrates how visual features of objects evolve significantly over a 10 year span (a phenomenon we refer to as slow concept drift), posing a challenge for object categorization models. Sample images from the CLEAR benchmark. (Adapted from Lin et al.) Alternative approaches, such as online and continual learning, repeatedly update a model with small amounts of recent data in order to keep it current. This implicitly prioritizes recent data, as the learnings from past data are gradually erased by subsequent updates. However in the real world, different kinds of information lose relevance at different rates, so there are two key issues: 1) By design they focus exclusively on the most recent data and lose any signal from older data that is erased. 2) Contributions from data instances decay uniformly over time irrespective of the contents of the data. In our recent work, "Instance-Conditional Timescales of Decay for Non-Stationary Learning", we propose to assign each instance an importance score during training in order to maximize model performance on future data. To accomplish this, we employ an auxiliary model that produces these scores using the training instance as well as its age. This model is jointly learned with the primary model. We address both the above challenges and achieve significant gains over other robust learning methods on a range of benchmark datasets for nonstationary

## DP-Auditorium: A flexible library for auditing differential privacy

DevFeed: [DP-Auditorium: A flexible library for auditing differential privacy](<https://devfeed.tech/articles/dp-auditorium-a-flexible-library-for-auditing-differential-privacy-28547.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/02/dp-auditorium-flexible-library-for.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-02-13T22:11:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Differential Privacy](<https://devfeed.tech/topics/differential-privacy.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Library](<https://devfeed.tech/topics/library.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [addition](<https://devfeed.tech/tags/addition.md>), [adoption](<https://devfeed.tech/tags/adoption.md>), [allows](<https://devfeed.tech/tags/allows.md>), [applications](<https://devfeed.tech/tags/applications.md>), [auditing](<https://devfeed.tech/tags/auditing.md>), [black](<https://devfeed.tech/tags/black.md>), [box](<https://devfeed.tech/tags/box.md>), [code](<https://devfeed.tech/tags/code.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [contributions](<https://devfeed.tech/tags/contributions.md>), [data](<https://devfeed.tech/tags/data.md>), [data-protection](<https://devfeed.tech/tags/data-protection.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [develop](<https://devfeed.tech/tags/develop.md>), [developing](<https://devfeed.tech/tags/developing.md>), [differential-privacy](<https://devfeed.tech/tags/differential-privacy.md>), [flexible](<https://devfeed.tech/tags/flexible.md>), [library](<https://devfeed.tech/tags/library.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [responsible-ai](<https://devfeed.tech/tags/responsible-ai.md>), [security-and-privacy](<https://devfeed.tech/tags/security-and-privacy.md>)

### AI overview

DP-Auditorium is an open-source Python library that audits differential privacy mechanisms using black-box access. It combines property testers, which use mechanism samples to seek evidence of excessive divergence, with dataset finders that search for neighboring datasets where guarantees may fail. Its function-optimization testers cover pure, approximate, and Rényi DP and avoid explicit histogram approximations; a histogram tester serves as a baseline. Testers can reject a guarantee when a high-probability lower bound exceeds its allowed divergence, but provide no guarantee when it does not. Experiments report bugs missed by the histogram approach, including a TensorFlow DP gradient descent noise-scaling error; hockey-stick and Rényi testers detected that violation at noise scale factors as high as 0.6. Most dataset-finder bugs were found in fewer than 10 calls on average, and randomized or exploration/exploitation searches beat grid search in efficiency.

### Source excerpt

Posted by Mónica Ribero Díaz, Research Scientist, Google Research Differential privacy (DP) is a property of randomized mechanisms that limit the influence of any individual user's information while processing and analyzing data. DP offers a robust solution to address growing concerns about data protection, enabling technologies across industries and government applications (e.g., the US census) without compromising individual user identities. As its adoption increases, it's important to identify the potential risks of developing mechanisms with faulty implementations. Researchers have recently found errors in the mathematical proofs of private mechanisms, and their implementations. For example, researchers compared six sparse vector technique (SVT) variations and found that only two of the six actually met the asserted privacy guarantee. Even when mathematical proofs are correct, the code implementing the mechanism is vulnerable to human error. However, practical and efficient DP auditing is challenging primarily due to the inherent randomness of the mechanisms and the probabilistic nature of the tested guarantees. In addition, a range of guarantee types exist, (e.g., pure DP, approximate DP, Rényi DP, and concentrated DP), and this diversity contributes to the complexity of formulating the auditing problem. Further, debugging mathematical proofs and code bases is an intractable task given the volume of proposed mechanisms. While ad hoc testing techniques exist under specific assumptions of mechanisms, few efforts have been made to develop an extensible tool for testing DP mechanisms. To that end, in "DP-Auditorium: A Large Scale Library for Auditing Differential Privacy", we introduce an open source library for auditing DP guarantees with only black-box access to a mechanism (i.e., without any knowledge of the mechanism's internal properties). DP-Auditorium is implemented in Python and provides a flexible interface that allows contributions to continuously improve

## Graph neural networks in TensorFlow

DevFeed: [Graph neural networks in TensorFlow](<https://devfeed.tech/articles/graph-neural-networks-in-tensorflow-28548.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/02/graph-neural-networks-in-tensorflow.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-02-06T19:17:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Tensorflow](<https://devfeed.tech/topics/tensorflow.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Graphs](<https://devfeed.tech/topics/graphs.md>), [Deep learning](<https://devfeed.tech/topics/deep-learning.md>), [graph theory](<https://devfeed.tech/topics/graph-theory.md>)

Tags: [graph](<https://devfeed.tech/tags/graph.md>), [graph-mining](<https://devfeed.tech/tags/graph-mining.md>), [graph-neural-networks](<https://devfeed.tech/tags/graph-neural-networks.md>), [graphs](<https://devfeed.tech/tags/graphs.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [neural-networks](<https://devfeed.tech/tags/neural-networks.md>), [tensorflow](<https://devfeed.tech/tags/tensorflow.md>)

### AI overview

TensorFlow GNN 1.0 provides tools to build and train graph neural networks on heterogeneous graphs at scale. GraphTensor stores graph structure and features and works with TensorFlow APIs; models can use Keras layers or lower-level graph operations. For large graphs, TF-GNN supports dynamic or batch subgraph sampling, from in-memory data on one host to distributed Apache Beam jobs on network filesystems. Its Runner orchestrates common Keras training, including distributed training, Cloud TPU padding, joint tasks and integrated-gradients attribution. GNNs use message passing to aggregate neighborhood information for predictions, and can also learn embeddings without labels. The supplied text describes these capabilities but does not provide comparative benchmarks.

### Source excerpt

Posted by Dustin Zelle, Software Engineer, Google Research, and Arno Eigenwillig, Software Engineer, CoreML Objects and their relationships are ubiquitous in the world around us, and relationships can be as important to understanding an object as its own attributes viewed in isolation -- take for example transportation networks, production networks, knowledge graphs, or social networks. Discrete mathematics and computer science have a long history of formalizing such networks as graphs, consisting of nodes connected by edges in various irregular ways. Yet most machine learning (ML) algorithms allow only for regular and uniform relations between input objects, such as a grid of pixels, a sequence of words, or no relation at all. Graph neural networks, or GNNs for short, have emerged as a powerful technique to leverage both the graph's connectivity (as in the older algorithms DeepWalk and Node2Vec) and the input features on the various nodes and edges. GNNs can make predictions for graphs as a whole (Does this molecule react in a certain way?), for individual nodes (What's the topic of this document, given its citations?) or for potential edges (Is this product likely to be purchased together with that product?). Apart from making predictions about graphs, GNNs are a powerful tool used to bridge the chasm to more typical neural network use cases. They encode a graph's discrete, relational information in a continuous way so that it can be included naturally in another deep learning system. We are excited to announce the release of TensorFlow GNN 1.0 (TF-GNN), a production-tested library for building GNNs at large scales. It supports both modeling and training in TensorFlow as well as the extraction of input graphs from huge data stores. TF-GNN is built from the ground up for heterogeneous graphs, where types of objects and relations are represented by distinct sets of nodes and edges. Real-world objects and their relations occur in distinct types, and TF-GNN's heterogen

## A decoder-only foundation model for time-series forecasting

DevFeed: [A decoder-only foundation model for time-series forecasting](<https://devfeed.tech/articles/a-decoder-only-foundation-model-for-time-series-forecasting-28545.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/02/a-decoder-only-foundation-model-for.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-02-02T19:07:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Time Series](<https://devfeed.tech/topics/time-series.md>), [AI Foundation Models](<https://devfeed.tech/topics/ai-foundation-models.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Transformers](<https://devfeed.tech/topics/transformers.md>)

Tags: [decoder](<https://devfeed.tech/tags/decoder.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [demand-forecasting](<https://devfeed.tech/tags/demand-forecasting.md>), [forecasting](<https://devfeed.tech/tags/forecasting.md>), [foundation](<https://devfeed.tech/tags/foundation.md>), [foundation-model](<https://devfeed.tech/tags/foundation-model.md>), [google-cloud-platform](<https://devfeed.tech/tags/google-cloud-platform.md>), [google-research](<https://devfeed.tech/tags/google-research.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [model](<https://devfeed.tech/tags/model.md>), [time-series](<https://devfeed.tech/tags/time-series.md>), [time-series-forecasting](<https://devfeed.tech/tags/time-series-forecasting.md>)

### AI overview

TimesFM is a 200M-parameter decoder-only model pretrained on 100 billion time points, intended to forecast unseen time series without task-specific training. It treats groups of contiguous observations as patches, uses transformer layers, and can predict output patches longer than its input patches; the authors say longer outputs reduce generation steps and improve long-horizon performance. Training combines synthetic series for basic temporal patterns with public real-world data, mostly Google Trends and Wikipedia Pageviews. On cited public benchmarks, its zero-shot results beat most statistical methods and match or sometimes outperform supervised deep learning models such as DeepAR and PatchTST; on long-horizon ETT tasks, it matches supervised PatchTST. These are reported benchmark results, not a guarantee for every dataset or downstream task. The article says the model is available through Hugging Face and GitHub.

### Source excerpt

Posted by Rajat Sen and Yichen Zhou, Google Research Time-series forecasting is ubiquitous in various domains, such as retail, finance, manufacturing, healthcare and natural sciences. In retail use cases, for example, it has been observed that improving demand forecasting accuracy can meaningfully reduce inventory costs and increase revenue. Deep learning (DL) models have emerged as a popular approach for forecasting rich, multivariate, time-series data because they have proven to perform well in a variety of settings (e.g., DL models performed well in the M5 competition). At the same time, there has been rapid progress in large foundation language models used for natural language processing (NLP) tasks, such as translation, retrieval-augmented generation, and code completion. These models are trained on massive amounts of textual data derived from a variety of sources like common crawl and open-source code that allows them to identify patterns in languages. This makes them very powerful zero-shot tools; for instance, when paired with retrieval, they can answer questions about and summarize current events. Despite DL-based forecasters largely outperforming traditional methods and progress being made in reducing training and inference costs, they face challenges: most DL architectures require long and involved training and validation cycles before a customer can test the model on a new time-series. A foundation model for time-series forecasting, in contrast, can provide decent out-of-the-box forecasts on unseen time-series data with no additional training, enabling users to focus on refining forecasts for the actual downstream task like retail demand planning. To that end, in "A decoder-only foundation model for time-series forecasting", we introduce TimesFM, a single forecasting model pre-trained on a large time-series corpus of 100 billion real world time-points. Compared to the latest large language models (LLMs), TimesFM is much smaller (200M parameters), yet we

## Intervening on early readouts for mitigating spurious features and simplicity bias

DevFeed: [Intervening on early readouts for mitigating spurious features and simplicity bias](<https://devfeed.tech/articles/intervening-on-early-readouts-for-mitigating-spurious-features-and-simplicity-bias-28549.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/02/intervening-on-early-readouts-for.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-02-02T17:49:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Post-training optimization](<https://devfeed.tech/topics/post-training-optimization.md>), [Hyperparameter optimization](<https://devfeed.tech/topics/hyperparameter-optimization.md>)

Tags: [amplify](<https://devfeed.tech/tags/amplify.md>), [anchor](<https://devfeed.tech/tags/anchor.md>), [applications](<https://devfeed.tech/tags/applications.md>), [applying](<https://devfeed.tech/tags/applying.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [better](<https://devfeed.tech/tags/better.md>), [bias](<https://devfeed.tech/tags/bias.md>), [challenge](<https://devfeed.tech/tags/challenge.md>), [classifiers](<https://devfeed.tech/tags/classifiers.md>), [color](<https://devfeed.tech/tags/color.md>), [confidence](<https://devfeed.tech/tags/confidence.md>), [contain](<https://devfeed.tech/tags/contain.md>), [critical](<https://devfeed.tech/tags/critical.md>), [data](<https://devfeed.tech/tags/data.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [deep](<https://devfeed.tech/tags/deep.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [diagnosis](<https://devfeed.tech/tags/diagnosis.md>), [features](<https://devfeed.tech/tags/features.md>), [icml](<https://devfeed.tech/tags/icml.md>), [ml-fairness](<https://devfeed.tech/tags/ml-fairness.md>), [simplicity](<https://devfeed.tech/tags/simplicity.md>), [supervised-learning](<https://devfeed.tech/tags/supervised-learning.md>)

### AI overview

The article describes two methods for addressing spurious correlations and simplicity bias in deep networks. In debiased distillation, confidently wrong predictions from auxiliary classifiers on intermediate representations signal reliance on spurious features; using that signal to adjust the teacher's contribution improved student worst-group accuracy on Waterbirds, CelebA, CivilComments, and MNLI, and overall accuracy on three of the four. A feature sieve alternates between identifying and erasing early, problematic features so models can learn richer ones. Its configuration is selected by dataset-specific hyperparameter search that includes a no-forgetting baseline. On BAR, CelebA Hair, NICO, and ImagenetA, the authors report gains over relevant baselines of up to 11%, with visualizations showing greater focus on target objects than backgrounds.

### Source excerpt

Posted by Rishabh Tiwari, Pre-doctoral Researcher, and Pradeep Shenoy, Research Scientist, Google Research Machine learning models in the real world are often trained on limited data that may contain unintended statistical biases. For example, in the CELEBA celebrity image dataset, a disproportionate number of female celebrities have blond hair, leading to classifiers incorrectly predicting "blond" as the hair color for most female faces -- here, gender is a spurious feature for predicting hair color. Such unfair biases could have significant consequences in critical applications such as medical diagnosis. Surprisingly, recent work has also discovered an inherent tendency of deep networks to amplify such statistical biases, through the so-called simplicity bias of deep learning. This bias is the tendency of deep networks to identify weakly predictive features early in the training, and continue to anchor on these features, failing to identify more complex and potentially more accurate features. With the above in mind, we propose simple and effective fixes to this dual challenge of spurious features and simplicity bias by applying early readouts and feature forgetting. First, in "Using Early Readouts to Mediate Featural Bias in Distillation", we show that making predictions from early layers of a deep network (referred to as "early readouts") can automatically signal issues with the quality of the learned representations. In particular, these predictions are more often wrong, and more confidently wrong, when the network is relying on spurious features. We use this erroneous confidence to improve outcomes in model distillation, a setting where a larger "teacher" model guides the training of a smaller "student" model. Then in "Overcoming Simplicity Bias in Deep Networks using a Feature Sieve", we intervene directly on these indicator signals by making the network "forget" the problematic features and consequently look for better, more predictive features. This substanti

## MobileDiffusion: Rapid text-to-image generation on-device

DevFeed: [MobileDiffusion: Rapid text-to-image generation on-device](<https://devfeed.tech/articles/mobilediffusion-rapid-text-to-image-generation-on-device-28544.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/01/mobilediffusion-rapid-text-to-image.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-01-31T21:59:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [text-to-image](<https://devfeed.tech/topics/text-to-image.md>), [ai-image-generator](<https://devfeed.tech/topics/ai-image-generator.md>), [Generative AI](<https://devfeed.tech/topics/generative-ai.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [computer-vision](<https://devfeed.tech/tags/computer-vision.md>), [denoising](<https://devfeed.tech/tags/denoising.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [design](<https://devfeed.tech/tags/design.md>), [desktops](<https://devfeed.tech/tags/desktops.md>), [device](<https://devfeed.tech/tags/device.md>), [devices](<https://devfeed.tech/tags/devices.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [diffusion-models](<https://devfeed.tech/tags/diffusion-models.md>), [evaluations](<https://devfeed.tech/tags/evaluations.md>), [generate](<https://devfeed.tech/tags/generate.md>), [generation](<https://devfeed.tech/tags/generation.md>), [generative](<https://devfeed.tech/tags/generative.md>), [image](<https://devfeed.tech/tags/image.md>), [image-generation](<https://devfeed.tech/tags/image-generation.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [on-device-learning](<https://devfeed.tech/tags/on-device-learning.md>), [text](<https://devfeed.tech/tags/text.md>), [text-to-image](<https://devfeed.tech/tags/text-to-image.md>)

### AI overview

MobileDiffusion is a 520M-parameter latent diffusion model designed for on-device text-to-image generation. On tested premium iOS and Android devices, it generated a 512x512 image in about half a second. Its efficiency combines architectural changes to Stable Diffusion's UNet--placing more transformer blocks at the lower-dimensional bottleneck and using separable convolutions in deeper segments--with a pruned, lightweight image decoder that the source reports improves latency by nearly 50% while improving quality. For one-step sampling, it fine-tunes a pretrained diffusion UNet using DiffusionGAN: reconstruction loss evaluates generated output, while a discriminator trained with GAN loss models a denoising step. The authors report convergence in fewer than 10K iterations. Performance is reported for premium devices and different runtime optimizers; the excerpt does not provide device-specific latency figures.

### Source excerpt

Posted by Yang Zhao, Senior Software Engineer, and Tingbo Hou, Senior Staff Software Engineer, Core ML Text-to-image diffusion models have shown exceptional capabilities in generating high-quality images from text prompts. However, leading models feature billions of parameters and are consequently expensive to run, requiring powerful desktops or servers (e.g., Stable Diffusion, DALL-E, and Imagen). While recent advancements in inference solutions on Android via MediaPipe and iOS via Core ML have been made in the past year, rapid (sub-second) text-to-image generation on mobile devices has remained out of reach. To that end, in "MobileDiffusion: Subsecond Text-to-Image Generation on Mobile Devices", we introduce a novel approach with the potential for rapid text-to-image generation on-device. MobileDiffusion is an efficient latent diffusion model specifically designed for mobile devices. We also adopt DiffusionGAN to achieve one-step sampling during inference, which fine-tunes a pre-trained diffusion model while leveraging a GAN to model the denoising step. We have tested MobileDiffusion on iOS and Android premium devices, and it can run in half a second to generate a 512x512 high-quality image. Its comparably small model size of just 520M parameters makes it uniquely suited for mobile deployment. Rapid text-to-image generation on-device. Background The relative inefficiency of text-to-image diffusion models arises from two primary challenges. First, the inherent design of diffusion models requires iterative denoising to generate images, necessitating multiple evaluations of the model. Second, the complexity of the network architecture in text-to-image diffusion models involves a substantial number of parameters, regularly reaching into the billions and resulting in computationally expensive evaluations. As a result, despite the potential benefits of deploying generative models on mobile devices, such as enhancing user experience and addressing emerging privacy concer

## Mixed-input matrix multiplication performance optimizations

DevFeed: [Mixed-input matrix multiplication performance optimizations](<https://devfeed.tech/articles/mixed-input-matrix-multiplication-performance-optimizations-28543.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/01/mixed-input-matrix-multiplication.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-01-26T19:56:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [quantization](<https://devfeed.tech/topics/quantization.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>), [GPU](<https://devfeed.tech/topics/gpu.md>), [Nvidia](<https://devfeed.tech/topics/nvidia.md>), [Tensor Cores](<https://devfeed.tech/topics/tensor-cores.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Software](<https://devfeed.tech/topics/software.md>), [data type](<https://devfeed.tech/topics/data-type.md>)

Tags: [accelerators](<https://devfeed.tech/tags/accelerators.md>), [ai](<https://devfeed.tech/tags/ai.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [ampere](<https://devfeed.tech/tags/ampere.md>), [compute](<https://devfeed.tech/tags/compute.md>), [conversion](<https://devfeed.tech/tags/conversion.md>), [data](<https://devfeed.tech/tags/data.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [effective](<https://devfeed.tech/tags/effective.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [models](<https://devfeed.tech/tags/models.md>), [nvidia](<https://devfeed.tech/tags/nvidia.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [performance](<https://devfeed.tech/tags/performance.md>), [precision](<https://devfeed.tech/tags/precision.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [research](<https://devfeed.tech/tags/research.md>), [software](<https://devfeed.tech/tags/software.md>), [tensor-cores](<https://devfeed.tech/tags/tensor-cores.md>)

### AI overview

This Google Research article explains software techniques for mapping mixed-input matrix multiplication onto NVIDIA Ampere hardware. It describes using lower-precision weights with higher-precision inputs, data-type conversion, and layout transformations to support weight-only quantization. The authors report minimal software overhead and performance close to peak hardware capabilities, and state that the techniques were released in the open-source NVIDIA/CUTLASS repository.

### Source excerpt

Posted by Manish Gupta, Staff Software Engineer, Google Research AI-driven technologies are weaving themselves into the fabric of our daily routines, with the potential to enhance our access to knowledge and boost our overall productivity. The backbone of these applications lies in large language models (LLMs). LLMs are memory-intensive and typically require specialized hardware accelerators to efficiently deliver tens of exaflops of computing power. This blog post shows how we can start addressing the computational challenges by utilizing memory more effectively. The bulk of an LLM's memory and compute are consumed by weights in matrix multiplication operations. Using narrower data types reduces memory consumption. For example, storing weights in the 8-bit integer (i.e., U8 or S8) data type reduces the memory footprint by 4x relative to single-precision (F32) and 2x relative to half-precision (F16) or bfloat16 (BF16). Furthermore, previous work has shown that LLM models running matrix multiplications with weights in S8 and input in F16 (preserving higher precision of the user-input) is an effective method for increasing the efficiency with acceptable trade-offs in accuracy. This technique is known as weight-only quantization and requires efficient implementation of matrix multiplication with mixed-inputs, e.g., half-precision input multiplied with 8-bits integer. Hardware accelerators, including GPUs, support a fixed set of data types, and thus, mixed-input matrix multiplication requires software transformations to map to the hardware operations. To that end, in this blog we focus on mapping mixed-input matrix multiplication onto the NVIDIA Ampere architecture. We present software techniques addressing data type conversion and layout conformance to map mixed-input matrix multiplication efficiently onto hardware-supported data types and layouts. Our results show that the overhead of additional work in software is minimal and enables performance close to the peak har

[Next page](<https://devfeed.tech/sources/google-research.md?cursor=WyIyMDI0LTAxLTI2VDE5OjU2OjAwKzAwOjAwIiwgImUwNTk1ZmQ1LTljMWMtNGM2YS1iYjI1LTk2NWRjZTFiZDNlYiJd>)