Ternix-9B: un modello ternario da 2,53 GB che gira su CPU a 51,85 token al secondoTernix-9B: a 2.53 GB ternary model that runs on a CPU at 51.85 tokens per second
Ternix distilla Qwen3.5-9B in pesi ternari con scale condivise. Il file è da 2,53 GB, il punteggio medio è del 50,16% (76,9% del docente in BF16). La velocità arriva fino a 51,85 token/s su una CPU Apple, senza GPU.
Ternix distils Qwen3.5-9B into ternary weights with shared scales. The file is 2.53 GB, and the mean score is 50.16% (76.9% of the BF16 teacher). Speed reaches up to 51.85 tokens/s on an Apple CPU, with no GPU.

Guoxiang Xu, Guozhen Ji, Qi Sun e Cheng Zhuo presentano Ternix-9B, un modello linguistico da 9 miliardi di parametri. È progettato per girare sulla CPU di dispositivi periferici. Ogni peso può assumere solo tre valori (−1, 0, +1), codificati con circa 1,67 bit. Le scale che li riportano all'ordine di grandezza corretto sono condivise per gruppi e per sorgente. Il modello è appreso con distillazione online da Qwen3.5-9B.
Il file dei pesi per CPU pesa 2,53 GB. Su sette benchmark completi il modello ottiene un punteggio medio di 50,16%, pari al 76,9% di quello del docente in BF16. La velocità di decodifica è di 51,85 token al secondo su un processore Apple M6, e di 32,19 su un Intel Core Ultra 5. Le CPU x86 e ARM provate sono nove. Il calcolo usa tabelle di consultazione con istruzioni SIMD, e una pianificazione parallela attenta alle dipendenze. Resta una perdita di qualità di circa un quarto rispetto al docente.
Guoxiang Xu, Guozhen Ji, Qi Sun and Cheng Zhuo present Ternix-9B, a 9-billion-parameter language model, designed to run on the CPU of edge devices. Each weight can take only three values (-1, 0, +1), encoded with about 1.67 bits. The scales that bring them back to the right magnitude are shared per group and per source. The model is learned by online distillation from Qwen3.5-9B.
The CPU weight file is 2.53 GB. On seven full benchmarks, the model scores a mean of 50.16%, which is 76.9% of the BF16 teacher's. Decoding speed is 51.85 tokens per second on an Apple M6 processor, and 32.19 on an Intel Core Ultra 5. Nine x86 and ARM CPUs were tested. Computation uses lookup tables with SIMD instructions, and dependency-aware parallel scheduling. A quality loss of about a quarter against the teacher remains.
Il 26 novembre 2026, Guoxiang Xu, Guozhen Ji, Qi Sun e Cheng Zhuo hanno pubblicato su arXiv (2611.36480) un paper. Si intitola «Ternix: Learning and Deploying Ternary Language Models with Shared Scaling». Il testo descrive Ternix-9B, un modello da 9 miliardi di parametri i cui pesi sono ternari. È pensato per l'esecuzione su CPU di dispositivi periferici, senza scheda grafica. Il paper è comparso tra quelli segnalati dalla pagina dei Daily Papers di Hugging Face il 30 novembre.
La quantizzazione ternaria è il caso estremo della riduzione di precisione. Invece di rappresentare ciascun peso con 16 bit, lo si limita ai tre valori −1, 0 e +1. Un peso ternario porta in teoria circa 1,58 bit di informazione. Per questo la memoria si riduce di un fattore vicino a dieci rispetto al formato a 16 bit. La moltiplicazione di matrici si trasforma in somme e sottrazioni. Il problema è la perdita di qualità, che di solito si cerca di contenere con riaddestramenti lunghi e costosi.
Gli autori seguono due strade. La prima è la distillazione online. Invece di usare un insieme fisso di esempi, il modello ternario è addestrato a imitare le uscite del modello docente, Qwen3.5-9B in BF16. Questo avviene mentre il processo procede. In questo modo il modello apprende le connessioni ternarie. Apprende, contemporaneamente, anche le scale per gruppo e per sorgente, condivise su tutti i parametri testuali. Le scale sono moltiplicatori che riportano i valori ternari alla grandezza corretta. Condividerle riduce il numero di valori extra da memorizzare.
La seconda strada riguarda la distribuzione. I pesi sono codificati in modo compatto, a circa 1,67 bit per connessione, e il file per CPU pesa 2,53 GB. Per il calcolo, gli autori impiegano tabelle di consultazione SIMD. In queste tabelle le combinazioni possibili di pochi pesi ternari vengono precalcolate e lette invece che moltiplicate. Usano inoltre una pianificazione parallela che tiene conto delle dipendenze tra operazioni, per sfruttare tutti i core.
I risultati sono misurati su sette benchmark completi e su nove CPU x86 e ARM. Il punteggio medio di Ternix-9B è del 50,16%, il 76,9% di quello del docente in BF16. La velocità di decodifica raggiunge 51,85 token al secondo su un processore Apple indicato come M6. Su un Intel Core Ultra 5 raggiunge 32,19 token al secondo. Sono valori di ordine adatto a un'interazione in tempo reale, cioè sopra la velocità di lettura di una persona, su macchine senza acceleratori dedicati.
I limiti emergono dagli stessi numeri. Mantenere solo il 76,9% del punteggio del docente significa che il modello perde circa un quarto della qualità. Inoltre i benchmark usati non sono tutti elencati nella sintesi accessibile. Le velocità dipendono dal processore e dal software. La comparsa di chip non ancora diffusi tra quelli testati richiede cautela nel confronto con prove precedenti. Il paper è un preprint, e non sono note repliche indipendenti.
Il lavoro è però un dato utile per chi progetta assistenti locali. Nove miliardi di parametri stanno in 2,53 GB, e girano a decine di token al secondo su CPU. Questo mostra che la ternarizzazione per distillazione può spostare modelli di classe media su portatili e dispositivi senza GPU. Il prezzo è un calo di qualità quantificato con chiarezza.
On 26 November 2026, Guoxiang Xu, Guozhen Ji, Qi Sun and Cheng Zhuo posted a paper on arXiv (2611.36480). It is titled 'Ternix: Learning and Deploying Ternary Language Models with Shared Scaling'. The text describes Ternix-9B, a 9-billion-parameter model whose weights are ternary. It is intended for execution on the CPU of edge devices, with no graphics card. The paper appeared among those listed on Hugging Face's Daily Papers page on 30 November.
Ternary quantisation is the extreme case of precision reduction. Instead of representing each weight with 16 bits, it is limited to the three values -1, 0 and +1. A ternary weight carries in theory about 1.58 bits of information. So memory shrinks by a factor close to ten against the 16-bit format. Matrix multiplication turns into additions and subtractions. The problem is the loss of quality, which is usually contained with long and costly retraining.
The authors follow two routes. The first is online distillation. Instead of using a fixed set of examples, the ternary model is trained to imitate the outputs of the teacher model, Qwen3.5-9B in BF16. This happens while the process runs. In this way the model learns the ternary connections. At the same time, it also learns the group and source scales, shared across all text parameters. The scales are multipliers that bring the ternary values back to the right magnitude. Sharing them reduces the number of extra values to store.
The second route concerns deployment. The weights are encoded compactly, at about 1.67 bits per connection, and the CPU file weighs 2.53 GB. For computation, the authors use SIMD lookup tables, in which the possible combinations of a few ternary weights are precomputed and read instead of multiplied. They also use parallel scheduling that accounts for dependencies between operations, to use all the cores.
The results are measured on seven full benchmarks and on nine x86 and ARM CPUs. Ternix-9B's mean score is 50.16%, 76.9% of the BF16 teacher's. Decoding speed reaches 51.85 tokens per second on an Apple processor listed as M6. On an Intel Core Ultra 5 it reaches 32.19 tokens per second. These are values of an order suited to real-time interaction, above a person's reading speed, on machines with no dedicated accelerators.
The limits emerge from the same numbers. Keeping only 76.9% of the teacher's score means the model loses about a quarter of its quality. Also, the benchmarks used are not all listed in the summary available. Speeds depend on processor and software. The presence of chips not yet widespread among those tested calls for caution when comparing with earlier tests. The paper is a preprint, and no independent replications are known.
The work is nonetheless a useful data point for designers of local assistants. Nine billion parameters fit in 2.53 GB, and run at tens of tokens per second on CPU. This shows that ternarisation by distillation can move mid-sized models onto laptops and devices without GPUs. The price is a clearly quantified drop in quality.
Fonti
- Testata Hugging Face Papers - Ternix huggingface.co
- Fonte originale arXiv - Ternix: Learning and Deploying Ternary Language Models with Shared Scali arxiv.org
Articoli rivisti con l’intelligenza artificiale. A cura di Alessandro Patassini.Articles reviewed with artificial intelligence. Edited by Alessandro Patassini.














































