arXiv Science⌕ Search

arXiv subjects

Fu Dai

Publications and source records attributed to Fu Dai.

2 recordsLinked to original sources

Contamination at the Operating Point: Train-Test Identity Overlap Inflates Low-FMR Face Recognition Accuracy by an Order of Magnitude

Face verification systems are deployed by selecting a decision threshold that achieves a target false match rate (FMR); performance is then reported as the corresponding false non-match rate (FNMR). In practice, deployed systems operate at FMR $\le 10^{-6}$, but widely used benchmarks can share identities with the models' training corpora. Prior work (Wu et al., 2024) measures the resulting optimistic bias as a small additive change in 10-fold accuracy (up to 1.01 percentage points). We show that the bias is neither small nor constant: it is a multiplicative error that grows as FMR falls. First, we audit train-test overlap with a detector calibrated against a null distribution (rather than a hand-tuned threshold). Relative to WebFace42M, we flag 88.6% of MS1MV3 identities and 14.3% of IJB-C subjects as present, despite WebFace260M's published de-overlap explicitly naming IJB-C. Manual review of 100 flagged IJB-C subjects confirms 69.2%, implying a residual overlap of roughly 9.9%. Second, holding the model fixed, removing only the contaminated identities from the test set increases FNMR by 3.6$\times$ at FMR=$10^{-4}$, 6.3$\times$ at FMR=$10^{-5}$, and 13.9$\times$ at FMR=$10^{-6}$, while a same-size random removal does not. The effect is traced to a shorter impostor tail that lowers the threshold. The magnitude of the shift depends on the training corpus and does not cancel betweent margin between our model and a publicbaseline by half. Third, we give the first direct measurement of the effective number of independent impostor comparisons in IJB-C: only 2.7 million effectively independent comparisons at FMR=$10^{-6}$, which is below all commonly accepted reporting rules. Finallyth a known training corpus, we build areal-face protocol with audited zero overlap that resolves FMR=$10^{-8}$.

cs.CV↗

Position-Skipped Distillation of Sparse-Attention Indexers: Train Short, Serve Long

Top-k sparse attention relies on an indexer, a lightweight per-layer module that ranks cached tokens so attention covers only the k highest-scoring ones. Indexers are usually distilled from dense attention at the full serving length, so every training step pays for long-context dense attention. We show that when an indexer is distilled on short sequences, its failure to generalise to longer contexts is driven mainly by rotary positional encoding (RoPE), not by degraded content matching. We propose position-skipped distillation: the indexer and the frozen teacher see short sequences whose position IDs contain a randomly placed gap, so neither ever processes more than the short training length. On DeepSeek-V2-Lite and Qwen3-30B-A3B, an indexer distilled on 8K tokens this way matches a 32K-distilled indexer to within about 0.5 perplexity up to 32K, and on DeepSeek-V2-Lite matches a 64K-distilled indexer at 64K with roughly 6x less training compute per token. On Llama-3.1-8B it trails the stronger 32K run by 0.6 perplexity, and at 64K simple position compression is often as good, so the main gain is training cost rather than quality. We also quantise indexer keys to 3-4 bits without retraining and score them with a fused integer kernel: at 4 bits, perplexity changes by at most 0.05 and the scan is 1.6-2.2x faster than half precision. In a current serving engine, the indexer speeds up decoding only for long contexts with multiple concurrent streams.

cs.CL↗