Skip to content

Ternix: Learning and Deploying Ternary Language Models with Shared Scaling

Guoxiang Xu, Guozhen Ji, Qi Sun, Cheng Zhuo

cs.LG

Abstract

Demand for running large language models (LLMs) on edge devices has continued to grow recently. CPU-centric deployment extends on-device intelligence to hardware without dedicated GPUs, as CPUs are the most ubiquitous processors across these systems. We present Ternix-9B, which jointly learns ternary connections and shared group and source scales across all text parameters through online distillation from Qwen3.5-9B. To improve CPU inference efficiency, we combine compact weight encoding, table-lookup computation, and parallel scheduling. Evaluations across seven full benchmarks and nine x86 and ARM CPUs show that Ternix-9B achieves a 50.16% mean score (76.9% of the BF16 teacher) with a 2.53 GB CPU execution weight file, while decoding at 32.19 tokens/s on an Intel Core Ultra 5 laptop and 51.85 tokens/s on Apple M6.

Create a lesson

Metadata

Categories
cs.LG, cs.AR, cs.CL
Comments
7 pages, 6 figures, 5 tables