The application discloses a
small sample knowledge base construction method and device for a
vertical field, and the method comprises the following steps: acquiring data of the
vertical field from multiple channels, and performing cleaning, light
annotation and structural
processing on the acquired data to obtain field sample data; fine-tuning a pre-trained
large model based on the field sample data, extracting field knowledge including entities, relationships and attributes based on the fine-tuned model, and verifying and integrating the extracted field knowledge to form a standardized
knowledge base; acquiring new knowledge data, incrementally training the model using a weighted incremental
loss function, outputting an optimized field model, extracting new knowledge from the new data using the optimized field model, verifying the new knowledge and fusing the new knowledge into the existing
knowledge base; periodically evaluating the quality of the knowledge base and the performance of the model according to a field knowledge update cycle, generating a comprehensive evaluation
score, and optimizing the
knowledge extraction rules, the incremental training strategy and the knowledge base Schema according to the
evaluation result.