Exploiting Classification of LLM with Zero-shot Prompt & Fine-tuning

Large Language Models (LLMs) have great potential in medical text classifications. However, LLMs are consuming huge of computing resources to architect the state-of-the-art performance that difficult to employ on medical edge device. Recently advance is that Tiny-scale LLM which give a chance that no need for huge computing resource to inference. In this work, we illustrate the classification performance that use 3 different zero-shot like prompt schemes considered to use the Llama-2-42M. And then, we froze the pertained weight of LLM and finetune the classify_heads which includes normal linear layer and deep neural network. The experimental results are evaluated in Accuracy and F1-score in 2 real-world datasets. Our findings reveal that carefully crafted longer prompts significantly improve zero-shot classification performance across datasets of different scales. Moreover, tailored fine-tuning schemes enhance classification performance, with deeper classification head structures and optimized activation functions further boosting results.

Authors

Institutions

Publication Details

Published
2024-12-13
DOI
https://doi.org/10.1109/ichih63459.2024.11064750
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploiting Classification of LLM with Zero-shot Prompt & Fine-tuning

Wei Lv, Weibin Kong
Adversarial Robustness in Machine Learning
article

Exploiting Classification of LLM with Zero-shot Prompt & Fine-tuning

Wei Lv, Weibin Kong
article en

Abstract

Large Language Models (LLMs) have great potential in medical text classifications. However, LLMs are consuming huge of computing resources to architect the state-of-the-art performance that difficult to employ on medical edge device. Recently advance is that Tiny-scale LLM which give a chance that no need for huge computing resource to inference. In this work, we illustrate the classification performance that use 3 different zero-shot like prompt schemes considered to use the Llama-2-42M. And then, we froze the pertained weight of LLM and finetune the classify_heads which includes normal linear layer and deep neural network. The experimental results are evaluated in Accuracy and F1-score in 2 real-world datasets. Our findings reveal that carefully crafted longer prompts significantly improve zero-shot classification performance across datasets of different scales. Moreover, tailored fine-tuning schemes enhance classification performance, with deeper classification head structures and optimized activation functions further boosting results.

City University of Macau (MO)
Openalex Percentile: Top 72%
Adversarial Robustness in Machine Learning
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.

Exploiting Classification of LLM with Zero-shot Prompt & Fine-tuning — Wei Lv, Weibin Kong · (2024) | TGRS Research Map | TGRS