Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Google Research 7 min read Research hardMaster

Small models, big results: Achieving superior intent extraction through decomposition

Splitting UI-trajectory intent extraction into two stages lets small on-device multimodal LLMs match much larger models. First, each screen interaction is summarized from a sliding window of three screens, covering screen context, user actions and a speculation about the goal. Second, a fine-tuned small model turns the sequence of summaries into a single intent sentence. Three training choices drive the gains: dropping the speculations in stage two, and cleaning training labels with an LLM so they contain no details missing from the summaries, which reduces hallucination. Evaluated with Bi-Fact atomic-fact precision/recall F1, the method beats chain-of-thought prompting and end-to-end fine-tuning on Android and web data for Gemini and Qwen2, with Gemini 1.5 Flash 8B approaching Gemini 1.5 Pro.

Assumes: multimodal LLMsfine-tuningprecision/recall and F1

Related posts

  • Accelerating Gemini Nano models on Pixel with frozen Multi-Token Prediction

    Google Research hardMaster

    Google retrofits a Multi-Token Prediction (MTP) head onto frozen, already-deployed Gemini Nano v3 models to speed up on-device speculative decoding on Pixel 9 and 10 phones. A lightweight transformer head attached to the final layers drafts future tokens from the backbone's hidden states and cross-attends directly to the main model's KV cache. This removes drafter prefill latency and saves about 130MB per instance compared with a standalone drafter. Because the backbone stays frozen and drafts are verified, output is bit-for-bit identical to the base model, and no per-task drafter fine-tuning is needed. Reported gains are 50%+ speedups over comparable standalone drafters, up to 55% better token acceptance on structured tasks like smart replies, and nearly two extra accepted tokens per pass in production features like Notification Summaries and Proofread.

  • Vision Language Models (Better, faster, stronger)

    Hugging Face easyNovice

    Vision language models shifted over the past year toward smaller yet stronger models, any-to-any architectures, multimodal reasoning, Mixture-of-Experts decoders and vision-language-action models for robotics. Specialized capabilities matured: detection, segmentation and counting via localization tokens (PaliGemma, Molmo, Qwen2.5-VL), multimodal safety filters (ShieldGemma 2, Llama Guard 4), and multimodal RAG that skips brittle PDF parsing using DSE or ColBERT-style retrievers such as ColPali. Small models like SmolVLM and gemma-3-4b-it can run locally through MLX and llama.cpp with one-line commands, and MoE decoders trade higher memory for faster inference.

  • Investing in Performance: Fine-tune small models with LLM insights - a CFM case study

    Hugging Face mediumAdept

    Capital Fund Management built a financial named-entity recognition pipeline that extracts company names from Benzinga news headlines in the FNSPID dataset. Llama 3.1-70B, served on Hugging Face Inference Endpoints, pre-labels the headlines using a structured few-shot prompt and JSON-schema guided output, and humans then review those labels in Argilla. Fine-tuning compact models such as GLiNER and SpanMarker on the curated labels raises F1 to 93.4% and 90.1%. That approaches the 95% zero-shot F1 of Llama 3.1-70B at up to 80x lower inference cost. The walkthrough includes endpoint setup, prompt design, async batched requests with AsyncInferenceClient, and a comparison against weak supervision.

  • Build specialized multimodal models with LFM3

    Hugging Face hardMaster

    LFM3 is Liquid AI's new family of ~2B-parameter models: text, vision, audio, omni and decision variants, all built on one shared LFM3-1.7B-Base backbone and designed for single-GPU fine-tuning and on-device deployment. The backbone is a 24-layer tri-hybrid found by hardware-in-the-loop architecture search. It mixes 13 gated short convolutions (kernel size 7), 5 sliding-window attention layers and 6 global attention layers, and adds head-wise sigmoid-gated attention, partial RoPE and sandwich norm. Pre-training covered 22T tokens, with a 3.5T-token agentic mid-training stage that extends context to 256K. Reported results include LFM3-1.7B beating LFM2.5-2.6B with 35% fewer parameters and running about 25% faster at 8K context. New in-house vision and audio encoders cut compute (2.2x fewer FLOPs than Qwen3.5-2B's encoder), and the LiquidCodec speech tokenizer decodes about 87x real time on one CPU thread; `transformers` usage snippets are included for each model.

  • Run fast, private agents on-device with LFM2.5-24B-A2B

    Hugging Face mediumAdept

    LFM2.5-24B-A2B is an open-weight 24B-parameter MoE reasoning model with 2B active parameters per token, aimed at running tool-using agents on local hardware. It keeps LFM2's 40-layer hybrid of gated short convolutions and GQA with 64 experts and top-4 routing. The context window grows from 32K to 131K tokens, the vocabulary doubles to 128K, pre-training scales to ~33T tokens, and post-training runs SFT, teacher specialization, two on-policy distillation stages and agentic RL inside harnesses like OpenClaw and Hermes Agent. It leads larger MoEs such as Qwen3.6-35B-A3B on most tool-use and instruction-following benchmarks but trails on knowledge and coding tasks like SWE-Bench Verified. It decodes 184 tok/s on an M5 Max and up to 21K tok/s on a B300, and ships with transformers code and an OpenAI-compatible harness configuration.

The quest for software engineering knowledge.

Look:
Layout: