Manuscript Offprint

arXiv:2610.29302

Compressing Onboard Language Models for Space Robots under a Behavioral-Fidelity Requirement

Jia Deng, Zizhe Wang, Xin Lu, Yi Huang, Zehao Jia

Jia Deng, Zizhe Wang, Xin Lu, Yi Huang, and Zehao Jia

Astroup Lab 1^{1}, Beijing, China astroup.com

{dengjia, wangzizhe, luxin, jiazehao}@astroup.com

24B903024@stu.hit.edu.cn

Abstract—Language models are being explored as the interface through which space robots interpret operator commands and select among verified skills. Running them onboard calls for low-bit compression, and flight use adds requirements that generic post-training quantization leaves implicit: a fixed memory budget and storage format, a static artifact under configuration control, and behavior close to the full-precision model validated on the ground. We treat compression as a ground-segment step and study QSelect, which composes one static low-bit model from compatible AWQ, GPTQ, and AutoRound checkpoints by assigning each linear module to one quantizer family and scoring every substitution at the final next-token distribution. The default fidelity mode needs no labels or tuned thresholds and accepts a substitution only when the forward KL divergence from the BF16 reference decreases; an optional target-adapted mode adds answer likelihood on a small labeled set. On DeepSeek-R1-Distill-Qwen-7B, Llama-3.1-8B, and Llama-3.2-3B at 3 and 4 bits, composed models reach lower mean held-out perplexity than every single-family model in all six settings, and the fidelity mode lowers perplexity and KL further. In a matched scaffold, final-output scoring gives lower held-out KL than representation-similarity scoring in all 12 paired runs. With labels from training or development splits of the evaluated task families, the target-adapted mode raises 3-bit pooled accuracy on the two Llama models by 4.3 and 4.5 points over the best single-family model. At 3 bits, unquantized embedding and output layers make up 43–46% of the packed artifact. All evaluations use general-domain benchmarks on a ground GPU; space-domain tasks and flight hardware are left to future work.

Index Terms—Space robotics, onboard language models, post-training quantization, mixed quantizer assignment, on-orbit servicing, model compression.

I. INTRODUCTION

SPACE robots are expected to work with less direct supervision. On-orbit servicing combines approach, capture, and manipulation of client spacecraft, and free-flying robots such as Astrobee serve as test beds for autonomy inside the International Space Station (ISS) [1]. Language and vision-language models offer a natural interface for such tasks: they can map an operator's request to a sequence of pre-verified skills [2] or, in end-to-end form, to robot actions [3], [4]. Space-specific agent frameworks now apply this interface to on-orbit servicing [5]. These systems are usually evaluated with large models on terrestrial computers; SpaceMind, for example, uses Qwen3-VL-235B-A22B throughout [5], a model whose weights alone would far exceed the memory of current flight computers.

Running the model onboard removes the dependence on communication windows, round-trip delays, and limited link bandwidth, but onboard compute is scarce [6]. Perseverance's primary computer, for example, is a radiation-hardened RAD750 running at up to 200 MHz with 256 MB of DRAM [7]; its global localization instead runs on a commercial Snapdragon 801 from the Ingenuity helicopter base station [8]. Language models are now reaching orbit. An AI assistant that combines ground and onboard models was delivered to China's space station in July 2025 [9], and ASTREA ran a 1.54-billion-parameter Qwen2.5 model quantized to 4 bits on a flight-qualified, CPU-only system-on-chip in an external ISS payload, with response times from about 40 s to over 8 min [10]. For onboard language models, compression is therefore a prerequisite rather than an optimization.

For flight use, the relevant question is not only how small a model can become but also what the compressed model must preserve. We identify three properties. First, the artifact must fit a fixed memory budget and use a storage format that the onboard runtime supports. Second, it must be a static object that can be versioned, verified, and rolled back like other flight software. Current machine-learning guidance for space engineering does not yet cover large language models [11]; until it does, the preparation process has to make these properties explicit. Third, its behavior must stay close to that of the full-precision reference that was validated on the ground. The third property suggests measuring compression error where the validated behavior is defined: at the model's output distribution.

Standard post-training quantization (PTQ) for large language models (LLMs) applies one quantizer family throughout a model. GPTQ uses approximate second-order error compensation [12], AWQ protects activation-salient channels by equivalent scaling [13], and SignRound, implemented in AutoRound, optimizes rounding and clipping [14]. These families embody different error models, and CALM has shown that choosing a quantization algorithm per Transformer block can help [15]. CALM scores candidates by linear centered kernel alignment (CKA) between intermediate representations [16]. Representation similarity is a reasonable heuristic, but it is not the quantity that an acceptance test of the onboard model would examine.

We therefore treat compression as a ground-segment preparation step (Fig. 1) and study QSelect, which composes one static low-bit model from compatible homogeneous checkpoints. Each linear module is assigned to one quantizer family, and every candidate substitution is scored through the final next-token distribution of the partially assigned model. In its

1^{1}Astroup Lab: 向上跃升(北京)科技有限公司.

default fidelity mode (QSelect-KL), the procedure is label free and accepts a substitution only when the forward KL divergence from the BF16 reference strictly decreases; the rule has no tuned threshold. An optional target-adapted mode (QSelect-TA) adds a target-answer likelihood term for missions that can provide a small labeled set, with fixed margins that bound the KL increase allowed at each step. Scoring with the acceptance quantity itself, rather than a cheaper proxy, is affordable in this setting: a one-pass module-wise selection takes one to a few GPU-hours on the ground for the models studied, excluding candidate generation, is paid once per model release, and never changes the bit width or storage format of the result. The memory limits that make compression necessary also keep onboard models small, and the selection cost shrinks with the model.

Experiments on three open models from 3B to 8B parameters at 3 and 4 bits show four things. Composed models reach lower mean held-out perplexity than every single-family model in all six settings, and the fidelity mode lowers perplexity and KL further. Final-output scoring yields lower held-out KL than representation-similarity scoring in all 12 paired runs of a matched scaffold and lower KL than a local reconstruction criterion in all four tested settings. Module-wise decisions mainly lower 3-bit perplexity, at several times the ground time of layer-wise decisions, and extra passes add little. Packed artifacts are 63–70% smaller than BF16, as for any single-family model at the same bit width, and an analytic breakdown shows that unquantized embedding and output layers make up 43–46% of what remains at 3 bits. All experiments use general-domain language-modeling and reasoning benchmarks on a ground GPU; we do not evaluate space-domain tasks, flight hardware, or radiation effects.

Our contributions are as follows.

• A requirements analysis for compressing onboard language models for space robots. It states five requirements—fixed format and budget, a static artifact, behavioral fidelity to a ground-validated reference, scarce mission labels, and bounded ground compute—and maps them to design choices and to the evidence reported here (Section III).

• QSelect, which builds on CALM’s per-block algorithm selection [15] with a final-output score, finer decision units, a threshold-free and label-free fidelity mode, and an optional target-adapted mode (Section IV).

• An empirical study on three open models that compares QSelect with single-family PTQ, representation-similarity, local-reconstruction, and whole-model selection; characterizes the trade-off between ground time and fidelity; and analyzes packed artifacts for onboard deployment (Sections VI and VII).

References (50)