Brick describes on-device AI as useful for latency, privacy, offline access, reliability, and cost. Developers can use system models such as Gemini Nano through AI Core, or ship customized models in their apps with LiteRT-LM. Google's LiteRT runtime supports CPU, GPU, or NPU execution across platforms.
From 46% to 90%: Fine-Tuning Tiny LLMs for On-Device Agents
Speaker
Cormac Brick, a software engineering tech lead at Google AI Edge, explains on the AI Engineer channel how to build on-device agents and deploy tiny, task-specific language models.
The Google AI Edge Gallery demonstrates a simple agent harness built around Gemma 4. Skill descriptions go into the prompt, while each skill's details load on demand through a load-skill tool. Skills can include JavaScript to render app interfaces, such as a restaurant roulette wheel or a map.
LiteRT-LM packages models and related files for on-device inference, with C++ and Java APIs available in the talk. Brick outlines a workflow from Transformers through LiteRT Torch export to testing with LiteRT-LM Run and deployment. Models with 100 to 200 million parameters often need a narrow task, so fine-tuning with synthetic data can help.
FunctionGemma has 270 million parameters and can run on devices as old as Pixel 7. For an app-function task, its initial success rate was about 46%; after fine-tuning on a synthetically generated dataset, it exceeded 90% on eight of ten functions. Brick says the approach takes more work than prompting a larger model, but can make on-device function calling more reliable.
Brick describes Eloquent, an offline transcription service that uses Gemma 3-based models with a few hundred million parameters. An ASR model transcribes speech, and a text-polishing model removes filler words and uses a personal dictionary for names and technical terms. He presents it as an example of fine-tuned tiny models working together in a production app.
Takeaways
- Start with a preloaded system model when it meets the use case; app-shipped models add customization but require more integration work.
- For small models, narrow the task and fine-tune with synthetic examples instead of relying on a long system prompt.
- Measure function calling by function: the reported fine-tuning raised success above 90% for eight of ten functions, with two still weaker.
- Load skill details on demand to let an agent access capabilities without putting every function detail in its initial prompt.
- Chaining small models can support an offline workflow, such as transcription followed by text polishing and personal vocabulary.
Mentioned in this talk
Search inside this talk
What was claimed 10
- role atCormac Brick is software engineering tech lead working on the Google AI Edge stack at
Google DeepMind
“I moved to Google to work as tech lead on Edge AI”
0:37inTLMs: Tiny LLMs and Agents on Edge Devices with LiteRT-LMYouTube Verified2 sources· Talk
- integrates with
“LiteRT as a runtime that supports both LiteRT-LM and MediaPipe.”
YouTube Verified3 sources· Talk
- featureLiteRT: Cross-framework runtime that runs models on CPU, GPU, or NPU depending on platform.
“It can run on CPU, GPU, or NPU”
YouTube Unverified1 source· Talk
- feature
AI Core: Provides preloaded on-device models for apps.
“it’s highly optimized and available for your app to use.”
YouTube Unverified1 source· Talk
- featureAgent skills: Skill descriptions are provided in the prompt and skill details are loaded on demand.
“Those are loaded on demand.”
YouTube Unverified1 source· Talk
- feature
LiteRT-LM: Runs models in LiteRT or TLM format and supports multiple platforms.“It's open source, fast, and works on multiple platforms.”
YouTube Unverified1 source· Talk
- metricFunctionGemma: 270 million parameters
“It's only 270 million parameters”
YouTube Unverified1 source· Talk
- metricFunctionGemma: Fine-tuning raised function-calling success from about 46% to over 90% for eight of ten functions.
“that took it from 46% to over 90% for eight of the 10 functions”
YouTube Unverified1 source· Talk













