HardwareDx: A Foundational Graph Model System for Datacenter Machine Repairs

Yuanlin Wen, Elan Sopher Markowitz, Zubo Gu, Sami Abu-El-Haija, Bryan Perozzi, Mikhail Galkin, Ali Parviz, Aayush Gupta, Venkata Chivukula, Griffin Hadfield, Aravind Akella, Daniel J Frame, Vahab Mirrokni, Amin VahdatNeurIPS 2026

TL;DR

When a single machine fails in a synchronized 100,000-GPU training cluster, the entire multi-million-dollar AI workload can grind to a halt—and at that scale, something breaks every 15 to 18 minutes. Google researchers built HardwareDx, a graph foundation model that maps physical server layouts to automatically diagnose broken parts and prescribe technician repairs. Deployed across Google’s fleet, it slashes machine downtime, replaces brittle hand-coded rules, and brings brand-new hardware generations online months ahead of schedule.

What Problem Does This Paper Address?

Modern AI servers are intricate beasts, packing over 100 Field Replaceable Units (FRUs)—GPUs, CPUs, switches, motherboards, and tangles of cables—into a single cohesive tray. Because massive AI training runs are bulk-synchronous, one dead cable can leave thousands of pristine accelerators sitting idle.

Historically, diagnosing unhealthy machines relied on massive, hand-curated rule systems. Engineers wrote hundreds of platform-specific heuristics assigning "badness" scores to components based on stress-test logs. While effective for simple fixes, these rules struggle with complex, cascading failures (like a power anomaly corrupting connected network switches). Worse, every time a new chip generation launches, engineers suffer a brutal "cold-start" problem: spending months writing new rules from scratch or waiting over a year to gather enough failure data to train a traditional machine learning model.

Figure 1: Simplified flow of datacenter operations.

Methods

Instead of flattening telemetry into a spreadsheet—where traditional ML models like MLPs and decision trees fail—the authors frame hardware repair as a node classification task over the physical wiring of the server.

Each machine is modeled as a self-contained graph: physical parts (GPUs, ports, cables) are nodes connected by physical links, while diagnostic signals (temperatures, error logs, failing test symptoms) attach as feature nodes. To create a single foundation model that works across completely different GPU and TPU architectures, HardwareDx introduces several clever design choices:

  • Universal Graph Virtualization: Standard heterogeneous Graph Neural Networks (GNNs) learn separate weights for every type of connection, which explodes in complexity and breaks entirely when new hardware introduces unfamiliar parts. HardwareDx uses lightweight, type-specific encoders to project every diverse node into a single shared latent space, transforming the messy hardware layout into a unified, homogeneous graph.
  • LLM Log Embeddings: Raw text logs and error names are embedded using an LLM (Gecko-1B-En). If a platform update renames gpu-pcie-bus-error to nvfdpilot-gpu-pcie-bus-error, the LLM recognizes they mean the same thing without needing brittle regex parsers.
  • GNN + Transformer Backbone: Standard message-passing layers (GATv2) capture local neighborhood clues, interleaved with global Transformer layers so diagnostic signals can jump up to eight hops across the board—or connect to physically unattached "software" nodes.
  • Multi-Task Training & Safe Inference: The model trains on three heads simultaneously: predicting if a part is faulty, predicting technician action propensity (what humans usually try), and estimating the conditional likelihood an action will actually fix the machine. Inspired by offline reinforcement learning, propensity acts as a safety gate at inference time so the AI never hallucinates dangerous out-of-distribution repairs (like swapping a high-voltage part while powered on).
Figure 2: HARDWAREDX Model Architecture. The machine topology and diagnostic signals are represented as a heterogeneous graph. Each node type is encoded according to the features it has and the topology is homogenized to create the universal graph format. This graph then goes through the GNN backbone before predictions are made for each task and component type

Datasets

Rather than public benchmarks, HardwareDx is trained and evaluated on proprietary, production-scale telemetry from over 50 Google ML clusters spanning six AI accelerator platforms (TPU v5p, TPU v7, TPU v7x, H100, H200, and B200). Training combines two internal sources:

  1. Unsupervised Historical Sequences: Raw operational trajectories of machines cycling through failed stress tests and technician repair actions until passing.
  2. Supervised Expert Labels: Smaller "golden sets" of failure trajectories retroactively audited by domain experts to pinpoint exact ground-truth faulty FRUs.

Key Insights and Ideas

  • Topology is the secret sauce: Flattening data into tabular models (GBDTs or MLPs) tanks diagnostic F1 scores from 0.990 down to ~0.51–0.54. Knowing how parts are wired—like seeing two failing GPUs share an upstream PCIe chain—is essential for root-cause isolation.
  • Semantics beat schemas for "Day Zero" readiness: Combining virtualized graphs with LLM text embeddings lets a model pre-trained on H100s immediately understand H200 failures. It hits production-grade accuracy with 10x less data, pulling deployment readiness forward by four months (ready before hardware General Availability).
  • One brain beats bespoke models: A single foundation model trained across all six GPU and TPU platforms matches or slightly outperforms specialized single-platform models, acting as a structural regularizer for newer fleets with scarce failure data.

Key Results

In live production A/B testing against Google's mature, engineer-maintained rule system (across 225 H100 and 2,567 TPU repair windows), HardwareDx delivered substantial operational gains:

  • Downtime (Mean Time To Repair) Reduction: Cut by 18.3% on H100 fleets and 16.1% on TPUs.
  • Faster Cluster Rollouts: Quality Assurance (QA) delivery time dropped by 28.3% for H100s and 25.1% for TPUs by untangling complex, multi-part failures that usually stall cluster handoffs.
  • Higher Automation: Automated diagnostic coverage jumped ~10 percentage points across platforms (reaching 93.9% on H100 and 82.8% on TPU), while offline fault detection exceeded 95% precision at >95% recall.
Production A/B testing results showing TTR, QA delivery, and automation improvements.

Limitations and Future Work

  • Chassis-boundary isolation: Each machine is modeled as an isolated graph. Because separate servers aren't connected in the graph, rack-level or cluster-wide networking faults spanning multiple trays fall outside this representation.
  • Labeling bottlenecks: Gathering ground-truth fault labels still requires tedious human auditing—especially ambiguous when technicians reseat three parts at once and the machine boots up. While learning directly from historical repair trajectories helps sidestep this, expert "golden sets" remain necessary for evaluation and Task 1 supervision.
  • Reliance on fallbacks: HardwareDx still operates with guardrails, falling back to hand-coded rules during service outages and escalating to human experts if a stubborn machine loops through too many failed repair attempts. Future work points toward increasingly self-healing, proactive datacenter ecosystems.

Summary updated

Abstract

The rapid scale-up of AI infrastructure has made datacenter reliability a cornerstone of the cloud business economy. Since hardware failures in hyper-scale AI clusters can stall multi-million dollar training workloads, the downtime of individual machines can cause outsized economic losses. Minimizing machine downtime, therefore, is more important than ever. To address this, we present Hardware Diagnoser (HardwareDx), an AI-driven hardware diagnosis system that applies a graph foundation model approach to automated datacenter maintenance, allowing a single model to diagnose many platforms and accelerate onboarding of new products. Deployed at production scale at Google, HardwareDx yields substantial efficiency gains across diverse compute architectures. Real-world evaluations demonstrate that it reduces production downtime by 18.3\% on GPU platforms and 16.1\% on TPUs. Furthermore, it significantly accelerates hardware deployment, cutting quality assurance (QA) time by 28.3\% for GPUs and 25.1\% for TPUs. These results establish HardwareDx as a field-tested solution for maximizing the reliability and cost efficiency of next generation AI fleets.
BibTeX
@inproceedings{wen2026hardwaredx,
  author = {Yuanlin Wen and Elan Sopher Markowitz and ZUBO GU and Sami Abu-El-Haija and Bryan Perozzi and Mikhail Galkin and Ali Parviz and Aayush Gupta and Venkata Chivukula and Griffin Hadfield and Aravind Akella and Daniel J Frame and Vahab Mirrokni and Amin Vahdat},
  title = {{HardwareDx: A Foundational Graph Model System for Datacenter Machine Repairs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=qYkd4mcbDs},
}
Figure