﻿# On-device email completion: evaluate the message it finds

A local email-completion study ranks mailbox-derived query candidates. Its full paper separates suggestion helpfulness, target-email retrieval and study telemetry.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/on-device-email-query-completion-private-evaluation/
Language: en

## Completion starts from the user's own mailbox

The study [On-Device Query Auto-Completion for Email Search](https://machinelearning.apple.com/research/query-auto-completion-email) develops suggestions without depending on centrally aggregated personal search logs. It retrieves emails for the current prefix, extracts candidates and ranks them using local textual and structural signals. This is a particular retrieval-based method, rather than a claim that an arbitrary language model can privately guess the intended message.

Its input changes with the mailbox. Newly received or deleted mail affects the candidate evidence, so index freshness belongs to the system's behavior as much as the ranking formula does.

## Completing a word and suggesting a phrase are separate steps

The [full paper](https://link.springer.com/chapter/10.1007/978-3-031-56027-9_18) distinguishes the existing query, completion of its unfinished final word and an optional suggested phrase. These parts need not occur consecutively in the source email. This allows a useful query to combine evidence that a contiguous phrase dictionary would miss.

Candidate ranking uses document relevance, proximity and field information. A sender or subject can contribute differently from body text. The existing [field-weighting guide](/journal/weaviate-bm25f-field-weighting/) explains the broader distinction between searchable evidence and its ranking influence. Here, however, the output is a proposed query, which must subsequently retrieve the desired email.

## A helpful-looking suggestion is not the final outcome

The paper evaluates suggestion helpfulness, serious defects and the emails returned after selection. Its private-mailbox study uses 47 graders and 1854 fixed prefixes. Each grader evaluates alternatives against the same mailbox state and intended search.

At rank 5, the proposed method reports NDCG Helpfulness of 53.29%, compared with 47.83% for the TF-IDF+ baseline. Email Recall is 46.49% versus 44.50%. These are different metrics: the latter checks whether selecting a suggestion brings the intended message into the returned list. A better-looking phrase does not automatically solve the retrieval task.

For a local adaptation, preserve that separation. A suggestion can be grammatical yet steer the search toward a frequent promotional sender instead of the remembered transaction. Judging only phrase fluency would miss that failure.

## Local processing and study telemetry have distinct boundaries

The method keeps the email index and candidate processing on the device. The study also performs scraping and grading locally, but its protocol sends quality grades, comments and unpersonalized metadata to a server, with optional donation of queries and suggestions. Local inference should therefore not be paraphrased as an evaluation in which absolutely nothing leaves the device.

A reproduction can preserve private content while still documenting what measurement records are exported. The important property is the actual data path, including diagnostics and optional features. Privacy conclusions should follow that path rather than the presence of an on-device label.

## Latency and scope remain qualified

The authors report average latency overhead of 50 ms. That is an implementation measurement, without enough hardware detail here to promise the same result on another laptop or a tail-latency target. The [inference benchmark guide](/journal/inference-benchmark-method/) provides the relevant distinction between average work and a complete interactive response boundary.

The paper leaves misspellings and synonyms absent from email content for future work. Its evidence therefore supports a concrete local candidate-generation and ranking approach under the evaluated conditions. It does not establish semantic recovery of every remembered message, multilingual quality or a currently shipped product capability. A useful deployment test includes index updates, ambiguous prefixes, failed queries and the actual messages returned after selection.
