Documentation

19.4 Chains, subject streams, and initialization

Every subject carries multiple ETA chains—two by default. Multiple chains provide more conditional samples per iteration and reduce dependence on one path, though they are not a substitute for adequate mixing or accumulation length.

Chains start from available individual information/current state and then persist across iterations. Population updates shift the target gradually. Each subject owns a deterministic random stream derived from the master seed, so scheduling subjects on different threads does not alter their draws. Reductions occur in fixed order.

This design supports thread-invariant results, which is critical for reproducible speed. Reproducibility is not convergence: repeating the same biased/stuck chain gives the same wrong result.

Review chains at representative and worst-case subjects. Subject-level density can be much narrower or more multimodal than the population average. More chains increase work approximately proportionally.

Practical interpretation

Run the same model with one, two and four chains while holding total computational budget or iterations explicit. Compare late estimates, acceptance, trace movement and runtime. More chains can diversify current-state samples, while longer chains can improve traversal; neither dominates universally. Use the comparison to justify defaults for the model class rather than assuming chain count alone measures reliability.

Record chain initialization and verify no subject accidentally inherits another subject’s state or random stream. This is essential in parallel and resumed workflows.

Common mistakes

Do not count chains as independent subjects, change seed until results look preferable, or infer mixing from aggregate parameter traces alone. Two chains beginning close together may explore the same local region.

Checklist

  • Record chain count, seed and thread count.
  • Inspect subject-level difficult chains.
  • Test one-versus-many-thread identity.
  • Repeat pivotal fits with independent seeds.
  • Balance chain count against iteration length.

Further reading

The next pages cover prior proposals, full random walks, and component moves.