On-Device AI

Running AI features locally on a phone, laptop, vehicle, or other device instead of sending every request to a remote server.

What still works when a gallery handset loses Wi-Fi?

Consider a fictional audio guide that turns a stored object caption into speech. The voice model and caption are already on the handset.

  1. Before the visit

    The handset downloads a voice model and a set of captions. This setup step uses the network.

  2. In the gallery

    The visitor selects an object. The speech model generates audio on the handset using the local caption, so this step can run offline.

  3. After the visit

    An optional sync might upload usage counts. Whether that happens depends on the application’s settings and behavior.

Test the claim one feature at a time

Try an installed caption in airplane mode, then try a newly added object whose caption has never been downloaded. Check which step needs a network connection and which data the application transfers when it reconnects. A local speech model alone tells you little about the rest of the application.

What It Does Not Mean

On-device AI does not mean the cloud disappears. Many real systems use a hybrid design. Smaller or faster tasks may run locally, while larger or more complex requests are sent to server-side models. The important distinction is that the product chooses deliberately which work stays local and which work leaves the device, rather than defaulting everything to the cloud.

Follow the idea

Edge computing also includes processing on nearby systems beyond the handset.

Model compression can help a speech model fit in a device’s available memory.

Related concepts (5)

Examples in the AI guides

Related Yenra articles (5)

Source · Google LiteRT documentation for on-device inference

Return to On-Device AI in the A–Z glossary