Distance-Based Compression Method for Large Language Models

The computational cost of the Transformer architecture is highly dependent on the length of the input sequence, with a computational complexity of O(n2) due to the self-attention mechanism. As a result, Transformer-based models, such as Large Language Models, incur significant computational and storage overhead when processing tasks involving long input sequences. To mitigate these challenges, we propose a compression method that allows users to manually adjust the trade-off between compression efficiency and model performance. The method employs a trainable model to minimize information loss, ensuring that the impact on accuracy remains minimal. The method demonstrated an accuracy degradation within acceptable limits on LongBench v2.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2025-08-29
DOI
https://doi.org/10.3390/app15179482
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Distance-Based Compression Method for Large Language Models

Baokun Hu, Hongxin Shen
Applied Sciences
Topic Modeling
article

Distance-Based Compression Method for Large Language Models

Baokun Hu, Hongxin Shen
article en

Abstract

The computational cost of the Transformer architecture is highly dependent on the length of the input sequence, with a computational complexity of O(n2) due to the self-attention mechanism. As a result, Transformer-based models, such as Large Language Models, incur significant computational and storage overhead when processing tasks involving long input sequences. To mitigate these challenges, we propose a compression method that allows users to manually adjust the trade-off between compression efficiency and model performance. The method employs a trainable model to minimize information loss, ensuring that the impact on accuracy remains minimal. The method demonstrated an accuracy degradation within acceptable limits on LongBench v2.

Applied SciencesVol. 15(17)
Hangzhou Normal University (CN)
Openalex Percentile: Top 88%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.