[Paper Review] Knowledge Boundary Discovery for Large Language Models
The paper introduces Knowledge Boundary Discovery (KBD), a reinforcement learning framework that automatically discovers LLM knowledge boundaries by generating within-boundary and beyond-boundary questions using entropy-guided, partially observable RL.
We propose Knowledge Boundary Discovery (KBD), a reinforcement learning based framework to explore the knowledge boundaries of the Large Language Models (LLMs). We define the knowledge boundary by automatically generating two types of questions: (i) those the LLM can confidently answer (within-knowledge boundary) and (ii) those it cannot (beyond-knowledge boundary). Iteratively exploring and exploiting the LLM's responses to find its knowledge boundaries is challenging because of the hallucination phenomenon. To find the knowledge boundaries of an LLM, the agent interacts with the LLM under the modeling of exploring a partially observable environment. The agent generates a progressive question as the action, adopts an entropy reduction as the reward, receives the LLM's response as the observation and updates its belief states. We demonstrate that the KBD detects knowledge boundaries of LLMs by automatically finding a set of non-trivial answerable and unanswerable questions. We validate the KBD by comparing its generated knowledge boundaries with manually crafted LLM benchmark datasets. Experiments show that our KBD-generated question set is comparable to the human-generated datasets. Our approach paves a new way to evaluate LLMs.
Motivation & Objective
- Define the knowledge boundary for LLMs as confidently answerable versus unanswerable questions.
- Develop an interactive RL framework to dynamically discover these boundaries.
- Leverage entropy-based rewards and information gain to guide boundary exploration.
- Demonstrate that KBD-generated questions are non-trivial and comparable to human benchmarks.
Proposed method
- Model the interaction with the LLM as a POMDP to handle partial observability.
- Use a belief state over knowledge boundary status updated from LLM responses.
- Generate progressive questions as actions and use entropy change as the reward (with information gain considerations).
- Employ Q-learning with an epsilon-greedy policy to balance exploration and exploitation.
- Classify responses by entropy thresholds to separate within-boundary and beyond-boundary questions (e.g., E_th for boundary).
Experimental results
Research questions
- RQ1Can entropy of LLM responses reliably demarcate within- vs beyond-knowledge boundaries?
- RQ2Can an RL agent autonomously generate non-trivial questions near the knowledge boundary?
- RQ3Do KBD-generated questions approximate human-crafted benchmarks in quality?
- RQ4How does KBD compare to expert questioning and random questioning in boundary discovery?
Key findings
- Entropy-based confidence estimation effectively identifies unanswerable questions and delineates knowledge boundaries, achieving high S_aware across datasets.
- KBD-generated questions form non-trivial, boundary-adjacent samples, distinct from random questions when embedded in semantic space.
- KBD discovers coherent knowledge boundaries across domains (medicine, biotechnology, sciences, social/humanities).
- KBD-generated datasets yield EER and F1 scores comparable to human-generated datasets across multiple target models.
- The RL agent converges its policy, with cumulative reward stabilizing after ~50 episodes, indicating successful boundary learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.