Hawkeye: Reproducing GPU-Level Non-Determinism

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Badash, Erez, Boneh, Dan, Komargodski, Ilan, Srivastava, Megha
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914570908467200
author Badash, Erez
Boneh, Dan
Komargodski, Ilan
Srivastava, Megha
author_facet Badash, Erez
Boneh, Dan
Komargodski, Ilan
Srivastava, Megha
contents We present Hawkeye, a system for analyzing and reproducing GPU-level arithmetic operations. Using our framework, anyone can re-execute on a CPU the exact matrix multiplication operations underlying a machine learning model training or inference workflow that was executed on an NVIDIA GPU, without any precision loss. This is in stark contrast to prior approaches to verifiable machine learning, which either introduce significant computation overhead to the original model owner, or suffer from non-robustness and quality degradation. The main technical contribution of Hawkeye is a systematic sequence of carefully crafted tests that study rounding direction, subnormal number handling, and order of (non-associative) accumulation during matrix multiplication on NVIDIA's Tensor Cores. We test and evaluate our framework on multiple NVIDIA GPU architectures ( Ampere, Hopper, and Lovelace) and precision types (FP16, BFP16, FP8). In all test cases, Hawkeye enables perfect reproduction of matrix multiplication on a CPU, paving the way for efficient and trustworthy third-party auditing of ML model training and inference. We provide source code for Hawkeye at https://github.com/badasherez/gpu-simulator.
format Preprint
id arxiv_https___arxiv_org_abs_2603_20421
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Hawkeye: Reproducing GPU-Level Non-Determinism
Badash, Erez
Boneh, Dan
Komargodski, Ilan
Srivastava, Megha
Cryptography and Security
Hardware Architecture
Machine Learning
Numerical Analysis
We present Hawkeye, a system for analyzing and reproducing GPU-level arithmetic operations. Using our framework, anyone can re-execute on a CPU the exact matrix multiplication operations underlying a machine learning model training or inference workflow that was executed on an NVIDIA GPU, without any precision loss. This is in stark contrast to prior approaches to verifiable machine learning, which either introduce significant computation overhead to the original model owner, or suffer from non-robustness and quality degradation. The main technical contribution of Hawkeye is a systematic sequence of carefully crafted tests that study rounding direction, subnormal number handling, and order of (non-associative) accumulation during matrix multiplication on NVIDIA's Tensor Cores. We test and evaluate our framework on multiple NVIDIA GPU architectures ( Ampere, Hopper, and Lovelace) and precision types (FP16, BFP16, FP8). In all test cases, Hawkeye enables perfect reproduction of matrix multiplication on a CPU, paving the way for efficient and trustworthy third-party auditing of ML model training and inference. We provide source code for Hawkeye at https://github.com/badasherez/gpu-simulator.
title Hawkeye: Reproducing GPU-Level Non-Determinism
topic Cryptography and Security
Hardware Architecture
Machine Learning
Numerical Analysis
url https://arxiv.org/abs/2603.20421