What is on-device inference?

Definition

On-device inference performs model computation using resources available on a local device. It may use a processor, graphics hardware or another accelerator. Keeping selected work local can reduce dependence on network access and allow an application to process some inputs without sending them to a remote model.

Local execution has memory, energy and performance limits. It also does not automatically make an application private or secure: the surrounding software can still transmit information or expose it through other features. Hybrid systems may choose between local and remote execution for different tasks.

ELI5

On-device inference means the AI model runs on the phone, laptop, or other device in front of you, rather than sending every request to a remote data center. This can make some features faster, work without a steady internet connection, and keep selected information on the device.

For example, a phone could sort photos or suggest text locally while it is in airplane mode. The tradeoff is that a small device has limited memory, processing power, and battery life, so the model may need to be compressed or made less demanding.

Does on-device inference require internet access?

The local computation may work offline once the required software and model files are available. Other application features may still depend on a network.

Is a local model automatically private?

No. Privacy also depends on the application's data handling, permissions and network behaviour.

  1. Ray Fernando and Prince Canuma beside the words Local AI Gets Practical
  2. Portrait of Pat Simmons beside the words Build Your Own Dictation App
  3. Alex Finn in a blue shirt gestures beside the blue and white headline Local AI, One Click on black.
  4. Ahmad Osman gestures beside the blue-and-white RUN AI ON YOUR TERMS headline on a black background.
  5. The words Own AI or Rent It beside a flat balance comparing local compute with a cloud
  6. Matthew Berman beside the headline 6 Open-Source AI Projects
  7. Greg Isenberg against a black background beside the headline “LOCAL AI BUSINESS MAP”.
    I'm Obsessed With Local AI. Here's Why
    Greg Isenberg38m 46s1 VIEW
  8. Portrait of Bijan Bowen beside the words Q8 Builds Better Games
    Ornith 1.5 35B Q4 vs Q8
    Bijan Bowen31m 40s1 VIEW
  9. A flat illustration of a laptop and agent workflow beneath the words Local AI Agents.
  10. Satya Nadella in blue and Jensen Huang in white against black beside the blue-and-white headline “Local Meets Cloud”.
Definition card for on-device inference: What is on-device inference?

On-device inference runs a trained model on the user's device rather than relying entirely on a remote model service.