Skip to main navigation Skip to search Skip to main content

KA2L: A knowledge-aware active learning framework for LLMs

  • Haoxuan Yin
  • , Chen Tang
  • , Yangfan Wang
  • , Lian Yan
  • , Jingchi Jiang*
  • *Corresponding author for this work
  • Faculty of Computing, Harbin Institute of Technology
  • Institute for Advanced Algorithms Research
  • National Key Laboratory of Smart Farm Technologies and Systems

Research output: Contribution to journalArticlepeer-review

Abstract

Fine-tuning large language models (LLMs) with high-quality knowledge has been shown to enhance their performance effectively. However, there is a paucity of research on the depth of domain-specific knowledge comprehension by LLMs and the application of targeted active learning to improve their expertise. To address this gap, we introduce the Knowledge-Aware Active Learning (KA2L) framework. This framework assesses LLMs’ mastery of specific knowledge points to aid in constructing unanswerable or unknowable questions through latent space analysis. This active learning strategy enhances training efficiency by focusing on knowledge the model has yet to master, thereby minimizing redundancy in learning already acquired information. This study innovatively employs a knowledge distribution probing technique to examine the hidden states of specific Transformer layers and identify the distribution of known and unknown knowledge within the LLM. Additionally, a hidden-state decoding method is proposed to generate numerous unknown questions in natural language from the latent knowledge space. In our experiments, we selected nine open-source LLMs to validate the effectiveness of the proposed framework. Results indicate that KA2L not only significantly reduces 50% annotation and computation costs across two open-domain and one vertical-domain dataset but also achieves better performance, offering valuable insights into active learning strategies for LLMs. The code is available at https://github.com/greenjerry/KA2L.

Original languageEnglish
Article number133951
JournalExpert Systems with Applications
Volume333
DOIs
StatePublished - 1 Jan 2027
Externally publishedYes

Keywords

  • Active learning
  • Knowledge boundary
  • LLM hallucination detection
  • Large language models

Fingerprint

Dive into the research topics of 'KA2L: A knowledge-aware active learning framework for LLMs'. Together they form a unique fingerprint.

Cite this