关于「漏与不漏:注意力的能量账」,《欲望的热力学》给出的定量结论是什么?
结论:即使完全没有不确定性的拉力(\(\kappa = 0\)),也有一些分钟给了手机:按概率做选择总会抽样到其他选项。但一旦不确定性会吸引注意,手机就拿走了 180 分钟里的 112 分钟,尽管它的平均奖赏只有伴侣的一半。伴侣并没有变得不那么令人愉快。伴侣只是变得*已知*了,而手机永远不会。手机放到另一个房间时,漏出为零,晚上的熵降到零比特。
数据口径:本书不是心理治疗、婚恋咨询或医疗建议。 书中以标注框区分已发表的证据、可运行的 Python 推导(32 段,全部核对)、原典与作者的假说;凡物理与爱情之间只是类比的地方都直接说明,每个假说都写明什么结果会推翻它。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 112, 180
| scenario | partner | phone | switches | H (bits) |
|---|---|---|---|---|
| phone present, no pull of uncertainty | 134 | 46 | 65 | 0.82 |
| phone present, uncertainty attracts | 68 | 112 | 75 | 0.96 |
| phone in another room | 180 | 0 | 0 | 0.00 |
查看完整验算程序
import math, random
from math import log2
def evening(phone_available, kappa, seed=3, minutes=180):
"""Each minute, attend to the partner or the phone. The partner is reliably rewarding (0.3 per minute);
the phone pays 1.0 with probability 0.15 (mean 0.15). kappa = how strongly unresolved uncertainty attracts."""
rng = random.Random(seed)
Q = {"partner": 0.0, "phone": 0.0} # learned value per minute
U = {"partner": 0.0, "phone": 0.0} # running mean of squared prediction error
use = {"partner": 0, "phone": 0}
switches, last = 0, None
for day in range(30): # thirty evenings of learning; report the last one
use = {"partner": 0, "phone": 0}
switches, last = 0, None
for m in range(minutes):
options = ["partner", "phone"] if phone_available else ["partner"]
w = [math.exp(8 * (Q[o] + kappa * U[o] ** 0.5)) for o in options]
o = rng.choices(options, weights=w)[0]
r = 0.3 if o == "partner" else (1.0 if rng.random() < 0.15 else 0.0)
d = r - Q[o]
Q[o] += 0.05 * d
U[o] += 0.05 * (d * d - U[o])
use[o] += 1
switches += (last is not None and o != last)
last = o
p = [use[o] / minutes for o in use if use[o]]
H = 0.0 - sum(x * log2(x) for x in p)
return use["partner"], use["phone"], switches, H
print(f"{'scenario':38s} partner phone switches H (bits)")
for name, avail, kappa in (("phone present, no pull of uncertainty", True, 0.0),
("phone present, uncertainty attracts", True, 0.6),
("phone in another room", False, 0.6)):
a, b, s, H = evening(avail, kappa)
print(f"{name:38s} {a:5d} {b:5d} {s:8d} {H:8.2f}")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《欲望的热力学》第 5 章「漏与不漏:注意力的能量账」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.23682498
DOI: 10.5281/zenodo.23682498 · 阅读本章所在专著 · 5DL-B-004 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026004,
author = {Fan, Yafu},
title = {The Thermodynamics of Desire},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.23682498},
url = {https://doi.org/10.5281/zenodo.23682498}
}