Salvato in:
Dettagli Bibliografici
Autori principali: Vaidhya, Tejas, Kaushal, Ayush, Jain, Vineet, Harpin, Francis Couture, Shishodia, Prashant, Behbahani, Majid, Nevmyvaka, Yuriy, Rish, Irina
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2506.23025
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908427555438592
author Vaidhya, Tejas
Kaushal, Ayush
Jain, Vineet
Harpin, Francis Couture
Shishodia, Prashant
Behbahani, Majid
Nevmyvaka, Yuriy
Rish, Irina
author_facet Vaidhya, Tejas
Kaushal, Ayush
Jain, Vineet
Harpin, Francis Couture
Shishodia, Prashant
Behbahani, Majid
Nevmyvaka, Yuriy
Rish, Irina
contents Large language models (LLMs) are increasingly used across research and industry applications, yet their inference efficiency remains a significant challenge. As the computational power of modern GPU architectures continuously improves, their memory bandwidth and capacity have not scaled proportionally, creating a critical bottleneck during inference. To address this, we investigate ternary language models (TriLMs) that employ quantization-aware training to significantly reduce memory requirements. We first analyze the scalability of TriLMs by conducting a scaling law analysis, revealing that TriLMs benefit more from increasing training data than from scaling model parameters. Based on this observation, we introduce Spectra-1.1, an open suite of TriLMs trained on up to 1.2 trillion tokens, demonstrating sustained performance gains at scale. Furthermore, to improve inference efficiency, we propose novel 2-bit and 1.6-bit packing schemes for ternary weights, which demonstrate accelerated inference across various CPU architectures. Also, building on the 2-bit packing, we develop a GPU kernel called TriRun that accelerates end-to-end model inference by up to 5 times compared to floating-point baselines. To encourage further exploration and development of TriLMs, we will release the Spectra-1.1 suite and TriRun inference kernels. Overall, our work lays the foundation for building and deploying efficient LLMs, providing a valuable resource for the research community.
format Preprint
id arxiv_https___arxiv_org_abs_2506_23025
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Spectra 1.1: Scaling Laws and Efficient Inference for Ternary Language Models
Vaidhya, Tejas
Kaushal, Ayush
Jain, Vineet
Harpin, Francis Couture
Shishodia, Prashant
Behbahani, Majid
Nevmyvaka, Yuriy
Rish, Irina
Machine Learning
Artificial Intelligence
Large language models (LLMs) are increasingly used across research and industry applications, yet their inference efficiency remains a significant challenge. As the computational power of modern GPU architectures continuously improves, their memory bandwidth and capacity have not scaled proportionally, creating a critical bottleneck during inference. To address this, we investigate ternary language models (TriLMs) that employ quantization-aware training to significantly reduce memory requirements. We first analyze the scalability of TriLMs by conducting a scaling law analysis, revealing that TriLMs benefit more from increasing training data than from scaling model parameters. Based on this observation, we introduce Spectra-1.1, an open suite of TriLMs trained on up to 1.2 trillion tokens, demonstrating sustained performance gains at scale. Furthermore, to improve inference efficiency, we propose novel 2-bit and 1.6-bit packing schemes for ternary weights, which demonstrate accelerated inference across various CPU architectures. Also, building on the 2-bit packing, we develop a GPU kernel called TriRun that accelerates end-to-end model inference by up to 5 times compared to floating-point baselines. To encourage further exploration and development of TriLMs, we will release the Spectra-1.1 suite and TriRun inference kernels. Overall, our work lays the foundation for building and deploying efficient LLMs, providing a valuable resource for the research community.
title Spectra 1.1: Scaling Laws and Efficient Inference for Ternary Language Models
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2506.23025