On-device inference can reduce latency for tasks such as live voice translation, keep private data on the phone, work offline, and reduce cloud costs. Google AI Edge provides MediaPipe, LiteRT, and LiteRT-LM for deploying models across mobile, desktop, web, and embedded platforms. A single LiteRT-LM file can run on CPU and GPU across platforms; NPU deployment requires a device-specific compiled artifact.
TLMs: Tiny LLMs and Agents on Edge Devices with LiteRT-LM
Speaker
Cormac Brick, a tech lead on Google AI Edge, explains how to run language models and agent skills on edge devices at an AI Engineer event.
Brick describes two deployment patterns: system-level models built into mobile operating systems, and smaller task-specific models loaded with an app. Gemma 4 E2B and E4B target edge devices, with image, audio, and text support. In AI Edge Gallery, skills let a model load instructions on demand and call JavaScript or app functions for tasks such as journaling, map lookup, and Wikipedia search.
Each skill has a short description that the model can inspect before loading fuller instructions from a SKILL.md file. This progressive loading keeps the context smaller, which can help lightweight models with limited reasoning capacity. The Gallery orchestrator uses tools to load skills, run JavaScript, and invoke native intents; constrained decoding can also improve tool-call reliability.
For in-app features intended to reach many devices, Brick recommends tiny models with fewer than one billion parameters. The workflow uses LiteRT Torch to export and quantize models for LiteRT-LM, which supports CPU and GPU across platforms and can use vendor-specific compilation for NPUs. Brick says fine-tuning is usually important for models under 500 million parameters, and that evaluations have improved by 20 to 40 percentage points in some cases.
AI Edge Eloquent combines speech recognition with a separately fine-tuned small model that polishes transcripts by removing interjections and applying a user-provided list of names or technical terms. Brick describes using synthetic examples generated with a larger cloud model to fine-tune small Gemma-derived models for narrow tasks. He presents separate models as a practical modular approach that can make components easier to reuse, inspect, and debug.
Takeaways
- Use on-device inference when latency, privacy, offline access, or cloud cost matters.
- For edge agents, load skill details only when needed to conserve context.
- Fine-tune tiny models for narrow app tasks; prompting alone may not deliver production reliability.
- Plan NPU deployment around vendor-specific compilation, even when CPU and GPU share one model artifact.
- Split narrow pipelines into reusable models when that improves reuse, inspection, or debugging.
Mentioned in this talk
Search inside this talk
What was claimed 9
- previously atCormac Brick previously at
Intel
Led architecture for the NPU“I then joined Intel and led the architecture for the NPU”
YouTube Unverified2 sources· Talk, Web· archived
- 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”
YouTube Verified2 sources· Talk
- metricCormac Brick: About 10 years focused on edge AI as of the talk
“I've been focusing on edge AI for maybe 10 years”
YouTube Unverified1 source· Talk
- integrates with
“LiteRT as a runtime that supports both LiteRT-LM and MediaPipe.”
1:38inFrom 46% to 90%: Fine-Tuning Tiny LLMs for On-Device AgentsYouTube Verified3 sources· Talk
- feature
LiteRT-LM: Runs language models on mobile and edge across hardware accelerators“an LLM runtime that works on mobile and edge”
YouTube Unverified1 source· Talk
- metricFunctionGemma: 270 million parameters; about 85–90% reliability on 10 Android developer functions in internal evaluations
“a 270-million-parameter model dedicated to function calling”
YouTube Unverified1 source· Talk
- usesGemma 3 technology for its ASR and text polishing models
“It uses an ASR engine based on Gemma 3 technology, and it also has what we call a text polishing engine, also built with Gemma 3 technology.”
16:30inFrom 46% to 90%: Fine-Tuning Tiny LLMs for On-Device AgentsYouTube Verified2 sources· Talk
- feature
AI Edge Gallery: Available on iOS and Android; supports on-device chat, image questions, audio tasks, and agent skills“available on both iOS and Android”
YouTube Unverified1 source· Talk













