Skip to content
World clockEU--:--UK--:--USA--:--CN--:--PLDEFRIT中文EN

portal about AI and technologyevents · analysis · interviews · technical background

Search
LIVE
›

Google expands on-device AI Edge to Gemma 3n, adds RAG and function calling

Google said on 20 May that its AI Edge stack now supports more than a dozen on-device small language models. These include an early preview of Gemma 3n, its first multimodal small model for phones.

AI & modelsNewsRachel NwosuPublished: 28 September 20263 min readSources 4
Google expands on-device AI Edge to Gemma 3n, adds RAG and function calling

Google published the details on its developer blog, alongside two new libraries. One handles on-device Retrieval Augmented Generation (RAG) and one handles function calling. Both ship on Android first, with other platforms to follow.

Google argues that small language models (SLMs) have moved past the demo stage. The blog describes three uses: field technicians photographing a part with no service, warehouse staff updating inventory by voice, and a medical app that turns dictated patient history into filled form fields. Senior product manager Mark Sherwood and four engineers wrote the post. Each example assumes the model runs locally, with no round trip to a server. The numbers are specific. Gemma 3 1B, introduced earlier this year, is 529MB. It runs up to 2,585 tokens per second pre-fill on a mobile GPU. The company says this is enough to process a page of content in under a second.

Its small footprint keeps device coverage broad. It also limits the download an app forces on a user.

The newer Gemma 3n arrives as an early preview in 2B and 4B parameter variants. Both are native to text, image, video and audio. Only text and image are on Hugging Face for now; audio is to follow. Google also points to new quantization schemes. These cut model size by a factor of 2.5 to 4 times against bf16 while reducing latency and peak memory use.

Apple and others have been circling the same problem

Google is not first. Ars Technica reported on 25 April 2024 that Apple released eight source-available models under the name OpenELM. They range from 270 million to 3 billion parameters, small enough to run on a smartphone. Apple published model weights, training code and reproducible recipes. The Apple Sample Code License carries restrictions that may not meet a strict definition of open source. Apple's white paper claimed a 2.36 percent accuracy improvement over Allen AI's OLMo 1B while using half the pre-training tokens. It did so via what it called a layer-wise scaling strategy. For scale, Ars Technica noted that Meta's largest Llama 3 model at the time held 70 billion parameters. OpenAI's GPT-3 from 2020 shipped with 175 billion. A 529MB model is a different category of object entirely.

The reproducibility and transparency of large language models are crucial for advancing open research, ensuring the trustworthiness of results, and enabling investigations into data and model biases, as well as potential risks.

That is from Apple's OpenELM paper abstract. The company also warned that models trained on public datasets may produce inaccurate, harmful, biased or objectionable output.

What the research says about limits

A November 2024 paper on arXiv introduced SlimLM, a series of models from 125M to 7B parameters. They are tuned for document assistance on a Samsung Galaxy S24. Its authors reported comparable or superior performance against existing small models and released an Android app. They noted that on-device processing can cut server costs and improve privacy. The paper's own framing is that real-world performance on phones remains underexplored.

There is also a more uncomfortable finding. A separate arXiv paper by Prashant Mudgal tested seven confidence approaches across 7 model pairs and 5 benchmarks. It found that token-level entropy is effectively blind in models under 3 billion parameters. In 91 percent of dataset-model combinations, mean token entropy sat near zero regardless of whether the answer was right. Semantic entropy, computed by sampling multiple answers and clustering them by meaning, recovered a usable signal. Routing uncertain queries to a larger expert model improved accuracy by up to 50 percentage points. Cross-family routing averaged +22.0 percent against +6.8 percent for same-family routing.

Google's function calling library makes a similar concession in practice. The blog notes it can be paired with a Python tool simulation library. That library generates synthetic data to improve function calling accuracy. This is an admission that small models need help before they can be trusted to act.

Google has not said when Gemma 3n will leave preview. It has also not said which platforms the RAG and function calling libraries will reach next.

Comments 0

Sources

4
  1. 01On-device small language models with multimodality, RAG, and Function CallingEN
  2. 02Apple releases eight small AI language models aimed at on-device useEN
  3. 03SlimLM: An Efficient Small Language Model for On-Device Document AssistanceEN
  4. 04Do small language models know what they don't know?EN

All figures and quotations in this text come from the sources listed below.

Content prepared by the editorial team with AI assistance.

Rachel Nwosu

Rachel Nwosu

AI, models and technology

Rachel Nwosu covers AI, models and technology for FLASH24, working from public model documentation, benchmark releases and repository histories rather than press summaries, and she skips announcements that arrive without reproducible numbers. She checks training-data claims against dataset cards and reruns reported metrics where code is available. She spends much of her week interviewing researchers and engineers, tracking model launch calendars, and comparing vendor benchmarks with independent evaluations. Outside the desk she runs 3D printers, restores old computers, and tests how models learn from internet junk. She does not publish benchmark figures she cannot trace to a source.

Newsroom →

Comments

0
  1. No comments yet — be the first.

Write a comment

Comments are public. We do not publish abuse, spam or advertising.