AI 為什麼會說錯?認識「幻覺」與如何防範

AI 有時會一本正經地胡說八道,這叫「幻覺」。這篇解釋它為什麼發生,以及怎麼避免被誤導。

AI Can Also "Confidently Speak Nonsense"

You may have encountered this: an AI gives an answer that sounds perfectly reasonable, but upon verification, it's incorrect or even completely fabricated. This phenomenon is called "hallucination," and it's essential to understand when using AI.

Why It Happens

The nature of large language models is to "predict the next most reasonable word," not to "verify facts." When they don't know the answer, they still generate content that "looks reasonable" – essentially making it up. It's not that they're intentionally deceiving you; it's just how they operate.

Most Likely Scenarios for Hallucinations

  • Obscure or specific facts (names, numbers, dates, quotes)
  • The latest information not included in their training data
  • When you ask vague or incorrect questions
  • When you ask for "sources," "papers," or "laws" (which may be fabricated)

How to Prevent Hallucinations

  1. Always verify important information: Especially numbers, quotes, laws, and medical information.
  2. Use tools that provide sources: Such as Perplexity, which allows you to check sources.
  3. Provide sufficient context and avoid vague questions: The clearer your premise, the less likely the AI will fabricate.
  4. Ask it to "say I don't know if I don't know": Clearly request this in your prompt.
  5. Use RAG for enterprise applications: Let AI answer based on your data, see Building an Enterprise AI Knowledge Base.

Conclusion

Hallucinations aren't a sign that AI is broken; it's just its nature. Treat AI as a "smart assistant that's good at talking but sometimes gets it wrong," and take charge of verifying important information. For further reading: The Privacy and Security of Using AI Tools.

A Simple Self-Preservation Habit

Treat AI as a "smart assistant that's good at talking but sometimes tells nonsense":

  • Numbers, dates, quotes, laws → always verify again
  • Important decisions → don't rely solely on AI's words
  • Ask it to "say I don't know if I don't know," which can reduce fabrication

Conclusion

Hallucinations aren't a sign that AI is broken; it's just its nature. Understand it, verify important information, and you can use AI with confidence. For further reading: The Accuracy of AI Content Detection.

Frequently Asked Questions

AI 幻覺是什麼?

AI 一本正經地生成看似合理卻錯誤或捏造的內容。

AI 為什麼會幻覺?

它本質是預測最合理的字,而非查證事實,不知道時仍會編出合理內容。

怎麼避免被 AI 誤導?

重要資訊查證、用附來源的工具、給足脈絡、要它不確定就說不知道。

繁體中文版 →