Small Sample Intelligence Text Classification Model Based on ChatGPT and Neighboring Prompt
In the field of intelligence analysis, text classification poses a significant challenge, particularly under small sample scenarios. To address this issue, this study introduces a model for small sample intelligence text classification based on ChatGPT and the Prompt mode. The primary objective is to mitigate data scarcity issues and enhance the classification accuracy of intelligence text. Initially, a supervised contrast learning strategy is devised to enhance the text representation retrieval capabilities. Subsequently, a nearest-neighbor Prompt mechanism is developed through the implementation of the nearest-neighbor algorithm. Ultimately, this constructed nearest-neighbor Prompt mechanism is integrated into the ChatGPT model. This mechanism not only imparts pertinent knowledge to the ChatGPT model but also delineates the output format criteria, thereby facilitating the efficient transformation of text information into labels and substantially enhancing the model’s performance in intelligence text classification tasks. Experimental results demonstrate a substantial enhancement in the classification efficacy of small sample information text classification tasks by the proposed model, providing a viable solution for this domain and fostering its advancement.
Authors
- Yaoyao Liu (ORCID: https://orcid.org/0000-0002-5903-8527)
- Weiwei Zhao (ORCID: https://orcid.org/0000-0001-8507-1921)
- Liuwen Li (ORCID: https://orcid.org/0009-0000-8167-9315)
- Qian Liu (ORCID: https://orcid.org/0000-0002-0517-7687)
- Jiajun Wang (ORCID: https://orcid.org/0000-0002-3643-157X)
- Qianqian Chen (ORCID: https://orcid.org/0000-0001-9071-0791)
Institutions
- Tianjin Normal University (CN)
- National University of Defense Technology (CN)
- Chengdu University (CN)
Publication Details
- Published
- 2024-10-18
- DOI
- https://doi.org/10.1109/icct62411.2024.10946341
- Citations
- 1
- Primary Topic
- Text and Document Classification Technologies
- Type
- article
- Field-Weighted Citation Impact
- 0.35