arXiv AI

An 84-Format Numeric Catalog with Bit-Exact Conformance Vectors: A Vendor-Neutral Reference for FP8, BF16, MXFP4, and Microscaling Formats

arXiv:2606. 09686v1 Announce Type: cross Abstract: Numeric format proliferation in machine learning hardware -- FP8 (E4M3 and E5M2), BF16, MXFP4, microscaling block formats, and dozens of research variants -- has outpaced the availability of vendor-neutral, bit-exact reference material.

arXiv AI
Sep 7

Golden Ruler: A Numeric Format Catalog with Bit-Exact Conformance Vectors for FP8, BF16, MXFP4, and Microscaling Formats

The paper introduces the Golden Ruler, a catalog of 109 numeric formats for machine learning hardware, including FP8, BF16, MXFP4, and microscaling block formats. It provides six bit‑exact conformance packs that map to IEEE P3109 v3.2.0 standards, each as a self‑contained JSON document with a SHA‑256 fingerprint and an anchor vector for cross‑pack sanity checks. The work cross‑validates these packs against ml_dtypes 0.5.4 and documents any divergences as spec‑permitted gaps, offering a vendor‑neutral reference for engineers.

By Dmitrii Vasilev
arXiv Machine Learning
Oct 7

Lost in the bf16 Cast: Exporting Ternary Language Models Can Revert Most Low-Learning-Rate Code Changes

The paper investigates how exporting ternary language models (BitNet, Falcon‑E, BitCPM) through a bf16 cast step can introduce significant discrepancies between the fine‑tuned latent weights and the deployed ternary codes. In three lab pipelines, the authors find that fp32 quantization of shipped latents disagrees with the deployed codes on up to 1.77% of codes, and that the export step can drastically reduce strict accuracy on GSM8K (e.g., from 58.79% to 0.78% for Falcon‑E‑1B‑Base). They propose two compatibility remedies—directly writing the training quantizer’s codes or adjusting bf16 inputs—to meet a 4‑point strict‑accuracy non‑inferiority criterion across all models.

By Avichal Sahai (Ofbusiness), Nishant Raj (Ofbusiness), Animesh Srivastava (Ofbusiness)
arXiv Machine Learning
Nov 11

The Rise of Low Precision Floating Point

The article discusses the growing trend of using lower‑precision floating point formats in scientific computing, driven largely by the rise of deep learning. It explains how traditional 32‑bit and 64‑bit formats have been supplemented by newer 16‑bit, 8‑bit, and even 4‑bit formats, and outlines the development and standardization efforts behind these formats.

By Guy Lemieux, Michael L. Overton
arXiv Machine Learning
Sep 11

Numbat: Building and Verifying a Self-Contained Machine-Learning Stack

The paper introduces Numbat, a self‑contained machine‑learning stack implemented entirely in Zig with no external runtime dependencies. It covers tensor computation, automatic differentiation, neural‑network modules, mixed precision, multi‑GPU training, data loading, and monitoring, and exposes a stable C ABI with over 1,400 entry points and bindings for six languages. The authors verify the stack against a reference implementation at multiple levels, uncovering ten silent recipe divergences, and demonstrate its practical capability by training a 25.9M‑parameter YOLOv8m detector on COCO 2017, achieving a competitive mAP score and matching single‑GPU performance.

By Thang Tran (CloudKites AI Lab, New South Wales, Australia), Lan Dang (Monash Business School, Monash University, Victoria, Australia)