On-Device Browser AI Models: Download, Consent, and Reinstall Governance

    On-device AI can cut latency and keep data local, but multi-gigabyte models still consume storage, network, and compute. This article explains why silent downloads and “deleted then back” reinstalls erode trust, and how to govern consent, lifecycle state, resources, privacy, and enterprise policy.

    On-Device Browser AI Models: Download, Consent, and Reinstall Governance

    On-device AI is moving from concept to large-scale client deployment. Running models locally can reduce round-trip latency, cut cloud data transfer, and support summarization, rewriting, scam detection, and content understanding when the network is offline or weak. A local model is not invisible code: it is often several gigabytes, downloaded in the background, verified, written to disk, loaded into memory, and updated over time. Without clear user authorization and lifecycle design, a technical optimization becomes a trust problem.

    In recent public discussion, a client product was accused of background-downloading a local model on eligible hardware without a dedicated confirmation dialog; after users deleted the files, the system could download them again; the path to turn the capability off was deep, and defaults were seen as a broad grant of permission. Responses stressed local security use, no cloud upload of data, and options to disable or uninstall. The debate did not fully fade, because users care about three questions: Did I know it was downloaded? If I refuse, can core features still work? If I delete it, why does it come back?

    These issues are not unique to one product. Any client that ships a large model must answer what the model is, who decides installation, when it downloads, how it updates, what deletion means, and how enterprises govern it centrally. The rest of this article covers mechanisms, privacy boundaries, product design, and engineering.

    1. Four concepts that are easy to confuse

    Local inference can keep raw data on the device. That does not mean the user should not notice. Downloads use storage and network; runtime may access page content, typed text, or other context needed for security checks; memory, battery, and compute are consumed. Even if results never leave the device, users still need to know which capabilities are on, what data is accessed, and whether results are logged.

    Privacy design must cover how data is accessed locally, how long it is kept, which process isolates it, whether local logs are written, and whether a site or extension can trigger the model. Local processing reduces one class of risk and introduces another around device resources and permissions. The former does not cancel the latter.

    2. “Self-heal” is not “auto reinstall”

    Clients often repair missing or corrupted files by re-downloading assets. That is common for dictionaries, rule packs, and certificate lists. Large models are different: they are large, costly to download, may require extra consent, and deletion often signals explicit user intent.

    If “user deleted the files” is treated as ordinary “file missing,” the healer will download again. That is natural as implementation and may violate product meaning. Deletion is a first-class state, not drift to be corrected on the next reconcile.

    3. “Feature toggle off” is not “model uninstalled”

    A common pattern is to keep files on disk after the toggle is off, or download first and load only on use. Developers get faster re-enable; users see “off” while gigabytes remain and may call it a fake off.

    Split states: capability enabled, model downloaded, model loaded in memory, model deleted by the user. Closing a feature may keep a cache if that is labeled. User delete must persist and must not be overwritten by a toggle or a silent update.

    4. “Cache eviction” is not “user revocation”

    Eviction under disk or memory pressure is resource policy and may re-prepare later. User delete is intent: do not auto-download unless the user (or a managed-device admin with a clear policy) opts in again.

    If you only delete files and do not record the decision, space recovery, upgrades, or restart will look like “it came back.” Persist a tombstone with higher priority than background update policy.

    2. Why models auto-download and come back

    A typical delivery path includes a model catalog, policy, downloader, integrity checks, runtime load, and an update coordinator:

    1. On start or a periodic check, read capability config.
    2. Decide from hardware, region, version, and settings whether a local model is needed.
    3. Fetch a manifest: id, version, size, purpose, capability scope, hashes, minimum OS.
    4. Enqueue download when conditions match.
    5. Verify integrity.
    6. Mark ready and load on use.
    7. The coordinator checks for new versions and does incremental or full replace.

    Failures usually sit in steps 2 and 7. If the desired state is “this capability should be available” and there is no durable “refused install” record, “file absent” is treated as a gap to fill.

    Desired-state reconciliation is normal in distributed systems. The mistake is omitting refuse and delete from the state machine. High availability then overwrites user intent.

    A more reasonable machine:

    • NOT_INSTALLED: never installed
    • WAITING_CONSENT: waiting for a decision
    • QUEUED: authorized, waiting to download
    • DOWNLOADING
    • VERIFYING
    • READY
    • UNLOADED: files kept, memory released
    • REMOVED_BY_USER: explicit user delete
    • UNAVAILABLE: hardware or policy forbids it

    REMOVED_BY_USER must persist. Leave it only on explicit re-enable, or on a managed device via a clear admin policy. Ordinary version upgrades should not reset it. If a new version changes capability, size, or data handling in a material way, prompt again; do not restore silently.

    A multi-gigabyte download should not rest on a single “AI features” master switch. Consent should be layered by purpose and capability.

    Before first download, the prompt should cover:

    • What will be installed: purpose, scope, approximate size
    • Why local: offline, latency, or security detection
    • Resource impact: disk, network, memory, battery
    • Data handling: what is processed locally, whether logs exist, whether cloud may still be used
    • Choices: enable now, remind later, refuse
    • Revocation: how to disable, how to delete, what happens after delete

    Consent needs scope. One model may power summary, rewrite, and site-initiated local inference. Users need capabilities they can perceive and models they can manage. If a feature requires the model, request download on first use rather than preinstalling in the background. Security features, even with a legal or safety basis, still need public purpose, processing bounds, and a way to turn them off. “Security” is not a blank check for opaque deploy.

    Revocation must work: cancel downloads, stop auto-update, unload runtime, record the decision. If the user only disables the feature and keeps files, label remaining disk use and offer a separate delete.

    Material change needs a new notice: much larger size, broader capabilities, new data classes, or web-originated calls. Do not stretch old consent across those upgrades.

    4. Resource policy for download, storage, and runtime

    Users should not silently pay the cost.

    Before download, check free disk plus a reserve. Distinguish metered vs unmetered networks; delay on roaming, low battery, thermal stress, or system load. Support resume, chunk verification, backoff, and bandwidth caps so the job does not starve core work.

    Share one model across capabilities; track references so turning off one feature does not delete files another still needs. Evict rebuildable cache before user data. Explain in settings whether auto-eviction is temporary or permanent. Temporary eviction should be labeled; user delete must not auto-restore.

    Load on demand, drop sessions under memory pressure, avoid always-resident backends. Run the model in an isolated process with least privilege on filesystem, network, and page content. For security detection, state what is read, whether it stays in memory or is recorded, and how results are shown, so local AI is not a new collection path.

    If a page can request local inference, require site-level permission, rate limits, concurrency limits, and quotas. Otherwise a malicious page can burn compute or fingerprint the device via response differences. Stronger on-device capability needs a tighter call boundary.

    5. Privacy and security: local is not the end of risk

    A model is loadable (or executable) content. Supply chain: signatures, hashes, anti-rollback, trusted publisher, protected update channel. Corruption or substitution can yield wrong results or runtime risk. Use atomic replace and rollback so a failed update does not leave a long outage.

    Isolate from renderer, extensions, and high-privilege services: worker process, minimal API, memory isolation, allowlists. Give only the minimum input for the current capability; do not harvest unrelated page data.

    Telemetry for download success (version, duration, error codes, verify results) can be reasonable. Raw user input, page body, or inference output needs a stated purpose, minimization, and retention. Privacy copy should separate uploaded telemetry from locally processed data so “not in the cloud” is not read as “not recorded.”

    Enterprises need inventory: present or not, version, who authorized, disabled or not, callable from the web. Managed endpoints should allow or forbid on-device models, pin versions, set download windows, emit audit events, and have an emergency kill switch. Consumer defaults should not copy onto enterprise networks.

    Seven parts:

    1. Model catalog: purpose, capabilities, size, hashes, version, hardware, update policy
    2. Consent and authorization: user or admin decisions, revoke by capability and by model
    3. Policy engine: user choice, legal requirements, device state, network, enterprise policy
    4. Download scheduler: queue, resume, rate limit, backoff, retry
    5. Integrity checker: signature, hash, version, anti-rollback
    6. Runtime agent: on-demand load, isolation, caller limits, quotas
    7. Audit and observability: download, enable, disable, delete, failure

    Pseudocode for “user delete wins” (illustrative, not a real API):

    1. type Decision = "granted" | "denied" | "unset"
    2. type ModelState =
    3. "NOT_INSTALLED" | "QUEUED" | "DOWNLOADING" |
    4. "READY" | "UNLOADED" | "REMOVING" | "REMOVED_BY_USER"
    5. record UserChoice {
    6. modelId: string
    7. decision: Decision
    8. tombstone: boolean // true after explicit user delete
    9. noticeAcknowledged: boolean
    10. }
    11. record Model {
    12. id: string
    13. version: string
    14. bytes: number
    15. hash: string
    16. optional: boolean
    17. purpose: string
    18. }
    19. function canSchedule(model, choice, env) {
    20. // User delete is a veto, above self-heal and version updates
    21. if (choice.tombstone) return false
    22. // Optional models need explicit grant and an acknowledged notice
    23. if (model.optional && choice.decision !== "granted") return false
    24. if (!choice.noticeAcknowledged) return false
    25. if (env.freeDisk < model.bytes + env.reserveBytes) return false
    26. if (env.metered && !env.allowMetered) return false
    27. if (!env.charging && env.battery < 0.2) return false
    28. if (env.thermalLevel === "high") return false
    29. return true
    30. }
    31. function onUserRemove(model, choice) {
    32. choice.tombstone = true
    33. choice.decision = "denied"
    34. downloader.cancel(model.id)
    35. runtime.unload(model.id)
    36. storage.remove(model.id)
    37. audit.record("model.removed.by_user", model.id)
    38. }
    39. function reconcile(model, choice, env) {
    40. if (choice.tombstone) return
    41. if (!canSchedule(model, choice, env)) return
    42. if (!storage.exists(model.id) || !storage.verify(model.hash)) {
    43. scheduler.enqueue(model)
    44. }
    45. }

    Three points: persist the tombstone, not only file removal; downloads need user choice, resources, and policy together; self-heal must not treat “missing” as “should be filled.”

    Release with canaries, rollback, and emergency stop: prove download success, compatibility, and resource use on a small set, then expand. On incident, stop new downloads, freeze version, and roll back—do not rely on deleting files by hand.

    7. Shipping checklist

    • Can users see, in an obvious place, whether a local model exists, its size, purpose, version, and last update?
    • Did first download get consent that matches the download, not only a generic default switch?
    • After refuse, is there a degradation path: cloud, lightweight rules, or disable the enhancement?
    • After delete, does the removed state persist across upgrade, free space, and restart—no silent re-download?
    • Are feature-off, memory unload, and file delete distinct in UI and docs?
    • Do downloads respect metered networks, disk headroom, battery, temperature, and roaming?
    • Are files signed, hashed, anti-rollback, and atomically updated?
    • Is runtime isolated, least-privilege on page content, with site permission and quotas?
    • Are local logs, caches, and telemetry minimized with stated retention?
    • Can enterprises centrally disable, pin versions, audit, canary, and emergency-stop?

    Test at least: low disk, metered network, interrupted download, corrupt files, version upgrade, delete-then-restart, delete-then-upgrade, enterprise policy conflict, offline start, repeated web calls, bad input, and model rollback. Trust often fails after delete, after upgrade, or after space pressure—not on first download.

    Conclusion

    On-device AI’s value is real: lower latency, a stronger privacy boundary, better offline behavior. Putting a model on the user’s device also puts storage, compute, network, and authorization on the client. The model is not an invisible cache; it is a software asset the user can see, manage, and revoke.

    Transparency is not a dialog on every launch. It is knowing what was installed, why, how much it uses, how to turn it off, and whether delete sticks. Governance is not “we can auto-download”; it is respecting refusal, durable delete, explainable updates, and enterprise audit. Design consent, lifecycle, scheduling, and isolation together so a background file becomes a local capability people can trust.