The present invention proposes an optimization method, device and readable storage medium for a
knowledge base question-answering
system based on
hybrid fine-tuning and multi-dimensional evaluation, and proposes the following solutions: constructing a
hybrid progressive fine-tuning framework that integrates Low-Rank
Adaptation (LoRA) and Direct Preference Optimization (DPO), and achieving
domain knowledge transfer through hierarchical dynamic parameter configuration; establishing a three-dimensional quantification
evaluation system of "logic-
semantics-knowledge", and forming a closed-
loop optimization by using dynamic weight fusion and a visual decision-making
system; designing a multi-domain prompt
template library with hierarchical parameter freezing, sparse constraints and attention driving to achieve model lightweight and cross-domain logical constraints. The present invention breaks through the
adaptation bottleneck between the general model and domain characteristics, improves the small-sample training efficiency and the compliance of the generated content, reduces the consumption of computing resources, provides an efficient and reliable knowledge service foundation for professional scenarios such as law,
medicine, finance, etc., and has technical advantages of specialization, lightweight and
interpretability.