Skip to content
EventUpdating

Exact embedding verification on edge NPUs is feasible; tolerance-based verification is vulnerable to attack

1 reports1 reporting sourcesLatest report

Start here

AI overview

arXiv paper measurements show that exact embedding verification of offline RAG knowledge packs on edge NPUs is feasible: on a Raspberry Pi 5, CPU exact verification costs a concurrently running language model 23-31% of decoding speed, whereas with a Hailo-8L accelerator, verifying 8 text-vector pairs per second uses only 1.3%, and rebuilding embeddings for a 1,745-window corpus drops from 72.9 seconds on CPU FP32 to 3.4 seconds. The paper also quantifies the risk of tolerance-based verification: the NPU's INT8 embeddings deviate substantially from floating-point results, with a median cosine of 0.917; if a tolerance of 0.784 (about 38 degrees) is taken at the 0.1% quantile of honest samples, an attacker controlling vectors can push out the correct document in nearly all evaluated queries; in a separate BGE-M3 experiment, an end-to-end attack implemented within that angle budget lowered the correct answer from 0.75 to 0.35.

Generated by AI from reports · Updated 4 hr ago

Progress timeline

Nov 27
  1. arXiv: 其他 AI 安全论文
    Exact Embedding Verification on Edge NPUs: Measurement and Deployment Constraints

    The paper's measurements show that exact embedding verification of offline RAG knowledge packs on an edge NPU is feasible. On a Raspberry Pi 5, prior CPU exact verification cost a concurrently running language model 23-31% of its decoding speed; with a Hailo-8L accelerator, verifying 8 text-vector pairs per second used only 1.3%, and rebuilding embeddings for a 1,745-window corpus dropped from 72.9 seconds on CPU FP32 to 3.4 seconds. The paper also quantifies the risk of tolerance-based verification: the NPU's INT8 embeddings deviate substantially from floating-point results (median cosine 0.917), and if a tolerance of 0.784 (about 38 degrees) is set at the 0.1% quantile of honest samples, an attacker controlling vectors can almost always push out the correct document across all evaluated queries; in a separate BGE-M3 experiment, an end-to-end attack implemented within that angle budget lowered the correct answer rate from 0.75 to 0.35.

Related discussion

No discussion links have been collected for this event yet.

Attention trend

New sources per day

1 in 1 day·most 1 (Nov 30)·today 1

  • Nov 30: 1 new sources (1 outlets, 0 accounts)

Hourly attention

Current attention 40·Peak in the comparable period 40 (Nov 30 18:00)·Change over the comparable past 24 hours –

0204060Nov 3018:00Nov 3019:00Nov 3020:00Nov 3021:00