Ternix: Learning and Deploying Ternary Language Models with Shared Scaling
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
Related papers
Scaling Context Down for On-Device Tabular Foundation Models
Shared title terminologycs.LGShuting Luo, Henry Xiao, Luiz Pizzato et al.
Multimodal Scaling Laws for Task & Data-Optimized Models of Visual Cortex
Shared title terminologycs.LGAbdulkadir Gokce, Yingtian Tang, Martin Schrimpf
How Much Weight Can Your LLM Bench? Benchmarking Weight-Space Programming on Open Language Models
Shared title terminologycs.LGPedro Moreira, Leonida Lumburovska
Temporal Expert Caching for Accelerating Inference in MoE Diffusion Language Models
Shared title terminologycs.LGVikhyath Kothamasu, Sandeep Kumar, Deepika Palagani
Iris Content Guard: Conversation Review at Scale
Shared title terminologycs.LGAnaelia Ovalle, Drew Proud, Mart Bakler et al.
Sample Efficient Ranking of Language Models Using Pairwise Comparisons
Shared title terminologycs.LGSomnath Basu Roy Chowdhury, Rahul Kidambi, Avinava Dubey et al.