本文へ移動
AI NEWS JOURNAL
Hugging Face BlogAI NEWS / JOURNAL

Edge AI in wonderland

The article highlights the advancements in edge AI, showcasing how open-source models like Qwen3-TTS and Phonon-31M enable real-time, natural-sounding speech synthesis on Arm-based devices, including smartphones and Raspberry Pi. It demonstrates a fully on-device live translation application using specialized models for voice activity detection, speech-to-text, language translation, and text-to-speech, all running without internet connectivity. The Arm AI Portal is presented as a resource for developers to access pre-optimized models, enabling diverse applications from intelligent assistants to AI-powered e-book readers. The author emphasizes that edge AI is becoming pervasive—seamlessly integrated into daily life—much like a pen, by bringing intelligence directly to devices regardless of connectivity.

翻訳サービスが停止中のため原文を表示しています。

If you know me, you probably already know how passionate I am about edge AI (and, of course, tinyML!). And if you ask me why, the answer is simple: Edge AI means carrying intelligence with me wherever I go. Imagine sitting at an airport, on a plane, on a train, or traveling somewhere where connectivity is unreliable, slow, or simply non-existent. Your device doesn’t suddenly become useless. It still carries intelligence with it, ready to help whenever you need it. And that, for me, is what makes edge AI so exciting. At Arm Create in Shenzhen, I had the pleasure of exploring exactly this topic, showcasing the remarkable progress of edge AI and highlighting how the Arm AI Portal makes pre-optimized AI models more accessible for Arm-based devices. And what better way to demonstrate it than by starting my talk in Mandarin with my own voice? Thanks to the Qwen3-TTS 0.6B Base text-to-speech (TTS) model running directly on a vivo X300 Android phone, I could do exactly that. Pretty cool, isn’t it? TTS models have come a long way in recent years. They are becoming smaller, faster, and increasingly capable of generating remarkably natural, human-like speech across multiple languages. For example, take the Qwen3-TTS 0.6B Base TTS model. This model can generate speech using your own voice in 10 different languages, including English, Chinese, Japanese, and Italian. But what if you want an out-of-the-box experience with control over intonation and expressiveness based on context? That's where Qwen3-TTS 0.6B Custom Voice comes in. From tone and rhythm to emotional expression, you can choose the voice and speaking style that best suit your application. And Qwen3-TTS is just one example of the incredibly expressive TTS models emerging from the open-source community. Another TTS model that recently caught my attention is Phonon-31M from Gradium. This remarkably compact 31-million-parameter model can generate impressively natural-sounding speech. Of course, natural-sounding speech is only part of the story. What makes these models particularly exciting is that they can run in real time, entirely on-device, on Arm CPUs, as shown in the following table: Qwen3-TTS 0.6B Custom Voice demonstrates just how far on-device speech synthesis has come, generating expressive speech in real time on premium smartphones like the Samsung Galaxy S26, with a latency of around 240 ms using just a single Arm CPU core with Arm Scalable Matrix Extension 2 (SME2) acceleration. But if you want to bring TTS to an even wider range of devices, Phonon-31M is a great alternative. With just 31 million parameters, this incredibly compact, single-language model brings natural speech synthesis to even more resource-constrained devices. For example, on a Raspberry Pi 5, it achieves a latency of approximately 128 ms using a single Arm CPU core, generating speech 2.5× faster than real time. Think about that for a moment. Here, we are talking about generating expressive, human-like speech on devices that fit in your pocket. And this brings me to something I believe AI is getting closer to becoming: a truly pervasive technology. A pervasive technology A pervasive technology becomes so deeply integrated into our everyday lives that we barely notice it. It does not mean that it is any less important. It means that it becomes such a natural part of what we do that using it feels completely ordinary. In many ways, I believe AI could eventually become like one of my favorite technologies of all time: the pen. A pen is an incredibly versatile tool. We use it to take notes, sketch ideas, solve problems, express our creativity, and communicate with others. We simply pick it up and use it, without giving it a second thought or asking ourselves, "Do I have an internet connection?" And to me, that is what makes a technology truly pervasive: when it becomes so useful and naturally integrated into our lives that we stop thinking about the technology itself, or the conditions required for it to work. Cloud AI is greatly helping bring intelligence to a wide range of applications, making it accessible to people of all ages and backgrounds in their everyday lives. However, what happens when we don't have an internet connection? Since many of these AI experiences rely on the cloud, the intelligence may become unavailable when connectivity is lost. And this is where edge AI comes in. By running AI models directly on our devices, we can keep benefiting from intelligent capabilities even without an internet connection. But what does it mean to build an edge AI application today? An edge AI application does not necessarily rely on a single model capable of doing everything. Actually, many of today's most exciting edge AI applications combine multiple specialized models, each bringing its own capabilities to create entirely new experiences. And speaking of new experiences, over the past year, I've been exploring the latest AI models emerging from the open-source community and have become increasingly impressed by the possibilities. It really feels like a wonderland of AI capabilities. As someone who loves traveling and learning new languages, one possibility particularly caught my attention: could we build an accurate, real-time translation experience with natural and expressive speech without internet connectivity? Here, I'm not talking about a basic translation app that simply translates word for word and reads the result aloud in a robotic voice. I'm talking about something far more natural, where you don’t even need to specify which language you're speaking. And I'm incredibly excited that this is no longer just a vision. It's a reality. Thanks to the incredible progress of open-source AI and the performance and widespread availability of Arm CPUs, developers can now build these experiences and deploy them across a wide range of devices, bringing natural, real-time translation to almost all electronic devices. But don't just take my word for it. Watch the video below and judge for yourself. On-device live translation As illustrated in the following animated diagram, our live translation application consists of four main pipeline stages, each powered by a specialized AI model: The Voice Activity Detection (VAD) stage, powered by Silero VAD, detects when someone starts and stops speaking. This stage is essential because it ensures the subsequent stages process only relevant speech segments, avoiding unnecessary computation during silence. Furthermore, the VAD stage also enables a hands-free experience by automatically detecting speech without requiring users to press a button to start or stop recording. Following the VAD stage, the Speech-to-Text (STT) stage, powered by Parakeet TDT 0.6B, converts spoken language into written text and supports 25 European languages. The model also automatically detects the spoken language, eliminating the need for users to select their input language manually. With the spoken words now converted into text, the next step is to translate them with the language model, powered by Hy-MT2 1.8B. This language model translates the transcribed text into the target language, preserving its meaning and context rather than simply translating word for word. When I first tried the Hy-MT2 1.8B model from the Tencent team, I couldn't believe a model capable of accurately translating to and from 33 languages could fit into just 600 MB of memory. A model like this can truly run everywhere. The secret behind this incredibly compact model is the 2-bit quantization. If you are unfamiliar with quantization, the idea is simple. Instead of representing each model weight using 32 bits required for floating-point acceleration, we use fewer bits to reduce the model's size and memory requirements. With 2-bit quantization, each weight requires just 2 bits instead of 32 — a 16× reduction in raw weight storage! And the remarkable part? The Tencent team managed to use this extreme quantization technique while preserving much of the model's translation accuracy. With the translation complete, all that's left is to turn the text back into speech with the TTS stage, powered by either the Qwen3-TTS or Phonon-31M model. This use case builds on the strengths of several established open-source AI frameworks, including LiteRT, ExecuTorch, MNN, llama.cpp, and many others. By bringing together the best of these frameworks and leveraging Arm KleidiAI integrations for seamless CPU acceleration, we can deliver high-performance AI models out of the box on Arm. What makes this even more exciting is that we can reuse and combine the same AI capabilities in different ways to create entirely new experiences. For example, we reused most of the models from our live translation application to build an AI-powered e-book reader with built-in language translation. Imagine reading a book in a foreign language, listening to it spoken aloud in a natural voice, and selecting any sentence or paragraph to instantly translate into your preferred language. No copying and pasting, no switching between applications, and no internet connection required to translate a word, sentence, or paragraph for a seamless reading experience. I love this feature so much that I’ve actually started using it to learn a new language. Of course, the natural next question is: how can developers get their hands on models like this and try them on their own devices? That's where the Arm AI Portal comes in. Arm AI Portal In the Arm AI Portal and Arm Hugging Face space, you will find hundreds of models already optimized for Arm. These models open the door to a wide range of AI applications, from live translation and smart doorbells to on-device assistants and many other exciting experiences. For example, imagine building an autonomous robot powered by a Raspberry Pi 5. You could use YOLO26n from Ultralytics to detect objects in its surroundings, combined with Depth Anything v3 or ZipDepth to estimate how far away those objects are. But what about building an intelligent meeting assistant? You will certainly need an STT model, but what about understanding who said what and when? That's where models like Nemotron-3 Diarization are fundamental, enabling speaker identification and diarization. By combining these models with an LLM such as Gemma 4 E2B, optimized for on-device inference with LiteRT-LM, you can go one step further: automatically generate meeting summaries, extract key decisions and action items, or even ask questions about the discussion. But what if, instead of simply understanding what we say, AI could also act on our words? For example, imagine building a voice-controlled AI agent that understands your requests and decides in real time which tools to call. NeuDecide is probably the most compact model designed to make this task extremely efficient on edge devices. And the possibilities go well beyond robotics and speech. What about image generation and editing, directly on your device? With FLUX.2 Klein 4B, you can generate images from text prompts, while Mobile SAM lets you segment individual objects within an image. By combining these capabilities, you can build interactive applications where users generate images and then select specific objects to edit, remove, or modify, all on-device. From vision to audio, the idea is simple: pick the AI capabilities you need from AI Portal and combine them to create something extraordinary. With so many open-source AI models now capable of bringing intelligence everywhere, it reminds me of more than 20 years ago, when carrying 1,000 songs in our pocket felt revolutionary. Today, we are getting closer to carrying thousands of AI models in our pocket, ready to understand, assist, translate, create, reason, and interact with us, all on the devices we carry every day. But unlike songs, these models are not just individual files. They are building blocks of intelligence that we can combine to create entirely new experiences. That's why I believe the real revolution won't be about how many models we can carry, but what we can achieve when those models work together. Ciao for now! Models mentioned in this article 10 More from this author Arm will be @ PyTorch Conference, Join Us! Arm & ExecuTorch 0.7: Bringing Generative AI to the masses Community · Sign up or log in to comment Models mentioned in this article 10

出典

原文を読む ↗

関連テーマ

← すべてのニュースへ