TRAWL: Tensor Reduced and Approximated Weights for Large Language Models
Abstract
Large language models (LLMs) have fundamentally transformed artificial intelligence, catalyzing recent advancements while imposing substantial environmental and computational burdens. We introduce TRAWL (Tensor Reduced and Approximated Weights for Large Language Models), a novel methodology for optimizing LLMs through tensor decomposition. TRAWL leverages diverse strategies to exploit matrices within transformer-based architectures, realizing notable performance enhancements without necessitating retraining. The most significant improvements were observed through a layer-by-layer intervention strategy, particularly when applied to fully connected weights of the final layers, yielding up to 16% enhancement in accuracy without the need for additional data or fine-tuning. These results underscore the importance of targeted and adaptive techniques in increasing the efficiency and effectiveness of large language model optimization, thereby promoting the development of more sustainable and accessible AI systems.
- Publication:
-
arXiv e-prints
- Pub Date:
- June 2024
- DOI:
- 10.48550/arXiv.2406.17261
- arXiv:
- arXiv:2406.17261
- Bibcode:
- 2024arXiv240617261L
- Keywords:
-
- Computer Science - Computation and Language;
- 68T50 (Primary);
- 65F55 (Secondary);
- I.2.7
- E-Print:
- 8 pages, 5 figures. Submitted to EMNLP 2024 and under review