Text illusion detection method and device based on large language model

Through the text hallucination detection method based on large language models, using prompt engineering and Agent to identify keywords and intentions, calling a variety of tools to query evidence, integrating and repairing hallucination content, the problem of hallucinations generated by large language models is solved, and text content is realized. Authenticity and accuracy, suitable for a variety of application scenarios.

CN118535684AActive Publication Date: 2024-08-23SHANDONG INSPUR SCI RES INST CO LTD

Patent Information

Application Number
CN202410992975.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-08-23
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

Large language models can easily introduce inaccurate or fictitious information in the text generation process, making it difficult to completely solve the problem of model hallucination and affecting model evaluation and application.

Method used

A text hallucination detection method based on a large language model is adopted. Prompt engineering is used to generate prompt words, identify keywords, and construct query questions. Agents are used to identify intentions, call local and external tools to query evidence, organize and form text content, and locate and repair hallucination parts.

Benefits of technology

It effectively solves the problem of large model text generation illusion, ensures the authenticity of the content and the integrity of semantic information, and has the advantages of simplicity, efficiency, and wide application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535684A
    Figure CN118535684A
Patent Text Reader

Abstract

The invention discloses a text illusion detection method and device based on a large language model, and relates to the technical field of natural language processing. According to the device, cue words are constructed on the basis of a cue project, a large language model is called for keyword extraction and query problem generation, then Agents are called for intention recognition, tools needing to be called are determined, related factual content is obtained, and finally consistency check and illusion repair are conducted on the basis of the large model. According to the method, the problem of large model text generation illusion can be well solved by utilizing the large language model and Agent and RAG related technologies, the authenticity of the content is ensured under the condition that the original semantic information is not lost, and the method has the advantages of being simple, efficient, easy to maintain, wide in application scene and the like.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Method and system for solving illusion problem of large legal language model

    CN117744802A

  • Big language model illusion relieving scheme based on citation correction

    CN117910449A

  • Method and system for checking and relieving hallusion of large language model by using external knowledge base

    CN117932086A

  • Large model illusion detection method and device, computer equipment and storage medium

    CN117972033A

  • Method and device for illusion detection and restoration in text generation task

    CN117973564A

Cited By

  • Illusion text relieving method and device, equipment, storage medium and program product

    CN119378692A

  • Literature recommendation method and related equipment

    CN119441469A

  • Detecting hallucination in a language model

    US12670327B2

  • System of correcting LLM hallucinations

    US12694227B1

  • Detecting hallucination in a language model

    US20240419912A1