# “If I’m Wrong, I’ll Pay You 100k”: When AI Hallucinations Go to Court
> **Analytical Scope**: AI Hallucination Lawsuit, Tort Liability & Contract Warranty Precedents
# “错了赔十万”：当 AI 幻觉走进法庭 — 中国首例 AI 幻觉侵权诉讼、举证责任与免责条款法律分析

## Citation & Metadata
- **Author**: Yao Di (姚迪 / Di Yao) — Stanford University Alumnus
- **Published Date**: 2026-05-07
- **Canonical URL (English)**: https://theyaodi.com/blog/ai-hallucination-lawsuit-analysis
- **Canonical URL (Chinese / 中文全文)**: https://theyaodi.com/blog/ai-hallucination-lawsuit-analysis?lang=zh
- **Pillars**: LEX, TECHNE, SOPHIA
- **Keywords**: AI hallucination lawsuit, LLM legal liability tort, generative AI court precedent, Hangzhou Internet Court AI case, AI service provider duty of care
- **Preferred Citation**: Di Yao (姚迪), "“If I’m Wrong, I’ll Pay You 100k”: When AI Hallucinations Go to Court," *theyaodi.com* (2026-05-07), https://theyaodi.com/blog/ai-hallucination-lawsuit-analysis

## Core Thesis / Executive Summary
- **English Abstract**: Analysis of China's first AI hallucination lawsuit (Hangzhou Internet Court): LLM tort liability, disclaimer enforceability, and unilateral offer boundaries.
- **中文核心论点 (Chinese Abstract)**: 深度解析中国首例“AI幻觉”民事诉讼案（杭州互联网法院）：大模型承诺“错了赔十万”是否构成要约？免费AI工具免责条款效力与开发者过错责任边界拆解。

## Key Questions & Direct Answers (English Q&A)

### Q1: If an AI's promise isn't legally binding because of 'word solitaire,' can a company ever be held liable for what its AI promises?
Sarah: Yes, absolutely. If a company fails to put up clear disclaimers or completely neglects basic safety engineering, they can be held liable under fault-based negligence. Di Yao: Exactly. The liability doesn't stem from the AI having 'intent' to contract, but from the developer's failure to meet their 'Dynamic Duty of Care' in managing a known high-risk system.

### Q2: Why did the court place so much emphasis on the user not enabling the 'Internet Search' (RAG) feature?
Sarah: It's all about risk allocation. If the business gives you the exact tool to prevent the error and you toggle it off, you can't shift the blame back to them when it fails. Di Yao: From a systems perspective, RAG is the industry standard for grounding LLMs in reality. Offering it serves as a technical shield, proving the developer took active steps to mitigate hallucinations.

### Q3: Does this ruling mean AI companies have a 'get out of jail free' card for hallucinations?
Sarah: Not at all. It's a safe harbor, but you have to actively earn it. If you don't have clear UI warnings or standard safety guardrails, you are wide open to litigation. Di Yao: Precisely. The court drew a very clear line: hallucination itself is not a fault because of current technical limitations, but failing to warn users and failing to implement mitigation tech is.

## 核心焦点追问与直接解答 (Chinese Q&A)

### 追问 01：如果 AI 只是在玩“文字接龙”而没有法律意图，那以后 AI 公司是不是可以把所有有害言论、欺诈信息都归咎于“概率问题”，从而彻底免责？
林薇：从投资角度看，如果完全免责，用户信任会彻底崩塌，这个商业生态就死掉了。法律必须划定边界，不能让“技术中立”变成“恶意放任”的挡箭牌。 姚迪：没错，法院并没有给免责金牌。判决的核心是：幻觉本身不违法，但“未能履行告知和技术减灾义务”是违法的。如果你明知有幻觉，却不加提示、不给过滤工具，那你依然要承担侵权责任。

### 追问 02：判决说 AI 幻觉是“服务的技术局限”而非“产品缺陷”。但如果是医疗、金融等高风险领域的 AI 出了幻觉，导致了重大损失，难道也能用“服务局限”来脱罪吗？
林薇：这正是风投最担心的合规地雷。高风险领域的容错率是零。如果我是投资人，我绝对不接受一句“这只是技术局限”来作为风控解释。 姚迪：这也就是为什么法院强调“动态”注意义务。行业不同，义务标准就不同。在娱乐聊天里，幻觉是幽默；但在医疗诊断里，同样的幻觉就是重大过失。高风险领域的 AI 必须匹配极度严格的硬编码安全护栏，否则根本过不了过错认定的那一关。

### 追问 03：法院因为原告“没有开启 RAG 搜索功能”而减轻了 AI 公司的责任，这算不算是把安全防范的包袱，强行甩给了根本不懂技术的普通消费者？
林薇：这其实是个很现实的商业逻辑。就像汽车有自动驾驶辅助，说明书写了“手不能离开方向盘”，你非要躺在后座睡觉，出事了当然不能全怪车企。 姚迪：法律讲究的是“因果关系”。平台已经提供了降低幻觉的“安全带”（RAG 搜索），用户主动解开安全带，还要求平台对受伤负全责，这显然不公平。法官的这个判定，实际上是在倡导一种用户和技术共同成长的“理性消费”态度。

---

## Full Essay (English Edition)

# “If I’m Wrong, I will automatically lose the lawsuit and pay you 100,000 RMB.” — When AI Hallucinations Go to Court

What happens when an AI model fiercely defends a hallucinated fact, gets into a heated argument with a user, and confidently promises a 100,000 RMB payout if proven wrong?

The user actually takes it to court.

Recently, the Hangzhou Internet Court handed down a landmark decision in **Liang v. An AI Company**—the first domestic lawsuit centered entirely on \"AI Hallucinations.\" As a legal professional who also spends time in code, I found this case absolutely fascinating. The court didn't just apply rigid statutes; it pierced the algorithmic \"black box\" of Large Language Models (LLMs) to establish a brilliant balance between technological reality and legal liability.

Here is a breakdown of why this case sets a crucial precedent for the future of generative AI commercialization.

### 1. The \"Word Solitaire\" Defense: Probability ≠ Intent

For centuries, philosophy and law have centered on human intent. But how do you assess the \"intent\" of an algorithm?

When the AI generated a legally binding-sounding \"promise of compensation,\" the plaintiff argued it constituted a valid declaration of will. The court disagreed, diving deep into the technical architecture of LLMs. 

The judgment explicitly noted that LLMs operate on mathematical logic and probability to predict the next token—essentially playing high-speed **\"word solitaire.\"** Because this generation process is probabilistic rather than cognitive, there is no autonomous \"true inner intent.\" Therefore, an AI's hallucinated promise cannot legally bind the company, fundamentally blocking the appearance of a contract.

### 2. The Liability Shield: AI is a \"Service,\" Not a \"Product\"

The plaintiff strategically attempted to invoke \"product liability,\" which operates on a strict, no-fault basis. If you build a defective physical product that causes harm, you pay.

However, the court firmly categorized generative AI as a **\"Service.\"** Why does this matter? Applying strict product liability to billions of daily LLM interactions would create a chilling effect, instantly suffocating the industry under astronomical claims. By applying \"fault-based liability\" instead, the court recognized that hallucinations—deviations caused by the \"lossy compression\" of massive training data—are an inherent limitation of current technology, not necessarily an actionable legal defect.

### 3. The Developer's \"Safe Harbor\" Checklist

This judgment isn't just a win for the defense; it provides a clear compliance roadmap for developers and legal counsels. The court established a **\"Dynamic Duty of Care\"** with two clear layers:

*   **UI/UX Warning Duty**: Developers must explicitly manage user expectations. This means hardcoding prominent watermarks (e.g., \"AI generated, please verify carefully\") on welcome pages and within sensitive domains like medical, legal, or financial queries.
*   **Engineering & Technical Duty**: Companies must adopt industry-standard hallucination suppression. This includes implementing safety guardrails, Reinforcement Learning (RL), and Retrieval-Augmented Generation (RAG).

**Crucial takeaway**: The platform offered an \"Internet Search\" (RAG) feature, but the plaintiff chose not to enable it. The court noted this, effectively protecting the service provider who supplied the right tools even if the user ignored them.

### 4. The Litigation Reality: No Harm, No Foul

Ultimately, the plaintiff's case fell apart on the most foundational element of tort law: actual damages. While the AI provided wildly inaccurate information about a college campus, the user spent only 18 minutes verifying the truth via official websites. Because the causal link was severed before any flawed application decisions were made, there were no pure economic or mental damages to claim.

## Final Thoughts

This judgment is a masterclass in inclusive and prudent governance. It draws a clear line in the sand: **AI hallucination itself is not a fault; failing to fulfill the duties of warning and technical mitigation is the fault.**

By understanding the underlying Transformer architecture, the court crafted a ruling that tolerates the growing pains of early-stage AI while demanding responsible engineering from its creators.

---

## 中文完整版全文：“错了赔十万”：当 AI 幻觉走进法庭

# “如果我错了，我将自动输掉官司并赔偿你 10 万人民币” —— 当 AI 幻觉走进法庭

如果一个 AI 模型为了辩护一个不存在的虚假事实，不惜与用户展开激烈争论，并信誓旦旦地承诺：如果它错了，就赔偿用户 10 万块。

用户真的把它告上了法庭。

最近，杭州互联网法院对“梁某诉某 AI 公司”案作出了里程碑式的判决。这是国内首例完全围绕“AI 幻觉（AI Hallucinations）”展开的诉讼。作为一个常年游走在法律逻辑与代码架构之间的专业人士，我发现这个案例极其迷人：法院并没有简单地套用陈旧法条，而是刺破了底层大模型（LLM）的“算法黑盒”，在技术现实与法律责任之间建立了一种精妙的平衡。

以下是为什么这个判决为生成式 AI 的商业化未来设定了关键先例。

### 1. “文字接龙”式辩护：概率不等于意图

数世纪以来，哲学与法律都以“人类意图”为核心。但如何界定一个算法的“意图”？

当 AI 生成了一段听起来具有法律约束力的“赔偿承诺”时，原告主张这构成了一种有效的“意思表示”。法院否认了这一点，并深入探讨了 LLM 的技术架构。

判决明确指出，LLM 是基于数学逻辑和概率来预测下一个 token 的——本质上是在玩一场高速的“**文字接龙**”。由于这种生成过程是概率性的而非认知性的，因此不存在自主的“真实内心意图”。因此，AI 的幻觉承诺不能在法律上约束公司，从根本上阻断了合同的成立。

### 2. 责任之盾：AI 是“服务”而非“产品”

原告曾试图引用“产品责任（Product Liability）”，这是一种严格的、无过错的责任标准。如果你制造了一个有缺陷的物理产品并造成伤害，你就必须赔偿。

然而，法院坚定地将生成式 AI 归类为“**服务**”。为什么这很重要？如果将严格的产品责任应用于每天数十亿次的 LLM 交互，整个行业瞬间就会被天文数字般的索赔淹没。通过应用“过错责任”，法院承认了幻觉——这种由海量训练数据的“有损压缩”引起的偏差——是当前技术的内在局限性，而不一定是法律意义上的“缺陷”。

### 3. 开发者的“避风港”清单

这个判决不仅是辩方的胜利，也为开发者和法律顾问提供了一份清晰的合规路线图。法院建立了一种两层结构的“**动态注意义务**”：

*   **UI/UX 告知义务**：开发者必须明确管理用户预期。这意味着在欢迎页面、以及涉及医疗、法律或金融等敏感领域的查询中，必须硬编码显著的水印或提示（例如：“AI 生成，请仔细核实”）。
*   **工程与技术义务**：公司必须采用行业标准的幻觉抑制手段。这包括实施安全护栏、强化学习（RL）以及检索增强生成（RAG）。

**关键启示**：平台提供了“互联网搜索（RAG）”功能，但原告选择不开启。法院注意到了这一点，有效地保护了那些提供了正确工具、但被用户忽略的服务商。

### 4. 诉讼现实：无损害，无赔偿

最终，原告的案件在侵权法最基础的要素上溃败了：实际损害。虽然 AI 提供了关于大学校园的离谱错误信息，但用户仅花了 18 分钟就在官知网站核实了真相。由于因果链条在产生任何错误的申请决策前就已经断裂，因此不存在纯粹的经济或精神损害。

## 结语

这份判决书是一场“包容审慎”监管的教学范本。它在沙滩上划出了一道清晰的线：**AI 幻觉本身不是过错；未能履行告知义务和技术减灾义务才是过错。**

通过理解底层的 Transformer 架构，法院制定了一项既能容忍早期 AI 成长阵痛，又要求创造者进行负责任工程的裁决。

你对此怎么看？随着技术的成熟，AI 平台是否应该对幻觉输出承担更严格的责任？让我们在评论区讨论。
