The invention discloses a
knowledge question-answering method and device fusing data completion and space-time anomaly
perception, and belongs to the field of intelligent question-answering and credible generation in
artificial intelligence, and the method comprises knowledge
anomaly detection, retrieval enhancement generation, and question-answering based on
artificial intelligence. According to the method, under the complex conditions that grammar errors,
information loss, space-time
dislocation or sensitive expression exist in
user input, a space-time consistency constraint mechanism penetrating through the whole process of input-retrieval-generation-
verification is constructed, so that a
system actively recognizes and corrects multi-dimensional anomalies, wrong intention analysis and fact
distortion propagation are avoided, and the user experience is improved. And the end-to-end question and answer service with high robustness and high credibility is realized. Meanwhile, prompt words and generated contents can be intelligently complemented according to context reasoning and
domain knowledge under the condition of lacking a complete user instruction, and meanwhile it is ensured that output is strictly aligned with a real scene in the aspects of time, space and logic. Furthermore, in order to improve the factual accuracy and safety of the generated content, a'detection-correction-
verification 'dual-stage closed-loop governance architecture is realized by utilizing an
anomaly detection model (NN1 / NN3) and a correction generation model (NN2 / NN4) which are jointly trained, and landing application of a credible intelligent question-answering
system in high-risk professional scenes such as
medical treatment, law and industrial maintenance is effectively supported.