Beyond Real Weights: Hypercomplex Representations for Stable Quantization

Jawad Ibn Ahad, Maisha Rahman, Amrijit Biswas, Muhammad Rafsan Kabir, Robin Krambroeckers, Sifat Momen, Nabeel Mohammed, Shafin Rahman

βœ… Accepted at IEEE/CVF Winter Conference on Applications of Computer Vision (WACV) 2026

πŸ“„ Paper: arXiv:2512.08524 Β· CVF Proceedings
πŸ’» Code: github.com/milab-nsu/PHM


Abstract

Multimodal large language models (MLLMs) incur substantial inference cost from dense feed-forward network (FFN) layers. We propose a progressive hypercomplex reparameterization framework that compresses MLLMs by gradually replacing dense FFN blocks with compact Parameterized Hypercomplex Multiplication (PHM) operators. A residual interpolation schedule, combined with lightweight reconstruction and knowledge distillation losses, ensures PHM modules inherit the functional behavior of their dense counterparts during training. PHM operators achieve a compression factor of 4/B (B ∈ {2,3}) in parameter count and reduce FLOPs, with selective capacity allocation assigning higher B to performance-sensitive upper language layers. Evaluated on image captioning (Flickr, NoCaps, COCO) and multimodal QA tasks, the PHM variants maintain performance comparable to the dense baselines while achieving significant efficiency gains.


Introduction

Dense FFN weight matrices in transformer-based MLLMs dominate parameter counts. Naive quantization methods cause instability due to the distribution mismatch between compressed and original operators. We replace real-valued dense layers with hypercomplex operators that exploit algebraic structure in weight space, achieving structured compression without abrupt capability loss.

Key insight: Parameterized Hypercomplex Multiplication layers express the weight matrix as a sum of Kronecker products of fixed basis matrices and small learnable matrices. This decomposition imposes algebraic structure that reduces parameter count while preserving representational capacity via the hypercomplex product geometry.


🎯 Key Contributions

  • PHM Reparameterization β€” Dense weight W replaced by Ξ£ Hb βŠ— Ab, compressing parameter count by factor 4/B while maintaining expressiveness.
  • Residual Interpolation β€” Smooth transition W_res(Ξ±) = (1-Ξ±)W_dense + Ξ±Β·W_PHM over training steps from Ξ±=0 to Ξ±=1, avoiding distribution shock.
  • Dual Stabilization β€” Knowledge distillation (dense-teacher β†’ PHM-student) + operator-level reconstruction loss ||W_PHMΒ·x βˆ’ W_denseΒ·x||Β² act jointly to transfer functional behavior.
  • Selective Capacity Assignment β€” B=3 for upper K language layers (higher risk, richer hypercomplex space), B=2 for lower layers and vision components.
  • Unified Training β€” PHM, LoRA-based PEFT for text attention, and KD integrated in a single two-stage pipeline.

Methodology

PHM Method Overview

Figure: Progressive PHM reparameterization framework. Dense FFN layers are replaced via a residual interpolation schedule. A dense-teacher model provides KD supervision while a reconstruction loss at the operator level ensures the PHM modules learn to mimic their dense counterparts.

PHM Layer Definition

Dense weight W ∈ ℝ^(d_out Γ— d_in), with d_in = 2m, d_out = 2n:

W_PHM = Ξ£_{b=1}^{B} Hb βŠ— Ab

where Hb ∈ ℝ^{2Γ—2} are fixed hypercomplex bases
      Ab ∈ ℝ^{nΓ—m} are learnable matrices

Parameter count: |W_PHM| = BΒ·nm vs |W_dense| = 4nm β†’ compression factor 4/B

For B=2 (canonical bases I, J):

W_PHM = [[A1, -A2],
          [A2,  A1]]

For B=3 (adds H3 = diag(1,-1)):

W_PHM = [[A1+A3, -A2 ],
          [A2,  A1-A3]]

Dense-to-PHM Initialization

Solve: min_{Ab} ||W - Ξ£ Hb βŠ— Ab||_FΒ²

For B=2: closed-form solution A1 = Β½(p+s), A2 = Β½(r-q) where p,q,r,s are blocks of W.

Residual Interpolation Schedule

W_res(Ξ±) = (1-Ξ±)Β·W_dense + Ξ±Β·W_PHM
Ξ±(t) = min(1, t / T_fade)

Training Objective

β„’(t) = (1 - Ξ»(t))Β·β„’_CE + Ξ»(t)Β·β„’_KD + ΞΌΒ·β„’_recon

β„’_CE  = cross-entropy with label smoothing Ξ΅
β„’_KD  = TΒ² Β· KL(softmax(z_T/T) || softmax(z_S/T))
β„’_recon = (1/|M|) Ξ£_β„“βˆˆM E_x ||W_β„“^PHMΒ·x βˆ’ W_β„“^denseΒ·x||Β²

Ξ»(t) = Ξ»_max Β· min(1, t/T_fade),   ΞΌ β‰ͺ 1

Selective Capacity Assignment

For language stack with L_lang layers, threshold t* = L_lang - K:

Bβ„“ = 3  if β„“ ∈ {t*, t*+1, ..., L_lang-1}  (upper K layers)
Bβ„“ = 2  otherwise

FLOPs: Dense: β‰ˆ 2NΒ·d_inΒ·d_out, PHM: β‰ˆ BΒ·NΒ·d_inΒ·d_out + O(NΒ·(d_in+d_out))

For B < 4, PHM shows substantial parameter savings with FLOPs no worse than dense.


πŸ“Š Table 1 β€” Image Captioning Performance

ModelFlickr CIDErFlickr B@4Flickr MNoCaps CIDErNoCaps B@4NoCaps MCOCO CIDErCOCO B@4COCO M
InstructBLIP-7B78.230.924.8118.247.230.3141.341.730.9
InstructBLIP-13B76.130.124.4116.346.729.8135.039.729.8
LLaVA-1.5-7B74.928.426.1105.540.230.3110.329.729.2
LLaVA-1.5-13B79.430.226.6109.242.430.6115.631.529.4
LLaVA-1.6-7B68.426.623.288.434.825.999.928.425.5
MiniCPM-V-3B66.825.127.289.933.229.794.223.928.3
Qwen2.5 VL-7B85.8––121.4––89.4––
InstructBLIP-7B + PHM77.030.224.5116.846.529.9138.240.930.3
LLaVA-1.5-7B + PHM73.527.925.7104.039.629.8108.929.128.8
Qwen2.5 VL-7B + PHM85.231.025.0122.147.130.489.030.129.6

(B@4 = BLEU-4, M = METEOR, R = ROUGE-L; PHM variants use B=2/3 selective capacity)


πŸ“Š Table 2 β€” ScienceQA and Financial MME

ModelScienceQA-IMG (Acc)FinMME (Acc)
BLIP-2 (Vicuna-7B)53.81–
BLIP-2 (Vicuna-13B)61.01–
InstructBLIP (Vicuna-7B)60.5224.50
InstructBLIP (Vicuna-13B)63.1226.21
DeepSeekVL-2 Small–34.14
Qwen2.5-VL 72B70.3149.64
Qwen2-VL 72B68.1237.11
Qwen2-VL 7B63.5134.14
Qwen2.5-VL 3B59.2232.53
InstructBLIP + PHM46.521.5
LLaVA-1.5-7B + PHM55.228.5
Qwen2.5 VL-7B + PHM60.533.1

πŸ“Š Table 3 β€” Computational Efficiency

ModelParams (Base β†’ PHM)FLOPs (Base β†’ PHM)Inference Time (Base β†’ PHM)
InstructBLIP-7B7B β†’ 5.45B4.50T β†’ 3.31T2.10ms β†’ 1.20ms
LLaVA-1.5-7B7B β†’ 5.15B4.70T β†’ 3.48T1.95ms β†’ 1.05ms
Qwen2.5 VL-7B7B β†’ 5.38B4.94T β†’ 3.64T1.70ms β†’ 0.93ms

πŸ“Š Table 4 β€” Ablation: Stabilization Components (Qwen2.5 VL-7B + PHM)

VariantKDRecon. LossResidual Interp.CIDEr ↑BLEU-4 ↑Params
Full (Ours)βœ“βœ“βœ“85.231.05.38B
Variant A (no KD)βœ—βœ“βœ“26.54.25.38B
Variant B (no Recon.)βœ“βœ—βœ“46.79.55.38B
Variant C (no Residual)βœ“βœ“βœ—57.63.45.38B
PHM (Bβ„“=2, uniform)βœ“βœ“βœ“65.921.34.11B
PHM (Bβ„“=3, uniform)βœ“βœ“βœ“84.729.46.65B

All three stabilization components (KD, Recon Loss, Residual Interpolation) are necessary. Removing any one causes significant CIDEr degradation.


πŸ“š Citation

@inproceedings{ahad2026beyond,
  title={Beyond Real Weights: Hypercomplex Representations for Stable Quantization},
  author={Ahad, Jawad Ibn and Rahman, Maisha and Biswas, Amrijit and Kabir, Muhammad Rafsan and Krambroeckers, Robin and Momen, Sifat and Mohammed, Nabeel and Rahman, Shafin},
  booktitle={Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
  year={2026}
}