Enhanced Discriminative Fine-Tuning of Large Language Models for Chinese Text Classification

In the field of natural language processing, the era of Large Language Models (LLMs) has arrived. Text classification, being a classic and widely applied task, can greatly benefit from the advancements brought by LLMs to enhance its performance. We introduce an Enhanced Discriminative Fine-Tuning (ED-FT) approach aimed at enhancing discriminative text classification with LLMs, which we experimentally validate on the open-source Chinese LLM, Yi series. ED-FT utilizes a prompt encoder to search for the soft prompts in a continuous parameter space for downstream text classification tasks, combined with efficient fine-tuning techniques for LLMs. Additionally, we modify the attention mask of the Yi-6B model to incorporate bidirectional attention, enabling it to generate bidirectional representations of the input text sequences, which are then fed into an additional classification layer for non-generative text classification. We evaluate our method on three publicly available Chinese datasets: Tnews, ChnSentiCorp, and SMP2020-EWECT-Usual, achieving accuracy rates of 64.88%, 96.83%, and 83.35%, respectively. These results significantly surpass those of Bert-like models, achieving state-of-the-art performance. Additionally, it markedly improved inference speed. Furthermore, we explore the effectiveness of utilizing LLM intermediate layer hidden states for text classification, and the impact of LLM sizes.

Authors

Institutions

Publication Details

Published
2024-08-04
DOI
https://doi.org/10.1109/ialp63756.2024.10661135
Citations
2
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.69
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhanced Discriminative Fine-Tuning of Large Language Models for Chinese Text Classification

Hongying Zan, Kunli Zhang, Jinwang Song
2 citations
Topic Modeling
0.69
article

Enhanced Discriminative Fine-Tuning of Large Language Models for Chinese Text Classification

Hongying Zan, Kunli Zhang, Jinwang Song
article en
2 citations

Abstract

In the field of natural language processing, the era of Large Language Models (LLMs) has arrived. Text classification, being a classic and widely applied task, can greatly benefit from the advancements brought by LLMs to enhance its performance. We introduce an Enhanced Discriminative Fine-Tuning (ED-FT) approach aimed at enhancing discriminative text classification with LLMs, which we experimentally validate on the open-source Chinese LLM, Yi series. ED-FT utilizes a prompt encoder to search for the soft prompts in a continuous parameter space for downstream text classification tasks, combined with efficient fine-tuning techniques for LLMs. Additionally, we modify the attention mask of the Yi-6B model to incorporate bidirectional attention, enabling it to generate bidirectional representations of the input text sequences, which are then fed into an additional classification layer for non-generative text classification. We evaluate our method on three publicly available Chinese datasets: Tnews, ChnSentiCorp, and SMP2020-EWECT-Usual, achieving accuracy rates of 64.88%, 96.83%, and 83.35%, respectively. These results significantly surpass those of Bert-like models, achieving state-of-the-art performance. Additionally, it markedly improved inference speed. Furthermore, we explore the effectiveness of utilizing LLM intermediate layer hidden states for text classification, and the impact of LLM sizes.

Zhengzhou University (CN)
Reduced inequalities
Openalex Percentile: Top 24%
Topic Modeling
0.69
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.