关于「只把例外送上来:自动闸门、随机抽检与协调开销」,《单兵指挥与串行瓶颈》给出的定量结论是什么?

结论:第五章讲自动闸门,送审约两成时天花板升到 21.75 倍,窗口间相干开销使容量在 21.21 个窗口处见顶。

数据口径:示意参数下,把串行份额从两成降到半成使加速比增加 3.325,把智能体从十个加到一百个只增加 1.236。 书中参数均为示意;全部计算由书中程序生成。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 21.75

cTPRFPRreviews1/sslip/1k
-inf1.0001.0001.0000.20005.000.00
0.00.9770.5000.5240.11588.641.14
0.50.9330.3090.3400.078312.773.34
1.00.8410.1590.1930.046021.757.93
1.50.6910.0670.0980.023941.8015.43
2.00.5000.0230.0470.011586.8125.00
2.50.3090.0060.0210.0053188.5634.57
no gate, no review: s = 0, slip = 50.0 per 1000
查看完整验算程序
# Chapter 5. p51: An automatic gate sends only exceptions upstairs.
# Model: a share PI = 0.05 of agent outputs is bad. An automatic gate
# scores each output; good scores ~ Normal(0, 1), bad ~ Normal(2, 1)
# (a binormal ROC with d' = 2). Outputs scoring above the threshold c
# go to the commander (r = 12 min each); the rest ship unreviewed.
# Agent work per item a = 48 min. Reviewed share f, serial share
# s = f r / (a + f r), ceiling 1/s, and bad outputs that slip through
# per 1000 shipped. c = -inf reviews everything (s = 0.20).
# All parameters are illustrative.
from statistics import NormalDist

PI, DPRIME, A, R = 0.05, 2.0, 48.0, 12.0
Z = NormalDist()


def row(c):
    if c is None:
        tpr, fpr = 1.0, 1.0
    else:
        tpr = 1.0 - Z.cdf(c - DPRIME)
        fpr = 1.0 - Z.cdf(c)
    f = PI * tpr + (1.0 - PI) * fpr
    s = f * R / (A + f * R)
    slip = PI * (1.0 - tpr) * 1000.0
    return tpr, fpr, f, s, slip


print("%6s %7s %7s %8s %7s %8s %9s" % ("c", "TPR", "FPR", "review",
                                      "s", "1/s", "slip/1k"))
for c in [None, 0.0, 0.5, 1.0, 1.5, 2.0, 2.5]:
    tpr, fpr, f, s, slip = row(c)
    lab = " -inf" if c is None else "%6.1f" % c
    print("%6s %7.3f %7.3f %8.3f %7.4f %8.2f %9.2f" % (
        lab, tpr, fpr, f, s, 1.0 / s, slip))
print("no gate, no review: s = 0, slip = %.1f per 1000" % (
    PI * 1000.0))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《单兵硅基帝国宪章学、串行总司令决策带宽与阿姆达尔串行瓶颈破局母典》第 5 章「只把例外送上来:自动闸门、随机抽检与协调开销」(版本 1.0.0). 5D Library. DOI 待发布

DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-253 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026253,
  author    = {Fan, Yafu},
  title     = {Constitutional Engineering for a One-Commander Silicon Empire: Serial Decision Bandwidth and Breaking Amdahl's Bottleneck},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

本书其他章节结论