Exact Embedding Verification on an Edge NPU: Measurements and Deployment Constraints
An edge accelerator cut verification’s language-model slowdown to 1.3%, but exact checks depend on reproducible reference vectors.
On a Raspberry Pi 5 with a Hailo-8L, re-embedding 1,745 text windows took 3.4 seconds, versus 72.9 seconds on the CPU. Its quantized embeddings differed enough from floating-point results that a tolerance accommodating honest differences also allowed attackers to displace the correct document for essentially every evaluated query. The chip nevertheless produced bit-identical embeddings across repeated runs, batch sizes and processes in the tested configuration. The proposed deployment recomputes every chunk, retrieves with locally generated vectors and treats reference mismatches as integrity events, with a signed manifest binding the settings that determine the output.
HF Daily Papers' note
On a Raspberry Pi 5 with a Hailo-8L, re-embedding 1,745 text windows took 3.4 seconds, versus 72.9 seconds on the CPU. Its quantized embeddings differed enough from floating-point results that a tolerance accommodating honest differences also allowed attackers to displace the correct document for essentially every evaluated query. The chip nevertheless produced bit-identical embeddings across repeated runs, batch sizes and processes in the tested configuration. The proposed deployment recomputes every chunk, retrieves with locally generated vectors and treats reference mismatches as integrity events, with a signed manifest binding the settings that determine the output.
HF Daily Papers' note
score 4