arXiv:2610.19047cs.MSOct 2026

Manuscript Offprint

arXiv:2610.19047

TOMOS: Eliminating Data Duplication in Mixed-Precision Matrix Computations

Vasileios Georgiou, Petros Drineas

Vasileios Georgiou

Purdue University

vgeorgio@purdue.edu

Petros Drineas

Purdue University

pdrineas@purdue.edu

Abstract—Mixed-precision algorithms exploit reduced-precision hardware, however computing with the same matrix at distinct precisions typically requires duplicate storage, repeated conversions, or operation-emulation. We introduce TOMOS 1^{1}, a composite-precision matrix format that provides implicit 32-bit and 16-bit access from a single representation. Each FP32 entry is split into a 16-bit primary word for low-precision computation and a complementary word that enables exact FP32 reconstruction. The encoding scheme improves numerical quality of the low-precision view through subnormal representations, and allows exact recovery of high-precision inputs. TOMOS uses FP32-sized storage, with data movement scaling with compute precision. Optimized GEMM and GEMV kernels achieve throughput comparable to vendor libraries on NVIDIA A100 GPUs, while a mixed-precision least-squares solver achieves up to 1.6×1.6\times speedup over FP32 without redundant matrix allocations.

I. INTRODUCTION

Modern accelerator-based systems deliver unprecedented peak arithmetic throughput, driven in large part by native support for reduced-precision floating-point formats. Specialized units operating on 16-bit, 8-bit, and even 4-bit operands can provide orders-of-magnitude higher theoretical throughput than traditional double-precision computation. In large-scale machine learning and scientific computing workloads, however, arithmetic throughput alone does not determine performance: data movement, memory footprint, and memory management are often equally important. Consequently, realizing the benefits of reduced-precision hardware depends critically not only on the arithmetic format used for computation, but also on how numerical data is represented, stored, and accessed across multiple precisions.

In contemporary machine learning frameworks, mixed-precision execution has become standard practice [1], [2], [3], [4]. To preserve numerical stability, tensors frequently transition between precisions at predefined points in the computational graph. In practice, this often requires either storing multiple representations of the same data or repeatedly converting between formats. Both approaches increase memory footprint and memory traffic. Even when conversions are fused within kernels, they consume bandwidth, introduce additional instructions, and can create synchronization overheads. As a result, the cost of exposing multiple precision views of the same data can substantially reduce the performance gains offered by low-precision arithmetic.

Scientific computing presents a closely related challenge. Many numerical methods require high-precision guarantees to preserve stability and convergence, while selectively exploiting lower precision for performance. Techniques such as iterative refinement [5], [6], [7] and error-free transformations [8], [9] enable precisely this style of computation. Yet the former commonly rely on maintaining copies of the same matrix in different formats while the latter are sensitive to the dynamic range of the inputs. Thus, even when the numerical algorithm is designed to exploit mixed precision effectively, the underlying data representation can remain a source of redundant storage, conversion overhead, or numerical error.

Despite extensive research in mixed-precision algorithms and accelerator-aware numerical libraries [10], [11], [12], there is currently no general-purpose data representation that enables efficient, data-agnostic access to multiple floating-point precisions without duplication or conversion overhead. Existing approaches primarily optimize the arithmetic performed at different precisions; they do not address the more fundamental question of how a single matrix representation can expose multiple computational precision views efficiently. Addressing this representation-level gap is essential for fully realizing the performance potential of modern accelerator hardware.

References (38)