When an Encrypted Matcher Fails Over but Its Decision Boundary Moves
An encrypted facial matcher can return a valid ciphertext and still make an unreliable identity decision. Consider a failure scenario in FHEID’s application domain: a worker outage redirects searches to a recovery pool whose arithmetic profile has different approximation error. The outage triggers the incident, but the underlying assumption is that every compatible evaluator preserves the calibrated decision boundary.
The symptom appears at the threshold
The observable failure is an identity acceptance that would have remained below the acceptance threshold under the validated evaluation profile. With facial embeddings containing 512 components, cosine matching can reduce to an encrypted dot product when both embeddings are normalized before encryption, while squared Euclidean distance preserves the same ranking under that normalization contract. Packed multiplication and slot reduction introduce approximation error through encoding and homomorphic arithmetic, so algebraically equivalent scoring paths need not produce identical numerical results. As the FHE developer reference explains, CKKS uses approximate arithmetic whose precision depends on its parameters. A small discrepancy becomes operationally significant when the decision margin is comparable to the accumulated error, especially when searching a gallery introduces competing candidates close to the selected match.
The outage exposes an older assumption
The worker outage is the trigger, while the underlying design defect is treating ciphertext compatibility as evidence that the recovery evaluator preserves the score accuracy, normalization contract and comparison behavior used to calibrate identity acceptance.
Recovery needs a decision contract
A recovery worker should advertise a validated evaluation profile that binds the embedding model, normalization procedure, packing layout, cryptographic context, evaluation keys and scoring circuit to its supported error envelope. Cryptographic compatibility permits execution, but acceptance requires evidence that this particular computation remains within that envelope over the permitted input domain. Measure encrypted scores against a trusted reference using representative biometric trials and deliberately difficult boundary cases, applying the ISO biometric performance testing family to distinguish recognition performance from arithmetic agreement. Those measurements support an operational envelope rather than proving a universal mathematical bound, and any encrypted comparison approximation must be included rather than measured separately and forgotten. The decision rule is to release an automatic acceptance only when the candidate’s conservative score interval clears the acceptance threshold and remains separated from every competing candidate’s interval, with the inequalities reversed for distance scores.
Keep intake available when matching cannot decide
If the recovery pool cannot satisfy that contract, preserve the encrypted request in a bounded queue and return a pending outcome, allowing identity intake to continue while automatic decisions pause. A separately validated recovery pool can consume those requests using the same gallery snapshot and request identity, with idempotent result publication preventing retries from producing conflicting outcomes. Keep raw scores and decrypted templates inside the established trust boundary, because encryption during evaluation does not prevent an output interface from disclosing biometric information through repeated queries. Independent key service availability and authenticated binding of results to requests are also prerequisites for useful recovery, since another evaluator cannot compensate for an unavailable authorized decryptor or an unverifiable result. The remaining engineering decision is how much pending work the service can retain before refusing new intake, rather than how far to relax the identity boundary to make recovery appear successful.