Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Meta Engineering 6 min read Research hardMaster

PVF: A novel metric for understanding AI systems’ vulnerability against SDCs in model parameters

Parameter vulnerability factor (PVF) is a metric, modeled on the architectural vulnerability factor (AVF), that defines the probability that a corruption in a given model parameter (or group of parameters) produces an incorrect output, estimated through large-scale fault injection. On DLRM inference, embedding tables show low PVF because of sparsity, while top-MLP reaches 0.4% under a single bit flip and 40% under 128 flips, versus 10% for bot-MLP. That gap argues for selectively protecting the most vulnerable parameters in hardware rather than protecting everything or nothing. A companion method, Dr. DNA, detects and mitigates SDCs from distributions of neuron activations, reaching about 95% average detection across 10 DNNs with under 1% memory and 2.5% latency overhead.

Related posts

  • How Meta keeps its AI hardware reliable

    Meta Engineering hardMaster

    Silent data corruptions (SDCs), hardware miscomputations that leave no trace, now occur at roughly one fault per thousand devices and are a growing threat to large-scale AI training and inference. Meta classifies hardware faults as static, transient or silent. It detects SDCs fleet-wide with Fleetscanner (periodic directed tests every 45-60 days), Ripple (millisecond co-located tests) and Hardware Sentinel (kernel-space exception analysis, 41% better than test-based methods). For AI workloads, SDCs cause NaN propagation and corrupted gradient variance during training and wrong outputs during inference. Mitigations combine infrastructure strategies (reductive triage, deterministic training, hyper-checkpointing) with stack strategies (gradient clipping, algorithmic fault tolerance, shadow-node verification, parameter vulnerability factors, divergence detection).

  • 4M Models Scanned: Protect AI + Hugging Face 6 Months In

    Hugging Face easyNovice

    Six months into the Hugging Face partnership, Protect AI's Guardian has scanned 4.47 million model versions across 1.41 million Hub repositories and flagged 352,000 unsafe or suspicious issues in 51,700 models. It serves 226 million requests a month at about 8 ms response time. Four new detection modules cover archive slip, Joblib code execution, TensorFlow SavedModel architectural backdoors and malicious llamafiles. Recurring attack themes are library-dependent call chains (e.g. torchvision.io file overwrites), payloads hidden through compression and nested archives, framework-extensibility exploits such as Keras CVE-2025-1550, and chained attack vectors, all handled under a zero-trust stance that treats any arbitrary code execution as suspicious.

  • Keeping 20,000 GPUs healthy

    Modal mediumAdept

    Modal keeps a multi-cloud fleet of over 20,000 concurrent GPUs reliable through instance-type benchmarking, continuously tested machine images, light boot checks, and passive plus active lifetime healthchecks. Anonymized cloud comparisons reveal large differences: PCIe H100s deliver about 40% fewer matmul FLOP/s than SXM, one provider ran H100s above 90°C and lost roughly half of peak performance, and one provider's L4s flake at CUDA init 0.1% of the time. Boot checks stay shallow (systemctl, nvidia-smi, a GPU read/write) to avoid slowing autoscaling. Passive monitoring uses dcgmi and dmesg Xid errors, weekly active checks run DCGM diag level 2, GPU burn and NCCL all-reduce, and unhealthy hosts are drained and replaced rather than repaired.

  • Hardened Images Are Free. Now What?

    Docker mediumAdept

    Docker Hardened Images (DHI), now free across 1,000+ images, establish a security "waterline": Docker owns vulnerability remediation for the base layers it hardens, while teams own application code and dependencies above it. Beyond CVE reduction, DHI isolates teams from supply chain attacks that exploit community image trust, such as stolen PATs and tag mutability. The recommended practice treats the container image as the unit of assessment, enforces simple severity-based policies (high/critical remediated, CISA KEV always in scope), and uses OpenVEX statements via vexctl and docker scout attestation add to document and auto-suppress assessed findings. These artifacts also support compliance evidence for ISO 27001, SOC 2 and the EU Cyber Resilience Act.

  • Detecting silent errors in the wild: Combining two novel approaches to quickly detect silent data corruptions at scale

    Meta Engineering mediumAdept

    Meta detects CPU silent data corruptions (SDCs), hardware errors that leave no log trace and propagate into applications, with two complementary fleet-testing methods. Fleetscanner piggybacks minutes-long intrusive tests on maintenance events like reboots and firmware upgrades, reaching each machine about once every 180 days. Ripple testing injects bit patterns with known results alongside production workloads in runs of hundreds of milliseconds, finding 70% of faulty CPUs within 15 days versus about 6 months for opportunistic testing. Because each method also catches faults the other misses (23% unique to opportunistic, 7% to ripple), Meta recommends running both.

The quest for software engineering knowledge.

Look:
Layout: