5D Library › 具身认知、伯恩斯坦自由度问题与运动协同的控制理论 · English
第八章 实践与预注册试验
注
本章的核查表是一个分析数据的思考工具,不是训练、康复或治疗的处方。 示例中的两名参与者与全部数据都是虚构的,只用来演示计算。试验方案是一份供独立研究者评议与实施的设计,不是对任何训练方法有效的承诺。有伤病、疼痛或神经系统疾病的人应咨询专业人员。
第一部分 四步具身协同核查表
前六章的内容可以整理成四个问题。它们适用于任何「用多个元素完成一个低维任务」的数据:关节与指尖、手指与总力、肌肉与关节力矩。
- 写下任务变量与冗余度。 假设被稳定的变量是什么(指尖位置、光标、总力)?元素有几个(),任务变量有几维()?在哪个时刻分析?任务变量要在看数据之前写下,否则很容易「找到」一个恰好被稳定的变量(第二章)。
- 按自由度分解变异,并给出区间。 计算每个自由度的 与 、 或 ,并用自助法给出置信区间;只有 20 个左右的试次时,区间可能很宽(第二章)。
- 检查坐标与零模型。 换一种合理的坐标(相对角与绝对角、度与弧度以外的缩放、不同关节的单位)结论还在吗?在同样试次数、彼此独立的元素这一零模型下,指标会落在什么范围(第二章)?如果用的是肌电与 NMF,还要检查记录了哪些肌肉、任务约束能否解释低维性(第五章)。
- 回到任务结果。 最后看任务变量本身的误差与它在新条件下的表现。协同指数大不等于任务做得好;第六章的模型中,协同指数可以在任务误差不变时大幅变化。
推导
把核查表用在第八章任务的虚构数据上:两个关节角驱动一个一维光标(光标 ),两名参与者各 24 个试次。A 的变异沿 UCM 很大(标准差 4.0°)、ORT 方向 1.6°;B 分别为 1.5° 与 0.9°。
# The four-step embodied-synergy checklist applied to SIMULATED data from the Chapter 8
# task: two joint angles (deg) drive one cursor, y = 0.8 q1 + 0.6 q2, so n = 2, d = 1.
# Two invented participants, 24 trials each at one time point of the movement.
# Step 1: task variable and redundancy. Step 2: per-DOF variances, ln(Vucm/Vort) with a
# bootstrap CI. Step 3: coordinate check (joint 2 expressed in other units/scaling)
# and a null model. Step 4: back to the outcome (task error), not the index.
import math, random
J = (0.8, 0.6)
def decompose(trials, j=J):
n = math.hypot(*j); e = (j[0] / n, j[1] / n); u = (-e[1], e[0])
m = [sum(t[i] for t in trials) / len(trials) for i in (0, 1)]
dev = [(t[0] - m[0], t[1] - m[1]) for t in trials]
vo = sum((d[0] * e[0] + d[1] * e[1]) ** 2 for d in dev) / (len(dev) - 1)
vu = sum((d[0] * u[0] + d[1] * u[1]) ** 2 for d in dev) / (len(dev) - 1)
return vu, vo # both 1-D here, so already per DOF
def boot_ci(trials, rng, reps=2000):
est = []
for _ in range(reps):
vu, vo = decompose([rng.choice(trials) for _ in trials])
est.append(math.log(vu / vo))
est.sort(); return est[int(0.025 * reps)], est[int(0.975 * reps) - 1]
def person(rng, s_ucm, s_ort, n=24):
n0 = math.hypot(*J); e = (J[0] / n0, J[1] / n0); u = (-e[1], e[0])
out = []
for _ in range(n):
a, b = rng.gauss(0, s_ucm), rng.gauss(0, s_ort)
out.append((20 + a * u[0] + b * e[0], 30 + a * u[1] + b * e[1]))
return out
if __name__ == "__main__":
rng = random.Random(43)
people = {"A": person(rng, 4.0, 1.6), "B": person(rng, 1.5, 0.9)}
print("step 1: n = 2 joints, d = 1 task variable -> UCM and ORT are each 1-D")
print("step 2: per-DOF variances (deg^2) and ln(Vucm/Vort), 95 % bootstrap CI")
for k, t in people.items():
vu, vo = decompose(t); lo, hi = boot_ci(t, rng)
print(f" person {k}: Vucm {vu:6.2f} Vort {vo:5.2f}"
f" ln ratio {math.log(vu / vo):+.2f} ({lo:+.2f} to {hi:+.2f})")
print("step 3a: joint 2 recorded in other units (x 2) -> ln ratio changes:")
for k, t in people.items():
vu, vo = decompose([(a, 2 * b) for a, b in t], (J[0], J[1] / 2))
print(f" person {k}: ln ratio {math.log(vu / vo):+.2f}")
null = []
for _ in range(4000): # null: independent joints, equal SDs
t = [(rng.gauss(0, 2), rng.gauss(0, 2)) for _ in range(24)]
vu, vo = decompose(t); null.append(math.log(vu / vo))
null.sort()
print("step 3b: null model (24 trials, independent joints with equal SDs):")
print(f" 95 % of ln ratios fall in {null[100]:+.2f} to {null[3899]:+.2f}")
print("step 4: back to the outcome, SD of the cursor (task units):")
for k, t in people.items():
y = [J[0] * a + J[1] * b for a, b in t]; m = sum(y) / len(y)
sd = math.sqrt(sum((v - m) ** 2 for v in y) / (len(y) - 1))
print(f" person {k}: cursor SD {sd:.2f}")
# step 1: n = 2 joints, d = 1 task variable -> UCM and ORT are each 1-D
# step 2: per-DOF variances (deg^2) and ln(Vucm/Vort), 95 % bootstrap CI
# person A: Vucm 22.74 Vort 2.14 ln ratio +2.36 (+1.83 to +2.95)
# person B: Vucm 2.32 Vort 1.21 ln ratio +0.65 (-0.34 to +1.72)
# step 3a: joint 2 recorded in other units (x 2) -> ln ratio changes:
# person A: ln ratio +3.22
# person B: ln ratio +1.58
# step 3b: null model (24 trials, independent joints with equal SDs):
# 95 % of ln ratios fall in -0.84 to +0.87
# step 4: back to the outcome, SD of the cursor (task units):
# person A: cursor SD 1.46
# person B: cursor SD 1.10第 1 步:、,UCM 与 ORT 都是一维的。第 2 步:A 的 为 +2.36(95% 自助区间 +1.83 到 +2.95),B 为 +0.65(−0.34 到 +1.72),B 的区间包含零。第 3 步:如果第二个关节换一种单位记录(数值乘以 2),A 的对数比变为 +3.22,B 变为 +1.58——同一组动作,结论随单位改变;零模型下(24 个试次、两关节独立且标准差相同),95% 的对数比落在 −0.84 到 +0.87 之间,B 的估计在这个范围内。第 4 步:光标的标准差,A 为 1.46,B 为 1.10。协同指数大的 A,任务做得反而不如 B。 这就是第二部分把任务准确度而不是协同指数设为主要结局的原因。
第二部分 预注册随机对照试验方案
问题
在两个关节控制一维光标的冗余轨迹追踪任务中,与「内部关节角度固定指令」相比,「外部任务结果聚焦指令 + 冗余流形反馈」能否改善 24 小时后在新轨迹上的追踪准确度(迁移)?
证据
已有的证据。 外部焦点的元分析在迁移测试上报告 (Chua et al. 2021),校正报告偏倚后的估计不到 0.1 (McKay et al. 2024)(第六章)。UCM 研究显示练习会改变协同结构 (Yang and Scholz 2005),最优反馈控制理论预测只为任务付代价会产生沿 UCM 的变异 (Todorov and Jordan 2002)。但作者没有找到在冗余追踪任务中,以迁移准确度为唯一主要结局、随机比较这两种指导方式的预注册试验。
设计
| 要素 | 规定 |
|---|---|
| 设计 | 两组平行、个人随机化的实验室对照试验,1:1 分配,按练习前误差(中位数以上 / 以下)与利手分层 |
| 参与者 | 18—65 岁成年人,经大学与公开的研究参与者平台招募;不从作者的社群、学员或客户中招募 |
| 排除 | 6 个月内上肢肌肉骨骼损伤或手术、已知神经系统疾病、任务中出现疼痛者(疼痛者立即停止,计入「缺失」) |
| 任务 | 坐姿,前臂置于低摩擦支撑上,肩水平屈伸与肘屈伸两个关节角由运动捕捉记录,光标高度 (换算为屏幕毫米),追踪一条由若干正弦合成的目标轨迹 |
| 练习 | 第 1 天:练习前测试 2 次(无增强反馈),练习 10 组 × 6 次 |
| 干预组 | 外部指令「让光标跟住目标」;每次练习后显示本次各时刻的关节角点与 UCM 线(「线上任何组合都同样好」) |
| 对照组 | 内部指令「让两个关节始终按规定的比例同步运动」;每次练习后显示各关节相对规定关节轨迹的偏差 |
| 主要结局 | 24 小时后在一条新轨迹上、无增强反馈时的光标追踪均方根误差(毫米),即迁移准确度 |
| 次要结局 | 24 小时后原练习轨迹的误差(保持);迁移测试中的 与 (事先规定用相对关节角、度为单位);关节活动幅度;疼痛与不适报告;自评的注意焦点 |
| 样本量 | 每组 113 名可分析、招募 133 名,共 266 名 |
| 分析 | 主要结局 ~ 组别 + 练习前误差 + 分层变量的协方差分析,报告调整后均值差 (对照减干预,正值表示干预组更好)及 95% 置信区间,双侧 |
两组在练习中看到的实时光标与目标完全相同,练习次数、时长与报酬也相同;差别只在指令与每次练习后的摘要显示。两种指导都按「如果照做,光标就能跟住目标」设计:对照组规定的关节比例本身是一个可行的解。训练材料由独立研究者编写,不使用作者课程中的任何内容。实施测试与计算结局的人员不知道参与者的分组;参与者无法对自己接受的指令设盲,但不被告知研究假设。
为什么只设一个主要结局。 框架希望同时比较迁移准确度与 。本书只把前者设为主要结局:第一,训练的目的是在新条件下把任务做好,这正是迁移准确度测的东西;第二,第六章的模型显示协同指数可以在任务误差完全不变时变化 6 个以上单位,第二章与本章第一部分显示它依赖坐标与单位;第三,两个主要结局需要多重比较校正,会扩大样本量而且使结论难以解释。对数比作为次要结局报告,用来解释机制。
样本量
推导
# Chapter 8 trial: sample size. Primary outcome: RMS cursor-tracking error (mm) on a
# NEW trajectory 24 h after practice, without augmented feedback (transfer), analysed
# by ANCOVA with the pre-practice RMS error as covariate. Assumptions (not estimates):
# SD 4.0 mm, baseline-outcome correlation 0.5, smallest effect of interest 1.5 mm,
# two-sided alpha 0.05, power 90 %, 15 % attrition. Part 2 checks power by simulation.
import math, random
from statistics import NormalDist
Z = NormalDist().inv_cdf
def n_ancova(sd, rho, delta, power=0.90, alpha=0.05):
return math.ceil(2 * (Z(1 - alpha / 2) + Z(power)) ** 2 * sd ** 2 * (1 - rho ** 2)
/ delta ** 2)
def ancova(y, x, g):
"""OLS of y on [1, g, x]; returns the group coefficient and its SE."""
n = len(y); mx, mg, my = sum(x) / n, sum(g) / n, sum(y) / n
sxx = sum((a - mx) ** 2 for a in x); sgg = sum((a - mg) ** 2 for a in g)
sxg = sum((a - mx) * (b - mg) for a, b in zip(x, g))
sxy = sum((a - mx) * (b - my) for a, b in zip(x, y))
sgy = sum((a - mg) * (b - my) for a, b in zip(g, y))
det = sxx * sgg - sxg ** 2
bg = (sxx * sgy - sxg * sxy) / det; bx = (sgg * sxy - sxg * sgy) / det
res = sum((b - my - bg * (c - mg) - bx * (a - mx)) ** 2 for a, b, c in zip(x, y, g))
return bg, math.sqrt(res / (n - 3) * sxx / det)
def trial(n, delta, rng, sd=4.0, rho=0.5):
x, y, g = [], [], []
for arm in (0, 1): # arm 1 = intervention, lower error by delta
for _ in range(n):
b = rng.gauss(0, 1); e = rng.gauss(0, 1)
x.append(12 + sd * b)
y.append(10 + sd * (rho * b + math.sqrt(1 - rho ** 2) * e) - delta * arm)
g.append(arm)
bg, se = ancova(y, x, g)
return -bg, se # positive = intervention better
if __name__ == "__main__":
n = n_ancova(4.0, 0.5, 1.5); rec = math.ceil(n / 0.85)
print(f"main plan: {n} analysable per arm, {rec} recruited per arm, {2 * rec} in all")
print(f" 80 % power alternative: {n_ancova(4.0, 0.5, 1.5, 0.80)} analysable per arm")
print("sensitivity (analysable per arm, power 90 %):")
print(" SD rho SESOI 1.0 SESOI 1.5 SESOI 2.0")
for sd in (3.5, 4.0, 4.5):
for rho in (0.3, 0.5, 0.6):
print(f" {sd:.1f} {rho:.1f} " + " ".join(
f"{n_ancova(sd, rho, d):4d}" for d in (1.0, 1.5, 2.0)))
rng = random.Random(1954); z = Z(0.975)
for d in (1.5, 0.4, 0.0):
hits = sum((lambda e: e[0] - z * e[1] > 0)(trial(n, d, rng)) for _ in range(2000))
print(f"simulated power, true difference {d:.1f} mm (n = {n}): {hits / 2000:.3f}")
print("0.4 mm = 0.1 SD, the order of a bias-corrected average focus effect")
# main plan: 113 analysable per arm, 133 recruited per arm, 266 in all
# 80 % power alternative: 84 analysable per arm
# sensitivity (analysable per arm, power 90 %):
# SD rho SESOI 1.0 SESOI 1.5 SESOI 2.0
# 3.5 0.3 235 105 59
# 3.5 0.5 194 86 49
# 3.5 0.6 165 74 42
# 4.0 0.3 306 136 77
# 4.0 0.5 253 113 64
# 4.0 0.6 216 96 54
# 4.5 0.3 388 173 97
# 4.5 0.5 320 142 80
# 4.5 0.6 273 122 69
# simulated power, true difference 1.5 mm (n = 113): 0.896
# simulated power, true difference 0.4 mm (n = 113): 0.130
# simulated power, true difference 0.0 mm (n = 113): 0.024
# 0.4 mm = 0.1 SD, the order of a bias-corrected average focus effect样本量按以下假设计算(都是假设值,不是任何研究的估计):迁移误差的标准差 4.0 毫米;练习前误差与迁移误差的相关 0.5(协方差分析把方差乘以 );最小关注差异 1.5 毫米(约 0.375 个标准差),双侧 ,把握度 90%。每组需要 113 名可分析的参与者;考虑约 15% 的缺失,每组招募 133 名,共 266 名。80% 把握度的备选方案为每组 84 名可分析。敏感性:标准差 3.5—4.5 毫米、相关 0.3—0.6 时,每组需要 74 到 173 名;最小关注差异为 1.0 毫米时需要 165 到 388 名。2,000 次模拟的协方差分析给出把握度 0.896,与公式一致;真实差异为 0 时,错误地得出「干预更好」的比例为 2.4%。
需要特别说明的是:如果真实效应只有 0.4 毫米(0.1 个标准差,与第六章校正偏倚后的外部焦点效应同一量级),这个样本量下得到显著改善的概率只有 13.0%。也就是说,这项试验能可靠地检出的是「值得行动」的效应,而不是「存在任何效应」;如果结果是「没有值得行动的差别」,那正是它要回答的问题之一。正式试验之前先做一个小规模预试验,只检查设备、指令时长与任务难度,不用来改变样本量。
判定规则
推导
# Decision rule for the Chapter 8 trial, fixed before any data are collected.
# d = adjusted mean transfer RMS error, control arm minus intervention arm (mm; positive
# = the external-focus + manifold-feedback arm is better), with its 95 % CI from the
# ANCOVA. Smallest effect of interest (SESOI) 1.5 mm. Gates -> NOT INTERPRETABLE:
# more than 20 % of randomised participants without a primary outcome; fewer than 70 %
# of either arm passing the instruction check; device calibration failed in > 10 % of
# sessions. Secondary outcomes (incl. ln(Vucm/Vort)) never change the verdict.
import math, random
from statistics import NormalDist
SESOI = 1.5
def verdict(d, lo, hi, missing=0.08, check=(0.90, 0.90), calib=0.02):
gate = None
if missing > 0.20:
gate = f"{100 * missing:.0f} % missing (limit 20 %)"
elif min(check) < 0.70:
gate = f"instruction check {100 * min(check):.0f} % (limit 70 %)"
elif calib > 0.10:
gate = f"calibration failed in {100 * calib:.0f} % (limit 10 %)"
if gate:
return f"d = {d:+.2f}: NOT INTERPRETABLE - {gate}"
if lo >= SESOI:
v = "better by at least the SESOI"
elif lo > 0:
v = "better; SESOI not shown"
elif hi < 0:
v = "WORSE than control"
elif lo >= -SESOI and hi <= SESOI:
v = "no difference worth acting on"
else:
v = "unclear: interval too wide"
return f"d = {d:+.2f} mm ({lo:+.2f} to {hi:+.2f}): {v}"
if __name__ == "__main__":
for case in ((3.2, 1.7, 4.7), (2.0, 0.5, 3.5), (0.3, -1.2, 1.8), (0.2, -1.1, 1.4),
(-1.8, -3.2, -0.4), (2.4, 0.9, 3.9, 0.23),
(2.4, 0.9, 3.9, 0.08, (0.9, 0.62)),
(2.4, 0.9, 3.9, 0.08, (0.9, 0.9), 0.14)):
print(verdict(*case))
# Verdict frequencies: 113 per arm, residual SD 4 x sqrt(1 - 0.5^2) mm (the ANCOVA
# residual), 10,000 simulated trials for each true d.
rng = random.Random(7); z = NormalDist().inv_cdf(0.975); n = 113
sd = 4.0 * math.sqrt(0.75)
short = {"better by at least the SESOI": ">= SESOI",
"better; SESOI not shown": "better", "WORSE than control": "worse",
"no difference worth acting on": "none",
"unclear: interval too wide": "unclear"}
for true in (1.5, 2.25, 0.4, 0.0):
tally = {}
for _ in range(10000):
a = [rng.gauss(true, sd) for _ in range(n)]
b = [rng.gauss(0, sd) for _ in range(n)]
ma, mb = sum(a) / n, sum(b) / n
ss = sum((x - ma) ** 2 for x in a) + sum((x - mb) ** 2 for x in b)
d = ma - mb; se = math.sqrt(ss / (2 * n - 2) * 2 / n)
v = verdict(d, d - z * se, d + z * se).split(": ", 1)[1]
tally[short[v]] = tally.get(short[v], 0) + 1
ranked = sorted(tally.items(), key=lambda kv: -kv[1])
print(f"true d = {true:4.2f}: "
+ ", ".join(f"{k} {c / 100:.1f} %" for k, c in ranked))
# d = +3.20 mm (+1.70 to +4.70): better by at least the SESOI
# d = +2.00 mm (+0.50 to +3.50): better; SESOI not shown
# d = +0.30 mm (-1.20 to +1.80): unclear: interval too wide
# d = +0.20 mm (-1.10 to +1.40): no difference worth acting on
# d = -1.80 mm (-3.20 to -0.40): WORSE than control
# d = +2.40: NOT INTERPRETABLE - 23 % missing (limit 20 %)
# d = +2.40: NOT INTERPRETABLE - instruction check 62 % (limit 70 %)
# d = +2.40: NOT INTERPRETABLE - calibration failed in 14 % (limit 10 %)
# true d = 1.50: better 87.3 %, unclear 7.3 %, none 2.8 %, >= SESOI 2.6 %
# true d = 2.25: better 63.0 %, >= SESOI 36.8 %, unclear 0.1 %, none 0.1 %
# true d = 0.40: none 65.6 %, unclear 21.1 %, better 13.1 %, worse 0.2 %
# true d = 0.00: none 80.2 %, unclear 15.0 %, worse 2.4 %, better 2.4 %前八行示例结果是编造的。随机化后超过 20% 的参与者没有主要结局、任一组通过指令理解检查的人不到 70%,或超过 10% 的测试中设备校准失败时,无论结果如何,报告都写「不可解释」。只有当 的 95% 置信区间下限不低于 1.5 毫米时,报告才写「干预至少好 1.5 毫米」。模拟显示,每组 113 人、真实 恰为 1.5 毫米时,10,000 次模拟试验中 87.3% 得出「更好,但未证明达到最小关注差异」,2.6% 得出最强结论,二者合计约 90%;真实 为 2.25 毫米时,36.8% 得出最强结论;真实 为 0.4 毫米时,65.6% 得出「没有值得行动的差别」;真实没有效应时,80.2% 得出「没有值得行动的差别」,各有 2.4% 错误地得出「更好」或「更差」。各项次要结局(包括 )只报告估计与区间,不改变主要结论。
这项试验不能说明什么
第一,干预同时包括外部指令与冗余流形反馈,对照同时包括内部指令与关节偏差反馈;阳性结果不能区分是指令还是反馈起了作用,需要后续的析因设计。第二,这是一个实验室中的两关节追踪任务,结果不能直接推广到体育、乐器、声乐训练或康复;对伤病或神经系统疾病患者尤其不能推广。第三,结局在 24 小时后测量,不能说明更长时间的保持。第四,次要结局 依赖事先规定的坐标与单位,换一种坐标可能得出不同的结论(第二章)。第五,参与者知道自己收到的指令,期望效应无法完全排除。第六,如果真实效应很小(约 0.1 个标准差),试验多半会得出「没有值得行动的差别」,这不等于证明两种指导完全相同。
伦理与利益冲突
这是一项低风险的行为研究:任务是坐姿下的小幅手臂运动,不涉及医疗干预。即便如此,试验仍须经独立伦理委员会审查批准,每位参与者签署知情同意,并在第一位参与者入组之前登记方案与分析计划 (Nosek et al. 2018);方案按 SPIRIT 2013 的条目撰写 (Chan et al. 2013)。任务中出现疼痛或不适即停止,参与者可随时退出并获得已完成部分的报酬;有伤病者不入组,并被建议咨询专业人员。数据匿名保存,只用于计算预先规定的指标。试验结束后向对照组提供干预组的指导材料。无论结果正负,都将发表。试验由独立于作者企业的研究人员实施和分析。
利益披露
作者以 5D Library 的著作(包括本书)作为其社群课程、升维牌卡(5D Ascension Cards,Dimensional Shift Card Decks)与 Yafu AI 知识库的方法论基础,因此与本书主题有商业利益关系。作者在 vocal.guru 与 singingasia.com 教授声乐,并开发动作与感知训练课程,与本书主题有直接商业利益。本书不推销任何课程、牌卡或服务,不构成运动医学、物理治疗或康复建议;第八章的试验设计为由独立于作者企业的研究人员实施和分析,不从作者的社群、学员或客户中招募;书中所有代码与研究方案均公开,供任何人检验。
参考文献
Fan, Y. (2026). Embodied Cognition, Bernstein's Degrees-of-Freedom Problem and the Control Theory of Motor Synergies: From the Uncontrolled Manifold Hypothesis and Internal Forward Models to Fitts's Law, Read Beside Classical Chinese Thought on Skill and the Way [具身认知、伯恩斯坦自由度问题与运动协同的控制理论] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.23828057 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).