机器学习中的不确定性:为何模型永远会错

大多数机器学习模型本质上都带有不确定性,即便它们看起来并非如此。我在文章中区分了两种不确定性:Epistemic uncertainty源于我们尚未学到的知识,可以通过更多数据减少;而Aleatoric uncertainty则源于无法观测的因素,即使增加数据也无法消除。理解这两种不确定性对于决策至关重要,因为单一预测无法涵盖所有可能结果,尤其是在面对罕见但代价高昂的风险时。通过实际案例,如车道分叉处的转向预测,我展示了如何建模不确定性,并解释了为何模型永远无法完全正确,但有些模型依然有用。这不仅关乎技术细节,更关乎如何做出更明智的决策。

# 机器学习中的不确定性:为何模型永远会错

Original title: An introduction to uncertainty in machine learning

> Hacker News story 50658498 · language: zh · submitted 2026-11-26
> Web version: https://zeli.app/zh/story/50658498
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 95 · by [chrhenning](<https://news.ycombinator.com/user?id=chrhenning>) · 💬 6
[original](<https://chrhenning.com/blog/2026/introduction-to-uncertainty/>) · [HN discussion](<https://news.ycombinator.com/item?id=50658498>)

## Summary

大多数机器学习模型本质上都带有不确定性,即便它们看起来并非如此。我在文章中区分了两种不确定性:Epistemic uncertainty源于我们尚未学到的知识,可以通过更多数据减少;而Aleatoric uncertainty则源于无法观测的因素,即使增加数据也无法消除。理解这两种不确定性对于决策至关重要,因为单一预测无法涵盖所有可能结果,尤其是在面对罕见但代价高昂的风险时。通过实际案例,如车道分叉处的转向预测,我展示了如何建模不确定性,并解释了为何模型永远无法完全正确,但有些模型依然有用。这不仅关乎技术细节,更关乎如何做出更明智的决策。

## Key quote

> 本质上,所有模型都是错的,但有些模型是有用的。

## HN discussion (6 comments)

### [Renina](<https://news.ycombinator.com/item?id=50665947>)

> 风力发电的例子我特别喜欢。有点让人不安的是,你最需要准确预测概率的那些情况,恰恰也是你数据最少的情况。

### [lnxsxu](<https://news.ycombinator.com/item?id=50664387>)

> 假设九个恢复测试在一小时内完成,而第十个测试你在四小时后放弃了。如果仪表盘只统计已完成的作业,就会显示 100% 在一小时内完成。你可以通过这种方式收集多年的数据,从而对能完成的恢复任务得出非常精确的结论。但当有人问我们有多大把握能在四小时内恢复时,我想谈论的正是那第十个测试。

### [charm137](<https://news.ycombinator.com/item?id=50663012>)

> 非常好的入门介绍——谢谢!
>
> 你觉得对于非参数模型的不确定性刻画,或者其界限(比如切比雪夫界限)该如何定位?

---

## Cite

- Page: https://zeli.app/zh/story/50658498
- Date: 2026-11-26
- Source: chrhenning.com (https://chrhenning.com/blog/2026/introduction-to-uncertainty/)
- Hacker News: https://news.ycombinator.com/item?id=50658498

## Other languages

- en: https://zeli.app/story/50658498 · markdown: https://zeli.app/story/50658498.md
- ja: https://zeli.app/ja/story/50658498 · markdown: https://zeli.app/ja/story/50658498.md
- ko: https://zeli.app/ko/story/50658498 · markdown: https://zeli.app/ko/story/50658498.md
- de: https://zeli.app/de/story/50658498 · markdown: https://zeli.app/de/story/50658498.md
- es: https://zeli.app/es/story/50658498 · markdown: https://zeli.app/es/story/50658498.md
- ru: https://zeli.app/ru/story/50658498 · markdown: https://zeli.app/ru/story/50658498.md

HN Discussion · Zeli Story