透過低秩投影壓縮大型語言模型中的鍵值快取
顯示簡易詮釋資料 統計資料| 欄位 | 內容 | 語言 |
|---|---|---|
dc.catalog.0080 |
251125 | |
dc.catalog.00818 |
a | |
dc.catalog.00818 |
d | |
dc.catalog.00818 |
| | |
dc.catalog.00818 |
| | |
dc.catalog.0087 |
2024 | |
dc.catalog.020 |
平裝 | |
dc.catalog.041 |
chi | |
dc.catalog.041 |
eng | |
dc.catalog.300c |
30 | |
dc.contributor.advisor |
吳凱強 | |
dc.contributor.advisor |
Wu, Kai-Chiang | |
dc.contributor.author |
林瑋晟 | |
dc.contributor.author |
Lin, Wei-Cheng | |
dc.contributor.campus |
光復 | |
dc.contributor.college |
資訊學院 | |
dc.contributor.committee |
黃俊達 | |
dc.contributor.committee |
葉宗泰 | |
dc.contributor.committee |
吳凱強 | |
dc.contributor.committee |
Huang, Juinn-Dar | |
dc.contributor.committee |
Yeh, Tsung-Tai | |
dc.contributor.committee |
Wu, Kai-Chiang | |
dc.contributor.department |
資訊科學與工程研究所 | |
dc.contributor.idpcode |
3551 | |
dc.contributor.studentid |
311551097 | |
dc.date.NCLavailable |
2024/07/04 | |
dc.date.USTavailable |
2024/07/04 | |
dc.date.issued |
2024 | |
dc.date.issuedROC |
113 | |
dc.date.paperavailable |
立即公開 | |
dc.date.schoolyear |
112 | |
dc.description.abstract |
常見的KV-Cache 壓縮方法包含對留下重要的token 或將其量化為較低的位數。然而,這些方法無法利用KV-Cache 中隱藏維度中的冗餘性。本論文主要探討利用低秩投影來壓縮隱藏維度的獨特方法,一種新穎的KV-Cache 壓縮框架。Palu 將線性層分解為低秩矩陣,並暫存經過壓縮後較小的中間表示,並在需要時重建完整的鍵和值。為了提高準確性、壓縮率和運算效率,Palu 進一步提出了(1) 一種中粒度的低秩分解方案,(2) 一種高效的秩搜尋演算法,(3) 一種低秩感知量化演算法,以及(4) 使用優化的GPU CUDA Kernel 融合矩陣運算。我們在熱門大型語言模型上的廣泛實驗表明,Palu 可以將KV-Cache 壓縮超過91.25%,並在相同甚至更高的記憶體使用量下保持更高的準確性(困惑度最多降低1.19),優於最先進的KV-Cache 量化方法。在將KV-Cache 壓縮50% 時,Palu 在注意力模塊中實現了最高達1.61 倍的端到端加速。 | |
dc.description.abstract |
KV-Cache compression methods generally sample a KV-Cache of effectual tokens or quantize it into lower bits. However, these methods cannot exploit the redundancy of the hidden dimension of KV tensors. This paper investigates a unique hidden dimension approach called Palu, a novel KV-Cache compression framework that utilizes low-rank projection. Palu decomposes the linear layers into low-rank matrices, caches the smaller intermediate states, and reconstructs the full keys and values on the fly. To improve accuracy, compression rate, and efficiency, Palu further encompasses (1) a medium-grained low-rank decomposition scheme, (2) an efficient rank search algorithm, (3) a low-rank-aware quantization algorithm, and (4) matrix fusion with optimized GPU kernels. Our extensive experiments with popular LLMs show that Palu can compress KV-Cache by more than 91.25% while maintaining a significantly better accuracy (up to 1.19 lower perplexity) than state-of-the-art KV-Cache quantization methods at a similar or even higher memory usage. When compressing KV-Cache for 50%, Palu delivers up to 1.61× end-to-end speedup for the attention module. | |
dc.description.abstractopendate |
2024/07/04 | |
dc.description.degree |
碩士 | |
dc.description.tableofcontents |
Chinese Abstract ..................................................................................................................... i English Abstract...................................................................................................................... ii Contents .................................................................................................................................. iii List of Figures......................................................................................................................... vi List of Tables........................................................................................................................... viii 1 Introduction....................................................................................................................... 1 2 Background....................................................................................................................... 6 2.1 Multi-Head Attention Mechanism ........................................................................... 6 2.2 Singular Value Decomposition for Low-Rank Approximation ............................... 8 3 Related Work .................................................................................................................... 9 3.1 SVD for LLM Compression. ................................................................................... 9 3.2 LLM Quantization ................................................................................................... 9 3.3 KV-Cache Quantization ........................................................................................... 10 3.4 KV-Cache Compression........................................................................................... 11 4 The Palu Framework......................................................................................................... 12 4.1 Compressing the KV-Cache via Low-Rank Projection ........................................... 12 4.1.1 Integration with the Attention Mechanism and Offline Matrix Fusion .......... 13 4.1.2 Mechanism with Positional Embedding ......................................................... 14 4.2 Decomposition Granularity...................................................................................... 15 4.2.1 Multi-Head Low-Rank Decomposition (M-LRD).......................................... 15 4.2.2 Joint-Head Low-Rank Decomposition (J-LRD)............................................. 15 4.2.3 Group-Head Low-Rank Decomposition (G-LRD) ......................................... 16 4.3 Automatic Rank Allocation ..................................................................................... 17 4.4 Low-Rank-Aware Quantization ............................................................................... 18 4.5 Efficient Inference Implementation ......................................................................... 19 5 Experiments ...................................................................................................................... 20 5.1 Main Results ............................................................................................................ 20 5.2 Integrating Palu with Quantization.......................................................................... 22 5.3 Latency Evaluation .................................................................................................. 23 5.4 Overall Memory Reduction ..................................................................................... 25 6 Conclusions....................................................................................................................... 26 References............................................................................................................................... 27 Appendix................................................................................................................................. 38 6.1 Integrating Palu with LoRA Finetune...................................................................... 38 6.2 More Results on Zero-shot Accuracy ...................................................................... 39 6.3 Ablation Study ......................................................................................................... 39 6.3.1 Influence of Different Group Size................................................................... 39 6.3.2 Influence of Walsh-Hadamard Transform....................................................... 40 6.3.3 Automatic Rank Allocation vs. Uniform Rank Allocation ............................ 41 6.4 Experiment Details................................................................................................... 42 6.4.1 Zero-Shot Evaluation Details.......................................................................... 42 6.4.2 LongBench Evaluation Details ....................................................................... 43 | |
dc.format |
||
dc.identifier.citation |
[1] Z. Zhou, X. Ning, K. Hong, T. Fu, J. Xu, S. Li, Y. Lou, L. Wang, Z. Yuan, X. Li et al., “A survey on efficient inference for large language models,” arXiv preprint arXiv:2404.14294, 2024. [2] Z. Yuan, Y. Shang, Y. Song, Q. Wu, Y. Yan, and G. Sun, “Asvd: Activation-aware singular value decomposition for compressing large language models,” arXiv preprint arXiv:2312.05821, 2023. [3] X. Wang, Y. Zheng, Z. Wan, and M. Zhang, “Svd-llm: Truncation-aware singular value decomposition for large language model compression,” arXiv preprint arXiv:2403.07378, 2024. [4] E. J. Hu, yelong shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen, “LoRA: Low-rank adaptation of large language models,” in International Conference on Learning Representations, 2022. [Online]. Available: https://openreview.net/forum?id=nZeVKeeFYf9 [5] T. Dettmers, A. Pagnoni, A. Holtzman, and L. Zettlemoyer, “Qlora: Efficient finetuning of quantized llms,” arXiv preprint arXiv:2305.14314, 2023. [6] I. T. Jolliffe and J. Cadima, “Principal component analysis: a review and recent developments,” Philosophical transactions of the royal society A: Mathematical, Physical and Engineering Sciences, vol. 374, no. 2065, p. 20150202, 2016. [7] J. Zhao, Z. Zhang, B. Chen, Z. Wang, A. Anandkumar, and Y. Tian, “Galore: Memory-efficient LLM training by gradient low-rank projection,” CoRR, vol. abs/2403.03507, 2024. [Online]. Available: https://doi.org/10.48550/arXiv.2403.03507 [8] P. Sharma, J. T. Ash, and D. Misra, “The truth is in there: Improving reasoning in language models with layer-selective rank reduction,” arXiv preprint arXiv:2312.13558, 2023. [9] A. Tseng, J. Chee, Q. Sun, V. Kuleshov, and C. De Sa, “Quip#: Even better llm quantization with hadamard incoherence and lattice codebooks,” arXiv preprint arXiv:2402.04396, 2024. [10] S. Ashkboos, A. Mohtashami, M. L. Croci, B. Li, M. Jaggi, D. Alistarh, T. Hoefler, and J. Hensman, “Quarot: Outlier-free 4-bit inference in rotated llms,” arXiv preprint arXiv:2404.00456, 2024. [11] C. Hooper, S. Kim, H. Mohammadzadeh, M. W. Mahoney, Y. S. Shao, K. Keutzer, and A. Gholami, “Kvquant: Towards 10 million context length llm inference with kv cache quantization,” arXiv preprint arXiv:2401.18079, 2024. [12] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin, “Attention is all you need,” in Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, I. Guyon, U. von Luxburg, S. Bengio, H. M. Wallach, R. Fergus, S. V. N. Vishwanathan, and R. Garnett, Eds., 2017, pp. 5998–6008. [Online]. Available: https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html [13] W. Kwon, Z. Li, S. Zhuang, Y. Sheng, L. Zheng, C. H. Yu, J. Gonzalez, H. Zhang, and I. Stoica, “Efficient memory management for large language model serving with pagedattention,” in Proceedings of the 29th Symposium on Operating Systems Principles, SOSP 2023, Koblenz, Germany, October 23-26, 2023, J. Flinn, M. I. Seltzer, P. Druschel, A. Kaufmann, and J. Mace, Eds. ACM, 2023, pp. 611–626. [Online]. Available: https://doi.org/10.1145/3600006.3613165 [14] R. Pope, S. Douglas, A. Chowdhery, J. Devlin, J. Bradbury, A. Levskaya, J. Heek, K. Xiao, S. Agrawal, and J. Dean, “Efficiently scaling transformer inference,” CoRR, vol. abs/2211.05102, 2022. [Online]. Available: https://doi.org/10.48550/arXiv.2211.05102 [15] Z. Yuan, Y. Shang, Y. Zhou, Z. Dong, Z. Zhou, C. Xue, B. Wu, Z. Li, Q. Gu, Y. J. Lee, Y. Yan, B. Chen, G. Sun, and K. Keutzer, “LLM inference unveiled: Survey and roofline model insights,” CoRR, vol. abs/2402.16363, 2024. [Online]. Available: https://doi.org/10.48550/arXiv.2402.16363 [16] J. Demmel, Applied Numerical Linear Algebra. SIAM, 1997. [Online]. Available: https://doi.org/10.1137/1.9781611971446 [17] G. H. Golub, A. Hoffman, and G. W. Stewart, “A generalization of the eckart-young-mirsky matrix approximation theorem,” Linear Algebra and its applications, vol. 88, pp. 317–327, 1987. [18] Y.-C. Hsu, T. Hua, S. Chang, Q. Lou, Y. Shen, and H. Jin, “Language model compression with weighted low-rank factorization,” in International Conference on Learning Representations, 2022. [Online]. Available: https://openreview.net/forum?id=uPv9Y3gmAI5 [19] E. Frantar, S. Ashkboos, T. Hoefler, and D. Alistarh, “Gptq: Accurate post-training quantization for generative pre-trained transformers,” arXiv preprint arXiv:2210.17323, 2022. [20] J. Lin, J. Tang, H. Tang, S. Yang, W.-M. Chen, W.-C. Wang, G. Xiao, X. Dang, C. Gan, and S. Han, “Awq: Activation-aware weight quantization for llm compression and acceleration,” arXiv preprint arXiv:2306.00978, 2023. [21] S. Kim, C. Hooper, A. Gholami, Z. Dong, X. Li, S. Shen, M. W. Mahoney, and K. Keutzer, “Squeezellm: Dense-and-sparse quantization,” arXiv preprint arXiv:2306.07629, 2023. [22] T. Dettmers, M. Lewis, Y. Belkada, and L. Zettlemoyer, “Gpt3. int8 (): 8-bit matrix multiplication for transformers at scale,” Advances in Neural Information Processing Systems, vol. 35, pp. 30 318–30 332, 2022. [23] G. Xiao, J. Lin, M. Seznec, H. Wu, J. Demouth, and S. Han, “Smoothquant: Accurate and efficient post-training quantization for large language models,” in International Conference on Machine Learning. PMLR, 2023, pp. 38 087–38 099. [24] Z. Yuan, L. Niu, J. Liu, W. Liu, X. Wang, Y. Shang, G. Sun, Q. Wu, J. Wu, and B. Wu, “Rptq: Reorder-based post-training quantization for large language models,” arXiv preprint arXiv:2304.01089, 2023. [25] Y. Zhao, C.-Y. Lin, K. Zhu, Z. Ye, L. Chen, S. Zhenga, L. Ceze, A. Krishnamurthy, T. Chen, and B. Kasikci, “Atom: Low-bit quantization for efficient and accurate llm serving,” arXiv preprint arXiv:2310.19102, 2023. [26] Y. Yue, Z. Yuan, H. Duanmu, S. Zhou, J. Wu, and L. Nie, “Wkvquant: Quantizing weight and key/value cache for large language models gains more,” arXiv preprint arXiv:2402.12065, 2024. [27] Z. Liu, J. Yuan, H. Jin, S. Zhong, Z. Xu, V. Braverman, B. Chen, and X. Hu, “Kivi: A tuning-free asymmetric 2bit quantization for kv cache,” arXiv preprint arXiv:2402.02750, 2024. [28] H. Duanmu, Z. Yuan, X. Li, J. Duan, X. Zhang, and D. Lin, “Skvq: Sliding-window key and value cache quantization for large language models,” arXiv preprint arXiv:2405.06219, 2024. [29] G. Xiao, Y. Tian, B. Chen, S. Han, and M. Lewis, “Efficient streaming language models with attention sinks,” in The Twelfth International Conference on Learning Representations, 2024. [Online]. Available: https://openreview.net/forum?id=NG7sS51zVF [30] Z. Zhang, Y. Sheng, T. Zhou, T. Chen, L. Zheng, R. Cai, Z. Song, Y. Tian, C. Ré, C. Barrett et al., “H2o: Heavy-hitter oracle for efficient generative inference of large language models,” Advances in Neural Information Processing Systems, vol. 36, 2024. [31] S. Ge, Y. Zhang, L. Liu, M. Zhang, J. Han, and J. Gao, “Model tells you what to discard: Adaptive KV cache compression for LLMs,” in The Twelfth International Conference on Learning Representations, 2024. [Online]. Available: https://openreview.net/forum?id=uNrFpDPMyo [32] M. Adnan, A. Arunkumar, G. Jain, P. Nair, I. Soloveychik, and P. Kamath, “Keyformer: Kv cache reduction through key tokens selection for efficient generative inference,” Proceedings of Machine Learning and Systems, vol. 7, 2024. [33] H. Kang, Q. Zhang, S. Kundu, G. Jeong, Z. Liu, T. Krishna, and T. Zhao, “Gear: An efficient kv cache compression recipefor near-lossless generative inference of llm,” arXiv preprint arXiv:2403.05527, 2024. [34] J. Y. Yang, B. Kim, J. Bae, B. Kwon, G. Park, E. Yang, S. J. Kwon, and D. Lee, “No token left behind: Reliable kv cache compression via importance-aware mixed precision quantization,” arXiv preprint arXiv:2402.18096, 2024. [35] H. Dong, X. Yang, Z. Zhang, Z. Wang, Y. Chi, and B. Chen, “Get more with less: Synthesizing recurrence with kv cache compression for efficient llm inference,” arXiv preprint arXiv:2402.09398, 2024. [36] J. Su, Y. Lu, S. Pan, B. Wen, and Y. Liu, “Roformer: Enhanced transformer with rotary position embedding,” CoRR, vol. abs/2104.09864, 2021. [Online]. Available: https://arxiv.org/abs/2104.09864 [37] O. Press, N. Smith, and M. Lewis, “Train short, test long: Attention with linear biases enables input length extrapolation,” in International Conference on Learning Representations, 2022. [Online]. Available: https://openreview.net/forum?id=R8sQPpGCv0 [38] DeepSeek-AI, “Deepseek-v2: A strong, economical, and efficient mixture-of-experts language model,” 2024, arXiv preprint arXiv:2405.04434. [39] A. Ly, M. Marsman, J. Verhagen, R. P. Grasman, and E.-J. Wagenmakers, “A tutorial on fisher information,” Journal of Mathematical Psychology, vol. 80, pp. 40–55, 2017. [40] L. Liu, S. Zhang, Z. Kuang, A. Zhou, J.-H. Xue, X. Wang, Y. Chen, W. Yang, Q. Liao, and W. Zhang, “Group fisher pruning for practical network compression,” in International Conference on Machine Learning. PMLR, 2021, pp. 7021–7032. [41] Fino and Algazi, “Unified matrix treatment of the fast walsh-hadamard transform,” IEEE Transactions on Computers, vol. C-25, no. 11, pp. 1142–1146, 1976. [42] J. Su, M. Ahmed, Y. Lu, S. Pan, W. Bo, and Y. Liu, “Roformer: Enhanced transformer with rotary position embedding,” Neurocomputing, vol. 568, p. 127063, 2024. [43] T. Dao, D. Fu, S. Ermon, A. Rudra, and C. Ré, “Flashattention: Fast and memory-efficient exact attention with io-awareness,” Advances in Neural Information Processing Systems, vol. 35, pp. 16 344–16 359, 2022. [44] H. Touvron, L. Martin, K. Stone, P. Albert, A. Almahairi, Y. Babaei, N. Bashlykov, S. Batra, P. Bhargava, S. Bhosale et al., “Llama 2: Open foundation and fine-tuned chat models,” arXiv preprint arXiv:2307.09288, 2023. [45] A. Q. Jiang, A. Sablayrolles, A. Mensch, C. Bamford, D. S. Chaplot, D. d. l. Casas, F. Bressand, G. Lengyel, G. Lample, L. Saulnier et al., “Mistral 7b,” arXiv preprint arXiv:2310.06825, 2023. [46] W.-L. Chiang, Z. Li, Z. Lin, Y. Sheng, Z. Wu, H. Zhang, L. Zheng, S. Zhuang, Y. Zhuang, J. E. Gonzalez et al., “Vicuna: An open-source chatbot impressing gpt-4 with 90%* chatgpt quality,” See https://vicuna.lmsys.org (accessed 14 April 2023), vol. 2, no. 3, p. 6, 2023. [47] S. Merity, C. Xiong, J. Bradbury, and R. Socher, “Pointer sentinel mixture models,” arXiv preprint arXiv:1609.07843, 2016. [48] C. Raffel, N. Shazeer, A. Roberts, K. Lee, S. Narang, M. Matena, Y. Zhou, W. Li, and P. J. Liu, “Exploring the limits of transfer learning with a unified text-to-text transformer,” Journal of machine learning research, vol. 21, no. 140, pp. 1–67, 2020. [49] L. Gao, J. Tow, B. Abbasi, S. Biderman, S. Black, A. DiPofi, C. Foster, L. Golding, J. Hsu, A. Le Noac’h, H. Li, K. McDonell, N. Muennighoff, C. Ociepa, J. Phang, L. Reynolds, H. Schoelkopf, A. Skowron, L. Sutawika, E. Tang, A. Thite, B. Wang, K. Wang, and A. Zou, “A framework for few-shot language model evaluation,” zenodo, version v0.4.0, Dec. 2023. [Online]. Available: https://zenodo.org/records/10256836 [50] T. Mihaylov, P. Clark, T. Khot, and A. Sabharwal, “Can a suit of armor conduct electricity? a new dataset for open book question answering,” arXiv preprint arXiv:1809.02789, 2018. [51] R. Zellers, A. Holtzman, Y. Bisk, A. Farhadi, and Y. Choi, “Hellaswag: Can a machine really finish your sentence?” arXiv preprint arXiv:1905.07830, 2019. [52] Y. Bisk, R. Zellers, J. Gao, Y. Choi et al., “Piqa: Reasoning about physical commonsense in natural language,” in Proceedings of the AAAI conference on artificial intelligence, vol. 34, no. 05, 2020, pp. 7432–7439. [53] P. Clark, I. Cowhey, O. Etzioni, T. Khot, A. Sabharwal, C. Schoenick, and O. Tafjord, “Think you have solved question answering? try arc, the ai2 reasoning challenge,” arXiv:1803.05457v1, 2018. [54] K. Sakaguchi, R. L. Bras, C. Bhagavatula, and Y. Choi, “Winogrande: An adversarial winograd schema challenge at scale,” Communications of the ACM, vol. 64, no. 9, pp. 99–106, 2021. [55] Y. Bai, X. Lv, J. Zhang, H. Lyu, J. Tang, Z. Huang, Z. Du, X. Liu, A. Zeng, L. Hou, Y. Dong, J. Tang, and J. Li, “Longbench: A bilingual, multitask benchmark for long context understanding,” arXiv preprint arXiv:2308.14508, 2023. [56] T. Wolf, L. Debut, V. Sanh, J. Chaumond, C. Delangue, A. Moi, P. Cistac, T. Rault, R. Louf, M. Funtowicz, J. Davison, S. Shleifer, P. von Platen, C. Ma, Y. Jernite, J. Plu, C. Xu, T. Le Scao, S. Gugger, M. Drame, Q. Lhoest, and A. Rush, “Transformers: State-of-the-art natural language processing,” in Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, Q. Liu and D. Schlangen, Eds. Online: Association for Computational Linguistics, Oct. 2020, pp. 38–45. [Online]. Available: https://aclanthology.org/2020.emnlp-demos.6 [57] X. Ma, G. Fang, and X. Wang, “Llm-pruner: On the structural pruning of large language models,” Advances in neural information processing systems, vol. 36, pp. 21 702–21 720, 2023. [58] S. Ashkboos, M. L. Croci, M. G. do Nascimento, T. Hoefler, and J. Hensman, “SliceGPT: Compress large language models by deleting rows and columns,” in The Twelfth International Conference on Learning Representations, 2024. [Online]. Available: https://openreview.net/forum?id=vXxardq6db [59] P. Dasigi, K. Lo, I. Beltagy, A. Cohan, N. A. Smith, and M. Gardner, “A dataset of information-seeking questions and answers anchored in research papers,” in Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, K. Toutanova, A. Rumshisky, L. Zettlemoyer, D. Hakkani-Tur, I. Beltagy, S. Bethard, R. Cotterell, T. Chakraborty, and Y. Zhou, Eds. Online: Association for Computational Linguistics, Jun. 2021, pp. 4599–4610. [Online]. Available: https://aclanthology.org/2021.naacl-main.365 [60] M. Zhong, D. Yin, T. Yu, A. Zaidi, M. Mutuma, R. Jha, A. H. Awadallah, A. Celikyilmaz, Y. Liu, X. Qiu, and D. Radev, “QMSum: A new benchmark for query-based multi-domain meeting summarization,” in Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, K. Toutanova, A. Rumshisky, L. Zettlemoyer, D. Hakkani-Tur, I. Beltagy, S. Bethard, R. Cotterell, T. Chakraborty, and Y. Zhou, Eds. Online: Association for Computational Linguistics, Jun. 2021, pp. 5905–5921. [Online]. Available: https://aclanthology.org/2021.naacl-main.472 [61] A. Fabbri, I. Li, T. She, S. Li, and D. Radev, “Multi-news: A large-scale multi-document summarization dataset and abstractive hierarchical model,” in Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, A. Korhonen, D. Traum, and L. Màrquez, Eds. Florence, Italy: Association for Computational Linguistics, Jul. 2019, pp. 1074–1084. [Online]. Available: https://aclanthology.org/P19-1102 [62] X. Li and D. Roth, “Learning question classifiers,” in 19th International Conference on Computational Linguistics, COLING 2002, Howard International House and Academia Sinica, Taipei, Taiwan, August 24 - September 1, 2002, 2002. [Online]. Available: https://aclanthology.org/C02-1150/ [63] M. Joshi, E. Choi, D. Weld, and L. Zettlemoyer, “TriviaQA: A large scale distantly supervised challenge dataset for reading comprehension,” in Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), R. Barzilay and M.-Y. Kan, Eds. Vancouver, Canada: Association for Computational Linguistics, Jul. 2017, pp. 1601–1611. [Online]. Available: https://aclanthology.org/P17-1147 [64] B. Gliwa, I. Mochol, M. Biesek, and A. Wawer, “Samsum corpus: A human-annotated dialogue dataset for abstractive summarization,” CoRR, vol. abs/1911.12237, 2019. [Online]. Available: http://arxiv.org/abs/1911.12237 [65] D. Guo, C. Xu, N. Duan, J. Yin, and J. J. McAuley, “Longcoder: A long-range pre-trained language model for code completion,” in International Conference on Machine Learning, ICML 2023, 23-29 July 2023, Honolulu, Hawaii, USA, ser. Proceedings of Machine Learning Research, A. Krause, E. Brunskill, K. Cho, B. Engelhardt, S. Sabato, and J. Scarlett, Eds., vol. 202. PMLR, 2023, pp. 12 098–12 107. [Online]. Available: https://proceedings.mlr.press/v202/guo23j.html [66] T. Liu, C. Xu, and J. McAuley, “Repobench: Benchmarking repository-level code auto-completion systems,” arXiv preprint arXiv:2306.03091, 2023. | |
dc.identifier.uri |
https://hdl.handle.net/20.500.14371/2191 | |
dc.language.iso |
英文 | |
dc.relation.page |
43 | |
dc.subject.keyword |
大型語言模型 | |
dc.subject.keyword |
模型壓縮 | |
dc.subject.keyword |
鍵值快取 | |
dc.subject.keyword |
低秩分解 | |
dc.subject.keyword |
量化 | |
dc.subject.keyword |
Large Language Models | |
dc.subject.keyword |
Model Compression | |
dc.subject.keyword |
KV-Cache | |
dc.subject.keyword |
Low-Rank Decomposition | |
dc.subject.keyword |
Quantization | |
dc.title |
透過低秩投影壓縮大型語言模型中的鍵值快取 | zh-TW |
dc.title |
Compressing KV-Cache in Large Language Models with Low-Rank Projection | en |
dc.type |
Thesis | zh-TW |
檔案
- CIYpNORah.pdf (3.50 MB, Adobe PDF)
所屬典藏: 資訊科學與工程研究所