Efficient Biomedical Text Summarization With Quantized <scp>LLaMA</scp> 2: Enhancing Memory Usage and Inference on Low Powered Devices

ABSTRACT The deployment of large language models (LLMs) on edge devices and non‐server environments presents significant challenges, primarily due to constraints in memory usage, computational power, and inference time. This article investigates the feasibility of running LLMs across such devices by focusing on optimising memory usage, employing quantization techniques, and reducing inference time. Specifically, we utilise LLaMA 2 for biomedical text summarization and implement low‐rank adaptation (LoRA) quantization to compress the model size to compress the model size and fine‐tune it using limited resources. Our study systematically evaluates memory consumption during both training and inference phases, demonstrating substantial reductions through efficient LoRA quantization. Our results indicate that with careful optimization, it is feasible to deploy sophisticated LLMs like LLaMA 2 on low powered devices, thereby broadening the scope of their application in resource‐constrained environments.

Authors

Institutions

Publication Details

Journal
Expert Systems
Published
2024-10-27
DOI
https://doi.org/10.1111/exsy.13760
Citations
3
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
1.04
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Efficient Biomedical Text Summarization With Quantized LLaMA 2: Enhancing Memory Usage and Inference on Low Powered Devices

A. Chakrabarti, Tridib Kumar Das, Anushka Singh, Sanjeev Kumar et al.
3 citations
Expert Systems
Topic Modeling
1.04
article

Efficient Biomedical Text Summarization With Quantized LLaMA 2: Enhancing Memory Usage and Inference on Low Powered Devices

A. Chakrabarti, Tridib Kumar Das, Anushka Singh, Sanjeev Kumar, Vikas Ranjan
article en
3 citations

Abstract

ABSTRACT The deployment of large language models (LLMs) on edge devices and non‐server environments presents significant challenges, primarily due to constraints in memory usage, computational power, and inference time. This article investigates the feasibility of running LLMs across such devices by focusing on optimising memory usage, employing quantization techniques, and reducing inference time. Specifically, we utilise LLaMA 2 for biomedical text summarization and implement low‐rank adaptation (LoRA) quantization to compress the model size to compress the model size and fine‐tune it using limited resources. Our study systematically evaluates memory consumption during both training and inference phases, demonstrating substantial reductions through efficient LoRA quantization. Our results indicate that with careful optimization, it is feasible to deploy sophisticated LLMs like LLaMA 2 on low powered devices, thereby broadening the scope of their application in resource‐constrained environments.

Expert SystemsVol. 42(2)
University of Illinois Urbana-Champaign (US), KIIT University (IN), Birla Institute of Technology and Science, Pilani (IN)
Decent work and economic growth
Openalex Percentile: Top 19%
Topic Modeling
1.04
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.