Training Specialist LLMs on Your Phone: Forward-Only Optimization via Block-Spectral Coordinates
Liyan Tan, Yequan Zhao, Ziyue Liu, Yupeng Su, Ruijie Zhang, Zheng Zhang
Abstract
Large language models (LLMs) on personal devices keep user data local, but limited memory restricts their general capability. Since most user-specific tasks do not require the breadth of frontier models, a practical solution is to adapt a shared on-device model into lightweight specialists. However, backpropagation is prohibitive in memory, and users rarely provide labeled data. We present MobileSpec, a system that trains specialists with forward passes alone and learns from automatically checked task outcomes, as in reinforcement learning with verifiable rewards (RLVR). Because forward-only updates are built from random perturbations, training is efficient only when these perturbations resemble the weight changes of RLVR, which largely preserve the singular values of pretrained weights and rotate their singular vectors. The core algorithm of MobileSpec, FuRA-S, produces such perturbations while training only the block-spectral coordinates of pretrained weights, namely the singular values of their column blocks. As we show theoretically and empirically, rescaling these blocks independently shifts their relative contributions to each weight matrix and thereby rotates its singular vectors. Since this update can be rewritten as a transformation of the layer input, FuRA-S also adapts INT4 models without modifying their weights. With specialists of only 1-5 MB that update 0.015-0.05% of the parameters, MobileSpec raises the success rate of a phone-use agent from 6-23% up to 89-100% and trains a personalized 8B model on an iPhone 16 Pro overnight. On RLVR benchmarks, FuRA-S is competitive with full-parameter evolution strategies (ES) and outperforms ES over LoRA adapters and quantized ES on INT4 models.
Create a lesson
Metadata
- Categories
- cs.LG, cs.SY, eess.SY
- Comments
- 27 pages, 11 figures, 15 tables
Related papers
BReD: Block Replay Dithering for Stable Low-Bit EMA Optimizer States
Shared title terminologycs.LGHeshen Zhan, Youhan Huang, Yunke Peng et al.
AVQ-Attention-2: Adaptive Vector-Quantized Attention with Exact Local Blocks and Linear-Cost Training
Shared title terminologycs.LGWinfried van den Dool, Patrick Forré, Amir Habibian et al.
TeamFlowRL: Online Policy Optimization of Decentralized Flow Policies for Multi-Agent Coordination
Shared title terminologycs.LGGuowei Zou, Beiwen Zhang, Haitao Wang et al.
Aligning Training and Rollout Policies for End-to-End FP4 RL on Mixture-of-Experts LLMs
Shared title terminologycs.LGHei Yi Mak, Hoang Le, Mehran Taghian Jazi et al.
Coarse Semantic Blocks for Efficient Training-Free Sparse Attention
Shared title terminologycs.LGSosuke Kobayashi, Shoichiro Yamaguchi, Seiya Tokui
Train-Only-Constrained LM for Synthetic Clinical Trajectories: Leak-Safe Calibration and Auditable Dynamics
Shared title terminologycs.LGYaser Kord, Moritz Hess