Biometric key generation systems operating on fMRI signals must remain stable under real-world acquisition conditions. Signal quality in fMRI recordings is affected by thermal noise in scanner hardware, subject head motion, and electrode displacement artifacts. The Neural Vault benchmark simulates both classes of corruption systematically, sweeping SNR levels from 30 dB down to 0 dB and dropout probabilities from 0% to 30%, then measuring how each method’s Equal Error Rate responds to degraded input.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Skieriya/fMRI-key-generation-with-TRIBEv2/llms.txt
Use this file to discover all available pages before exploring further.
Noise Injection Functions
Additive White Gaussian Noise
add_gaussian_noise computes the average signal power of the input, derives the required noise power from the target SNR in decibels, and injects zero-mean Gaussian noise at that power level.
[30, 20, 15, 10, 5, 0] dB. At 0 dB the noise power equals the signal power, representing an extremely degraded acquisition.
Motion Artifact Simulation
add_motion_artifacts stochastically replaces a fraction of feature values with draws from a high-variance Gaussian distribution, simulating the effect of electrode displacement during scanning or transient signal dropout.
[0.0, 0.05, 0.10, 0.15, 0.20, 0.30]. At prob=0.30, 30% of all feature values are independently replaced with N(0, 3.0) noise — a severe corruption scenario.
AWGN Noise Robustness Results
EER (%) for each key generation method at each SNR level. Lower EER is better; values near 50% indicate random performance (genuine and impostor keys are indistinguishable).| SNR (dB) | SHA256 EER | HMAC EER | BioHashing EER | Neural EER |
|---|---|---|---|---|
| 30 | 49.20% | 50.00% | 15.63% | 0.75% |
| 20 | 49.03% | 51.06% | 16.98% | 0.75% |
| 15 | 49.74% | 51.15% | 15.28% | 0.75% |
| 10 | 51.51% | 50.67% | 16.98% | 1.13% |
| 5 | 50.13% | 51.72% | 14.34% | 0.47% |
| 0 | 49.33% | 48.75% | 11.49% | 1.13% |
SHA256 and HMAC hover near 50% EER at every SNR level because cryptographic hash functions are designed to be maximally sensitive to input changes — a single bit flip in the feature vector produces a completely different 256-bit digest. This means genuine samples with slightly noisy features produce keys that are as far from the prototype key as random impostor samples. The Hamming distance distributions for genuine and impostor pairs collapse onto each other, making discrimination impossible regardless of noise level.
Motion Artifact Robustness Results
EER (%) for each method as a fraction of feature values are randomly corrupted withN(0, 3.0) noise.
| Artifact Prob | SHA256 EER | HMAC EER | BioHashing EER | Neural EER |
|---|---|---|---|---|
| 0.00 | 48.39% | 52.58% | 15.09% | 0.75% |
| 0.05 | 50.83% | 50.53% | 13.21% | 1.26% |
| 0.10 | 51.55% | 50.76% | 11.79% | 1.42% |
| 0.15 | 50.27% | 50.67% | 11.32% | 0.94% |
| 0.20 | 50.56% | 49.09% | 12.74% | 1.13% |
| 0.30 | 47.73% | 51.17% | 10.06% | 0.94% |