Large language models (LLMs) are widely used nowadays, but it is well known that LLMs can have hallucinations, meaning they may output nonsense.
Hallucinations found in human beings are caused by diseases, which involve five different kinds of senses. A phantom is also a kind of medical phenomenon, but it refers to a specific case. In database systems, "phantom" and "phantom read" refer to a scenario where a query in a transaction may read a different set of rows at different executions. This happens because a concurrent and committed transaction may introduce new rows that match the query criteria. We can find many documents on MySQL, SQL Server, etc., discussing this problem.
大規模言語モデル(LLM)は現在広く使用されていますが、LLMには幻覚が生じることが知られており、時には無意味な出力をすることがあります。
人間に見られる幻覚は、五感に関わる病気によって引き起こされます。ファントムも特定のケースを指す医療現象ですが、データベースシステムでは「ファントム」や「ファントムリード」は、トランザクション内のクエリが異なる実行時に異なる行セットを読み取るシナリオを指します。これは、同時進行中のコミットされたトランザクションが、クエリ条件に一致する新しい行を導入するためです。この問題に関しては、MySQLやSQL Serverなどのドキュメントで多くの情報を見つけることができます。
大规模语言模型(LLM)现在被广泛使用,但众所周知,LLM可能会出现幻觉,也就是说,它们可能会输出无意义的内容。
在人类中发现的幻觉是由涉及五感的疾病引起的。幻影也是一种医学现象,但它指的是一种特定的情况。在数据库系统中,“幻影”和“幻影读”指的是在一个事务中的查询在不同执行时读取不同的行集的情况。这是因为并发且已提交的事务可能会引入符合查询条件的新行。我们可以在MySQL、SQL Server等文档中找到许多关于这个问题的信息。