Microscaling Floating Point Formats for Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Cococcioni, Marco, Pagani, Dario, Rossi, Federico
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916985497976832
author Cococcioni, Marco
Pagani, Dario
Rossi, Federico
author_facet Cococcioni, Marco
Pagani, Dario
Rossi, Federico
contents The increasing computational and memory demands of large language models (LLMs) necessitate innovative approaches to optimize resource usage without compromising performance. This paper leverages microscaling floating-point formats, a novel technique designed to address these challenges by reducing the storage and computational overhead associated with numerical representations in LLMs. Unlike traditional floating-point representations that allocate a dedicated scale for each value, microscaling employs a shared scale across a block of values, enabling compact one-byte floating-point representations while maintaining an extended dynamic range. We explore the application of microscaling in the context of 8-bit floating-point formats to significantly reduce memory footprint and computational costs. We tested several configurations of microscaling floats within the GPT-2 LLM architecture, demonstrating that microscaling data formats can achieve competitive accuracy during training and inference, proving its efficacy as a resource-efficient alternative for deploying LLMs at scale. The source code is publicly available at: https://github.com/unipi-dii-compressedarith/llm.c-sve
format Preprint
id arxiv_https___arxiv_org_abs_2510_01863
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Microscaling Floating Point Formats for Large Language Models
Cococcioni, Marco
Pagani, Dario
Rossi, Federico
Neural and Evolutionary Computing
Machine Learning
The increasing computational and memory demands of large language models (LLMs) necessitate innovative approaches to optimize resource usage without compromising performance. This paper leverages microscaling floating-point formats, a novel technique designed to address these challenges by reducing the storage and computational overhead associated with numerical representations in LLMs. Unlike traditional floating-point representations that allocate a dedicated scale for each value, microscaling employs a shared scale across a block of values, enabling compact one-byte floating-point representations while maintaining an extended dynamic range. We explore the application of microscaling in the context of 8-bit floating-point formats to significantly reduce memory footprint and computational costs. We tested several configurations of microscaling floats within the GPT-2 LLM architecture, demonstrating that microscaling data formats can achieve competitive accuracy during training and inference, proving its efficacy as a resource-efficient alternative for deploying LLMs at scale. The source code is publicly available at: https://github.com/unipi-dii-compressedarith/llm.c-sve
title Microscaling Floating Point Formats for Large Language Models
topic Neural and Evolutionary Computing
Machine Learning
url https://arxiv.org/abs/2510.01863