Manuscript Offprint
arXiv:2610.11115Dynamics as Code: On Model Compression via Dynamic System
Fan Gao, Wei Su*, Juntong Fan*, Renfeng Peng, Hongyu Liu, Jinqiao Duan, Feng-Lei Fan
Abstract—The escalating size of pretrained neural networks has rendered model compression a prerequisite for deployment under stringent memory and compute constraints. With the irrational winding as an example, earlier work introduced a dynamic system (DS) paradigm that reconceptualizes compression as compact weight representation: high-dimensional parameters are encoded by the index of a trajectory produced by a dynamic system, from which the vector is recovered during decompression. This mechanism is fundamentally distinct from pruning, quantization, knowledge distillation, and low-rank decomposition. Along this direction, we prove that under a Diophantine condition, a finite trajectory of states in the irrational winding constitutes an -net over the d-dimensional weight space, thereby linking state resolution, decompression error, and compression ratio in a predictable manner. Furthermore, we propose a generalized DS-based model compression framework by unifying four DS families—space-filling curves (Hilbert, Peano, Morton/Z-order, Snake), chaotic systems (Lorenz), congruential and pseudo-random generators (LCG, PCG), and low-discrepancy sequences (Halton). Also, we introduce the KD-tree and coordinate-template acceleration to scale to large models as well as outlier identification to control the error. Experiments on ResNet-18 and Qwen2.5-1.5B/Qwen1.5-7B validate that DS-based compression achieves competitive compression ratios without post-hoc retraining, with controllable decompression error and flexible state-space design, establishing it as a principled and practical compression approach.
Index Terms—Model compression, dynamic systems, neural networks, parameter representation.
I. INTRODUCTION
In the past decade, the emergence of large-scale pretrained models creates substantial deployment challenges, particularly in resource-constrained settings such as workstations, smartphones, and wearables [1]. Loading LLaMA-2 70B weights in FP16 precision requires approximately 140 GB, nearly six times the memory capacity of an NVIDIA GeForce RTX 4090 [2]. The development of multimodal world models [3], [4] is likely to further worsen this issue due to the introduction of vision and speech encoders alongside extended context lengths. Consequently, model compression has emerged as a critical strategy for serving large models, aiming to minimize storage requirements without compromising task performance [5]. This is quite different from the pre-large-model era, where model sizes remained modest, and the incentives for compression were comparatively weak.
Classical model compression methods fall into four primary categories: pruning, quantization, knowledge distillation, and low-rank decomposition [6]: i) Pruning removes unimportant parameters or structural components [7], which pursues the parameter sparsity within a model; ii) Quantization reduces the numerical precision of weights and activations (e.g., FP32 → INT8/INT4) to decrease storage and bandwidth requirements [8]; iii) Knowledge distillation transfers knowledge from a large teacher model to a compact student model [9], [10], which typically requires additional training, task data, and careful teacher-student design; iv) Low-rank factorization approximates weight matrices or tensors using the low-rank decomposition [11]. The achievable compression depends on the intrinsic rank of weights, and can vary substantially across layers, architectures, and tasks. In essence, classical methods exploit different forms of redundancy in the original parameter space such as sparsity, reduced numerical precision, or low-rank structure.
Recently, inspired by the biological genomic bottleneck [12], a novel basic mechanism for model compression was discovered and engineered in [13], which uses the ergodicity principle that a low-dimensional dynamic system can fill the high-dimensional space. Mathematically, given target weights , [13] employs irrational winding to construct a function to approximate each weight such that , where the number of trajectory parameters is significantly smaller than the total number of weights ( ). This turns model compression into a problem of parsimonious parameter representation. Model compression via dynamic systems is not merely incremental. Instead, it shifts away from decades-old techniques by opening new research directions at the intersection of dynamic systems and efficient deep learning, while also being practically viable for billion-parameter models in resource-constrained settings. Introducing dynamic systems carves out a new research direction in model compression. Nevertheless, several critical theoretical and methodological challenges must be addressed to fully realize the potential of this approach:
Theoretically, the relationship between the compression ratio and the error remains unexplored. Due to the non-locality of the irrational winding, to achieve the same level of error, how large needs to be at least is intractable. Accordingly, the compression ratio is unpredictable. This is a fundamental question in this domain, and solving it will transform the dynamic system from a heuristic into a principled, predictable tool. For example, one can predict to
Fan Gao and Wei Su are with the School of Information Science and Engineering, Lanzhou University, Lanzhou, Gansu Province, China; Feng-Lei Fan, Renfeng Peng, and Juntong Fan are with the Department of Data Science, City University of Hong Kong, Hong Kong, China SAR; Hongyu Liu is with the Department of Mathematics, City University of Hong Kong, Hong Kong, China SAR; Jinqiao Duan is with the School of Science, Great Bay University, Dongguan, China; Wei Su (suwei@lzu.edu.cn) and JunTong Fan are co-corresponding authors.
what extent increasing will surely reduce the approximation error, thereby providing the lower bound for the compression ratio and facilitating allocating bits across layers fairly. Methodologically, since model compression via dynamic systems is general, can we enrich the armory of this kind by effectively engineering other dynamic systems? The dynamic system (DS) theory provides a broader design space beyond the irrational winding. Instead of treating irrational winding as the default choice, a broader design space of transformation-induced compression mappings characterized by different coverage, locality, and indexability properties should be examined.
In this manuscript, we theoretically establish both the asymptotic feasibility and the practical optimizability of DS-based compression. First, the covering guarantee (Theorem 1) establishes that, under Diophantine conditions, trajectory states form an -net over the weight space, directly linking the compression ratio to the reconstruction error through the covering radius. This justifies why a low-dimensional scalar can approximate high-dimensional weights with bounded distortion. Second, the optimization procedure addresses the discontinuity of the irrational winding by partitioning the domain at all breakpoints; within each continuous segment, the loss reduces to a convex quadratic with a closed-form minimizer, enabling exact global minimization. Together, these results transform the theoretical density guarantee into a practical, deterministic algorithm with a predictable error profile, ensuring that the mechanism is not merely an existence statement. Methodologically, we expand this novel framework from a single ergodic construction to a broader toolbox, i.e., space-filling curves, chaotic dynamics, pseudo-random sequences, and low-discrepancy sequences, which cover representative DS families:
• Space-filling and grid traversal mappings (Hilbert [14], Peano [15], Morton/Z-order [16], and Snake traversal): deterministic mappings from compact indices to high-dimensional grid points, offering different locality-preserving structures for grouped weight representation.
• Chaotic-system-based mappings (Lorenz system [17]): nonlinear trajectory-based mappings that provide aperiodic coverage of the weight representation space beyond regular grid traversal.
• Congruential and pseudo-random generator mappings (Linear Congruential Generator (LCG) [18] and Permuted Congruential Generator (PCG)): efficient deterministic point generators that produce reproducible pseudo-random sequences with simple indexable structures for scalable compression.
• Quasi-Monte Carlo sequences (Halton [19]): deterministic low-discrepancy sequences that provide uniform coverage for compact weight representation.
These families differ in coverage guarantees, computational cost, and approximation accuracy, thereby leading to different compression ratios, speed, and decompression fidelity. The central problem in developing DS-based compression is how to enable fast, accurate, and scalable compression. We introduce effective engineering techniques such as KD-tree to speed up the compression speed and outlier identification to control the error. Particularly, for the space-filling curves, we design the coordinate template method to further accelerate the compression relative to the KD-tree search.
In brief, our contributions are threefold:
• We lay a solid theoretical foundation for model compression based on dynamic systems by illustrating the asymptotic feasibility. To the best of our knowledge, it is the first theoretical result in the direction of DS-based model compression.
• We build a general framework for model compression via dynamic systems, engage mainstream dynamic systems as the components, and design engineering techniques to make this framework scalable to large models.
• Systematic and comprehensive experiments confirm that DS-based model compression can deliver competitive performance on ResNet and large models such as Qwen2.5-1.5B and Qwen1.5-7B.
A. Classical Model Compression Methods
Model compression aims to minimize storage requirements without incurring substantial performance degradation. Established techniques include pruning, quantization, knowledge distillation, and low-rank decomposition.
Pruning compresses neural networks by removing redundant weights, channels, or structural components. Early methods such as Optimal Brain Damage [20] and Optimal Brain Surgeon [21] estimate parameter saliency using second-order information, while structured pruning improves hardware compatibility by uniformly removing filters or channels rather than isolated weights [22]. For large language models, SparseGPT [7] formulates pruning as a sparse regression problem for one-shot compression. Wanda [23] combines weight magnitude with activation statistics to guide pruning; it requires a small calibration set to estimate activation statistics. Recent work further studies structured and task-sensitive LLM pruning, including layer-level pruning [24] and reasoning-aware pruning based on chain-of-thought reconstruction [25]. Despite these advances, practical speedups from sparsity often depend on specialized sparse kernels, storage formats, and hardware support [26].
Quantization reduces storage and memory bandwidth requirements by adopting lower numerical precision for weights and activations. For large models, post-training quantization (PTQ) has gained prominence due to its convenience. ZeroQuant [27] provides fine-grained weight and activation quantization for large Transformers, while SQuant [28] introduces a data-free PTQ through a diagonal-Hessian approximation. SmoothQuant [29] applies activation-to-weight smoothing transformations to mitigate activation outliers.
For weight-only compression, GPTQ [8] employs approximate Hessian-based layer-wise reconstruction to minimize the error; AWQ [30] protects salient weight channels through activation awareness. SpQR [31] retains quantization-sensitive outliers in higher precision, while QuIP [32] improves low-bit quantization through incoherence processing.
Knowledge Distillation transfers knowledge from a large teacher model to a compact student model [9], with extensions to intermediate feature matching [33] and relation transfer [34]. For large language models, MiniLLM [10] adopts reverse KL divergence to improve distribution matching, while recent work extends knowledge distillation to pre-training [35] and improves teacher–student alignment through speculative training or score-matching objectives [36], [37]. However, distillation typically requires additional training and task data, and its effectiveness depends on student capacity, teacher quality, and teacher–student distribution alignment [38].
Low-Rank Decomposition approximates weight matrices using products of lower-dimensional factors [11], while tensor decomposition extends this idea to higher-order parameter structures [39]. Parameter-efficient fine-tuning methods such as LoRA [40] further suggest that large-model adaptations often lie in low-dimensional subspaces. Recent LLM compression methods increasingly use low-rank components as residual or subspace corrections, including low-precision and low-rank decomposition [41], low-rank approximation combined with quantization and sparsity [42], and low-rank residuals for mixed-precision quantization [43]. However, the achievable compression depends on the intrinsic rank structure of the weights, and can vary substantially across layers, architectures, and tasks.
Here, Our work falls under the umbrella of model compression based on dynamic systems, which is orthogonal to these classical methods by representing model weights through a compact representation.
B. Model Compression via dynamic systems
Motivated by ergodic theory [44], Fan et al. [13] introduce a distinct model compression paradigm by employing irrational winding to generate dense trajectories over the parameter domain and report approximately compression on LLaMA2-7B. [45] applies the irrational winding-based model compression to SAM and its variants, demonstrating its applicability to large segmentation foundation models. The method introduces HyperLinear, a dedicated operator that fuses decompression with matrix multiplication to improve the inference efficiency of compressed SAMs. COLI [46] incorporates the irrational winding-based model compression into an INR-based large-image compression framework, where NeRV represents images as neural network parameters, and DS is used to further compress the resulting model weights. This shows how DS can serve as a plug-and-play post-training parameter-compression module beyond standard classification and language-model settings.
However, many dynamic systems conform to ergodicity. Irrational winding provides a mathematically tractable instantiation, and the existence of better dynamic systems is possible. This leaves a broad design space of DS-induced compression mappings largely unexplored. Here, we analyze and compare a broad family of dynamic systems under a unified theoretical and empirical framework as illustrated in Figure 1.
(a) Hilbert
(b) Peano

(c) Morton/Z-order
(d) Snake
(e) Lorenz
(f) LCG
(g) PCG
(h) Halton
Fig. 1. Representative geometries generated by eight evaluated mapping families. Hilbert, Peano, Morton/Z-order, and Snake produce structured lattice traversals with different locality characteristics and traversal continuity. Lorenz generates a non-uniform attractor-induced distribution concentrated on a low-dimensional manifold. LCG and PCG produce deterministic pseudo-random point sets with different correlation structures, while Halton generates low-discrepancy coverage with reduced large-scale gaps. All methods are visualized after normalization to the same local domain.
C. Dynamic Systems and Deterministic Mappings
Dynamic systems describe how the state of a system evolves according to a fixed rule. In mathematical terms, an evolution map maps an initial state in a phase space to its future state under the evolution parameter . This formulation provides a compact way to generate structured trajectories or point sets. Common dynamic systems include space-filling curves, chaotic systems, pseudo-random generators, and low-discrepancy sequences. As illustrated in Figure 1, i) space-filling curves, such as Hilbert, Peano, and Morton/Z-order mappings, define structured traversals between the one-dimensional index and multi-dimensional coordinates, often with locality-preserving behaviors. Snake ordering is a simpler grid traversal based on deterministic scanning. ii) Pseudo-random generators, including linear congruential generators (LCG) and permuted congruential generators (PCG), produce deterministic sequences with compact mathematical descriptions. iii) Chaotic systems such as the Lorenz system generate trajectory-based point sets with non-trivial phase-space structure. iv) Low-discrepancy sequences, such as Halton, provide more uniform domain coverage than random samples, and are widely used in quasi-Monte Carlo methods (QMC).
These dynamic systems induce a state set with different locality, coverage, regularity, and indexing properties, making them natural candidates for studying DS-based model compression. Our work marries the dynamic system with model compression by exploring the possibility of using these dynamic systems as a model compression tool, which extends the application boundary of dynamic systems into AI, and shall bring many new research opportunities.
III. THEORY
Proposition 1 ([47]). Suppose are rationally independent, for any given set and , there exists such that
where .
Intrinsically, earlier work [13] just engineers Proposition 1 and shows the feasibility of model compression based on dynamic systems. Here, we elaborate on the relationship between and under mild conditions, which is a fundamental theoretical issue regarding using the irrational winding to do model compression.
We use the following standard definitions:
• For , the sup-norm is
• For , the torus distance to the nearest integer is
For vectors , we take the coordinate-wise torus distance:
where , which is a torus meaning that two vectors are identified if and only if their difference is an integer vector.
Lemma 1 (Density of the -net). Let , and define
where and . There exists a constant depending only on the dimension such that if
then the finite set is an -net in , i.e., every is within distance of some point in the set.
Proof. We argue by contradiction. Suppose there exists a cube of radius centered at some that contains no point for . Choose a non-negative smooth function such that
-
on the sub-cube (radius );
-
(so vanishes outside );
-
The integral satisfies .
Such a function exists (e.g., a standard smooth bump function supported in Q).
Since the orbit points avoid , and vanishes outside , we have the exact identity:
Using a Fejér kernel truncation [48], for any arbitrarily small , there exists a trigonometric polynomial
with frequencies bounded by (where ) such that
Moreover, we can ensure the following standard properties:
Combining Eqs. (4) and (6), we slightly abuse the notation by writing
On the other hand, expand the Fourier series:
Separating this term from the rest gives
Since , we have
Finally, applying the triangle inequality to the finite sum on the right, we arrive at the key inequality:
Eq. (10) is the rigorous starting point for the rest of the proof. The crucial step here is the use of the reverse triangle inequality, which correctly transfers the negligible approximation error from the left side to the right side as an additive error term, rather than incorrectly assuming .
Using the geometric series estimate:
and , we obtain
Cancel . By the definition of , for all , we have . Therefore
Since , we have . Hence,
This contradicts the lemma's assumption (choosing ). Thus the contradiction is established, and the lemma follows.
Theorem 1. Let satisfy the linear form Diophantine condition: there exist constants such that for all nonzero integer vectors ,
Then there exist constants and such that for every and every , there exists an integer satisfying
Proof. By the Diophantine condition, taking , we have
Since , there exists a constant such that
Substituting this lower bound into Lemma 1, there exists a constant C > 0 such that whenever
the point set forms an -net.
Hence, for any , there must exist satisfying:
Choosing the constant C according to Lemma 1 concludes the proof.
Remark 1. We argue that Theorem 1 holds in a general sense. The linear form Diophantine condition is by no means an exotic or artificially restrictive assumption. Common irrational numbers can satisfy this condition. For instance, the classical two-dimensional vector satisfies the condition with the exponent , as a direct consequence of the Schmidt Theorem [49]. Thus, rather than being a pathological rarity, the linear form Diophantine condition serves as a sharp but broadly applicable threshold.
IV. A UNIFIED FRAMEWORK
A. Dynamic System Families
Using a dynamic system converts a high-dimensional vector into low-dimensional trajectory parameters. Early work [13] has shown that the irrational winding can indeed compress large models well. In this work, we examine four common families of dynamic systems: space-filling/grid traversal mappings, chaotic trajectory-based mappings, congruential and pseudo-random generator mappings, and quasi-Monte Carlo sequence mappings. In doing so, we can enrich the armory of model compression via dynamic systems. Because there is no definitive theory on the superiority of dynamic systems, involving more tools can increase the likelihood of achieving better compression performance.
Space-filling curves (SFC) define deterministic mappings from a one-dimensional index to a D-dimensional lattice point:
where m denotes the per-axis resolution, and SFC is the instantiated specific space-filling method.
Representative space-filling curves are Hilbert, Peano, Morton/Z-order, and Snake traversals, as shown in Figure 1(a)-(d). Each dynamic system can generate a trajectory
For Hilbert, Morton/Z-order, and Snake, we use , whereas Peano uses . Each mapping provides a deterministic bijection between the scalar indices and the corresponding lattice points. Detailed constructions of the four mappings are provided in the Supplementary Material.
Chaotic systems can generate deterministic trajectories with complex aperiodic behavior under chaotic parameter settings. As a representative case, we instantiate this family with the Lorenz system:
where , , and are system parameters. With system parameters, an initial condition , and an integration step size , we numerically integrate Eq. (13). After discarding the first transient states, we retain S consecutive post-transient states:
Here, denotes the retained trajectory index.
For the two-dimensional compression setting, the post-transient Lorenz trajectory is projected to a two-dimensional space by
where denotes the projection operator from the three-dimensional Lorenz states to the two-dimensional template space. In our implementation, is obtained by PCA on the post-transient Lorenz states.
As shown in Figure 1(e), unlike grid-based traversals, Lorenz-based systems do not lie on a regular lattice. Unlike QMC and congruential generators, it is not designed to uniformly cover the canonical domain. Although the states are uniform in integration time, their spatial distribution follows the geometry and visiting density of the Lorenz attractor. Under chaotic parameter settings, the Lorenz trajectory is confined to its attractor after the transient phase and repeatedly visits different regions of the attractor. Thus, the retained post-transient samples can provide a dense empirical coverage of the attractor support as the trajectory length increases.
Congruential and pseudo-random generators can be viewed as deterministic recursive systems that map a scalar index to a multi-dimensional system state. As shown in Figure 1(f)-(g), unlike grid-based traversals, systems do not explicitly enumerate a dense grid. Instead, a D-dimensional system point is obtained by unfolding a one-dimensional recurrence for D consecutive steps.
For LCG, the internal state follows the recurrence
where denotes the integer state at recursion step , and , , and denote the multiplier, increment, and modulus. Given the size for the candidate set, we generate scalar states and form the -th D-dimensional template by a sliding window:
where denotes the index.
For LCG, we set and use full-period parameters satisfying the Hull–Dobell conditions [50]. This guarantees a full-period state transition for each modulus .
PCG uses the same congruential state transition as Eq. (16), but does not directly induce the raw state . Instead, it applies a deterministic output permutation:
where , and denotes a deterministic output transformation composed of bit mixing and state-dependent rotation operations. In our implementation, is a PCG-style output permutation as
where
Here, denotes bitwise XOR, denotes right shift, denotes circular right rotation over a k-bit word, is an odd multiplication constant, and is a fixed rotation offset. All operations are performed within the k-bit integer space. Since xorshift, circular rotation, and multiplication by an odd integer are invertible over k-bit words, defines a deterministic bijection on , where .
Using the emitted sequence , PCG adopts the same sliding-window template construction as LCG. The coordinate functions of the PCG system are then defined as
where denotes the template index, and is the number of states.
Therefore, LCG and PCG share the same congruential state transition and sliding-window construction. The difference lies in the sequence: LCG directly uses the raw state , whereas PCG uses the permuted output . This output permutation changes the structure of the state set while preserving deterministic generation and efficient reconstruction.
Quasi-Monte Carlo (QMC) sequences are deterministic low-discrepancy point sets that provide structured coverage of the local representation domain, as shown in Figure 1(h). Compared with pseudo-random generators, QMC sequences are designed to reduce discrepancy, meaning that their empirical distribution better matches the target domain volume over axis-aligned regions. This makes them suitable for constructing relatively uniform states under a finite sampling budget.
We instantiate QMC mappings with the D-dimensional Halton sequence. Let denote the candidate index and set as the Halton sequence index. Let be the coordinate bases, which are chosen as the first D prime numbers in our implementation. The Halton state is defined as

Fig. 2. An overview of the proposed DS-based compression framework. The parameter tensor is flattened and partitioned into grouped weight vectors, which are mapped into a tensor-wise local domain. A dynamic system generates a finite trajectory of states, and each grouped vector is assigned to its nearest state and the associated index. The model is compressed by storing the resulting index instead of the original floating-point vectors, while the states are recovered from the index for decompression.
where is the radical-inverse function in base . Specifically, if the base- expansion of is
then
Here, denotes the -th digit of in its base- expansion. For example, when used in our implementation, the bases are , giving
B. The Framework of Model Compression via Dynamic Systems
As Figure 2 shows, this section describes the unified model compression framework based on dynamic systems. In this compression framework, each dynamic system serves as a plug-and-play component.
Flatten: Let denote the set of parameter tensors across layers in a pretrained neural network. For a tensor , let denote the total number of weights. We flatten each tensor into a vector:
Partition: Since is huge, it is impossible for the algorithm to deal with directly. Therefore, we use the divide-and-conquer strategy by partitioning into small -dimensional vectors. is padded if necessary, so that the number of scalar entries is divisible by . The padded entries are discarded after decompression. Mathematically, suppose we have groups,
Each group contains D consecutive scalar parameters from the flattened tensor. Padded entries are recorded in the metadata and discarded after decompression.
Shift and Scale: Since different weights may have different magnitudes, we shift and rescale the vector into a hypercube, followed by a unified operation. For each weight vector , we apply a shift and scale transformer ShiftScale: :
where is the geometric center of all vectors , and is the size of the hypercube. Both and can be set to different values with respect to different layers. Hereafter, we stop using the superscript or subscript for convenience.
The trajectory generated by a dynamic system is in . Mathematically, we have for any , there exists such that
According to this property, for each dynamic system, the compression is essentially realized by
which turns a vector w into . In real world, itself is discrete like the space-filling curves; otherwise, we sample into a table and pre-store this table to avoid solving Eq. (30) analytically. Without doing so, the entire compression will be time-consuming and unable to scale to large models. We denote the discrete values of as , , where denotes the number of discrete values. For each w, we search along for the state that can best represent it. Then, we have
Now, we analyze how Eqs. (30) and (31) are implemented in a specific dynamic system:
• Space-filling curves: Including Hilbert, Peano, Morton/Z-order, and Snake, SFC first quantizes w onto a regular lattice. We set the per-axis grid resolution m and the grid-cell side length s as
For w, we divide it by s to locate its grid cell. Then w is assigned to the geometrical nearest lattice point as
where is applied element-wise and ensures that each coordinate remains within the valid lattice-index range. Then, we can use the explicit relationship according to Supplementary Eqs. S2, S5, S9, and S12 to obtain from . The generated mapping
is a bijection over the finite lattice. Therefore, the corresponding is computed by the inverse traversal rule:
For Morton/Z-order and Snake traversal, can be computed explicitly from the coordinate rules, while for Hilbert and Peano traversals, it is obtained by reversing the corresponding recursive construction.
• Pseudo-random (PR): The scalar state is not obtained by an explicit inverse traversal rule. Instead, we apply Eqs. (17) and (21) to generate a state set
where , and is selected by the nearest-neighbor assignment:
Unlike SFC, this assignment is not an inverse of a lattice bijection, but a nearest-state search over a finite deterministic candidate set.
• QMC: indexes a deterministic low-discrepancy point. Since Halton does not provide a closed-form inverse for w, we apply Eq. (22) to construct the finite state set:
and is then computed as
This assigns w to the nearest index .
• Chaos: is also sampled from a deterministic trajectory rather than from a regular lattice. For the Lorenz instantiation, since the trajectory winds around the attractor, we align a circular region instead of the default hypercube. We apply Eq. (15) to define the scalar-state set as
Given w, we compute
This assigns w to the nearest .
Remark 2. We can store a table or an explicit relationship between j and such that only j needs to be stored:
thereby w is compressed into the integer index, which is similar to the classical vector quantization. This can be viewed as a combination of dynamic system+quantization. For SFC systems, compression directly combines lattice quantization with a deterministic dynamical mapping: quantization defines a finite regular domain, while the dynamic system provides the ordering and indexing rule. For LCG, PCG, QMC sequences and chaotic systems, they directly produce a finite state set, and w is represented by the state which is nearest to it. Then, the associated index is stored.
Yet, quantization is not an essential step for realizing compression. Without quantization, we can find a point such that can represent w; therefore, compression can also be realized. In conclusion, the essential compression mechanism is the low-dimensional scalar parameters to high-dimensional states.
C. Engineering Techniques
Here, we introduce our engineering techniques to make the proposed model compression via dynamic systems adapt well in real-world model compression. We mainly deal with two issues: i) how to compress fast so that our method can handle large models with billions of parameters; ii) how to control the representation error for weights to avoid the performance collapse of the compressed model.
Fast compression: The major computational cost in the proposed framework arises from assigning w to its nearest state (Eq. (30)), particularly for a large candidate set C. To accelerate the computation, we adopt different assignment strategies for different generator families. For the two-dimensional Lorenz system, we construct a KD-tree over all S states in C once and reuse it across layers. We perform nearest-neighbor queries with an average complexity of per query.
For SFC methods, because their states in C are integers, Eq. (33) directly quantizes w to an integer lattice coordinate. If we still build a KD-tree, this integer structure will be ignored and introduce additional construction cost. Thus, we directly use the state set C as a template, where each state is associated with a scalar index j. The template is generated once under a canonical local coordinate system and reused across different layers by translation and scaling, if necessary, to align with the hypercube . This reduces both assignment overhead during compression and lookup overhead during decompression, because the stored index can directly refer to the corresponding state.
For LCG, PCG and QMC, we perform exact Euclidean nearest-state assignment over S candidate states. The canonical candidate set is generated once and reused across layers through translation and scaling. To limit memory usage during nearest-state search, the D-dimensional grouped vectors are processed in batches, while the candidate states are further scanned in memory-bounded blocks when necessary. The minimum distance and corresponding index are updated across all blocks. Thus, the assignment remains exact, while the computational cost remains per grouped vector.
Error Control: For decompression, we need to restore the weight vector from index j to:
The error mainly occurs at , and may amplify the error. Since increasing can lower the error in , we let increase quadratically until the error is acceptable.
For , we need to scale it into . Mathematically, let
Vectors inside are assigned to the inner class . For the outer vectors, the radial interval is divided into different domains, and is the class number:
where K is selected dynamically according to an MAE-based loss threshold to control the error. Thus, the closer require only mild scaling, while farther are scaled more strongly. Given , it is assigned to the smallest class:
The corresponding scaling factor is
and the scaled vector is
Furthermore, we can combine the class information with j by updating j with the radial class label k as
During decompression, is parsed into k and j by the following:
Thus, the required bit width is .
Furthermore, we set a mean-MAE threshold for a tensor to control the error. After encoding w, we decompress it and compute the MAE in place. If the mean MAE exceeds the threshold, the corresponding tensor is stored directly without compression.
V. ANALYSIS EXPERIMENTS
Before formally comparing dynamic system-based compression methods with other state-of-the-arts, here we first conduct analytical experiments to investigate how different hyperparameters affect the compression–accuracy trade-off, with an emphasis on the grouping dimension and state scale. Then, we systematically compare the compression performance of different dynamic system-based compression methods using the Pareto curves. The analysis experiments can not only enrich the understanding of each method but also help choose representative configurations for them.
Experimental Setup. We evaluate Hilbert, Morton/Z-order, Peano, Snake, Lorenz, LCG, PCG, and QMC/Halton. The dimension and scale settings are summarized in Table I. Across the eight methods, we evaluate 254 configurations. We use the standard torchvision ResNet-18 pretrained on ImageNet-1K as the backbone. The original checkpoint occupies 44.7 MB and achieves Top-1 accuracy 69.76% and Top-5 accuracy 89.07% on the 50,000-image ILSVRC 2012 validation set [51]. We follow the standard evaluation protocol by resizing each image to 256 pixels, applying a center crop, and using the normalization recommended here [52]. The reconstructed models are evaluated without any test-time augmentation. All experiments are conducted on servers equipped with NVIDIA L40 and A800 GPUs.
We use the torchvision ResNet18_Weights.IMAGENET1K_V1 checkpoint, whose official weight file is resnet18-f37072fd.pth: https://download.pytorch.org/models/resnet18-f37072fd.pth.
TABLE I EVALUATED STATE-GENERATION SETTINGS. FOR GRID-BASED MAPPINGS, (OR FOR PEANO) DENOTES THE PER-AXIS RESOLUTION, YIELDING (OR ) SYSTEM STATES. FOR TRAJECTORY- AND SEQUENCE-BASED MAPPINGS, DENOTES THE SYSTEM STATES NUMBER.
| Method | D | Scale setting |
|---|---|---|
| Space-filling curves and traversal mappings | ||
| Hilbert | 2-3 | |
| 4-6 | ||
| Snake | 2-3 | |
| 4-6 | ||
| Z-order | 2-3 | |
| 4-6 | ||
| Peano | 2-6 | |
| Chaotic trajectory-based mapping | ||
| Lorenz | 2 | |
| Pseudo-random sequence mappings | ||
| LCG | 2 | |
| 3 | ||
| 4 | ||
| 5, 6 | ||
| PCG | 2 | |
| 3 | ||
| 4 | ||
| 5, 6 | ||
| Low-discrepancy sequence mapping | ||
| QMC | 2 | |
| 3 | ||
| 4 | ||
| 5, 6 | ||
All methods are evaluated under the same tensor-level compression protocol. Each tensor is either stored directly or compressed by the corresponding dynamic system. As common practice [30], the buffers, biases, very small tensors, and tensors whose reconstruction error exceeds the error threshold will be considered as outliers and therefore stored directly. For tensors compressed, we save their state indices and the associated metadata for decompression.
Overall Compression–Accuracy Behavior. The measured compression ratio is governed by two coupled factors: the dimensionality (D) which is the number of weights to compress at once, and the scale (S). We visualize the joint effects of D and S on the measured compression ratio and Top-1 accuracy drop in Figures 3 and 4.
SFC. A notable observation from Figures 3 and 4 is that Hilbert, Morton/Z-order and Snake yield identical compression ratios and accuracies under all matched configurations. For a grouping dimension D and a per-axis resolution , the three methods traverse the same state grid:
They differ only in the permutation used to assign scalar indices to the grid points. Because exact assignment selects the same reconstruction point from , the reconstructed tensors and threshold-based fallback decisions remain unchanged. Although the stored index values differ across traversal orders, they are stored in the same bit width. The resulting compression–accuracy behavior is thus determined by the grid geometry and resolution rather than by traversal order.
At , the compression performance shows a consistent and stable trend. As increases, both the loss of Top-1 accuracy and the compression ratio decrease, the latter decrease resulting from the enlarged index width. At , their compression ratios initially increase with per-axis resolution from to , while the loss of accuracy decreases. From the per-axis resolution of onward, the compression performance becomes consistent and stable. The compression ratio and accuracy loss decrease with increasing . achieves the lowest Top-1 accuracy drop of while keeping the compression ratio above . achieves the highest compression ratio of constrained by the Top-1 accuracy drop below .
For a fixed , increasing may expand the compressed tensor set, making previously uncompressed tensors eligible for compression. This reduces fallback storage and thus can improve the compression ratio. Therefore, the compression ratio increases when the reduction in fallback storage outweighs the larger index cost; otherwise, the compression ratio decreases. Newly-compressed tensors may introduce additional error and thus can decrease the accuracy. Therefore, the accuracy decreases when the newly introduced error outweighs the overall error improvement gained from larger S; otherwise, the accuracy increases.
Furthermore, the Peano curve follows the same permutation invariance on an identical grid. In our experiments, however, the Peano curve uses ternary resolutions , whereas the Hilbert, Morton/Z-order, and Snake curves use binary resolutions . Both their evaluated grid points and scale do not match exactly. The observed differences therefore arise from their different resolution schedules rather than the traversal itself.
When the per-axis resolution is , for the Hilbert, snake and Zorder curves, all dimensions D = 2–6 achieve compression ratios between with a Top-1 drop at most 0.40%. This range provides a favorable balance between compression efficiency and accuracy preservation. For Peano, per-axis resolution of achieves compression between 4.52– with Top-1 accuracy drops between 0.14–0.36%.
Quasi-Monte Carlo. This method exhibits more irregular and less monotonic compression–accuracy surfaces than the SFC-based methods.
At , increasing generally prevents the Top-1 accuracy from dropping too much and reduces the compression ratio, resulting in a stable accuracy-compression tradeoff. For example, at , increasing from to reduces the loss of Top-1 accuracy from to , with the compression ratio decreasing from to . achieves the highest compression ratio of at Top-1 accuracy drop below .
At , the accuracy degradation exhibits larger fluctuations as increases, indicating that performance depends not only on the state count, but also on the effective coverage of states and the tensors satisfying the compression error threshold. achieves the lowest Top-1 accuracy drop of with the compression ratio above .
At , increasing from to reduces the Top-1 accuracy drop from to , while the compression ratio decreases from to because of the larger bit width for indices.
(a) Hilbert

(b) Morton/Z-order
(c) Peano
(d) Snake
(e) Lorenz
(f) QMC
(g) LCG
(h) PCG

Fig. 3. Compression-ratio landscapes of the eight evaluated methods on ResNet-18. Each panel corresponds to one method, where the horizontal axis denotes the system scale, the depth axis denotes the grouping dimension D, and the vertical axis reports the measured compression ratio. For each fixed dimension, the curve and translucent curtain connect the evaluated scale configurations, while the numerical labels indicate the corresponding compression ratios. Higher values represent stronger compression. Lorenz is evaluated only in the two-dimensional setting because its trajectory states are projected onto a two-dimensional representation.
Congruential and pseudo-random generators. LCG exhibits a more irregular response than QMC. At , increasing produces a stable compression performance. At , the loss of Top-1 accuracy decreases further from 6.80% to 0.01%, while the compression ratio also gradually decreases from to .
At higher dimensions, compression performance fluctuations appear. Taking as an example, as increases from to , the compression ratio changes from to , and , while the corresponding accuracy drops are , , and . From to , the reduction in fallback storage outweighs the increase in index cost, resulting in both a higher compression ratio and better accuracy. At , the accuracy drop temporarily increases, suggesting that newly-compressed tensors introduce perturbations. At , accuracy preservation improves substantially, although the wider indices continue to reduce the compression ratio.
LCG attains its smallest Top-1 drop of 0.41% at D = 4, while keeping the compression ratio above 5×. Its highest compression ratio is 5.47× obtained at D = 3 with the Top-1 accuracy drop below 1%.
PCG is more sensitive to the grouping dimension. At , increasing from to reduces the loss of Top-1 accuracy from 1.21% to 0.27%, while the compression ratio decreases slightly from to . For , the Top-1 drop remains within 0.22–0.32%. The compression ratio decreases from to . However, this favorable low-dimensional behavior does not extend to higher dimensions, where the PCG exhibits substantially larger accuracy degradation. PCG achieves the Top-1 accuracy drop under 1% only at .
Lorenz is evaluated only at , because the trajectory states are projected onto a two-dimensional representation. Increasing from to reduces the compression ratio from to , while the Top-1 drop remains within 0.03–0.12%. Accuracy preservation is already close to saturation at , and further extending the trajectory provides little additional accuracy benefit while constantly increasing the index cost.
These results suggest that DS-based compression is fundamentally a state-space approximation problem: a dynamic system defines the geometry of a finite representation space, while the compression quality depends on how effectively this state space covers the structure of model weights. This explains why different systems with the same number of states can exhibit substantially different compression behaviors, while systems with different indexing rules may produce identical results, such as the Hilbert, Morton/Z-order, and Snake compression performance. Therefore, effective dynamical representations should prioritize coverage of grouped-weight distributions under a constrained storage budget, rather than simply increasing trajectory complexity or optimizing index traversal.
We jointly analyze the performance of the compression ratio and the accuracy drop using global and method-wise Pareto frontiers, which are provided in Supplementary Figs. S1 and S2. Based on the method-wise frontiers, we select one representative configuration for each method and summarize the configurations in Table II. Excluding Lorenz, representative configurations achieve the compression ratio between 4.80–5.77× with the accuracy drop between 0.14–0.59%. Lorenz
(a) Hilbert

(b) Morton/Z-order
(c) Peano
(d) Snake
(e) Lorenz

(f) QMC
(g) LCG
(h) PCG
Fig. 4. Top-1 accuracy-drop landscapes of the eight evaluated methods on ResNet-18. The vertical axis reports the Top-1 accuracy drop relative to the original model in percentage points. Lower values indicate better accuracy preservation.
TABLE II REPRESENTATIVE CONFIGURATIONS SELECTED FROM THE METHOD-WISE PARETO FRONTIERS ON RESNET-18. CR DENOTES THE MEASURED COMPRESSION RATIO, AND DENOTES THE ACCURACY CHANGE RELATIVE TO THE ORIGINAL MODEL, WHICH ACHIEVES TOP-1 AND TOP-5 ACCURACY.
| Method | D | S | CR | Top-1 Acc. (Δ)% | Top-5 Acc. (Δ)% |
|---|---|---|---|---|---|
| Hilbert | 3 | 5.77× | 69.17 (-0.59) | 88.67 (-0.40) | |
| Peano | 5 | 4.80× | 69.62 (-0.14) | 88.91 (-0.16) | |
| Lorenz | 2 | 3.36× | 69.64 (-0.12) | 89.07 (0.00) | |
| LCG | 3 | 4.96× | 69.52 (-0.24) | 88.99 (-0.08) | |
| PCG | 2 | 4.81× | 69.49 (-0.27) | 88.86 (-0.21) | |
| QMC | 3 | 5.50× | 69.18 (-0.58) | 88.72 (-0.35) |
achieves a compression ratio with a accuracy drop.
VI. COMPARATIVE EXPERIMENTS
Through analysis experiments, the characteristics of different dynamic systems and the hyperparameter configurations are probed. For large language models, we compare the proposed dynamic system-based compression with other state-of-the-art compression methods. Experiments show that DS compression methods can deliver competitive performance.
Experimental Setup. All six representative configurations in Table II are cast for six dynamic systems. The benchmark models are the FP16 checkpoints of Qwen2.5-1.5B and Qwen1.5-7B [53], [54], which account for 3.09 and 15.44 GB in memory, respectively. We compress all eligible parameter tensors using the proposed methods, while tensors whose decompression errors exceed the prescribed threshold are directly retained in the original form.
Compression quality is evaluated from two complementary perspectives: language modeling quality and downstream-task performance. We evaluate perplexity (PPL) on all complete non-overlapping 2048-token blocks of the WikiText-2 raw test split [55]. Downstream performance is evaluated on 16 tasks covering knowledge and question answering (SciQ, BoolQ, and MMLU) [56]–[58], commonsense and causal reasoning (WinoGrande, HellaSwag, PIQA, and COPA) [59]–[62], scientific and mathematical reasoning (ARC-Easy, ARC-Challenge, and GSM8K) [63], [64], and natural language inference, reading comprehension, and linguistic analysis (CB, MultiRC, ReCoRD, RTE, WiC, and WSC) from SuperGLUE [65].

(a) Qwen2.5-1.5B
(b) Qwen1.5-7B
Fig. 5. Compression–PPL trade-offs on Qwen2.5-1.5B and Qwen1.5-7B. Dashed lines denote the PPL of the corresponding uncompressed models. Higher compression ratios and lower perplexity indicate better trade-offs.
Comparison with Existing Compression Methods. Table III summarizes the performance of six DS-based compression methods on Qwen2.5-1.5B and Qwen1.5-7B. Across both model scales, all configurations exhibit distinct compression-quality operating points while maintaining perplexity and downstream performance close to the corresponding uncompressed models.
Figure 5 further visualizes the compression-PPL trade-offs, showing distinct operating points across the six dynamic system configurations. Lorenz preserves near-baseline perplexity, with only 0.03 and 0.02 PPL increases on Qwen2.5-1.5B and
TABLE III COMPRESSION RESULTS ON QWEN2.5-1.5B AND QWEN1.5-7B. CR DENOTES THE COMPRESSION RATIO. PPL IS EVALUATED ON WIKITEXT-2, AND AVG. SCORE IS AVERAGED OVER 16 DOWNSTREAM TASKS. VALUES IN PARENtheses DENOTE CHANGES RELATIVE TO THE CORRESPONDING UNCOMPRESSED MODEL.
| Model | Method | CR | PPL(Δ) | Avg. Score (Δ)% |
|---|---|---|---|---|
| Qwen2.5-1.5B | Original | - | 9.26 | 67.31 |
| Hilbert | 2.67× | 9.61 (+0.35) | 66.52 (-0.79) | |
| Peano | 2.37× | 9.55 (+0.29) | 67.70 (+0.39) | |
| Lorenz | 1.68× | 9.29 (+0.03) | 67.31 (+0.00) | |
| QMC | 2.56× | 9.75 (+0.49) | 66.44 (-0.87) | |
| LCG | 2.36× | 9.62 (+0.36) | 66.79 (-0.52) | |
| PCG | 2.33× | 9.66 (+0.40) | 66.24 (-1.07) | |
| Qwen1.5-7B | Original | - | 11.30 | 65.49 |
| Hilbert | 3.00× | 11.81 (+0.51) | 66.12 (+0.63) | |
| Peano | 2.42× | 11.30 (+0.00) | 64.99 (-0.50) | |
| Lorenz | 1.68× | 11.32 (+0.02) | 65.32 (-0.17) | |
| QMC | 2.82× | 11.96 (+0.66) | 65.26 (-0.23) | |
| LCG | 2.52× | 11.52 (+0.22) | 65.00 (-0.49) | |
| PCG | 2.46× | 11.63 (+0.33) | 65.20 (-0.29) |
Qwen1.5-7B, respectively, while maintaining a conservative compression ratio of . In contrast, Hilbert achieves the highest compression ratios among the evaluated configurations, reaching and on the two models with PPL increases of 0.35 and 0.51. Other configurations occupy intermediate positions, providing different compression-quality operating points. In particular, QMC reaches relatively high compression ratios of and , but is accompanied by the largest PPL increases at 0.49 and 0.66, respectively. This consistent trend indicates that the proposed DS method scales beyond convolutional networks to billion-parameter language models. Furthermore, the average downstream scores also remain close to those of the corresponding uncompressed models, indicating that the obtained trade-offs are not subjected to systematic degradation in aggregate downstream tasks.
Among six configurations evaluated above, Hilbert achieves the highest compression ratio on two models. We therefore select it for comparison with existing LLM compression methods. We compare against the irrational-winding reference (IR) [13], weight-only configurations of conventional low-bit post-training quantization methods including Zero-Quant [27], SQuant [28], and vanilla PTQ, as well as representative weight-only methods including GPTQ [8], AWQ [30], SpQR [31], and QuIP [32]. All compared configurations compress model weights while keeping activations and KV caches at FP16 precision. For a consistent comparison, all methods are evaluated on the same model checkpoints and the same evaluation protocols. Compression ratios are computed using the same storage accounting rule.
Table IV, Table V and Figure 6 show that Hilbert occupies a competitive operating point in the high-compression region across both models. On Qwen2.5-1.5B, Hilbert achieves a compression ratio of with a PPL increase of only 0.35. GPTQ and AWQ reach close matched compression ratios: and , respectively. However, their PPL increases are 0.98 and 0.72, compared with 0.35 for Hilbert. Likewise, ZeroQuant-INT4, SQuant-INT4, and PTQ-INT4 reach compression but increase PPL by 4.24, 4.27, and 5.88, respectively. Compared with IR, Hilbert achieves the nearly identical compression ratio while reducing the PPL increase from 0.58 to 0.35. SpQR provides a lower PPL increase of 0.19 at a lower compression ratio of , whereas QuIP reaches a slightly higher compression ratio of with a similar PPL increase of 0.37. These results place Hilbert at a competitive operating point in the high-compression region of the weight-only comparison.

(a) Qwen2.5-1.5B
(b) Qwen1.5-7B
| ★ | Hilbert (Ours) | ○ | ZeroQ-INT8 | ★ | PTQ-INT4 | ▼ | AWQ-W4A16 |
|---|---|---|---|---|---|---|---|
| ◆ | IR | ● | SQuant-INT4 | ✕ | PTQ-INT8 | ● | SpQR-W4A16 |
| ● | ZeroQ-INT4 | ○ | SQuant-INT8 | ▲ | GPTQ-W4A16 | ● | QuIP-W4A16 |
Fig. 6. Compression-perplexity trade-offs of weight-only compression methods on Qwen2.5-1.5B and Qwen1.5-7B. Higher CR and lower PPL indicate better trade-offs.
On Qwen1.5-7B, Hilbert reaches compression with a PPL increase of 0.51. ZeroQuant-INT4, SQuant-INT4, and PTQ-INT4 achieve somewhat higher compression at but incur larger PPL increases of 2.68, 2.67 and 3.27, respectively. Compared with IR, Hilbert increases the compression ratio from to while reducing the PPL increase from 1.17 to 0.51. Other methods provide different operating points: AWQ achieves a smaller PPL increase of 0.38 at , while SpQR retains nearly unchanged perplexity at compression. Relative to these lower-compression operating points, Hilbert achieves a higher compression ratio of at the cost of a moderate increase in perplexity.
The average downstream results further provide a complementary view of compression quality. Hilbert obtains average scores of 66.52 and 66.12 on Qwen2.5-1.5B and Qwen1.5-7B, corresponding to changes of -0.79 and +0.63 points, respectively. On Qwen1.5-7B, its average score remains higher than those of the three conventional INT4 PTQ baselines despite their somewhat higher compression ratios. Overall, these results indicate that Hilbert maintains competitive aggregate downstream performance while operating in the high-compression region.
Tables IV and V also provide a more detailed view of compression effects on downstream-task performance. For Hilbert, performance remains relatively stable on several broad-coverage benchmarks, including HellaSwag, BoolQ, MMLU, PIQA, and ReCoRD. On Qwen2.5-1.5B, the score changes on these tasks remain within approximately one percentage point, while on Qwen1.5-7B the same group of tasks exhibits similarly moderate variations.
Meanwhile, the task-wise results reveal substantially larger method-dependent variations on several benchmarks. GSM8K, CB, MultiRC, and WSC show noticeably larger fluctuations across compression approaches and model scales, with both positive and negative changes observed after compression.
TABLE IV COMPRESSION AND DOWNSTREAM-TASK COMPARISON ON QWEN2.5-1.5B. CR DENOTES THE COMPRESSION RATIO, PPL IS EVALUATED ON WIKITEXT-2. TASK SCORES ARE REPORTED IN PERCENTAGE (%). THE BEST DOWNSTREAM TASK SCORE IS HIGHLIGHTED IN BOLD. AVG. SCORE IS AVERAGED OVER THE 16 DOWNSTREAM TASKS. ZQ, SQ, AND PTQ DENOTE ZEROQUANT, SQUANT, AND VANILLA PTQ, RESPECTIVELY.
| Metric / Task | Reference | Dyn-Sys | Previous | Conventional PTQ | Advanced Weight-only | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Original | Hilbert | IR | ZQ4 | ZQ8 | SQ4 | SQ8 | PTQ4 | PTQ8 | GPTQ | AWQ | SpQR | QuIP | |
| CR | - | 2.67× | 2.67× | 2.74× | 1.73× | 2.74× | 1.73× | 2.74× | 1.73× | 2.68× | 2.69× | 2.50× | 2.75× |
| PPL | 9.26 | 9.61 | 9.84 | 13.50 | 9.27 | 13.53 | 9.27 | 15.14 | 9.28 | 10.24 | 9.98 | 9.45 | 9.63 |
| (Δ PPL) | - | +0.35 | +0.58 | +4.24 | +0.01 | +4.27 | +0.01 | +5.88 | +0.02 | +0.98 | +0.72 | +0.19 | +0.37 |
| SciQ | 93.30 | 94.20 | 93.70 | 89.60 | 93.40 | 89.60 | 93.40 | 86.30 | 93.30 | 93.70 | 93.80 | 93.40 | 93.40 |
| WinoGrande | 63.38 | 62.19 | 64.40 | 58.17 | 63.93 | 59.75 | 63.69 | 59.27 | 63.38 | 62.51 | 63.85 | 63.54 | 64.25 |
| ARC-Easy | 71.51 | 72.85 | 72.60 | 66.20 | 71.04 | 67.38 | 71.34 | 58.71 | 71.55 | 73.36 | 72.64 | 71.55 | 73.19 |
| ARC-Challenge | 54.78 | 52.39 | 53.33 | 45.14 | 54.86 | 45.05 | 54.61 | 43.52 | 54.61 | 51.96 | 51.96 | 54.18 | 51.88 |
| HellaSwag | 67.95 | 67.40 | 66.63 | 61.27 | 67.92 | 61.39 | 67.95 | 59.85 | 67.86 | 66.72 | 66.29 | 67.42 | 66.39 |
| BoolQ | 78.84 | 78.75 | 77.86 | 65.69 | 78.81 | 64.98 | 78.75 | 43.09 | 78.96 | 76.27 | 78.10 | 77.16 | 77.71 |
| MMLU | 60.95 | 60.06 | 59.74 | 50.81 | 61.00 | 50.22 | 60.85 | 49.91 | 60.90 | 57.39 | 58.28 | 60.20 | 59.07 |
| GSM8K | 62.62 | 59.14 | 54.21 | 16.38 | 62.02 | 15.69 | 61.56 | 12.59 | 62.93 | 46.55 | 53.37 | 59.06 | 51.71 |
| PIQA | 75.95 | 76.33 | 75.79 | 74.10 | 76.01 | 74.10 | 75.90 | 72.63 | 76.12 | 75.41 | 75.68 | 75.46 | 74.70 |
| CB | 71.43 | 64.29 | 67.86 | 50.00 | 73.21 | 46.43 | 73.21 | 41.07 | 67.86 | 64.29 | 60.71 | 58.93 | 46.43 |
| COPA | 83.00 | 85.00 | 84.00 | 81.00 | 83.00 | 79.00 | 83.00 | 77.00 | 83.00 | 83.00 | 83.00 | 82.00 | 82.00 |
| MultiRC | 28.55 | 30.38 | 42.06 | 40.18 | 28.24 | 41.30 | 28.28 | 44.66 | 29.08 | 48.41 | 40.45 | 41.63 | 35.25 |
| ReCoRD | 84.83 | 83.90 | 84.06 | 78.95 | 84.75 | 78.55 | 84.78 | 75.39 | 84.86 | 83.27 | 83.47 | 84.38 | 84.29 |
| RTE | 70.04 | 64.98 | 67.51 | 54.51 | 70.76 | 53.79 | 69.68 | 59.57 | 68.23 | 71.12 | 68.59 | 63.90 | 64.62 |
| WiC | 53.13 | 53.76 | 58.78 | 50.78 | 53.13 | 51.88 | 53.13 | 51.88 | 53.45 | 57.37 | 51.88 | 57.05 | 54.86 |
| WSC | 56.73 | 58.65 | 53.85 | 63.46 | 58.65 | 63.46 | 57.69 | 63.46 | 57.69 | 36.54 | 47.12 | 56.73 | 57.69 |
| Avg. Score | 67.31 | 66.52 | 67.27 | 59.14 | 67.55 | 58.91 | 67.36 | 56.18 | 67.11 | 65.49 | 65.57 | 66.66 | 64.84 |
| (Δ Avg) | - | (-0.79) | (-0.04) | (-8.17) | (+0.24) | (-8.40) | (+0.05) | (-11.13) | (-0.20) | (-1.82) | (-1.74) | (-0.65) | (-2.47) |
TABLE V COMPRESSION AND DOWNSTREAM-TASK COMPARISON ON QWEN1.5-7B. METRICS, NOTATION, AND HIGHLIGHTING FOLLOW TABLE IV.
| Metric / Task | Reference | Dyn-Sys | Previous | Conventional PTQ | Advanced Weight-only | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Original | Hilbert | IR | ZQ4 | ZQ8 | SQ4 | SQ8 | PTQ4 | PTQ8 | GPTQ | AWQ | SpQR | QuIP | |
| CR | - | 3.00× | 2.91× | 3.21× | 1.85× | 3.21× | 1.85× | 3.21× | 1.85× | 2.63× | 2.64× | 2.47× | 2.69× |
| PPL | 11.30 | 11.81 | 12.47 | 13.98 | 11.30 | 13.97 | 11.30 | 14.57 | 11.31 | 11.92 | 11.68 | 11.29 | 11.99 |
| (Δ PPL) | - | +0.51 | +1.17 | +2.68 | +0.00 | +2.67 | +0.00 | +3.27 | +0.01 | +0.62 | +0.38 | -0.01 | +0.69 |
| SciQ | 83.40 | 85.30 | 82.70 | 79.50 | 83.80 | 80.20 | 83.80 | 80.80 | 83.90 | 79.00 | 84.80 | 83.10 | 83.90 |
| WinoGrande | 65.19 | 64.17 | 62.75 | 61.72 | 64.96 | 62.12 | 65.19 | 61.33 | 65.27 | 65.19 | 65.19 | 65.75 | 66.06 |
| ARC-Easy | 63.34 | 61.62 | 63.68 | 61.36 | 63.30 | 61.03 | 63.38 | 60.52 | 63.59 | 58.04 | 62.37 | 62.96 | 60.90 |
| ARC-Challenge | 56.57 | 53.50 | 55.63 | 48.72 | 55.80 | 48.21 | 55.55 | 51.88 | 56.06 | 55.12 | 55.46 | 55.97 | 54.69 |
| HellaSwag | 78.68 | 77.63 | 76.62 | 75.73 | 78.72 | 75.77 | 78.73 | 75.16 | 78.64 | 77.66 | 77.74 | 78.36 | 77.76 |
| BoolQ | 85.47 | 84.80 | 85.08 | 83.70 | 85.32 | 83.88 | 85.38 | 84.50 | 85.35 | 84.68 | 85.11 | 85.11 | 85.17 |
| MMLU | 60.45 | 59.69 | 58.87 | 57.56 | 60.62 | 57.62 | 60.58 | 56.24 | 60.53 | 59.72 | 59.97 | 60.13 | 59.68 |
| GSM8K | 20.92 | 22.14 | 19.26 | 23.43 | 23.35 | 25.17 | 23.05 | 22.59 | 19.48 | 41.62 | 23.43 | 18.50 | 25.93 |
| PIQA | 75.90 | 75.79 | 75.24 | 74.16 | 75.90 | 74.05 | 75.90 | 73.45 | 75.79 | 74.59 | 75.35 | 76.06 | 75.46 |
| CB | 60.71 | 73.21 | 35.71 | 83.93 | 60.71 | 83.93 | 60.71 | 50.00 | 60.71 | 64.29 | 57.14 | 58.93 | 57.14 |
| COPA | 86.00 | 86.00 | 86.00 | 78.00 | 86.00 | 81.00 | 84.00 | 81.00 | 87.00 | 87.00 | 85.00 | 85.00 | 86.00 |
| MultiRC | 25.68 | 26.88 | 23.10 | 35.11 | 24.96 | 34.36 | 25.00 | 31.83 | 25.45 | 28.44 | 29.19 | 25.74 | 23.41 |
| ReCoRD | 81.06 | 80.66 | 80.44 | 79.57 | 81.21 | 79.90 | 81.20 | 79.40 | 81.11 | 80.20 | 81.07 | 81.31 | 80.66 |
| RTE | 83.03 | 82.67 | 85.20 | 82.67 | 83.39 | 83.39 | 83.39 | 80.51 | 83.75 | 83.75 | 83.39 | 82.31 | 85.56 |
| WiC | 67.55 | 67.08 | 67.08 | 61.44 | 67.08 | 63.64 | 67.08 | 64.11 | 67.40 | 66.46 | 66.61 | 67.71 | 65.05 |
| WSC | 53.85 | 56.73 | 56.73 | 48.08 | 55.77 | 49.04 | 55.77 | 45.19 | 55.77 | 56.73 | 54.81 | 54.81 | 53.85 |
| Avg. Score | 65.49 | 66.12 | 63.38 | 64.67 | 65.68 | 65.21 | 65.54 | 62.41 | 65.61 | 66.41 | 65.41 | 65.11 | 65.08 |
| (Δ Avg) | - | +0.63 | -2.11 | -0.82 | +0.19 | -0.28 | +0.05 | -3.08 | +0.12 | +0.92 | -0.08 | -0.38 | -0.41 |
For example, GPTQ obtains a substantial improvement on GSM8K for Qwen1.5-7B, whereas its behaviors on several other tasks do not show the same trend. Similarly, CB and MultiRC exhibit large variations across multiple quantization families. These task-dependent fluctuations further show that changes in PPL are not necessarily aligned with changes in individual downstream-task scores. Consequently, isolated score improvements after compression should not be interpreted as a consistent gain in model capability. Overall, Hilbert maintains competitive task-level performance.
VII. CONCLUSION
This paper has investigated model compression through the lens of dynamic systems. We first established a theoretical foundation for DS-based compression with the irrational winding, thereby transforming DS-based compression from a heuristic construction into a principled tool with a controllable error profile. We have then extended the paradigm from the single irrational-winding instantiation to a unified framework based on DS. To make the framework practical at scale, we have introduced KD-tree and coordinate-template acceleration for fast state assignment, together with outlier identification and threshold-based fallback for error control. Experiments confirm that DS-based compression is competitive. Several open questions remain for future work, including automatic selection of the dynamic system and its configuration and a more complete characterization of computational overhead during both compression and deployment. We hope this work stimulates further research at the intersection of dynamic systems and efficient deep learning.
REFERENCES
[1] Z. Zhou, X. Ning, K. Hong, T. Fu, J. Xu, S. Li, Y. Lou, L. Wang, Z. Yuan, X. Li, S. Yan, G. Dai, X.-P. Zhang, Y. Dong, and Y. Wang, "A survey on efficient inference for large language models," 2024. [Online]. Available: https://arxiv.org/abs/2404.14294
[2] NVIDIA, “GeForce RTX 4090 graphics card specifications,” https://www.nvidia.com/en-us/geforce/graphics-cards/40-series/rtx-4090/, 2022, accessed: 2026-07-27.
[3] S. Yin, C. Fu, S. Zhao, K. Li, X. Sun, T. Xu, and E. Chen, "A survey on multimodal large language models," National Science Review, vol. 11, no. 12, p. nwae403, 2024. [Online]. Available: https://pmc.ncbi.nlm.nih.gov/articles/PMC11645129/
[4] J. Zhang, M. Jiang, N. Dai, T. Lu, A. Uzunoglu, S. Zhang, Y. Wei, J. Wang, V. M. Patel, P. P. Liang, D. Khashabi, C. Peng, R. Chellappa, T. Shu, A. Yuille, Y. Du, and J. Chen, "World-in-world: World models in a closed-loop world," in International Conference on Learning Representations, 2026. [Online]. Available: https://proceedings.iclr.cc/paper_files/paper/2026/hash/5b4263be85820683d78675cc18d2efc7-Abstract-Conference.html
[5] X. Zhu, J. Li, Y. Liu, C. Ma, and W. Wang, "A survey on model compression for large language models," Transactions of the Association for Computational Linguistics, vol. 12, pp. 1556–1577, 2024. [Online]. Available: https://aclanthology.org/2024.tacl-1.85/
[6] Z. Wan, X. Wang, C. Liu, S. Alam, Y. Zheng, J. Liu, Z. Qu, S. Yan, Y. Zhu, Q. Zhang, M. Chowdhury, and M. Zhang, “Efficient large language models: A survey,” Transactions on Machine Learning Research, 2024. [Online]. Available: https://arxiv.org/abs/2312.03863
[7] E. Frantar and D. Alistarh, “SparseGPT: Massive language models can be accurately pruned in one-shot,” in Proceedings of the 40th International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, vol. 202. PMLR, 2023, pp. 10323–10337. [Online]. Available: https://proceedings.mlr.press/v202/frantar23a.html
[8] E. Frantar, S. Ashkboos, T. Hoefler, and D. Alistarh, “GPTQ: Accurate post-training quantization for generative pre-trained transformers,” in International Conference on Learning Representations, 2023. [Online]. Available: https://iclr.cc/virtual/2023/poster/10855
[9] G. Hinton, O. Vinyals, and J. Dean, “Distilling the knowledge in a neural network,” in NIPS Deep Learning and Representation Learning Workshop, 2015. [Online]. Available: https://research.google/pubs/distilling-the-knowledge-in-a-neural-network/
[10] Y. Gu, L. Dong, F. Wei, and M. Huang, “Minillm: Knowledge distillation of large language models,” in International Conference on Learning Representations, 2024. [Online]. Available: https://proceedings.iclr.cc/paper_files/paper/2024/hash/8ac015d409635f196f9e3e9dcfb9a94e-Abstract-Conference.html
[11] T. N. Sainath, B. Kingsbury, V. Sindhwani, E. Arisoy, and B. Ramabhadran, “Low-rank matrix factorization for deep neural network training with high-dimensional output targets,” in 2013 IEEE International Conference on Acoustics, Speech and Signal Processing, 2013, pp. 6655–6659. [Online]. Available: https://ieeexplore.ieee.org/document/6638949
[12] S. Shuvaev, D. Lachi, A. Koulakov, and A. Zador, “Encoding innate ability through a genomic bottleneck,” Proceedings of the National Academy of Sciences, vol. 121, no. 38, p. e2409160121, 2024. [Online]. Available: https://www.pnas.org/doi/10.1073/pnas.2409160121
[13] F.-L. Fan, J. Fan, D. Wang, J. Zhang, Z. Dong, S. Zhang, G. Wang, and T. Zeng, “Hyper-Compression: Model compression via hyperfunction,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 48, no. 8, pp. 8813–8830, Aug. 2026. [Online]. Available: https://doi.org/10.1109/TPAMI.2026.3673772
[14] D. Hilbert, “Über die stetige abbildung einer linie auf ein flächenstück,” Mathematische Annalen, vol. 38, no. 3, pp. 459–460, 1891. [Online]. Available: https://link.springer.com/chapter/10.1007/978-3-662-38452-7_1
[15] G. Peano, “Sur une courbe, qui remplit toute une aire plane,” Mathematische Annalen, vol. 36, no. 1, pp. 157–160, 1890. [Online]. Available: https://link.springer.com/article/10.1007/BF01199438
[16] G. M. Morton, “A computer oriented geodetic data base and a new technique in file sequencing,” IBM Ltd., Tech. Rep., 1966. [Online]. Available: https://dominoweb.draco.res.ibm.com/0dabf9473b9c86d48525779800566a39.html
[17] E. N. Lorenz, “Deterministic nonperiodic flow,” Journal of the Atmospheric Sciences, vol. 20, no. 2, pp. 130–141, 1963. [Online]. Available: https://www.lmd.polytechnique.fr/~dubos/Cours/PRL/Lorenz63.pdf
[18] D. H. Lehmer, “Mathematical methods in large-scale computing units,” Annals of the Computation Laboratory of Harvard University, vol. 26, pp. 141–146, 1951. [Online]. Available: https://bitsavers.org/pdf/harvard/Proceedings_of_a_Second_Symposium_on_Large-Scale_Digital_Calculating_Machinery_Sep49.pdf
[19] J. H. Halton, “On the efficiency of certain quasi-random sequences of points in evaluating multi-dimensional integrals,” Numerische Mathematik, vol. 2, no. 1, pp. 84–90, 1960. [Online]. Available: https://doi.org/10.1007/BF01386213
[20] Y. LeCun, J. S. Denker, and S. A. Solla, “Optimal brain damage,” in Advances in Neural Information Processing Systems, vol. 2, 1990, pp. 598–605. [Online]. Available: https://proceedings.neurips.cc/paper/1989/hash/6c9882bbac1c7093bd25041881277658-Abstract.html
[21] B. Hassibi and D. G. Stork, “Optimal brain surgeon and general network pruning,” in IEEE International Conference on Neural Networks, 1993, pp. 293–299. [Online]. Available: https://doi.org/10.1109/ICNN.1993.298572
[22] H. Li, A. Kadav, I. Durdanovic, H. Samet, and H. P. Graf, "Pruning filters for efficient convnets," in International Conference on Learning Representations, 2017. [Online]. Available: https://mlanthology.org/iclr/2017/li2017iclr-pruning/
[23] M. Sun, Z. Liu, A. Bair, and J. Z. Kolter, “A simple and effective pruning approach for large language models,” in International Conference on Learning Representations, 2024. [Online]. Available: https://proceedings.iclr.cc/paper_files/paper/2024/hash/14c856c7a41297804de4c4890e846b25-Abstract-Conference.html
[24] Y. Lu, H. Cheng, Y. Fang, Z. Wang, J. Wei, D. Xu, Q. Xuan, X. Yang, and Z. Zhu, “Reassessing layer pruning in llms: New insights and methods,” in International Conference on Learning Representations, 2026, poster. [Online]. Available: https://proceedings.iclr.cc/paper_files/paper/2026/hash/40624bef9a7d22c0c780dfe9291f5843-Abstract-Conference.html
[25] R. Lucas, K. Behdin, Z. Wang, Q. Song, S. Tang, and R. Mazumder, "Reasoning models can be accurately pruned via chain-of-thought reconstruction," in NeurIPS 2025 Workshop on Efficient Reasoning, 2025. [Online]. Available: https://arxiv.org/abs/2509.12464
[26] T. Hoefler, D. Alistarh, T. Ben-Nun, N. Dryden, and A. Peste, "Sparsity in deep learning: Pruning and growth for efficient inference and training in neural networks," Journal of Machine Learning Research, vol. 22, no. 241, pp. 1–124, 2021. [Online]. Available: https://www.jmlr.org/papers/v22/21-0366.html
[27] Z. Yao, R. Y. Aminabadi, M. Zhang, X. Wu, C. Li, and Y. He, “ZeroQuant: Efficient and affordable post-training quantization for large-scale transformers,” in Advances in Neural Information Processing Systems, vol. 35, 2022, pp. 27168–27183. [Online]. Available: https://proceedings.neurips.cc/paper_files/paper/2022/hash/adf7fa39d65e2983d724ff7da57f00ac-Abstract-Conference.html
[28] C. Guo, Y. Qiu, J. Leng, X. Gao, C. Zhang, Y. Liu, F. Yang, Y. Zhu, and M. Guo, “SQuant: On-the-fly data-free quantization via diagonal hessian approximation,” in International Conference on Learning Representations, 2022. [Online]. Available: https://iclr.cc/virtual/2022/poster/7037
[29] G. Xiao, J. Lin, M. Seznec, H. Wu, J. Demouth, and S. Han, "SmoothQuant: Accurate and efficient post-training quantization for large language models," in Proceedings of the 40th International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, vol. 202. PMLR, 2023, pp. 38087–38099. [Online]. Available: https://proceedings.mlr.press/v202/xiao23c.html
[30] J. Lin, J. Tang, H. Tang, S. Yang, W.-M. Chen, W.-C. Wang, G. Xiao, X. Dang, C. Gan, and S. Han, “AWQ: Activation-aware weight quantization for on-device LLM compression and acceleration,” in Proceedings of Machine Learning and Systems, vol. 6, 2024. [Online]. Available: https://proceedings.mlsys.org/paper_files/paper/2024/hash/42a452cbafa9dd64e9ba4aa95cc1ef21-Abstract-Conference.html
[31] T. Dettmers, R. Svirschevski, E. Kurtic et al., “Sqr: A sparse-quantized representation for near-lossless llm weight compression,” in
International Conference on Learning Representations, 2024. [Online]. Available: https://openreview.net/forum?id=Q1u25ah2M7
[32] J. Chee, Y. Cai, V. Kuleshov, and C. De Sa, “QuIP: 2-bit quantization of large language models with guarantees,” in Advances in Neural Information Processing Systems, vol. 36, 2023, pp. 4396–4429. [Online]. Available: https://neurips.cc/virtual/2023/poster/69982
[33] A. Romero, N. Ballas, S. E. Kahou, A. Chassang, C. Gatta, and Y. Bengio, "FitNets: Hints for thin deep nets," in International Conference on Learning Representations, 2015. [Online]. Available: https://mlanthology.org/iclr/2015/romero2015iclr-fitnets/
[34] W. Park, D. Kim, Y. Lu, and M. Cho, “Relational knowledge distillation,” in IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2019, pp. 3967–3976. [Online]. Available: https://openaccess.thecvf.com/content_CVPR_2019/html/Park_Relational_Knowledge_Distillation_CVPR_2019_paper.html
[35] Y. Gu, H. Zhou, F. Meng, J. Zhou, and M. Huang, "Knowledge distillation for pre-training language models," in International Conference on Learning Representations, 2025. [Online]. Available: https://proceedings.iclr.cc/paper_files/paper/2025/hash/ea05e4fc0299c27648c9985266abad47-Abstract-Conference.html
[36] W. Xu, R. Han, Z. Wang, L. T. Le, D. Madeka, L. Li, W. Y. Wang, R. Agarwal, C.-Y. Lee, and T. Pfister, “Speculative knowledge distillation: Bridging the teacher-student gap through interleaved sampling,” in International Conference on Learning Representations, 2025. [Online]. Available: https://proceedings.iclr.cc/paper_files/paper/2025/hash/a2747a3844ca1e4667fbff3f558eb39b-Abstract-Conference.html
[37] Y. Kim, D. Shin, M. Kang, B. Na, and I.-c. Moon, "Distillation of large language models via concrete score matching," in International Conference on Learning Representations, 2026. [Online]. Available: https://proceedings.iclr.cc/paper_files/paper/2026/hash/1bfc9f74afa91b9b8add5a97a97001a1-Abstract-Conference.html
[38] S. Stanton, P. Izmailov, P. Kirichenko, A. A. Alemi, and A. G. Wilson, “Does knowledge distillation really work?” in Advances in Neural Information Processing Systems, vol. 34, 2021, pp. 6906–6919. [Online]. Available: https://proceedings.neurips.cc/paper/2021/hash/376c6b9ff3bedbbea56751a84fffc10c-Abstract.html
[39] A. Novikov, D. Podoprikhin, A. Osokin, and D. P. Vetrov, “Tensorizing neural networks,” in Advances in Neural Information Processing Systems, vol. 28, 2015, pp. 442–450. [Online]. Available: https://proceedings.neurips.cc/paper/2015/hash/6855456e2fe46a9d49d3d3af4f57443d-Abstract.html
[40] E. J. Hu, Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen, "Lora: Low-rank adaptation of large language models," in International Conference on Learning Representations, 2022. [Online]. Available: https://iclr.cc/virtual/2022/poster/6319
[41] R. Saha, N. Sagan, V. Srivastava, A. J. Goldsmith, and M. Pilanci, “Compressing large language models using low rank and low precision decomposition,” in Advances in Neural Information Processing Systems, vol. 37, 2024. [Online]. Available: https://proceedings.neurips.cc/paper_files/paper/2024/hash/a20e8451ffb07ad25282c21945ad4f19-Abstract-Conference.html
[42] M. Mozaffari, A. Yazdanbakhsh, and M. Mehri Dehnavi, “SLiM: One-shot quantization and sparsity with low-rank approximation for LLM weight compression,” in Proceedings of the 42nd International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, vol. 267. PMLR, 2025, pp. 45024–45049. [Online]. Available: https://proceedings.mlr.press/v267/mozaffari25a.html
[43] U. Saxena, S. Sharify, K. Roy, and X. Wang, “ResQ: Mixed-precision quantization of large language models with low-rank residuals,” in Proceedings of the 42nd International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, vol. 267. PMLR, 2025, pp. 53095–53114. [Online]. Available: https://proceedings.mlr.press/v267/saxena25b.html
[44] P. Walters, An introduction to ergodic theory. Springer Science & Business Media, 1982, vol. 79. [Online]. Available: https://link.springer.com/book/9780387951522
[45] J. Fan, Z. Hao, J. Shen, S.-L. Jui, Y. Zhang, J.-X. Liao, and F.-L. Fan, “Compress any segment anything model (sam),” arXiv preprint arXiv:2507.08765, 2025. [Online]. Available: https://arxiv.org/abs/2507.08765
[46] H. Wang, H. Pei, Y. Lyu, K. Zhang, L. Li, and F.-L. Fan, “Coli: A hierarchical efficient compressor for large images,” arXiv preprint arXiv:2507.11443, 2025. [Online]. Available: https://arxiv.org/abs/2507.11443
[47] A. Katok and B. Hasselblatt, Introduction to the modern theory of dynamical systems. Cambridge University Press, 1995,
vol. 54. [Online]. Available: https://assets.cambridge.org/97805215/75577/frontmatter/9780521575577_frontmatter.pdf
[48] L. Coroianu and S. G. Gal, “Lp-approximation by truncated max-product sampling operators of Kantorovich-type based on fejer kernel,” The Journal of Integral Equations and Applications, vol. 29, no. 2, pp. 349–364, 2017.
[49] W. M. Schmidt, Diophantine Approximation, ser. Lecture Notes in Mathematics. Springer, 1980, no. 785.
[50] T. E. Hull and A. R. Dobell, “Random number generators,” SIAM Review, vol. 4, no. 3, pp. 230–254, 1962. [Online]. Available: https://doi.org/10.1137/1004061
[51] O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein, A. C. Berg, and L. Fei-Fei, “ImageNet Large Scale Visual Recognition Challenge,” International Journal of Computer Vision, vol. 115, no. 3, pp. 211–252, 2015. [Online]. Available: https://doi.org/10.1007/s11263-015-0816-y
[52] PyTorch, “torchvision.models.resnet18,” https://docs.pytorch.org/vision/stable/models/generated/torchvision.models.resnet18.html, 2026, accessed: 2026-07-27.
[53] Qwen Team, A. Yang, B. Yang, B. Zhang, B. Hui, B. Zheng, B. Yu, C. Li, D. Liu, F. Huang et al., “Qwen2.5 technical report,” arXiv preprint arXiv:2412.15115, 2024. [Online]. Available: https://arxiv.org/abs/2412.15115
[54] J. Bai, S. Bai, Y. Chu, Z. Cui, K. Dang, X. Deng, Y. Fan, W. Ge, Y. Han, F. Huang et al., “Qwen technical report,” arXiv preprint arXiv:2309.16609, 2023. [Online]. Available: https://arxiv.org/abs/2309.16609
[55] S. Merity, C. Xiong, J. Bradbury, and R. Socher, “Pointer sentinel mixture models,” in International Conference on Learning Representations, 2017. [Online]. Available: https://mlanthology.org/iclr/2017/merity2017iclr-pointer/
[56] J. Welbl, N. F. Liu, and M. Gardner, “Crowdsourcing multiple choice science questions,” arXiv preprint arXiv:1707.06209, 2017. [Online]. Available: https://aclanthology.org/W17-4413/
[57] C. Clark, K. Lee, M.-W. Chang, T. Kwiatkowski, M. Collins, and K. Toutanova, “BoolQ: Exploring the surprising difficulty of natural yes/no questions,” in Proceedings of NAACL-HLT, 2019, pp. 2924–2936. [Online]. Available: https://aclanthology.org/N19-1300/
[58] D. Hendrycks, C. Burns, S. Basart, A. Zou, M. Mazeika, D. Song, and J. Steinhardt, “Measuring massive multitask language understanding,” in International Conference on Learning Representations, 2021. [Online]. Available: https://iclr.cc/virtual/2021/poster/2962
[59] K. Sakaguchi, R. Le Bras, C. Bhagavatula, and Y. Choi, “WinoGrande: An adversarial winograd schema challenge at scale,” in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 34, no. 5, 2020, pp. 8732–8740. [Online]. Available: https://aaai.org/papers/08732-winogrande-an-adversarial-winograd-schema-challenge-at-scale/
[60] R. Zellers, A. Holtzman, Y. Bisk, A. Farhadi, and Y. Choi, “HellaSwag: Can a machine really finish your sentence?” in Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 2019, pp. 4791–4800. [Online]. Available: https://aclanthology.org/P19-1472/
[61] Y. Bisk, R. Zellers, R. Le Bras, J. Gao, and Y. Choi, “PIQA: Reasoning about physical commonsense in natural language,” in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 34, no. 5, 2020, pp. 7432–7439. [Online]. Available: https://doi.org/10.1609/aaai.v34i05.6239
[62] A. Gordon, Z. Kozareva, and M. Roemmele, “SemEval-2012 task 7: Choice of plausible alternatives: An evaluation of commonsense causal reasoning,” in Proceedings of the First Joint Conference on Lexical and Computational Semantics. Association for Computational Linguistics, 2012, pp. 394–398. [Online]. Available: https://aclanthology.org/S12-1052/
[63] P. Clark, I. Cowhey, O. Etzioni, T. Khot, A. Sabharwal, C. Schoenick, and O. Tafjord, “Think you have solved question answering? try ARC, the AI2 reasoning challenge,” arXiv preprint arXiv:1803.05457, 2018. [Online]. Available: https://arxiv.org/abs/1803.05457
[64] K. Cobbe, V. Kosaraju, M. Bavarian, M. Chen, H. Jun, L. Kaiser, M. Plappert, J. Tworek, J. Hilton, R. Nakano, C. Hesse, and J. Schulman, “Training verifiers to solve math word problems,” arXiv preprint arXiv:2110.14168, 2021. [Online]. Available: https://arxiv.org/abs/2110.14168
[65] A. Wang, Y. Pruksachatkun, N. Nangia, A. Singh, J. Michael, F. Hill, O. Levy, and S. R. Bowman, “SuperGLUE: A stickier benchmark for general-purpose language understanding systems,” in Advances in Neural Information Processing Systems, vol. 32, 2019. [Online]. Available: https://papers.nips.cc/paper_files/paper/2019/hash/4496bf24afe7fab6f046bf4923da8de6-Abstract.html
Supplementary Materials of “Dynamics as Code: On Model Compression via Dynamic System”
Fan Gao, Wei Su*, Juntong Fan*, Renfeng Peng, Hongyu Liu, Jinqiao Duan, Feng-Lei Fan
Index Terms—Model compression, dynamic systems, neural networks, parameter representation.
I. DETAILED SPACE-FILLING CURVE CONSTRUCTIONS
This section provides the detailed index-to-coordinate constructions of the four space-filling mappings used in the main manuscript. All four mappings define deterministic bijections between a scalar index and a finite -dimensional lattice. The main manuscript retains their common formulation and compression role, while the explicit traversal rules are given below for completeness.
A. Hilbert Traversal
For the Hilbert traversal, let . For a scalar index , we define
where denotes the first-level subcube index, and is the remaining index at the next recursion level. The Hilbert lattice state can be written abstractly as
with . Here, denotes the subcube position, and reorients the lower-order Hilbert pattern within the subcube via coordinate permutations and axis reflections to preserve continuity and locality. Thus,
B. Peano Traversal
For the Peano traversal, let . The scalar index is defined as
where denotes the first-level subblock index. The corresponding lattice Peano state is written recursively as
with . Here, denotes the geometric position of the -th first-level subblock, and denotes the corresponding orientation operation. Thus,
C. Morton/Z-order Traversal
Morton/Z-order uses bit interleaving, providing a simpler indexing rule but weaker locality near block boundaries. Let be the grid resolution per-axis, where is the number of bits used for each coordinate. For a scalar index , we write its binary representation as
Under the Morton bit-interleaving convention, the -th coordinate is obtained by collecting every -th bit:
Accordingly, the state generated by the Morton/Z-order system is
D. Snake Traversal
Snake traversal follows a regular alternating scan pattern and provides a low-complexity grid-ordering rule. Let denote the per-axis grid resolution. For a scalar index , we first obtain the index coordinates , where
For , the scan direction along the coordinate is determined by the parity of the next higher-order coordinate:
and . Thus,
II. ANALYSIS EXPERIMENTS
In this section, we supplement the global and method-wise Pareto analysis to support the representative configurations.
Pareto Analysis. We jointly analyze the performance of the compression ratio and the accuracy drop using global and method-wise Pareto frontiers in Figure S2 and Figure S1. A hyper-parameter configuration is Pareto-optimal only if no

(a)
Compression ratio (×) ↑
(b)
Compression ratio (×) ↑
Fig. S1. Compression–accuracy method-wise Pareto frontiers on ResNet-18/ImageNet. The uncompressed model achieves 69.76% Top-1 accuracy. For clarity, only configurations with a Top-1 accuracy drop of at most 4.0 percentage points are shown in panel (a). Panel (b) enlarges the high-fidelity region indicated by the dashed rectangle in panel (a).

Fig. S2. Compression–accuracy global Pareto analysis on ResNet-18/ImageNet. The uncompressed model achieves 69.76% Top-1 accuracy. For clarity, configurations with a Top-1 accuracy drop greater than 4.0 percentage points are omitted.
other configuration achieves an equal or higher compression ratio and an equal or lower accuracy drop.
Figure S2 presents the Pareto frontier of all methods with all hyper-parameter configurations. Because the Hilbert, Morton/Z-order, and Snake curves produce identical results under matched configurations, their Pareto frontiers coincide. We only annotate Hilbert to avoid visual clutter. No single method dominates the Pareto frontier in Figure S2, i.e., no single method is completely superior to the rest. However, in the high-fidelity and moderate-compression regions, the frontier is jointly supported by Peano, LCG, Hilbert, and QMC, and neither Lorenz nor PCG contributes a point to the global frontier. This means that in this region, Peano, LCG, Hilbert, and QMC are better.
Figure S1 presents the Pareto frontier of each method under different hyper-parameter configurations, which characterizes the performance of each method. Hilbert and Peano exhibit relatively stable frontiers but occupy different regions because of their different resolution schedules. QMC and LCG present broader but less regular frontiers, and this frontier spans a large compression range. This non-monotonic character means that the optimal configuration of D and S may appear in different places. PCG provides a limited effective frontier, only D = 2 achieves a competitive compression–accuracy trade-off. Lorenz forms a narrow frontier with stable accuracy preservation but limited compression capacity.
As Figure S1 shows, since a Pareto frontier does not define a unique optimum, we select one representative configuration for each method from its Pareto frontier near the knee region. Specifically, we prioritize an approximate compression ratio range of with a drop in Top-1 accuracy below 0.6%. However, Lorenz does not reach this compression region, we select its highest-compression configuration that maintains near-lossless accuracy. The representative configurations are reported in the main manuscript. Excluding Lorenz, representative configurations achieve the compression ratio between , with the Top-1 accuracy drop between 0.14–0.59%. Lorenz achieves a compression ratio with a 0.12% accuracy drop.