SBTenv: A Literature-Validated Split-Belt Treadmill Simulation Environment
The split-belt treadmill is an important tool for studying human locomotor adaptation. Physics-based simulations complement such experiments by allowing hypotheses about the mechanisms of adaptation to be tested directly, and high-throughput simulation is increasingly needed as these models grow in complexity.
From the abstract. Our summary is in progress.
Full paper
SBTenv: A Literature-Validated Split-Belt Treadmill Simulation Environment
Published under CC BY-NC-SA 4.0. Reproduced with attribution; original at arXiv:2611.28547 (PDF).
Abstract
The split-belt treadmill is an important tool for studying human locomotor adaptation. Physics-based simulations complement such experiments by allowing hypotheses about the mechanisms of adaptation to be tested directly, and high-throughput simulation is increasingly needed as these models grow in complexity. However, no open-source split-belt treadmill environment exists in MuJoCo, a physics engine widely used for high-throughput simulation. Here, we present SBTenv, a split-belt treadmill environment built in MuJoCo and validated against published experimental data from a rimless wheel walking passively on a split-belt treadmill. By modeling compliant contacts at the spoke tips, SBTenv reproduces the experimental average steady velocity (R^{2}=0.643, RMSE =0.0162 m/s) without the empirical geometric correction required in prior simulations. We expect SBTenv, openly shared, to enable high-throughput simulation of musculoskeletal and robotic locomotion on a split-belt treadmill.
Index Terms:
Physics-based Simulation, Split-Belt Treadmill, MuJoCo, Walking
I Introduction
The split-belt treadmill (SBT) is an important tool for the study of human movement. In motor control and motor learning, the SBT is used to understand how locomotor symmetry adapts [1][2][3]. Computational models complement these experiments by allowing hypotheses about the mechanisms underlying split-belt adaptation to be tested directly, for example by comparing candidate control objectives or learning rules. While split-belt simulations have recently been developed [3][4][5], we lack open-source environments for SBT simulation in high-throughput physics engines like MuJoCo [6]. We therefore developed SBTenv, an in silico SBT environment in MuJoCo that supports high-throughput simulation, provides a Gymnasium interface, and is validated against a published experimental dataset of a rimless wheel walking on a split-belt treadmill [7].
Physics-based simulation has long been used to study locomotion, from passive dynamic walkers [8][9] to optimization-based predictions of human gait [10][11] and reflex-based neuromuscular control [12]. Deep reinforcement learning has since extended these approaches to high-dimensional musculoskeletal models [13][14], with applications ranging from identifying principles that reproduce natural gait [14] to predicting the effects of clinical impairments [15] and age-related falls [16], and to training controllers that transfer to legged robots [17]. Because these methods require many simulated trials, they expose a tension between model fidelity and computational cost. MuJoCo [6] enables such high-throughput simulation more than two orders of magnitude faster than OpenSim [18][19] at comparable complexity, and existing tools convert OpenSim models into MuJoCo with close agreement in muscle kinematics and dynamics [20][21]. A split-belt environment in MuJoCo would therefore enable making these models available for studying split-belt locomotion and adaptation.
II Methods
II-A Codebase
SBTenv is written in the dm_control Python framework (version 1.0.22) [22], which uses the MuJoCo physics engine (version 3.2.2) for physics simulation and reinforcement learning environments. We chose dm_control for its direct access to MuJoCo and its ease of implementation. SBTenv provides a Gymnasium interface [23] and is freely available on GitHub.
II-B Validation Approach
We validated SBTenv using the split-belt rimless wheel model (SBWM) [7], a rimless wheel (RW) that walks passively on an SBT by harvesting energy from the belt-speed difference (BSD). The SBWM is a minimal model of passive split-belt walking with published experimental data from a physical implementation. Because it is purely mechanical, with no musculoskeletal dynamics or controller, discrepancies between simulation and experiment can be attributed to the treadmill and contact model rather than to assumptions about biomechanics or control. Its simple, reproducible construction also allows other laboratories to build the same device on their own treadmills and use it to calibrate SBTenv, particularly its contact mechanics, to their setup. We refer to our simulated implementation as SBWM-env (with wheel RW-env) and to the physical implementation as SBWM-exp (with wheel RW-exp). SBWM-exp data reported graphically in [7] were digitized from figures using Fiji (version 1.54p) [24].
II-C Split-Belt Treadmill Model
SBTenv contains a slow belt and a fast belt, each modeled as a box geometry with a slide joint along the y-axis. The belts are separated by 2 mm along the x-axis so that they do not contact each other. Neither slide joint is motor-driven; instead, belt motion is imposed kinematically. At the beginning of every timestep, each belt is assigned a constant velocity, while a narrow joint range keeps it from translating in space. This approximates a physical treadmill, in which the belt moves over two motor-driven rollers without the belt assembly itself translating. Each belt had a sliding friction coefficient of 1.15, torsional and rolling friction coefficients of 0.1, and a mass of 3.0 kg.
II-D Rimless Wheel Model
RW-env followed the specifications of RW-exp [7]: 9 spokes per side, spoke length 0.254 m, axle length 7.6 cm, angular spacing between spokes of 40^{\circ}, angular offsets \alpha=15.5^{\circ} and \beta=4.5^{\circ} (2\alpha=31^{\circ}, 2\beta=9^{\circ}), and total mass 3.53 kg (excluding rubber contacts). To simplify the experimental apparatus, RW-env was constrained to translate in the y–z plane and rotate about its axle. Each simulation initialized RW-env at a height of 0.38 m and, on the first timestep, set its velocity equal to the fast-belt velocity so that it could reach a steady state.
II-E Contact Model
To capture the deformation and shock absorption of the rubber strips on RW-exp, we added a compliant contact at the tip of each RW-env spoke. Each contact was modeled as a sphere of radius 0.017 m mounted on a slide joint at the spoke tip, with the joint acting as a spring-mass damper (range 0–0.015 m, stiffness 50 N/m, damping 10 N\cdots/m). The contacts had sliding and torsional friction coefficients of 1.0 and a rolling friction coefficient of 0.1. Because friction, stiffness, and damping values were not reported in [7], we set them manually to suppress spoke bouncing on belt contact while allowing stable passive walking across the range of BSDs.
II-F Simulation Protocol
SBWM-env was simulated at each digitized SBWM-exp BSD, with the slow belt stationary and the fast-belt velocity equal to the BSD. A simulation terminated when RW-env completed 12 full rotations or after 2000 timesteps. Average steady velocity, the validation metric, was computed as the axle displacement divided by elapsed time, measured from the end of a 0.05 s settling period to the final timestep. All simulations used RK4 integration, the PGS constraint solver (maximum 50 iterations), an elliptic friction cone, and a timestep of 0.01 s.
II-G Rubber Contact and Offset Ablation
To test whether the compliant contacts and the empirical fast-belt z-offset correction from [7] compensate for the same collision energy dissipation mechanism, we performed a full factorial ablation over contact placement and offset. Contact placement took four levels: none, fast-belt spokes only, slow-belt spokes only, and both (the configuration used in SBWM-env). Offset took two levels: none, and the 4.9 mm fast-belt z-offset reported in [7]. All other parameters were held constant across the eight configurations, each of which was evaluated against the digitized SBWM-exp data using the metrics below.
II-H Statistical Analysis
Agreement between SBWM-env and SBWM-exp was assessed by comparing average steady velocities point by point at each digitized BSD. Trials in which RW-env failed to complete one rotation were excluded. Agreement was quantified by
R^{2}=1-\frac{\sum_{i}(y_{i}-\hat{y}_{i})^{2}}{\sum_{i}(y_{i}-\bar{y})^{2}}where y_{i} is the digitized SBWM-exp average steady velocity, \hat{y}_{i} is the SBWM-env average steady velocity at the same BSD, and \bar{y} is the mean of the SBWM-exp values. Because R^{2} here measures agreement between two independently generated curves rather than the fit of a regression, it is unbounded below; negative values indicate a worse fit than the experimental mean. We also report the root-mean-square error (RMSE) and mean absolute error (MAE) between y_{i} and \hat{y}_{i}. All analyses were performed in Python 3.10 using NumPy [25].
III Results
III-A Validation Against Experiment
SBWM-env reproduced the dependence of RW average steady velocity on BSD observed in SBWM-exp (Figure 2), with R^{2}=0.643, RMSE =0.0162 m/s, and MAE =0.0122 m/s. Simulation required on average 0.213 ms per Gymnasium env.step() call (across 68{,}000 physics timesteps) on a single core of an Apple M3, or roughly 4{,}700 steps per second.
III-B Ablation
Table I and Figure 3 report agreement for all eight contact and offset configurations. The configuration used in SBWM-env (both contacts, no offset) gave the best fit (R^{2}=0.643), and the same contacts combined with the offset gave the worst (R^{2}=-34.474). Without the offset, fit improved as contacts were added. With the offset, fit worsened as contacts were added, and every configuration with contacts under-predicted the SBWM-exp average steady velocity.
- No rubber, no offset
- -25.151
- 0.1389
- 0.1387
- Fast rubber only, no offset
- -5.190
- 0.0676
- 0.0648
- Slow rubber only, no offset
- -5.036
- 0.0667
- 0.0632
- Both rubber, no offset
- 0.643
- 0.0162
- 0.0122
- No rubber, offset
- -1.064
- 0.0390
- 0.0297
- Fast rubber only, offset
- -22.423
- 0.1314
- 0.1156
- Slow rubber only, offset
- -3.906
- 0.0601
- 0.0584
- Both rubber, offset
- -34.474
- 0.1617
- 0.1565
IV Discussion
We presented SBTenv, an open-source split-belt treadmill environment in MuJoCo, and validated it against experimental data from a passive rimless wheel on a split-belt treadmill [7]. SBTenv captured the experimental relationship between belt-speed difference and walking speed without an empirical correction, while running at high throughput.
IV-A Compliant Contacts Replace the Empirical Correction
The rimless wheel walks passively on an SBT by harvesting energy from the treadmill: on the fast belt, belt motion raises the wheel and stores gravitational potential energy, which is released as kinetic energy on the slow belt, offsetting collision losses [7]. The angular spoke offsets and the BSD together make this exchange possible. Collisions between spokes and the fast belt, however, cause bouncing both experimentally and in simulation. Prior simulations aligned with experiment only after an empirical 4.9 mm offset of the fast belt in the z-direction [7]. In SBTenv, compliant spoke contacts, which also more closely reflect the rubber strips on RW-exp, made this correction unnecessary.
The ablation suggests why. Contacts on both spokes without the offset gave the best fit, outperforming the offset-only configuration that most closely reproduces the correction used in [7] (R^{2}=0.643 vs. -1.064). Combining the two gave the worst fit of all (R^{2}=-34.474). This pattern is consistent with both corrections compensating for the same excess energy retained after spoke-belt collisions: the contacts dissipate this energy through damping, whereas the offset reduces it by altering the contact geometry. Applying both over-corrects, and every such configuration under-predicts the experimental velocity.
IV-B Measuring Average Steady Velocity
Butterfield et al. express the RW average steady velocity in terms of spoke contact times [7]:
{}^{S}v_{\mathrm{avg}}=\frac{2l(\sin{\alpha}+\sin{\beta})-T_{\mathrm{F}}\Delta v_{\mathrm{TM}}}{T_{\mathrm{S}}+T_{\mathrm{F}}}where {}^{S}v_{\mathrm{avg}} is the average steady velocity, l is the spoke length, \alpha and \beta are the angular offsets, \Deltav_{\mathrm{TM}} is the BSD, and T_{\mathrm{S}} and T_{\mathrm{F}} are the spoke contact times with the slow and fast belts. In simulation, residual bouncing produces gaps of variable length in the contact signal. Thresholding to fill these gaps is sensitive to outliers, and smoothing can erase true gaps, for example when no spoke touches the belt during rotation. We therefore computed average steady velocity directly from axle displacement over elapsed time. This differs slightly from the experimental procedure, in which RW-exp walked a fixed distance that was divided by its walking time [7], but it avoids estimating contact times.
IV-C Limitations
Experimental data were not available in digital form and were digitized from published figures, which introduces measurement error. The rubber contacts and treadmill belts of SBWM-exp were not fully specified, so friction, stiffness, and damping parameters were approximated. The compliant contacts were idealized as spheres (20.6 g each) on spring-mass dampers, giving RW-env a total mass of 3.90 kg compared with 3.53 kg for RW-exp, although its moment of inertia about the axle remained within 3\% of RW-exp (0.0966 vs. 0.094 kg\cdotm2). We did not reduce the contact masses to values representative of the thin rubber strips on RW-exp [7], because the spring-mass damper became numerically unstable at the 0.01 s timestep. Finally, validation used a single passive walker; actively controlled and musculoskeletal walkers will introduce contact and actuation dynamics not tested here.
V Conclusion
We present SBTenv, an open-source, high-throughput, and literature-validated split-belt treadmill environment in MuJoCo. SBTenv reproduces the experimental behavior of a passive rimless wheel on a split-belt treadmill and, through compliant contact modeling, removes the empirical correction required in prior simulation. Because MuJoCo hosts both robot models and converted musculoskeletal models [20][21], SBTenv opens split-belt walking to the learning-based and optimization-based approaches used to study locomotor adaptation [3][4][5].
AI Usage Disclosure
The initial development of SBTenv (architecture, validation methods, and ideation) was performed without the use of generative AI. Recent development of SBTenv used Claude Code (Opus 5.5) to assist in refactoring, visualization, feature prototyping, and creation of test cases. All code was reviewed by a human; the human authors are responsible for the content of this manuscript. AI tools were limited in use for the preparation of this manuscript, only for consistency and formatting purposes.
Acknowledgment
The authors would like to thank the Sapere Aude Fund, the Massachusetts Institute of Technology Department of Brain and Cognitive Sciences, and the Fairfield University School of Engineering and Computing.