What does Degrees of Freedom and Motor Synergies conclude, in numbers, about “Muscle Synergies: Non-Negative Matrix Factorisation and the Biomechanical-Constraint Dispute”?

Answer: The muscle-synergy hypothesis holds that movements are built by superimposing a few groups of muscles activated in fixed proportions, usually extracted from EMG by non-negative matrix factorisation; d'Avella and colleagues in 2003 analysed time-varying synergies in kicking frogs with a generalisation of NMF. The number of synergies given by a VAF threshold mainly reflects the threshold and the noise: with four true synergies, a 90 % threshold picks only two. Kutch and Valero-Cuevas showed that task and biomechanical constraints alone can produce low-dimensional EMG: eight independently controlled muscles with minimum-effort solutions need only four components for 95.0 %, and with only five muscles recorded three components reach 95.9 %. These results do not refute neural synergies, but they require constraint-and-cost explanations to be ruled out before concluding. The next chapter turns to learning: how practice changes the use of degrees of freedom, and what the direction of attention does.

Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (14 programs, all checked), classical sources and the author's hypotheses; all data in the book are fictional or simulated.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python only

k VAF (synthetic EMG generated from 4 synergies + 10 % noise)
10.8196
20.9653
30.9937
40.9980
50.9980
60.9985
smallest k with VAF >0.90: 2; >= 0.95: 2; next synergy adds < 1 point: 3
k4: cosine similarity of each true synergy with its best-matched estimate:
0.9920.925 0.999 0.893

Key formula

\[V \approx W H,\qquad W \ge 0\ (m \times k),\ H \ge 0\ (k \times n),\]
Show the full program
# Synchronous muscle synergies by non-negative matrix factorisation (Lee & Seung's
# multiplicative updates, Frobenius cost). Synthetic EMG: 12 muscles x 120 samples
# built from 4 known non-negative synergies with smooth non-negative activations, plus
# rectified noise (SD 10 % of the mean signal). For k = 1..6: variance accounted for
# (VAF, uncentred), best of 3 random starts; for k = 4: recovery of the true synergies.
import math, random
from itertools import permutations

def nmf(V, k, rng, iters=150):
    m, n = len(V), len(V[0]); eps = 1e-12
    W = [[rng.random() for _ in range(k)] for _ in range(m)]
    H = [[rng.random() for _ in range(n)] for _ in range(k)]
    for _ in range(iters):
        WtV = [[sum(W[i][a] * V[i][j] for i in range(m)) for j in range(n)]
               for a in range(k)]
        WtW = [[sum(W[i][a] * W[i][b] for i in range(m)) for b in range(k)]
               for a in range(k)]
        H = [[H[a][j] * WtV[a][j] / (sum(WtW[a][b] * H[b][j] for b in range(k)) + eps)
              for j in range(n)] for a in range(k)]
        VHt = [[sum(V[i][j] * H[a][j] for j in range(n)) for a in range(k)]
               for i in range(m)]
        HHt = [[sum(H[a][j] * H[b][j] for j in range(n)) for b in range(k)]
               for a in range(k)]
        W = [[W[i][a] * VHt[i][a] / (sum(W[i][b] * HHt[b][a] for b in range(k)) + eps)
              for a in range(k)] for i in range(m)]
    return W, H

def vaf(V, W, H):
    k = len(H); sse = sst = 0.0
    for i, row in enumerate(V):
        for j, v in enumerate(row):
            r = v - sum(W[i][a] * H[a][j] for a in range(k)); sse += r * r; sst += v * v
    return 1 - sse / sst

def best_fit(V, k, rng, starts=3):
    return max((nmf(V, k, rng) for _ in range(starts)), key=lambda f: vaf(V, *f))

def unit(v):
    s = math.sqrt(sum(x * x for x in v)); return [x / s for x in v]

def synthetic(rng, m=12, n=120, k=4, noise=0.10):
    W = [[max(0.0, rng.gauss(0, 1)) ** 2 for _ in range(k)] for _ in range(m)]
    H = []
    for a in range(k):                           # smooth bumps of activation
        c = [rng.uniform(0, n) for _ in range(3)]
        H.append([sum(math.exp(-0.5 * ((j - ci) / 8) ** 2) for ci in c)
                  for j in range(n)])
    V = [[sum(W[i][a] * H[a][j] for a in range(k)) for j in range(n)] for i in range(m)]
    mean = sum(map(sum, V)) / (m * n)
    return W, [[max(0.0, v + rng.gauss(0, noise * mean)) for v in row] for row in V]

if __name__ == "__main__":
    rng = random.Random(2003); Wtrue, V = synthetic(rng)
    print("k   VAF      (synthetic EMG generated from 4 synergies + 10 % noise)")
    fits = {}
    for k in range(1, 7):
        fits[k] = best_fit(V, k, rng); print(f"{k}   {vaf(V, *fits[k]):.4f}")
    pick = next(k for k in range(1, 7) if vaf(V, *fits[k]) >= 0.90)
    pick95 = next(k for k in range(1, 7) if vaf(V, *fits[k]) >= 0.95)
    gain = next(k for k in range(1, 6)
                if vaf(V, *fits[k + 1]) - vaf(V, *fits[k]) < 0.01)
    print(f"smallest k with VAF >= 0.90: {pick}; >= 0.95: {pick95};"
          f" next synergy adds < 1 point: {gain}")
    W = fits[4][0]
    est = [unit([W[i][a] for i in range(12)]) for a in range(4)]
    true = [unit([Wtrue[i][a] for i in range(12)]) for a in range(4)]
    def score(p):
        return sum(sum(x * y for x, y in zip(true[a], est[p[a]])) for a in range(4))
    perm = max(permutations(range(4)), key=score)
    sims = [sum(x * y for x, y in zip(true[a], est[perm[a]])) for a in range(4)]
    print("k = 4: cosine similarity of each true synergy with its best-matched estimate:")
    print("  " + "  ".join(f"{s:.3f}" for s in sims))

Single source and citation

Fan, Y. (2026). Embodied Cognition, Bernstein's Degrees-of-Freedom Problem and the Control Theory of Motor Synergies (Version 1.0.0), Chapter 5: Muscle Synergies: Non-Negative Matrix Factorisation and the Biomechanical-Constraint Dispute. 5D Library. https://doi.org/10.5281/zenodo.23828057

DOI: 10.5281/zenodo.23828057 · Read the monograph · 5DL-B-043 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026043,
  author    = {Fan, Yafu},
  title     = {Embodied Cognition, Bernstein's Degrees-of-Freedom Problem and the Control Theory of Motor Synergies},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.23828057},
  url       = {https://doi.org/10.5281/zenodo.23828057}
}

Other chapter answers in this book