Manuscript Offprint
arXiv:2610.10085Activation-Aware Weight Tensorization: A Calibration-Time Preconditioner for Tensor-Network LLM Compression
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
Abstract
Post-training tensor-network compression replaces Transformer linear layers with Tensor Train (TT) or Tree Tensor Network (TTN) operators, but standard decompositions minimize weight-space Frobenius error rather than functional error under the layer's activation distribution. We propose Activation-aware Weight Tensorization (AWT), a training-free calibration wrapper that preconditions each weight matrix with a diagonal activation-derived scale before an unchanged TT/TTN solver and deploys the result with only an input-side elementwise rescaling. Across Llama 3.1 8B, Ministral 8B, and Qwen2.5 7B, AWT consistently improves vanilla TT/TTN tensorization at 2–6× compression: under single-operator replacement, AWT closes 12–35% of the WikiText perplexity gap to the dense baseline across the three model families and 2–6× compression settings; while under multi-operator Llama suffix replacement it closes 27–60% across attention-group and all-seven-matrix settings. The gains also transfer to downstream HellaSwag and ARC-Challenge evaluations. We further show that diagonal preconditioning is a robustness-modularity tradeoff rather than a diagonal-covariance assumption: a dense full-covariance oracle wins its own weighted objective in 80/81 cases, yet diagonal AWT gives better held-out functional fidelity in 53/81 cases. Together, these results position AWT as a principled, modular preconditioner for improving functional fidelity in fixed TT/TTN compression pipelines without modifying the decomposition solver.
1 Introduction
Large language models (LLMs) are increasingly expensive to serve because dense linear operators dominate memory movement and compute during inference [2, 25, 3, 22]. This has motivated a broad set of post-training compression techniques, including quantization, pruning, distillation, low-rank factorization, and structured tensor decompositions [33]. Tensor-network compression offers a structured alternative to standard matrix factorizations. A dense matrix can be reshaped into a higher-order tensor and represented by a network of low-rank cores: a Tensor Train (TT) or matrix-product operator uses a chain of cores [21, 20], while a Tree Tensor Network (TTN) uses a loop-free hierarchy over tensor modes [23, 7]. Unlike truncated SVD, which imposes a single global rank on a matrix, tensor networks distribute rank budgets across tensor modes and internal edges of a chosen topology. This richer design space has made tensorization an increasingly relevant direction for LLM compression, with recent methods and systems such as CompactifAI, TensorLLM, and Minima demonstrating its use for compressing large neural operators and LLM components [24, 5, 1, 8, 15].
Despite this progress, post-training tensorization is typically activation-blind. Once a tensorization shape, topology, and rank budget are chosen, standard TT/TTN backends approximate the weight matrix by minimizing an isotropic reconstruction objective in weight space. This objective is computationally convenient, but it does not directly capture the error induced by replacing a layer inside a pretrained model.
This observation is well established in post-training quantization. Methods such as SmoothQuant and AWQ show that simple calibration statistics can identify activation channels whose perturbation disproportionately affects model behavior [29, 18]. However, the same principle has not been systematically exploited for post-training tensor-network decomposition. Tensor decompositions introduce a different constraint from quantization: the approximation is determined by a fixed tensorization layout, network topology, and internal rank budget rather than by a bit-width. This raises a natural question: can activation statistics be used to make existing tensor-network solvers more function-preserving, without changing the solver itself?
We answer this question with Activation-aware Weight Tensorization (AWT). AWT computes a diagonal scale from cached layer inputs, decomposes the reparameterized matrix using the same tensor-network backend, tensorization layout, topology, and rank budget as vanilla tensorization, and deploys the resulting approximation as . Thus, activation information changes the matrix presented to the decomposition solver, but not the solver itself. The method is intentionally minimal: it transfers the equivalent reparameterization idea from activation-aware quantization to post-training tensor-network compression, requiring no retraining, no custom TT/TTN solver, and no change to the tensorized operator apart from a lightweight input-side diagonal scaling. Empirically, we find that this simple preconditioning consistently improves the functional fidelity of tensorized LLM operators. The gains persist across model families, operator types, compression ratios, and tensor-network topologies, and become especially important when multiple operators are compressed jointly. In multi-operator suffix replacement, AWT closes 27–60% of the WikiText perplexity gap across both attention-group and all-seven-matrix settings (Table 2), indicating that activation-aware preconditioning helps control the accumulation of tensorization error inside the model.
Contributions. Our main contributions are: (i) we introduce AWT, a diagonal activation-aware preconditioner for post-training TT/TTN compression that preserves the underlying tensor-network solver and deployment path; (ii) we show that AWT is equivalent to a column-weighted reconstruction proxy (Equation (5)), connecting tensorization error to activation-conditioned functional distortion; (iii) we demonstrate consistent gains over vanilla tensorization in single-operator and multi-operator LLM replacement experiments, with the largest absolute gains arising when compression errors accumulate across operators (Table 2); (iv) we evaluate AWT across Llama 3.1 8B, Ministral 8B, and Qwen2.5 7B, three compression ratios, seven operator types, and TT/TTN backends, including matched-compression SVD and downstream task checks; (v) we compare diagonal AWT with a dense full-covariance oracle and show that the diagonal restriction is a robustness-modularity tradeoff rather than a diagonal-covariance assumption.
Tensorization for language models. Tensorized representations have been explored in NLP for large embedding tables and Transformer components, including TT-parameterized embeddings, tensorized Transformer layers, and tensor-compressed models trained or distilled directly [10, 19, 31]. Recent work has moved toward post-training tensorization of pretrained LLMs: TensorGPT studies training-free TT/MPS compression of token embeddings [30]; CompactifAI uses quantum-inspired tensor networks, including MPO/TT-matrix-style decompositions, to compress attention and MLP operators with recovery [24, 5, 1]; TensorLLM tensorizes multi-head attention with Tucker-style structure [8]; and Minima presents a production-oriented pipeline combining sensitivity prediction, Tucker/TT/TR decompositions, healing, and custom kernels [15]. These works establish tensorization as an active LLM-compression direction. AWT is orthogonal: rather than proposing a new topology or recovery procedure, it introduces a calibration-time activation-aware preconditioner before standard TT/TTN decomposition.
Function-aware compression objectives. A central limitation of weight-space compression is that Frobenius reconstruction error can be misaligned with the functional error induced inside a pretrained model. Fisher-weighted and distribution-aware decompositions address this by weighting the objective with curvature, Fisher information, or input covariance statistics [11, 13]. These methods more directly target output distortion, but often require modified optimization, dense preconditioners, or solver-specific updates. AWT instead uses activation statistics only to construct a diagonal equivalent reparameterization, leaving the tensor-network solver unchanged.
Activation-aware post-training compression. Activation-aware scaling has been especially successful in post-training quantization. SmoothQuant applies an equivalent rescaling that transfers quantization difficulty from activation outliers into weights [29], while AWQ uses activation statistics to identify salient channels for low-bit weight-only quantization [18]. Related outlier-suppression methods also use equivalent transformations and clipping to reduce structured activation outliers [28]. AWT brings this activation-aware perspective to tensor-network decomposition, where the approximation budget is not a bit-width but a fixed tensorization shape, topology, and rank budget.
3 Background
Tensorizing linear operators. We consider a linear layer with . Tensor-network compression begins by factorizing the input and output dimensions as and , and reshaping into an order-2K tensor . The indices associated with correspond to output modes, while those associated with correspond to input modes. A tensor-network approximation then replaces by a contraction of smaller core tensors whose internal bond dimensions control the parameter budget.
Tensor Train and Tree Tensor Network decompositions. The Tensor Train (TT) format, equivalently a Matrix Product Operator (MPO) for linear maps, represents W as a chain of cores , where and [21, 20]. Its entries are given by
The TT ranks are the internal bond dimensions and determine the compression-expressivity trade-off. In practice, TT decompositions are commonly computed by successive truncated SVDs of tensor unfoldings. Tree Tensor Networks (TTNs) generalize this chain topology to a loop-free hierarchical graph over tensor modes [23, 7]. The leaves correspond to the physical modes of W, while internal nodes store latent cores that merge groups of modes. Each internal edge e carries a bond dimension , often bounded by a maximum rank . Compared with TT, a TTN allocates rank across a hierarchy rather than along a single ordering, yielding a different inductive bias and parameter allocation for the same tensorized operator.
Activation-conditioned reconstruction. Standard post-training TT/TTN decompositions approximate W by minimizing a weight-space objective such as . However, replacing a linear layer inside a pretrained model induces output error that depends on the layer input distribution. For and approximation ,
Thus, directions that are frequently or strongly activated should contribute more to the reconstruction objective. Full covariance-weighted decompositions can directly target this metric, but they generally require modified solvers or dense preconditioners [11, 13]. AWT instead uses an equivalent diagonal reparameterization. For any invertible diagonal matrix D,
so one can rescale the columns of W before decomposition and compensate by the inverse scaling at inference time. This is the same functional-preserving principle used by activation-aware quantization methods such as SmoothQuant and AWQ [29, 18], but applied here to tensor-network decomposition rather than bit-width allocation.
4 Activation-aware Weight Tensorization (AWT)
AWT is a calibration-time preconditioning wrapper for tensor-network compression of linear layers. Given a linear map and a tensor-network backend (TT/TTN) with a fixed tensorization layout, topology, and rank/parameter budget, we compute a diagonal importance scaling from cached input activations and use it to bias the decomposition toward input channels that matter more under typical inputs. Concretely, AWT (i) right-preconditions the weight matrix by scaling its input-channel columns, (ii) tensorizes and decomposes the scaled operator using a standard Frobenius-norm TT/TTN routine, and (iii) deploys the compressed layer without materializing the dense unscaled matrix: the inverse diagonal scaling is applied to the layer input, followed by the TT/TTN operator (Equation (9) and Algorithm 1). As discussed in the background, the expected functional distortion of a compressed linear layer induces a covariance-weighted metric . Directly optimizing this full-metric objective within TT/TTN would require either a solver that handles a non-isotropic least-squares metric or an explicit dense preconditioner. The latter globally mixes input channels, can be poorly aligned with a fixed tensorization shape and rank budget, and would require a dense transform at deployment. AWT instead uses a diagonal preconditioner. This restriction is deliberate: it preserves the original channel layout seen by the tensorization, requires only single-pass gradient-free calibration statistics, and leaves the TT/TTN solver and contraction path unchanged. Thus, AWT trades covariance optimality for modularity, statistical robustness, and compatibility with off-the-shelf tensor-network decomposition.
Key identity: diagonal preconditioning yields a weighted Frobenius proxy. Let be diagonal, define the preconditioned matrix , and let be any approximation to
returned by an off-the-shelf Frobenius-norm TT/TTN routine after tensorization. Define the effective deployed operator as . Then
Equivalently, AWT minimizes a column-weighted reconstruction proxy,
so columns associated with larger are fit more accurately. This is the precise sense in which AWT injects activation information while reusing an off-the-shelf TT/TTN Frobenius solver.
Diagonal scales from activation importance. Given calibration activations for a layer, we compute per-channel importance scores and normalize them by their mean . For numerical stability, we clamp the mean as and define scales via
where controls the strength of reweighting, is a small numerical constant, and prevents large factors in . We set . In our experiments, we instantiate using either MeanAbs, , or Std, , with statistics taken over cached calibration activations. We use MeanAbs and Std because they are single-pass, gradient-free statistics that can be estimated from cached calibration activations, preserving the training-free character of AWT. Gradient- or Fisher-based saliency measures are possible, but would require backpropagation and would change the computational profile of the method. The diagonal restriction should not be interpreted as assuming diagonal activation covariance; rather, it preserves the original channel layout and keeps the preconditioner statistically and computationally lightweight.
Precondition-tensorize-deploy (without materializing ). For input-channel scaling (right preconditioning), we scale the columns of W and tensorize the scaled operator:
apply a tensor-network decomposition to obtain , and conceptually define
In practice, to avoid materializing (which would be dense), we implement the layer as the equivalent computation
i.e., we apply the inverse diagonal scaling to the layer input and then apply the TT/TTN-compressed operator . Since is diagonal, this adds only an elementwise per-channel multiply and can be fused with surrounding kernels. This preserves the TT/TTN parameter budget while remaining functionally equivalent to Eq. (8). The algorithm is intentionally modular: any TT/TTN decomposition implementation can be used in the decomposition step, and the only data-aware component is the diagonal scaling computed from a small calibration set.
Algorithm 1 Activation-aware Weight Tensorization (AWT)
Require: Weight matrix , calibration inputs , importance statistic (MeanAbs or Std), exponent , numerical constant , minimum scale , tensorization shape, tensor-network routine (TT/TTN) with target ranks/budget.
Ensure: Compressed operator implemented as .
1: Run the model on and collect layer input activations .
2: Compute per-channel importances for .
3: Compute mean importance and clamp .
4: Set and form scales .
5: Form .
6: Precondition (right scaling): .
7: Tensorize/reshape into using the specified shape.
8: Decompose: (subject to target ranks/budget).
9: Untensorize into a (compressed) operator .
10: Deploy without materializing : implement .
11: return .
5 Experimental Validation
Models and scope. We evaluate AWT on Llama 3.1 8B, Ministral 8B, and Qwen2.5 7B, considering the seven dense Transformer operators at compression. Unless stated otherwise, vanilla and AWT use the same tensorization layout, topology, rank budget, calibration set, and TT/TTN backend; only the diagonal preconditioning differs. Our experiments are organized around four questions: (i) whether activation-aware preconditioning improves the local functional fidelity of a fixed TT/TTN approximation; (ii) whether these local improvements translate into model-level behavior under single-operator replacement; (iii) how the gains behave when multiple compressed operators are composed; and (iv) how the diagonal AWT proxy compares with alternative baselines, including matched-compression SVD and dense full-covariance preconditioning.
Calibration data and activation caches. AWT estimates per-channel activation statistics from a small unlabeled calibration set. We draw calibration prompts from a subset of lm-eval tasks (MMLU, HellaSwag, and BoolQ), run the original dense model, and record the input activations to each targeted linear operator using forward hooks. Only the input vectors immediately before multiplication by W are cached; labels and task losses are never used. Calibration examples are kept disjoint from all examples used for metric caches and downstream evaluation. For layer-level evaluation, we construct a separate held-out metric cache of input activations X. This cache is used only to measure local output error and to select among candidate tensorized configurations at a fixed parameter budget. Separating calibration and metric caches avoids selecting tensorized operators on the same activations used to construct the AWT scales.
5.1 Compared methods
Tensorization backends. We compare Tensor Train (TT) and two Tree Tensor Network variants (TTN4, TTN8), which differ in tree depth/fanout and therefore impose different rank-allocation biases. For a given matrix and compression budget, vanilla tensorization and AWT use the same tensorization shape, mode ordering, topology, and rank budget. This fixed-layout protocol isolates the effect of activation-aware preconditioning rather than jointly optimizing the tensorization search.
space.
Activation-aware preconditioning. For each TT/TTN backend, we evaluate Vanilla tensorization with no preconditioning, AWT-MeanAbs with channel scales from , and AWT-Std with channel scales from the per-channel standard deviation. All AWT variants use right preconditioning (input-channel scaling) and deploy the compressed operator as . We sweep and use as the default unless otherwise specified.
Baselines and oracles. We include matched-compression truncated SVD as a standard matrix low-rank baseline under the same single-operator protocol. We also compare diagonal AWT with a dense full-covariance preconditioner in an offline operator-level analysis. The full-covariance variant is used as an oracle-style comparison for the richer covariance-weighted objective, while diagonal AWT is the practical plug-in method used in deployment.
Compression matching. To compare methods at equal compression, we sweep TT/TTN rank configurations and select, for each target matrix, candidates satisfying the specified compression ratio. Unless otherwise stated, parameter counts include the tensor-network cores; the additional AWT diagonal scale is one input-channel vector and is negligible relative to the compressed operator, but we report it explicitly in the implementation details. Candidates are ranked using the held-out layer-level functional fidelity metric defined below.
Layer-level metrics. Let be a held-out activation cache for a layer with weight matrix , and let . For AWT, predictions are computed without materializing as , where approximates . Our primary local metric is activation-conditioned relative output error,
For comparison, we also report weight-space reconstruction error . For the full-covariance oracle analysis only, we use .
5.2 Evaluation protocols
Local layer-wise sweep. For each targeted matrix instance, backend, compression ratio, and AWT setting, we sweep admissible TT/TTN rank configurations and compute local metrics on the held-out metric cache. This sweep is performed on activations from the original dense model and is independent of end-to-end benchmark scores. At each parameter budget, we retain the candidate with the lowest RelFrob unless otherwise stated. This protocol gives a controlled comparison between vanilla tensorization and AWT under the same tensor-network hypothesis class.
Single-operator replacement. To test whether local improvements translate into model-level behavior, we replace one dense operator at a time with its selected tensorized approximation and evaluate the resulting model. Results are aggregated over blocks, operator types, and backends at each compression ratio. This protocol isolates the effect of compressing a single matrix while preserving the surrounding model.
Multi-operator suffix replacement. Single-operator replacement is a controlled diagnostic, but deployed compression typically composes errors from multiple approximated operators. We therefore also evaluate suffix replacement on Llama 3.1 8B: for the last k Transformer blocks, we jointly replace either the attention group or all seven dense operators. This evaluates whether the AWT-vs-vanilla advantage persists when tensorization errors accumulate through multiple compressed operators.
End-to-end metrics. We report WikiText perplexity for both single-operator and multi-operator replacement. We additionally evaluate downstream accuracy on HellaSwag and ARC-Challenge as external task-level checks. These downstream results are used as corroborating evidence rather than as the primary selection criterion; no candidate is selected using downstream task accuracy.
Runtime and deployment overhead. AWT performs calibration and scale construction offline. At inference time, the only additional operation relative to the underlying tensorized layer is the input-side elementwise multiplication before the TT/TTN contraction. The tensorized operator and contraction path are unchanged, and the scaling can be fused into surrounding kernels. We therefore separate AWT's preconditioning overhead from the latency properties of a particular optimized TT/TTN backend.
6 Results
Across local, single-operator, and multi-operator evaluations, AWT consistently improves vanilla TT/TTN tensorization at matched parameter budgets. The local effect appears in activation-conditioned output error, transfers to WikiText perplexity across three model families, and becomes more pronounced when several operators are compressed jointly. We also find that truncated SVD remains a strong matrix low-rank baseline at matched parameter count, while dense full-covariance preconditioning is not a uniformly better practical substitute for the diagonal AWT proxy.
Local fidelity and metric alignment AWT first improves the quantity it is designed to affect: held-out activation-conditioned output fidelity. At matched TT/TTN parameter budgets, moderate activation reweighting reduces RelFrob relative to vanilla tensorization (Table 1). The optimum for functional fidelity differs from the optimum for weight-space reconstruction: increasing continues to reduce RelFrob , but the best RelFrob occurs around . This separation supports the view that preserving the action of a compressed layer on real activations is not equivalent to minimizing plain Frobenius error in weight space. The same pattern appears at the model level. Across single-operator replacement trials, changes in activation-conditioned output error are more predictive of changes in perplexity than changes in weight-space error (Table 1, right). We therefore use held-out output fidelity as the candidate-selection metric for end-to-end replacement.
Single-operator replacement across model families We next replace one dense operator at a time with its selected tensorized approximation and evaluate WikiText perplexity. This protocol isolates the effect of compressing one operator while preserving the rest of the model. As shown in Table 2, AWT improves over vanilla tensorization at every tested compression ratio across all three model families. The absolute perplexity changes are small in this controlled setting, but the direction is consistent and the fraction of the dense-to-vanilla gap recovered remains substantial across architectures.
Composition: multi-operator suffix replacement Single-operator replacement tests isolated substitutions; practical compression composes several approximations. We therefore evaluate suffix replacement on Llama 3.1 8B, jointly replacing either the attention group or all seven dense operators in the last Transformer blocks. Table 2 reports , so negative values favor AWT. AWT improves over vanilla tensorization in every tested suffix setting. The absolute gain grows as more operators are replaced, indicating that activation-aware preconditioning helps control the accumulation of tensorization error through the model.
6.1 Baselines, downstream tasks, and deployment overhead
Matched-compression SVD. We include truncated SVD as a strong matrix low-rank reference under the same single-operator protocol. as detailed in Appendix Table A.11., A matched-compression
Table 1: Local functional fidelity and metric alignment. Left: effect of the AWT exponent at compression on Llama 3.1 8B. AWT reduces activation-conditioned output error, while weight-space error follows a different trend. Right: Spearman correlation between changes in local metrics and changes in WikiText perplexity under single-operator replacement (), grouped by operator family. Groups: , , . Higher correlation means the local metric better predicts model-level degradation.
AWT exponent ablation at
| Stat. | Out. | Weight | |||
|---|---|---|---|---|---|
| Val. | Val. | ||||
| 0.5 | Std | 0.606 | -9.2 | 0.754 | -1.7 |
| 0.5 | MeanAbs | 0.594 | -10.9 | 0.751 | -2.0 |
| 1.0 | Std | 0.583 | -12.6 | 0.691 | -9.9 |
| 1.0 | MeanAbs | 0.577 | -13.5 | 0.665 | -13.2 |
| 1.5 | Std | 0.589 | -11.6 | 0.526 | -31.4 |
| 1.5 | MeanAbs | 0.592 | -11.3 | 0.455 | -40.6 |
values are percentages.
Metric-PPL rank correlation
| Model | Metric | Overall | QK | VO | MLP |
|---|---|---|---|---|---|
| Llama 3.1 8B | Out | 0.427 | 0.680 | 0.219 | 0.373 |
| Weight | 0.246 | -0.207 | -0.290 | 0.265 | |
| Ministral 8B | Out | 0.395 | 0.794 | 0.245 | 0.235 |
| Weight | 0.042 | -0.299 | 0.438 | -0.072 | |
| Qwen2.5 7B | Out | 0.327 | 0.401 | 0.458 | 0.165 |
| Weight | -0.049 | -0.213 | -0.260 | 0.164 |
. Out denotes RelFrob_out and Weight denotes RelFrob_w.
SVD baseline is stronger than the TT/TTN pipeline under the single-operator protocol, with WikiText PPL 8.71/8.81/8.87 at , compared to 8.76/8.85/8.93 for AWT and 8.79/8.90/8.97 for vanilla TT/TTN. This clarifies the role of AWT: it improves a fixed tensor-network compression family rather than claiming that TT/TTN universally dominates matrix low-rank compression.
Downstream task validation. As an additional task-level check, we evaluate HellaSwag and ARC-Challenge under single-operator replacement on Llama 3.1 8B. AWT improves over vanilla tensorization at all tested compression ratios on both tasks. The absolute gains are small, as expected in the controlled single-operator setting: HellaSwag improves by 0.0003–0.0008 accuracy points and ARC-Challenge improves by 0.0009–0.0017. We report the full backend-specific downstream breakdowns in the appendix.
Deployment overhead. AWT performs calibration, importance estimation, and scale construction offline. At inference time, the only extra operation relative to the underlying tensorized layer is the elementwise input scaling before the TT/TTN contraction. The tensorized operator and contraction path are unchanged, and the scaling can typically be fused into surrounding kernels. We therefore treat optimized TT/TTN latency as a property of the tensorization backend, with AWT adding only a lightweight input-side rescaling.
Diagonal-design analysis. The diagonal preconditioner should not be interpreted as a diagonal-covariance assumption. Activations are strongly non-diagonal: the diagonal covariance mass is only 0.032/0.142/0.212 for Llama/Ministral/Qwen, while the off-diagonal Frobenius ratio is 0.984/0.926/0.885. A dense full-covariance oracle wins its own covariance-weighted objective in 80/81 cases, but diagonal AWT gives lower held-out output error in 53/81 cases. This supports diagonal AWT as a robustness-modularity tradeoff; full details are reported in Table A.12.
7 Discussion and Conclusion
Our results show that activation-aware preconditioning improves post-training tensor-network compression of LLM linear operators. Across local fidelity, single-operator replacement, and multi-operator suffix replacement, AWT consistently improves vanilla TT/TTN tensorization at matched
Table 2: Single-operator and multi-operator WikiText evaluation. Left: single-operator replacement across model families; lower PPL is better. “Gap closed” is computed relative to the dense baseline of the corresponding model. Right: multi-operator suffix replacement on Llama 3.1 8B; entries are , so negative is better.
| Single-operator replacement | |||||
|---|---|---|---|---|---|
| Model | Comp. | Dense | Vanilla | AWT | Gap closed |
| Llama 3.1 8B | 2× | 8.64 | 8.79 | 8.76 | 20.4% |
| 4× | 8.64 | 8.90 | 8.85 | 17.1% | |
| 6× | 8.64 | 8.97 | 8.93 | 12.2% | |
| Ministral 8B | 2× | 8.66 | 8.74 | 8.71 | 35.3% |
| 4× | 8.66 | 8.81 | 8.76 | 31.3% | |
| 6× | 8.66 | 8.86 | 8.80 | 28.6% | |
| Qwen2.5 7B | 2× | 9.59 | 9.76 | 9.70 | 33.5% |
| 4× | 9.59 | 9.85 | 9.79 | 25.8% | |
| 6× | 9.59 | 9.91 | 9.84 | 22.2% | |
| Multi-operator suffix replacement | ||||
|---|---|---|---|---|
| Scope | 2× | 4× | 6× | |
| Attention | 1 | -0.41 | -0.47 | -0.46 |
| 2 | -0.59 | -0.72 | -0.81 | |
| 4 | -0.76 | -1.02 | -1.11 | |
| 8 | -1.40 | -2.48 | -2.75 | |
| All seven | 1 | -1.86 | -2.61 | -3.62 |
| 2 | -7.74 | -9.21 | -11.71 | |
parameter budgets across Llama 3.1 8B, Ministral 8B, and Qwen2.5 7B. The gains become especially pronounced when multiple operators are replaced jointly, suggesting that activation-aware preconditioning helps control accumulated tensorization error.
Functional fidelity versus weight reconstruction. Weight-space reconstruction error is not the right proxy for the behavior of a compressed layer inside an LLM. The activation-conditioned output metric is more aligned with perplexity changes than plain Frobenius weight error, especially for attention projections (Table 1). This supports the design of AWT: the preconditioner does not change the tensor-network hypothesis class, but changes how a fixed rank budget is allocated by the solver, biasing reconstruction toward input channels that matter under real activations. It also explains why the best for functional fidelity need not minimize weight-space error.
Topology- and operator-dependent tensorizability. Tensorizability is not uniform across operators or topologies. TTN backends often outperform TT at the same parameter budget, with the clearest gap on attention projections, particularly and . A plausible explanation is structural alignment: multi-head attention induces head-wise and block-structured subspaces, and a hierarchical tree can merge correlated groups earlier than a one-dimensional TT chain [26, 23, 7, 9]. This remains an empirical hypothesis, since performance depends on tensorization shape, mode ordering, rank allocation, and TTN topology. MLP matrices are generally harder to tensorize at matched compression, consistent with the view that feed-forward blocks implement richer feature mixing and content storage [6]. These differences suggest that practical tensorization pipelines should allocate ranks and choose topologies in an operator-aware manner.
Relationship to SVD and other compression families. The matched-compression SVD baseline highlights that standard matrix low-rank approximation remains strong at matched parameter count. Tensor networks offer a different structured compression family, with multi-core representations, explicit internal rank budgets, and topology choices that may be useful for deployment and for modeling structured correlations after tensorization. AWT should therefore be viewed as improving this tensor-network family rather than replacing other compression primitives. It is also complementary to quantization, pruning, and matrix factorization: one could apply AWT before tensorizing weights and then further quantize the resulting tensor-network cores.
Diagonal preconditioning as a robustness–modularity tradeoff. The diagonal restriction in AWT should not be interpreted as assuming diagonal activation covariance. Our covariance analysis shows the opposite: activations are strongly non-diagonal. Dense full-covariance preconditioning optimizes its intended covariance-weighted objective more directly, but does not reliably improve held-out local output fidelity. Diagonal AWT gives up optimality on that objective, but preserves the original channel layout, avoids dense deployment transforms, reduces the statistical estimation burden, and leaves the TT/TTN solver and contraction path unchanged.
Limitations and future work. Several limitations remain. First, tensorization quality depends on design choices that we keep fixed or only partially sweep, including dimension factorization, mode ordering, rank allocation, and TTN topology. Jointly optimizing these choices with activation-aware preconditioning is a natural next step. Second, our runtime analysis isolates the overhead of AWT itself, an input-side diagonal scaling, but end-to-end latency depends on optimized TT/TTN kernels and hardware-specific implementations. Third, calibration statistics are estimated from a small input set and may not capture all downstream distributions. Finally, while our multi-operator suffix experiments move beyond isolated substitutions, full-model compression requires coordinated choices across layers and operators.
In summary, AWT is a training-free, solver-agnostic mechanism for making post-training tensor-network compression more activation-aware. By inserting a diagonal equivalent reparameterization before standard TT/TTN decomposition, it improves functional fidelity without retraining, custom solvers, or changes to the tensorized operator, especially when approximation errors accumulate across multiple compressed operators.
References
[1] Ander Alvarez, Alessandro Genuardi, Nilotpal Sinha, Antonio Tiene, Mikail Okyay, Bakbergen Ryskulov, David Montero, Samuel Mugel, and Román Orús. Scaling laws for energy efficiency of local llms. arXiv preprint arXiv:2512.16531, 2025.
[2] Tom B. Brown et al. Language models are few-shot learners. In Advances in Neural Information Processing Systems, 2020.
[3] Aakanksha Chowdhery et al. Palm: Scaling language modeling with pathways. Journal of Machine Learning Research, 24(240):1–113, 2023.
[4] Emily L. Denton, Wojciech Zaremba, Joan Bruna, Yann LeCun, and Rob Fergus. Exploiting linear structure within convolutional networks for efficient evaluation. In Advances in Neural Information Processing Systems, 2014.
[5] Damien Fovet, Shashank Chamoli, Sarah Oury, and Srishti Singhal. Accuracy and consumption analysis from a compressed model by compactifai from multiverse computing. arXiv preprint arXiv:2507.08836, 2025.
[6] Mor Geva, Roei Schuster, Jonathan Berant, and Omer Levy. Transformer feed-forward layers are key-value memories. In Empirical Methods in Natural Language Processing, 2021.
[7] Lars Grasedyck. Hierarchical singular value decomposition of tensors. SIAM Journal on Matrix Analysis and Applications, 2010.
[8] Yuxuan Gu, Wuyang Zhou, Giorgos Iacovides, and Danilo Mandic. Tensorllm: Tensorising multi-head attention for enhanced reasoning and compression in llms. In 2025 International Joint Conference on Neural Networks (IJCNN), pages 1–8. IEEE, 2025.
[9] Wolfgang Hackbusch. A sparse matrix arithmetic based on h-matrices. part i: Introduction to h-matrices. Computing, 1999.
[10] Oleksii Hrinchuk, Valentin Khrulkov, Leila Mirvakhabova, Elena Orlova, and Ivan Oseledets. Tensorized embedding layers for efficient model compression. In Findings of EMNLP, 2019.
[11] Chen-Yu Hsu et al. Language model compression with weighted low-rank factorization. In International Conference on Learning Representations, 2022.
[12] Max Jaderberg, Andrea Vedaldi, and Andrew Zisserman. Speeding up convolutional neural networks with low rank expansions. In British Machine Vision Conference, 2014.
[13] Christoffer Kalle et al. Distribution-aware tensor decomposition for neural network compression. arXiv preprint, 2025.
[14] Yong-Deok Kim, Eunhyeok Park, Sungjoo Yoo, Taelim Choi, Lu Yang, and Dongjun Shin. Compression of deep convolutional neural networks for fast and low power mobile applications. In International Conference on Learning Representations, 2016.
[15] Sergii Kozyrev and Davyd Maiboroda. A practical tensor-network compression pipeline for production-scale large language models. arXiv preprint arXiv:2602.01613, 2026.
[16] Vadim Lebedev, Yaroslav Ganin, Maksim Rakhuba, Ivan Oseledets, and Victor Lempitsky. Speeding-up convolutional neural networks using fine-tuned cp-decomposition. In International Conference on Learning Representations, 2015.
[17] Yang Li et al. Block-term tensor neural networks. In arXiv preprint, 2017.
[18] Ji Lin, Jiaming Tang, Haotian Tang, Shang Yang, Xingyu Dang, and Song Han. Awq: Activation-aware weight quantization for llm compression and acceleration. In International Conference on Machine Learning, 2024.
[19] Xindian Ma, Peng Zhang, Shuai Zhang, Nan Duan, Yuexian Hou, Ming Zhou, and Dawei Song. A tensorized transformer for language modeling. In Advances in Neural Information Processing Systems, 2019.
[20] Alexander Novikov, Dmitrii Podoprikhin, Anton Osokin, and Dmitry Vetrov. Tensorizing neural networks. In Advances in Neural Information Processing Systems, 2015.
[21] Ivan V. Oseledets. Tensor-train decomposition. SIAM Journal on Scientific Computing, 33(5): 2295–2317, 2011.
[22] Reiner Pope et al. Efficiently scaling transformer inference. In Proceedings of Machine Learning and Systems, 2023.
[23] Y.-Y. Shi, L.-M. Duan, and Guifré Vidal. Classical simulation of infinite-size quantum lattice systems in the tree tensor network approach. Physical Review A, 74(2):022320, 2006.
[24] Andrei Tomut, Saeed S Jahromi, Abhijoy Sarkar, Uygar Kurt, Sukhbinder Singh, Faysal Ishtiaq, Cesar Muñoz, Prabdeep Singh Bajaj, Ali Elborady, Gianni del Bimbo, et al. Compactifai: extreme compression of large language models using quantum-inspired tensor networks. arXiv preprint arXiv:2401.14109, page 12, 2024.
[25] Hugo Touvron et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023.
[26] Ashish Vaswani et al. Attention is all you need. In Advances in Neural Information Processing Systems, 2017.
[27] Wenqi Wang, Yifan Sun, Brian Eriksson, Wenlin Wang, and Vaneet Aggarwal. Wide compression: Tensor ring nets. In IEEE Conference on Computer Vision and Pattern Recognition, 2018.
[28] Xiuying Wei, Ruihao Gong, Yuhang Li, Xianglong Liu, and Fengwei Yu. Outlier suppression: Pushing the limit of low-bit transformer language models. In Advances in Neural Information Processing Systems, 2022.
[29] Guangxuan Xiao, Ji Lin, Mickael Seznec, Hao Wu, Julien Demouth, and Song Han. Smoothquant: Accurate and efficient post-training quantization for large language models. In International Conference on Machine Learning, 2023.
[30] Ming Xu et al. Tensorgpt: Efficient compression of gpt models via tensor-train decomposition. arXiv preprint, 2023.
[31] Zhen Yang et al. Quantization-aware training for tensor-compressed transformers. arXiv preprint, 2023.
[32] Qibin Zhao, Guoxu Zhou, Shengli Xie, Liqing Zhang, and Andrzej Cichocki. Tensor ring decomposition. In arXiv preprint arXiv:1606.05535, 2016.
[33] Xun Zhu et al. A survey on model compression for large language models. arXiv preprint, 2023.
A Additional Experimental Results
This appendix provides additional experimental details and breakdowns omitted from the main text for space: downstream task results, deployment overhead, covariance analysis, cross-model ablations, backend comparisons, and multi-operator replacement tables.
A.1 Llama per-operator output-error breakdowns
Table A.1: Per-operator activation-conditioned output error (relative Frobenius; lower is better) under TTN depth4 tensorization with . Entries are reported as mean and standard deviation over single-operator trials per matrix type.
| Matrix | 2× compression | 4× compression | 6× compression | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vanilla () | Std () | MeanAbs () | Vanilla () | Std () | MeanAbs () | Vanilla () | Std () | MeanAbs () | ||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
Table A.2: Per-operator activation-conditioned output error (relative Frobenius; lower is better) under TTN depth8 tensorization with . Entries are reported as mean and standard deviation over single-operator trials per matrix type.
| Matrix | 2× compression | 4× compression | 6× compression | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vanilla () | Std () | MeanAbs () | Vanilla () | Std () | MeanAbs () | Vanilla () | Std () | MeanAbs () | ||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
Table A.3: Per-operator activation-conditioned output error (relative Frobenius; lower is better) under TT (cores4) tensorization with . Entries are reported as mean and standard deviation over single-operator trials per matrix type.
| Matrix | 2× compression | 4× compression | 6× compression | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vanilla () | Std () | MeanAbs () | Vanilla () | Std () | MeanAbs () | Vanilla () | Std () | MeanAbs () | ||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
| 32 | ||||||||||
A.2 Llama topology and alpha ablations
Table A.4: TT vs. TTN on WikiText at matched compression (parameter budget). Entries are within-backend medians over the same set of single-operator trials (all blocks and matrices), reported separately for each backend (TT core4, TTN depth4, TTN depth8). This table is not pooled across backends; the main text reports pooled results. AWT value is the lower median across AWT methods.
| Comp. | Variant | PPL (Van.) | Δ | PPL (AWT) | Δ |
|---|---|---|---|---|---|
| 2× | TT (core4) | 8.80 | 0.00 | 8.78 | 0.00 |
| 2× | TTN (depth4) | 8.73 | -0.07 | 8.72 | -0.06 |
| 2× | TTN (depth8) | 8.74 | -0.06 | 8.72 | -0.06 |
| 4× | TT (core4) | 9.01 | 0.00 | 8.98 | 0.00 |
| 4× | TTN (depth4) | 8.82 | -0.19 | 8.79 | -0.19 |
| 4× | TTN (depth8) | 8.83 | -0.18 | 8.79 | -0.19 |
| 6× | TT (core4) | 9.10 | 0.00 | 9.07 | 0.00 |
| 6× | TTN (depth4) | 8.87 | -0.23 | 8.84 | -0.23 |
| 6× | TTN (depth8) | 8.89 | -0.21 | 8.84 | -0.23 |
Table A.5: Effect of the reweighting exponent α at 2× compression. AWT consistently reduces activation-conditioned output error (our functional fidelity proxy), while weight-space error exhibits a different optimum (continuing to improve at larger α).
| α | Method | Output error (median) | Weight error (median) | ||
|---|---|---|---|---|---|
| Value | Δ vs Van. | Value | Δ vs Van. | ||
| 0.5 | Std | 0.4471 | -15.7% | 0.5985 | -1.0% |
| 0.5 | MeanAbs | 0.4430 | -16.4% | 0.5953 | -1.6% |
| 1.0 | Std | 0.4298 | -18.9% | 0.5500 | -9.1% |
| 1.0 | MeanAbs | 0.4339 | -18.2% | 0.5309 | -12.2% |
| 1.5 | Std | 0.4385 | -17.3% | 0.3935 | -34.9% |
| 1.5 | MeanAbs | 0.4466 | -15.8% | 0.3499 | -42.1% |
Table A.6: Effect of the reweighting exponent α at 6× compression. AWT consistently reduces activation-conditioned output error (our functional fidelity proxy), while weight-space error exhibits a different optimum (continuing to improve at larger α).
| α | Method | Output error (median) | Weight error (median) | ||
|---|---|---|---|---|---|
| Value | Δ vs Van. | Value | Δ vs Van. | ||
| 0.5 | Std | 0.6734 | -9.1% | 0.8212 | -1.4% |
| 0.5 | MeanAbs | 0.6659 | -10.2% | 0.8180 | -1.8% |
| 1.0 | Std | 0.6518 | -12.1% | 0.7616 | -8.5% |
| 1.0 | MeanAbs | 0.6477 | -12.6% | 0.7374 | -11.4% |
| 1.5 | Std | 0.6606 | -10.9% | 0.5973 | -28.3% |
| 1.5 | MeanAbs | 0.6630 | -10.5% | 0.5169 | -37.9% |
Table A.7: Per-matrix Spearman correlation between and (AWT–Vanilla), .
| Matrix | N | Spearman |
|---|---|---|
| Wdown | 440 | 0.441 |
| Wgate | 448 | 0.026 |
| Wk | 570 | 0.490 |
| Wo | 576 | 0.284 |
| Wq | 569 | 0.702 |
| Wup | 448 | 0.383 |
| Wv | 576 | 0.281 |
Table A.8: Per-matrix Spearman correlation between Error and (AWT–Vanilla), .
| Matrix | N | Spearman |
|---|---|---|
| Wdown | 440 | 0.486 |
| Wgate | 448 | 0.129 |
| Wk | 570 | -0.178 |
| Wo | 576 | 0.034 |
| Wq | 569 | -0.395 |
| Wup | 448 | 0.163 |
| Wv | 576 | -0.056 |
A.3 Downstream evaluation on Llama 3.1 8B
Table A.9: Downstream single-operator evaluation on Llama 3.1 8B. AWT improves over vanilla tensorization at every tested compression on both HellaSwag and ARC-Challenge. Higher is better.
| Task | Comp. | Dense | Vanilla | AWT | Method | Gap closed |
|---|---|---|---|---|---|---|
| HellaSwag | 2× | 0.7931 | 0.7891 | 0.7894 | Std | 8.8% |
| 4× | 0.7931 | 0.7867 | 0.7873 | Std | 9.4% | |
| 6× | 0.7931 | 0.7849 | 0.7857 | Std | 10.3% | |
| ARC-Challenge | 2× | 0.5512 | 0.5486 | 0.5495 | Std | 33.3% |
| 4× | 0.5512 | 0.5461 | 0.5469 | Std | 16.7% | |
| 6× | 0.5512 | 0.5435 | 0.5452 | Std | 22.2% |
Table A.10: Backend-specific downstream results on Llama 3.1 8B under single-operator replacement. Entries are within-backend pooled medians over the canonical single-operator benchmark rows. is measured against TT core4 at the same compression when available. Higher is better.
| Task | Comp. | Backend | Vanilla | AWT | ||
|---|---|---|---|---|---|---|
| HellaSwag | 2× | TTN depth4 | 0.7895 | +0.0007 | 0.7901 | +0.0013 |
| HellaSwag | 2× | TTN depth8 | 0.7895 | +0.0007 | 0.7900 | +0.0012 |
| HellaSwag | 4× | TT core4 | 0.7839 | +0.0000 | 0.7850 | +0.0000 |
| HellaSwag | 4× | TTN depth4 | 0.7876 | +0.0038 | 0.7882 | +0.0032 |
| HellaSwag | 4× | TTN depth8 | 0.7875 | +0.0037 | 0.7882 | +0.0032 |
| HellaSwag | 6× | TT core4 | 0.7817 | +0.0000 | 0.7826 | +0.0000 |
| HellaSwag | 6× | TTN depth4 | 0.7861 | +0.0044 | 0.7872 | +0.0046 |
| HellaSwag | 6× | TTN depth8 | 0.7859 | +0.0042 | 0.7869 | +0.0043 |
| ARC-Challenge | 2× | TTN depth4 | 0.5495 | +0.0017 | 0.5495 | +0.0009 |
| ARC-Challenge | 2× | TTN depth8 | 0.5495 | +0.0017 | 0.5495 | +0.0009 |
| ARC-Challenge | 4× | TT core4 | 0.5418 | +0.0000 | 0.5435 | +0.0000 |
| ARC-Challenge | 4× | TTN depth4 | 0.5478 | +0.0060 | 0.5486 | +0.0051 |
| ARC-Challenge | 4× | TTN depth8 | 0.5478 | +0.0060 | 0.5478 | +0.0043 |
| ARC-Challenge | 6× | TT core4 | 0.5384 | +0.0000 | 0.5414 | +0.0000 |
| ARC-Challenge | 6× | TTN depth4 | 0.5461 | +0.0077 | 0.5469 | +0.0055 |
| ARC-Challenge | 6× | TTN depth8 | 0.5461 | +0.0077 | 0.5469 | +0.0055 |
A.4 SVD and dense full-covariance comparisons
Table A.11: Additional baselines and diagonal-design analysis. Left: matched-compression SVD under the Llama 3.1 8B single-operator protocol. Right: diagonal AWT versus dense full-covariance preconditioning.
| SVD baseline | |||
|---|---|---|---|
| Comp. | TT/TTN | AWT | SVD |
| 2× | 8.79 | 8.76 | 8.71 |
| 4× | 8.90 | 8.85 | 8.81 |
| 6× | 8.97 | 8.93 | 8.87 |
| Diagonal vs. full covariance | |
|---|---|
| Comparison | Result |
| Diagonal covariance mass, L/M/Q | 0.032 / 0.142 / 0.212 |
| Off-diagonal Frobenius ratio, L/M/Q | 0.984 / 0.926 / 0.885 |
| Full-cov better on weighted objective | 80 / 81 |
| Diagonal better on held-out output error | 53 / 81 |
Table A.12: Diagonal AWT versus dense full-covariance preconditioning. The activation covariance is strongly non-diagonal, and full covariance wins on its own weighted objective, but diagonal AWT more often gives lower held-out local output error.
| Statistic / comparison | Result |
|---|---|
| Diagonal covariance mass, Llama / Ministral / Qwen | 0.0320 / 0.1415 / 0.2122 |
| Off-diagonal Frobenius ratio, Llama / Ministral / Qwen | 0.9838 / 0.9255 / 0.8850 |
| 80 / 81 cases | |
| Full-cov better on held-out RelFrob_{out} | 28 / 81 cases |
| Diagonal better on held-out RelFrob_{out} | 53 / 81 cases |
| Llama: full-cov vs diagonal wins on held-out output error | 13 vs 14 |
| Ministral: full-cov vs diagonal wins on held-out output error | 10 vs 17 |
| Qwen: full-cov vs diagonal wins on held-out output error | 5 vs 22 |
| Mean output error, Llama / Ministral / Qwen | -0.0284 / +0.6068 / +0.9093 |
so positive values favor the diagonal method.
A.5 Cross-model single-operator details
Table A.13: Single-operator WikiText perplexity summaries for Ministral 8B and Qwen2.5 7B. These are the per-family counterparts to the pooled cross-model table in the main text. Lower PPL is better.
| Model | Comp. | Dense | Vanilla | AWT | Method | Gap closed |
|---|---|---|---|---|---|---|
| Ministral 8B | 2× | 8.66 | 8.74 | 8.71 | Std | 35.3% |
| 4× | 8.66 | 8.81 | 8.76 | Std | 31.3% | |
| 6× | 8.66 | 8.86 | 8.80 | Std | 28.6% | |
| Qwen2.5 7B | 2× | 9.59 | 9.76 | 9.70 | Std | 33.5% |
| 4× | 9.59 | 9.85 | 9.79 | Std | 25.8% | |
| 6× | 9.59 | 9.91 | 9.84 | Std | 22.2% |
Table A.14: Spearman rank correlation between changes in layer-wise metrics and ΔPPL on WikiText for Ministral 8B and Qwen2.5 7B (). Groups: QK=, VO=, MLP=.
| Model | Metric | Overall | QK | VO | MLP |
|---|---|---|---|---|---|
| Ministral 8B | 0.395 | 0.794 | 0.245 | 0.235 | |
| 0.042 | -0.299 | 0.438 | -0.072 | ||
| Qwen2.5 7B | 0.327 | 0.401 | 0.458 | 0.165 | |
| -0.049 | -0.213 | -0.260 | 0.164 |
A.6 Cross-model alpha ablations
Table A.15: Alpha ablations for Ministral 8B. Entries report pooled medians over single-operator sweep rows. Lower error is better.
| Method | 2× | 4× | 6× | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Out | Weight | Out | Weight | Out | Weight | ||||||||
| 0.5 | Std | 0.398 | -15.1 | 0.585 | +0.1 | 0.518 | -14.7 | 0.736 | -2.7 | 0.584 | -12.2 | 0.805 | -2.4 |
| 0.5 | MeanAbs | 0.395 | -15.8 | 0.582 | -0.4 | 0.517 | -14.9 | 0.734 | -3.0 | 0.582 | -12.5 | 0.802 | -2.7 |
| 1.0 | Std | 0.376 | -19.9 | 0.525 | -10.2 | 0.500 | -17.7 | 0.660 | -12.8 | 0.562 | -15.5 | 0.726 | -12.0 |
| 1.0 | MeanAbs | 0.377 | -19.7 | 0.502 | -14.1 | 0.500 | -17.8 | 0.635 | -16.1 | 0.564 | -15.2 | 0.699 | -15.2 |
| 1.5 | Std | 0.380 | -18.9 | 0.365 | -37.5 | 0.505 | -16.9 | 0.477 | -36.9 | 0.570 | -14.2 | 0.549 | -33.5 |
| 1.5 | MeanAbs | 0.387 | -17.5 | 0.285 | -51.3 | 0.509 | -16.2 | 0.379 | -49.9 | 0.574 | -13.6 | 0.430 | -47.8 |
Vanilla pooled medians: output / weight error = 0.469/0.585 at 2×, 0.608/0.756 at 4×, and 0.665/0.824 at 6×. values are percentages.
Table A.16: Alpha ablations for Qwen2.5 7B. Entries report pooled medians over single-operator sweep rows. Lower error is better.
| Method | 2× | 4× | 6× | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Out | Weight | Out | Weight | Out | Weight | ||||||||
| 0.5 | Std | 0.377 | -18.6 | 0.594 | +0.8 | 0.522 | -16.8 | 0.745 | -2.6 | 0.590 | -15.1 | 0.814 | -2.2 |
| 0.5 | MeanAbs | 0.375 | -19.1 | 0.588 | -0.1 | 0.515 | -17.9 | 0.740 | -3.3 | 0.579 | -16.7 | 0.808 | -3.0 |
| 1.0 | Std | 0.366 | -21.1 | 0.487 | -17.3 | 0.501 | -20.0 | 0.627 | -18.1 | 0.568 | -18.4 | 0.702 | -15.7 |
| 1.0 | MeanAbs | 0.366 | -21.0 | 0.445 | -24.4 | 0.505 | -19.4 | 0.578 | -24.4 | 0.568 | -18.4 | 0.654 | -21.4 |
| 1.5 | Std | 0.395 | -14.8 | 0.271 | -54.0 | 0.520 | -16.9 | 0.364 | -52.5 | 0.582 | -16.3 | 0.409 | -50.9 |
| 1.5 | MeanAbs | 0.405 | -12.6 | 0.196 | -66.7 | 0.527 | -16.0 | 0.286 | -62.7 | 0.587 | -15.6 | 0.332 | -60.1 |
Vanilla pooled medians: output / weight error = 0.463/0.589 at 2×, 0.627/0.765 at 4×, and 0.695/0.833 at 6×. values are percentages.
A.7 Cross-model backend comparisons
Table A.17: Backend comparison on WikiText under single-operator replacement for Ministral 8B. Entries are within-backend pooled medians. is measured against TT core4 at the same compression. Lower PPL is better.
| Comp. | Backend | PPL (Van.) | PPL (AWT) | ||
|---|---|---|---|---|---|
| 2× | TT core4 | 8.75 | +0.00 | 8.71 | +0.00 |
| 2× | TTN depth4 | 8.72 | -0.03 | 8.70 | -0.01 |
| 2× | TTN depth8 | 8.72 | -0.03 | 8.70 | -0.01 |
| 4× | TT core4 | 8.86 | +0.00 | 8.79 | +0.00 |
| 4× | TTN depth4 | 8.77 | -0.09 | 8.75 | -0.04 |
| 4× | TTN depth8 | 8.78 | -0.08 | 8.75 | -0.04 |
| 6× | TT core4 | 8.92 | +0.00 | 8.84 | +0.00 |
| 6× | TTN depth4 | 8.81 | -0.11 | 8.78 | -0.06 |
| 6× | TTN depth8 | 8.81 | -0.10 | 8.78 | -0.06 |
Table A.18: Backend comparison on WikiText under single-operator replacement for Qwen2.5 7B. Entries are within-backend pooled medians. is measured against TT core4 at the same compression. Lower PPL is better.
| Comp. | Backend | PPL (Van.) | PPL (AWT) | ||
|---|---|---|---|---|---|
| 2× | TT core4 | 9.75 | +0.00 | 9.72 | +0.00 |
| 2× | TTN depth4 | 9.76 | +0.01 | 9.69 | -0.02 |
| 2× | TTN depth8 | 9.78 | +0.02 | 9.70 | -0.02 |
| 4× | TT core4 | 9.88 | +0.00 | 9.82 | +0.00 |
| 4× | TTN depth4 | 9.84 | -0.04 | 9.75 | -0.07 |
| 4× | TTN depth8 | 9.85 | -0.03 | 9.77 | -0.05 |
| 6× | TT core4 | 9.95 | +0.00 | 9.89 | +0.00 |
| 6× | TTN depth4 | 9.88 | -0.07 | 9.81 | -0.08 |
| 6× | TTN depth8 | 9.91 | -0.04 | 9.81 | -0.08 |
A.8 Multi-operator replacement details
Table A.19: Multi-operator WikiText suffix replacement on Llama 3.1 8B. The attention group replaces jointly in the last blocks. Lower PPL is better; negative PPL favors AWT.
| Comp. | Vanilla PPL | AWT PPL | PPL | Gap closed | Finite backends | |
|---|---|---|---|---|---|---|
| 1 | 2× | 9.33 | 8.92 | -0.41 | 59.5% | TT core4, TTN depth4, TTN depth8 |
| 1 | 4× | 9.58 | 9.12 | -0.47 | 49.0% | TT core4, TTN depth4, TTN depth8 |
| 1 | 6× | 9.71 | 9.33 | -0.46 | 35.3% | TT core4, TTN depth4, TTN depth8 |
| 2 | 2× | 9.78 | 9.19 | -0.59 | 51.8% | TT core4, TTN depth4, TTN depth8 |
| 2 | 4× | 10.28 | 9.60 | -0.72 | 41.3% | TT core4, TTN depth4, TTN depth8 |
| 2 | 6× | 10.56 | 9.91 | -0.81 | 33.9% | TT core4, TTN depth4, TTN depth8 |
| 4 | 2× | 10.56 | 9.80 | -0.76 | 39.4% | TT core4, TTN depth4, TTN depth8 |
| 4 | 4× | 11.93 | 10.92 | -1.02 | 30.8% | TT core4, TTN depth4, TTN depth8 |
| 4 | 6× | 12.68 | 11.57 | -1.11 | 27.4% | TT core4, TTN depth4, TTN depth8 |
| 8 | 2× | 11.85 | 10.45 | -1.40 | 43.6% | TT core4, TTN depth4, TTN depth8 |
| 8 | 4× | 15.55 | 13.08 | -2.48 | 35.8% | TT core4, TTN depth4, TTN depth8 |
| 8 | 6× | 17.55 | 14.81 | -2.75 | 30.8% | TT core4, TTN depth4, TTN depth8 |
Table A.20: Multi-operator WikiText suffix replacement on Llama 3.1 8B when all seven dense matrices are replaced jointly in the last blocks. Lower PPL is better; negative PPL favors AWT.
| Comp. | Vanilla PPL | AWT PPL | PPL | Gap closed | |
|---|---|---|---|---|---|
| 1 | 2× | 13.87 | 11.99 | -1.86 | 36.0% |
| 1 | 4× | 15.54 | 12.76 | -2.61 | 40.2% |
| 1 | 6× | 17.65 | 13.60 | -3.62 | 45.0% |
| 2 | 2× | 21.53 | 13.79 | -7.74 | 60.0% |
| 2 | 4× | 24.47 | 15.09 | -9.21 | 59.3% |
| 2 | 6× | 30.18 | 17.28 | -11.71 | 59.9% |
Table A.21: Multi-operator WikiText suffix replacement on Llama 3.1 8B when the MLP group is replaced jointly. Empty rows in the source runs correspond to non-finite PPL. Lower PPL is better; negative PPL favors AWT.
| Comp. | Vanilla PPL | AWT PPL | PPL | Gap closed | Finite backends | |
|---|---|---|---|---|---|---|
| 1 | 2× | 13.54 | 12.27 | -1.27 | 26.0% | TT core4, TTN depth4, TTN depth8 |
| 1 | 4× | 14.19 | 12.73 | -1.45 | 26.4% | TT core4, TTN depth4, TTN depth8 |
| 1 | 6× | 14.78 | 13.25 | -1.53 | 24.9% | TT core4, TTN depth4, TTN depth8 |
| 2 | 2× | 17.65 | 14.21 | -3.43 | 38.1% | TT core4, TTN depth4, TTN depth8 |
| 2 | 4× | 18.52 | 14.67 | -3.79 | 39.0% | TT core4, TTN depth4, TTN depth8 |
| 2 | 6× | 19.78 | 15.30 | -4.47 | 40.2% | TT core4, TTN depth4, TTN depth8 |
| 4 | 2× | 30.38 | 17.41 | -12.97 | 59.6% | TT core4, TTN depth4, TTN depth8 |
| 4 | 4× | 34.02 | 18.33 | -15.69 | 61.8% | TTN depth4, TTN depth8 |
| 4 | 6× | 39.31 | 19.61 | -19.70 | 64.2% | TTN depth4, TTN depth8 |
| 8 | 2× | 36.21 | 38.31 | +2.09 | -7.6% | TT core4 |
A.9 Multi-operator BoolQ details
Table A.22: Multi-operator BoolQ suffix replacement on Llama 3.1 8B. Attention group replaces jointly in the last blocks. Higher is better; positive favors AWT.
| Comp. | Vanilla | AWT | Error reduction vs vanilla | Finite backends | ||
|---|---|---|---|---|---|---|
| 1 | 2× | 0.7900 | 0.8000 | +0.0100 | 4.8% | TT core4, TTN depth4, TTN depth8 |
| 1 | 4× | 0.8000 | 0.7900 | -0.0100 | -5.0% | TT core4, TTN depth4, TTN depth8 |
| 1 | 6× | 0.8000 | 0.8000 | +0.0000 | 0.0% | TT core4, TTN depth4, TTN depth8 |
| 2 | 2× | 0.8000 | 0.8100 | +0.0100 | 5.0% | TT core4, TTN depth4, TTN depth8 |
| 2 | 4× | 0.8100 | 0.8300 | +0.0200 | 10.5% | TT core4, TTN depth4, TTN depth8 |
| 2 | 6× | 0.8100 | 0.8100 | +0.0000 | 0.0% | TT core4, TTN depth4, TTN depth8 |
| 4 | 2× | 0.8000 | 0.8300 | +0.0200 | 15.0% | TT core4, TTN depth4, TTN depth8 |
| 4 | 4× | 0.8200 | 0.8300 | +0.0100 | 5.6% | TT core4, TTN depth4, TTN depth8 |
| 4 | 6× | 0.8100 | 0.8300 | +0.0200 | 10.5% | TT core4, TTN depth4, TTN depth8 |
| 8 | 2× | 0.8100 | 0.8300 | +0.0200 | 10.5% | TT core4, TTN depth4, TTN depth8 |
| 8 | 4× | 0.8200 | 0.8300 | +0.0100 | 5.6% | TT core4, TTN depth4, TTN depth8 |
| 8 | 6× | 0.8300 | 0.8400 | +0.0300 | 5.9% | TT core4, TTN depth4, TTN depth8 |
Table A.23: Multi-operator BoolQ suffix replacement on Llama 3.1 8B when all seven dense matrices are replaced jointly in the last blocks. Higher is better.
| Comp. | Vanilla | AWT | Error reduction vs vanilla | ||
|---|---|---|---|---|---|
| 1 | 2× | 0.8100 | 0.8300 | +0.0200 | 10.5% |
| 1 | 4× | 0.7900 | 0.8200 | +0.0300 | 14.3% |
| 1 | 6× | 0.7600 | 0.8200 | +0.0600 | 25.0% |
| 2 | 2× | 0.7900 | 0.7800 | -0.0100 | -4.8% |
| 2 | 4× | 0.7800 | 0.7900 | +0.0100 | 4.5% |
| 2 | 6× | 0.7900 | 0.7800 | +0.0000 | -4.8% |
Table A.24: Multi-operator BoolQ suffix replacement on Llama 3.1 8B when the MLP group is replaced jointly. Higher is better.
| Comp. | Vanilla | AWT | Error reduction vs vanilla | Finite backends | ||
|---|---|---|---|---|---|---|
| 1 | TT core4, TTN depth4, TTN depth8 | |||||
| 1 | TT core4, TTN depth4, TTN depth8 | |||||
| 1 | TT core4, TTN depth4, TTN depth8 | |||||
| 2 | TT core4, TTN depth4, TTN depth8 | |||||
| 2 | TT core4, TTN depth4, TTN depth8 | |||||
| 2 | TT core4, TTN depth4, TTN depth8 | |||||
| 4 | TT core4, TTN depth4, TTN depth8 | |||||
| 4 | TT core4, TTN depth4, TTN depth8 | |||||
| 4 | TT core4, TTN depth4, TTN depth8 | |||||
| 8 | TT core4, TTN depth4, TTN depth8 | |||||
| 8 | TT core4, TTN depth4, TTN depth8 | |||||
| 8 | TT core4, TTN depth4, TTN depth8 |
A.10 Per-operator output-error breakdowns for Ministral and Qwen
Table A.25: Per-operator activation-conditioned output error for Ministral 8B under TTN depth4 tensorization with . Entries report mean and standard deviation over per-block sweep values. Lower is better.
| Matrix | 2× compression | 4× compression | 6× compression | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vanilla () | Std () | MeanAbs () | Vanilla () | Std () | MeanAbs () | Vanilla () | Std () | MeanAbs () | ||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
Table A.26: Per-operator activation-conditioned output error for Ministral 8B under TTN depth8 tensorization with . Entries report mean and standard deviation over per-block sweep values. Lower is better.
| Matrix | 2× compression | 4× compression | 6× compression | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vanilla () | Std () | MeanAbs () | Vanilla () | Std () | MeanAbs () | Vanilla () | Std () | MeanAbs () | ||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
Table A.27: Per-operator activation-conditioned output error for Ministral 8B under TT core4 tensorization with . Entries report mean and standard deviation over per-block sweep values. Lower is better.
| Matrix | 2× compression | 4× compression | 6× compression | N | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vanilla () | Std () | Mean Abs () | Vanilla () | Std () | Mean Abs () | Vanilla () | Std () | Mean Abs () | ||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
| 36 | ||||||||||
Table A.28: Per-operator activation-conditioned output error for Qwen2.5 7B under TTN depth4 tensorization with . Entries report mean and standard deviation over per-block sweep values. Lower is better.
| Matrix | 2× compression | 4× compression | 6× compression | N | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vanilla () | Std () | Mean Abs () | Vanilla () | Std () | Mean Abs () | Vanilla () | Std () | Mean Abs () | ||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
Table A.29: Per-operator activation-conditioned output error for Qwen2.5 7B under TTN depth8 tensorization with . Entries report mean and standard deviation over per-block sweep values. Lower is better.
| Matrix | 2× compression | 4× compression | 6× compression | N | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vanilla () | Std () | Mean Abs () | Vanilla () | Std () | Mean Abs () | Vanilla () | Std () | Mean Abs () | ||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
Table A.30: Per-operator activation-conditioned output error for Qwen2.5 7B under TT core4 tensorization with . Entries report mean and standard deviation over per-block sweep values. Lower is better.
| Matrix | 2× compression | 4× compression | 6× compression | N | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vanilla () | Std () | Mean Abs () | Vanilla () | Std () | Mean Abs () | Vanilla () | Std () | Mean Abs () | ||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||
| 28 | ||||||||||