[Paper Review] Knowledgeable Preference Alignment for LLMs in Domain-specific Question Answering
This paper proposes KnowPAT, a knowledge-aware preference alignment framework that enhances LLMs for domain-specific question answering by integrating domain knowledge graphs and learning human-aligned preferences. It introduces style and knowledge preference sets with a novel alignment objective, outperforming 15 baselines in generating reliable, user-friendly answers while selectively using retrieved knowledge.
Deploying large language models (LLMs) to real scenarios for domain-specific question answering (QA) is a key thrust for LLM applications, which poses numerous challenges, especially in ensuring that responses are both accommodating to user requirements and appropriately leveraging domain-specific knowledge bases. They are the two major difficulties for LLM application as vanilla fine-tuning falls short of addressing. Combining these requirements, we conceive of them as the requirement for the model's preference to be harmoniously aligned with humans'. Thus, we introduce Knowledgeable Preference AlignmenT (KnowPAT), which constructs two kinds of preference sets to tackle the two issues. Besides, we design a new alignment objective to align the LLM preference with different human preferences uniformly, aiming to optimize LLM performance in real-world, domain-specific QA settings. Adequate experiments and comprehensive comparisons with 15 baseline methods illustrate that our KnowPAT is a superior pipeline for real-scenario domain-specific QA with LLMs.
Motivation & Objective
- To address the challenge of deploying LLMs in real-world domain-specific question answering with reliable and user-friendly outputs.
- To overcome limitations of vanilla fine-tuning in handling irrelevant or excessive knowledge retrieval.
- To unify the need for user-friendly response style and correct knowledge utilization under a single preference alignment framework.
- To develop a method that preserves general knowledge while acquiring domain-specific expertise from knowledge graphs.
Proposed method
- Constructs a style preference set to guide the LLM in generating user-friendly, natural-sounding responses.
- Creates a knowledge preference set using retrieved knowledge triples to enable selective and accurate knowledge utilization.
- Designs a novel preference alignment objective that aligns model generation with human preferences using both style and knowledge preferences.
- Integrates retrieved knowledge triples not only as context but also as active components in preference set construction.
- Employs a retrieval-augmented fine-tuning pipeline where the LLM is trained on prompts enriched with both knowledge and preference signals.
- Utilizes a dual-branch loss objective to jointly optimize for response quality (via reward modeling) and generation fluency (via PPL).
Experimental results
Research questions
- RQ1How can LLMs be aligned with human preferences to generate both reliable and user-friendly answers in domain-specific QA?
- RQ2To what extent can retrieved knowledge be selectively used to avoid hallucinations or irrelevant content?
- RQ3Can a unified preference alignment framework effectively balance style and knowledge utilization in LLMs?
- RQ4How does the proposed method preserve general knowledge while acquiring domain-specific expertise?
Key findings
- KnowPAT achieves a BLEU-1 score of 22.56 and ROUGE-1 of 20.28, significantly outperforming the strongest baseline.
- Ablation studies show that removing any component—especially fine-tuning, adaptive weighting, or knowledge preference set—leads to a drop in performance.
- The model maintains strong general knowledge capabilities, with only a minor decline in medicine and slight gains in economics on the CMMLU benchmark.
- In case studies, KnowPAT correctly ignores irrelevant retrieved knowledge (e.g., MAC as lipstick), while baselines like RRHF are misled by it.
- The model generates more informative and natural-sounding answers, such as including host parameters in alarms, compared to gold-standard references.
- The reward score of -1.69 indicates strong alignment with human preferences, outperforming baselines with scores below -2.0.
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.