SearcharxivSearch

arXiv subjects

Masoud Mardani

Publications and source records attributed to Masoud Mardani.

2 recordsLinked to original sources

Compressing Transformer Language Models via Matrix Product Operator Decomposition: A Case Study on PicoGPT

Transformer-based language models achieve strong performance across NLP tasks, but their quadratic parameter scaling with hidden dimension makes deployment on resource-constrained hardware expensive. We study Matrix Product Operator (MPO) decomposition as a principled compression method for transformers. MPO factorises weight matrices into chains of low-rank cores, with approximation quality controlled by the bond dimension chi. We replace every nn.Linear layer in PicoGPT, a GPT-2-style character-level language model with about 1M parameters, with an MPOLinear module parameterised as an MPO chain. Cores are initialised either by TT-SVD from pretrained dense weights or from random initialisation, and trained using standard PyTorch autograd without a custom backward pass. We derive balanced factorisation schemes for the five distinct weight shapes in PicoGPT and evaluate bond dimensions chi in {4, 8, 16, 32} on Tiny Shakespeare. MPO compression achieves up to 13x compression per transformer block at chi = 4. At chi = 16, the model uses 191,872 parameters instead of 1,020,224 while retaining 97.7% of baseline token accuracy (51.6% vs 52.8%). Reconstruction error follows the expected trend and is lower for three-site than two-site factorisations at the same bond dimension. The chi = 8 model gives the best accuracy per parameter, exceeding the dense baseline by 2.7x on this metric. These results show that MPO parameterisation is a practical and theoretically grounded alternative to low-rank methods and unstructured pruning for transformer compression.

cs.CL

Slave-spin approach to the strongly correlated systems

In this paper, we develop a new type of slave particle method which is similar to the slave rotor model except that the quantum rotor is substituted by a spin one slave particle. The spin-one slave particle itself can be represented in terms of Schwinger bosons/fermions. This approach is more conveniently applicable to the strongly correlated Hamiltonians with on-site Hubbard interaction and resolves the limitations of using the slave rotor model as well as the Anderson-Zou slave particle technique. For instance, the mean-field parameters of the slave spin method do not vanish above the Mott transition and this approach is smoothly connected to the non-interacting limit. As an example, we study the phase diagram of the Kane-Mele-Hubbard model using our current approach. In the absence of the spin-orbit interaction, the Mott transition occurs at $U_c ~ 3 t_1$. Several aspects of the slave spin method, its gauge theory and various possible mean-field states associated with this approach have been discussed.

cond-mat.str-el