Skip to main content
eLife logoLink to eLife
. 2022 Jan 11;11:e65402. doi: 10.7554/eLife.65402

Humans optimally anticipate and compensate for an uneven step during walking

Osman Darici 1,, Arthur D Kuo 1
Editors: Lena H Ting2, Aleksandra M Walczak3
PMCID: PMC8920505  PMID: 35014609

Abstract

The simple task of walking up a sidewalk curb is actually a dynamic prediction task. The curb is a disturbance that could cause a loss of momentum if not anticipated and compensated for. It might be possible to adjust momentum sufficiently to ensure undisturbed time of arrival, but there are infinite possible ways to do so. Much of steady, level gait is determined by energy economy, which should be at least as important with terrain disturbances. It is, however, unknown whether economy also governs walking up a curb, and whether anticipation helps. Here, we show that humans compensate with an anticipatory pattern of forward speed adjustments, predicted by a criterion of minimizing mechanical energy input. The strategy is mechanistically predicted by optimal control for a simple model of bipedal walking dynamics, with each leg’s push-off work as input. Optimization predicts a triphasic trajectory of speed (and thus momentum) adjustments, including an anticipatory phase. In experiment, human subjects ascend an artificial curb with the predicted triphasic trajectory, which approximately conserves overall walking speed relative to undisturbed flat ground. The trajectory involves speeding up in a few steps before the curb, losing considerable momentum from ascending it, and then regaining speed in a few steps thereafter. Descending the curb entails a nearly opposite, but still anticipatory, speed fluctuation trajectory, in agreement with model predictions that speed fluctuation amplitudes should scale linearly with curb height. The fluctuation amplitudes also decrease slightly with faster average speeds, also as predicted by model. Humans can reason about the dynamics of walking to plan anticipatory and economical control, even with a sidewalk curb in the way.

Research organism: Human

Introduction

There are indeterminate control choices to be made during walking, not least when steady gait is interrupted by a surface perturbation such as a sidewalk curb (Figure 1a). If no compensation is performed, an upward perturbation might cause a sudden reduction of speed, and an overall loss of time compared to steady gait (Figure 1b). Other possibilities include nonanticipatory reaction occurring only after the perturbation (Figure 1c), or tight regulation of step timing to immediately restore momentum (Figure 1d). But it may be helpful to plan and act ahead with anticipatory adjustments. For example, a ball, once sighted, may be caught by predicting its dynamics and planning and executing an interception course. A sidewalk curb may similarly be anticipated ahead of time, albeit with most of the dynamics within the person rather than the curb, and with a less clearly defined objective. This raises the question of whether humans anticipate the curb, and what objective criteria govern its interception, perhaps with a single, optimal response. The seemingly simple task of dealing with an uneven step may yield insight on whether humans perform predictive, dynamical planning while they walk.

Figure 1. Hypothetical ways to walking over a single upward step (Up-step).

Figure 1.

(a) Humans walk with the body center of mass (COM) moving up and down atop the stance leg behaving like an inverted pendulum. Momentum is disrupted by the Up-step if not for compensatory response, plotted as a time-varying trajectory of the COM’s forward speed vi, discretely sampled once per step i. Hypothetical responses could include (b) no compensation, (c) a nonanticipatory reactive compensation, and (d) tight time regulation. (b) No compensation means the same push-off actuation is performed regardless of Up-step, resulting in a transient loss of speed (speed vs. time, top) and time (cumulative time gain vs. time, bottom) relative to nominal level gait. (c) Nonanticipatory compensation occurs reactively after the perturbation (vertical dotted line aligned to Up-step) to quickly regain speed, perhaps to avoid loss of time. (d) Tight time regulation means applying control to keep each step’s timing as constant as possible to reject the disturbance. These responses could be less economical than an optimal control including anticipatory speed adjustments before and after the perturbation. In plots, speed vi is sampled discretely at midstance instant (dot symbols) and plotted vs. time. Cumulative time gain is illustrated as time gained or lost compared to steady-level gait at nominal speed, as a function of elapsed time during a walking bout. The final value indicates the eventual time gain (or loss, if negative) over the entire distance. In the corresponding experiment, human subjects walked in a walkway (30 m long) with level ground ora single Up- or Down-step (height b = 7.5 cm) at midpoint.

Both feedback and anticipatory control could contribute to walking. Feedback refers to reactive control driven by sensory feedback of the body’s dynamical state, for example from vestibular and somatosensors to control standing balance (Horak et al., 1990; Kuo, 1995; Park et al., 2004). Such feedback also appears important for balance during walking, for example to adjust foot placement each step (Bauby and Kuo, 2000; O’Connor and Kuo, 2009; Wang and Srinivasan, 2014). In contrast, anticipatory control actions take place before the body state has been affected, perhaps using vision to predict an upcoming perturbation or obstacle. For example, humans clearly anticipate and plan for the body’s future location, for example to negotiate around obstacles or through doorways (Arechavaleta et al., 2008; Brown et al., 2021; Patla, 1998). In particular, foot placement and motion are planned, with the help of vision, to avoid or step over upcoming obstacles (Patla, 1998; Patla and Rietdyk, 1993), and to land on foot targets (Drew et al., 2008; Matthis and Fajen, 2013). Although much of this planning has been described in terms of kinematics, it may also include intersegmental dynamics, which might be regulated to clear obstacles with reduced mechanical work (Patla and Prentice, 1995). There may, however, also be advantages to planning other dynamical states such as speed or momentum during locomotion, for example when one speeds up before jumping over a puddle. Indeed, runners do load the leg differently just before a drop (Müller et al., 2012), perhaps as a way to regulate momentum. The negotiation of uneven terrain might similarly benefit from anticipatory planning of speed or momentum.

Any systematic control strategy, regardless whether anticipatory or feedback, should also be driven by objective criteria to select among infinite options. For locomotion, the criterion of metabolic energy economy determines features such as the preferred step length and step width during steady walking (Donelan et al., 2001; Zarrugh et al., 1974), as governed by the pendulum-like dynamics of the legs (Kuo et al., 2005). Energetic costs are also greater on uneven terrain (Kowalsky et al., 2021; Pandolf et al., 1977; Voloshina et al., 2013) and under transient conditions (Brown et al., 2021). However, it is unknown whether the economy preferences of steady walking apply to uneven terrain as well. We previously explored this question theoretically with a simple model of human walking (Kuo, 2002), for the task of negotiating a single uneven step (termed Up- or Down-step) during otherwise steady walking (Darici et al., 2020). We used optimal control to determine the most economical strategy to regain time and momentum lost from the disturbance. The objective was to minimize a crude indicator of energy expenditure, the mechanical work performed in the step-to-step transition from one pendulum-like stance leg to the next (Donelan et al., 2002; Kuo et al., 2005). This yielded a strategy for negotiating an Up-step by modulating forward momentum and speed over multiple steps, starting with a speed-up before the perturbation, and continuing the modulation for several steps after the perturbation. The model predicted a substantial economic advantage to the anticipatory speed-up, compared to post hoc compensation alone. The optimal control was systematically scalable, with greater amplitude of speed fluctuations for larger step heights, and an almost opposite amplitude for negotiating a Down-step (with negative height change). This suggests that humans might also benefit from such an anticipatory strategy, made determinate by optimization.

The purpose of the present study was to test whether humans negotiate a step height disturbance with an anticipatory compensation strategy as predicted by dynamic optimization. The compensation is manifested as a trajectory of speed fluctuations both before and after the disturbance, to reduce energy expenditure and avoid loss of time from the disturbance. We tested whether humans use a compensatory pattern similar to the predicted optimum, including anticipatory fluctuations before the step is physically encountered. This is contrasted against alternative strategies such as reacting only after the disturbance, or not reacting at all. We also tested whether the human pattern varies systematically, as predicted by model (Figure 2), by scaling in amplitude and time for Up- vs. Down-steps and different walking speeds. This may reveal whether such a compensation strategy may be generalized for different nominal walking conditions. The results may reveal whether humans reason about their walking dynamics to perform predictive planning on uneven terrain.

Figure 2. Model of dynamic walking over a single Up- (or Down-) step.

Figure 2.

(a) Model behaves like an inverted pendulum. Momentum and speed fluctuate in each step (numbered i), and are particularly disrupted by an uneven step (at i=0). (b) Dynamic walking model has a point mass M at pelvis, supported by an inverted pendulum stance leg (massless, length L, gravitational acceleration g, fixed or constrained step length S and inter-leg angle 2α). (c) Level nominal walking has discrete step-to-step transition where COM velocity (dark arrow) is redirected from forward-and-downward to forward-and-upward by active, impulsive trailing leg push-off (PO), immediately followed by an inelastic, impulsive, leading leg collision (CO). Both PO and CO are directed along the corresponding leg. (d, e) The model walks Up or Down a step by modulating the sequence of discrete push-offs surrounding and including the uneven step. The model’s compensatory response is therefore summarized as a time-varying trajectory of speeds vi, discretely sampled once per step i.

Model predictions

The model yielded two main predictions to be tested experimentally. First, it predicted an anticipatory compensation strategy, in the form of speed fluctuations before and after the disturbance (Figure 3). Considerable momentum and time would be lost to an Up-step if not for compensation. The predicted optimal compensation to avoid a loss of overall time is to speed-up in advance of the Up-step (thereby reducing the loss of momentum and time atop it), and then regain momentum afterwards (Figure 3a; Darici et al., 2020). The strategy depends systematically on the disturbance amplitude, where a Down-step is represented by negative amplitude. For stepping down (Figure 3b), the optimal strategy is therefore almost exactly opposite the Up-step strategy: slow-down in advance, gain speed and time atop the Down-step, and then slow-down again toward nominal speed. This is manifested as twofold symmetry, meaning the optimal speed fluctuations are opposite in time (reflecting about the vertical axis at time 0) and in speed (reflecting about the mean speed). These strategies are executed through modulation in push-off work. As a result, time (Figure 3c) is first gained prior to the Up-step (and lost prior to Down-step, Figure 3d), such that the cumulative time gain eventually reaches zero, meaning that the model has not lost time compared to level walking.

Figure 3. Model predictions for walking over an Up-step or Down-step with minimum work.

Figure 3.

(a) Optimal walking speed fluctuations vs. time, for Up-step compensation that minimizes push-off work while avoiding loss of time. Model anticipates the perturbation with a tri-phasic adjustment: Speed up ahead of time, then lose momentum atop the perturbation, and then regain speed thereafter. (b) Optimal speed fluctuations for Down-step compensation (blue symbols) is also tri-phasic, and nearly opposite in sign to Up-step: Slow down in advance, gain momentum, then slow down again (c) Cumulative time gained for Up- and Down-step compensations, ending with zero cumulative time loss. (d) Self-similarity of Up-step compensations shows that a similarly-shaped discrete compensation pattern can apply to different walking conditions with appropriate scaling. Example trajectories are shown for three different nominal speeds (slower, medium, faster), a longer fixed step length at each nominal speed (longer steps), and step length increasing with instantaneous speed according to human preferred step length (preferred steps). The trajectories are also scaled and superimposed (see inset) to illustrate a single self-similar pattern for all parameter choices. For model predictions (a-c), nominal conditions are equivalent to a human walking at 1.5 m/s with a fixed step length, and a 7.5 cm Up-step. Plots show normalized units (nominal mid-stance velocity V=0.44g0.5 L0.5, S=0.79 L, b=0.075L) and human scale. Predictions are described in detail by (Darici et al., 2020).

The second main prediction was that a single optimal strategy, in terms of speed fluctuations, is scalable for practically any combination of overall walking speed and step length (termed self-similarity, Figure 3d). A basic pattern for optimal speed fluctuations retains approximately the same shape across different overall walking speeds, fixed step lengths, or even step length changing according to the human preferred step length relationship (Figure 3d). In addition, the amplitude of that basic pattern scales inversely with speed, meaning slightly smaller fluctuations for faster speeds (compare slower to faster speeds in Figure 3d). This is because a step of fixed height (and thus gravitational potential energy) has a relatively smaller effect on the greater kinetic energy (increasing with square of speed) of faster walking. In addition, the timing scales such that the optimal strategy would have similar shape with shorter step lengths, except stretched slightly longer in time. Thus, we expect a single basic pattern, treated as a sequence of discrete speed fluctuations (Figure 3a) to predict optimal responses that are scalable to an individual’s average speed, step length, or the preferred speed and step length relationship. The pattern should be scaled to slightly smaller amplitude for faster average speeds, and to negative amplitude for Down-steps as opposed to Up-steps.

These predictions may be contrasted with several alternative hypothetical strategies (detailed by Darici et al., 2020). One is that humans might not compensate for an Up-step, and simply apply the same nominal effort as for level ground, albeit with a loss of time relative to nominal (Figure 1b). Another is that humans may not anticipate but react only after the disturbance, which could regain lost time but with a greater speed-up (Figure 1c). Yet another would be to tightly regulate step timing to nominal with each step (Figure 1d), even atop the disturbance, and thus keep speed fairly steady. According to the model, these strategies all differ in the amount of work performed, 0.489 MgL (about 10% more than nominal walking) for the optimal strategy, 0.519 MgL (17% more) for nonanticipatory reactive control, and 0.513 MgL (15% more) for tight time regulation. It would of course be most economical not to compensate at all. But if time is to be regained, there are infinite ways to do so, and only one that is most economical.

The model therefore makes testable predictions regarding human compensation for an uneven step. We hypothesize that step-to-step transitions are costly enough to merit anticipation and compensation for uneven steps. There are surely other energetic costs for walking, such as for adjusting step duration and length, or for controlling other degrees of freedom. It is, however, not necessary to model such features, if step-to-step transitions are costly enough to predict substantial and nontrivial compensations. We test what strategy humans perform by examining the distinct speed (and thus momentum) fluctuation patterns (Figure 3, top).

Results

Prior to the main hypothesis tests, we first report some basic measures of overall walking speeds and variability, as a basis for comparing speed fluctuations (Speed, Figure 4). For the central (8.5 m) segment of the walkway, the overall average self-selected speed for control trials (level walking) was 1.38 ± 0.10 m/s on level ground (mean ± standard deviation [SD across subjects]). Each individual typically had a small amount of variation in self-selected speed between trials, with about 5% c.v. (coefficient of variation) across control trials. Subjects were thus fairly consistent in their own walking speed, despite receiving no feedback regarding walking durations or speeds. During level Control walking (Figure 4, top row), the speed fluctuations were small in magnitude and largely noise-like, with variability 0.031 ± 0.007 m/s (root-mean-square variation within trial, reported as mean ± SD across subjects), or about 2.2% c.v. These fluctuations exhibited a small amount of correlation between subjects, with correlation coefficient ρ = 0.47 ± 0.31 (p = 2.5e−04), as demonstrated by correlating each individual’s average Control trial against the average Control across all subjects. This suggests a degree of unexpected, nonrandom behavior shared between subjects, of relatively small amplitude of about 0.014 m/s, about 17% of the non-Control amplitudes.

Figure 4. Human walking speed trajectories vs. time, for (a) Control and (b) Up- and (c) Down-step conditions.

Figure 4.

Plots are arranged in columns: (left) all individual trials of three representative test subjects (thin lines connecting small dots), along with per-subject average trajectories (across trials, thick lines) and standard deviations (SDs, shaded regions ± 1 s.d.; dashed line indicates average speed). Averages were computed for speed fluctuations treated as sequences of discrete steps, and plotted in both discrete (dot symbols) and continuous time. (Middle:) Speed fluctuations of each test subject (n = 2, individual colors) walking over the step, averaging all trials within each subject. (Right:) Average speed trajectories across all test subjects (solid line), with standard deviation (SD) across all subjects (light shaded region), and SD ignoring subject-dependent speed (darker shaded region). Individual patterns (Middle) were significantly correlated with the average pattern across subjects (Right). Speed is defined as each step’s length divided by corresponding step time, assigned to the middle- stance instant of each step (indicated by discrete dot symbols). All trials are aligned to zero time, defined as middle -stance instant after landing on the Up- or Down-step (both 7.5 cm high).

Figure 4—source data 1. Individual and average test subject speeds plotted in Figure 4.

We next examine the human walking speed fluctuations in response to Up- and Down-steps. There were four main findings, comparing the responses across subjects in comparison to model, and in comparison to experimental instructions. The first question was whether the Up- and Down-step responses exhibited consistent, nonrandom behavior across subjects, to determine whether speed fluctuations were noisy or deterministic. The second was to test the primary hypothesis, that human speed fluctuations have a deterministic pattern as predicted by a model minimizing mechanical work. The third was to test the related expectation that speed fluctuation amplitudes should scaled with step height and overall walking speed, as also predicted by model. The final test was to quantify the consistency of overall walking durations for each subject, as an indicator of compliance to experimental instructions. Along with their speed fluctuations, subjects also exhibited fluctuations in step length and duration. These factors were not included in model and therefore not tested, but the trends are summarized in Appendix 2.

Humans produced triphasic Up- and Down-step compensatory speed fluctuations

There was also a clear pattern in compensations for an uneven step, with consistent fluctuations in walking speed across trials and across subjects (Speed, Figure 4). The fluctuations within these trials were greater than those of Control, about 3.0% and 3.4% c.v. for Up- and Down-steps (Figure 4, middle and bottom), respectively. The compensation strategies, in terms of walking speed trajectory over time, appeared qualitatively similar between multiple trials for an individual (Figure 4, left column), and between different individuals (Figure 4, middle column), to yield a single representative trajectory for all Up-step compensations (Figure 4 right column).

The basic speed response could be summarized in terms of a triphasic pattern centered about the Up-step: (1) speed up in the two steps prior, (2) then lose speed during the two steps onto the Up-step and immediately thereafter, and (3) then regain speed over the following one or two steps. The peak speed just prior to the Up-step (i=-1) was about 5.7% greater than average speed, and the minimum after the Up-step (i=1) was about 3.4% slower. Similar observations were the case for Down-step compensations (Figure 4, bottom row), except with fluctuations in nearly the opposite direction, in a basic pattern of about 2.0% slow-down prior to the Down-step (i=-1), and 3.6% and 3.8% faster after (i=1, i=2 respectively), followed by a brief slow-down to nominal. The timing of this pattern was slightly different from Up-step, with the initial slow-down being clearest for only one step immediately before the Down-step (i=-1), then speed-up occurring for about two to three steps, and the return to normal walking in only about one step. The anticipatory compensation thus begins only a few steps before the perturbation, and is accompanied by several steps of response after the perturbation.

The consistency of responses across subjects was quantified as follows. The Up-step speed fluctuations were similar across subjects (compare Figure 4, middle and right columns), with a positive correlation coefficient between each individual’s Up-step trials and the average across subjects (ρ = 0.82 ± 0.1252; p = 1.26e−10 paired t-test of correlations, performed across discrete speed sequences). The same was true for Down-step patterns, with positive correlation (ρ = 0.68 ± 0.27, p = 3.0e−06). Neither Up- nor Down-step speed fluctuations were well correlated with Control (ρ = −0.016 ± 0.21 and 0.184 ± 0.193, respectively, correlating each subject’s Up- and Down-step responses against average Control across subjects, p = 0.78, p = 0.007). Moreover, the speed fluctuations for the Up-step and Down-step were somewhat opposite to each other, with a negative correlation between individual Up-steps and average Down-step pattern and vice versa (respectively, ρ = −0.34 ± 0.16, p = 1.6e−05; ρ = −0.27 ± 0.22, p = 0.0016).

Human compensations were consistent with minimum-work predictions

In support of the main hypothesis, the compensation strategies agreed reasonably well with optimal control model predictions (Figure 5, top for model; bottom for human). The model had predicted a similar triphasic pattern for speed fluctuations (Figure 3), as a means of traversing the walkway with minimum push-off work, while maint aining nominal overall speed. This agreement was quantified by a positive correlation coefficient between human and model fluctuations for both Up- and Down-steps (ρ = 0.50 ± 0.21, p = 4.4e−6 and ρ = 0.59 ± 0.17, p = 1.08e−7; paired t-tests for correlations performed across discrete speed sequences). And in keeping with the model’s prediction of opposing fluctuations for Up- vs. Down-steps, there was also a negative correlation between human Up-steps and model Down-steps, and vice versa (ρ = −0.42 ± 0.21, p = 2.75e−5 and ρ = −0.54 ± 0.15, p = 8.05e−8; paired t-tests). We also verified that human control responses were not correlated with model predictions for either Up- or Down-step, with correlation coefficients not significantly different from zero (p = 0.32, p = 0.31).

Figure 5. Comparison of model and human walking speed fluctuations vs. time, compensating for (left column:) Up- and (right column:) Down-steps.

Figure 5.

(Top row:) Model speed fluctuations predicted to minimize push-off mechanical work. (Bottom row:) Experimentally measured compensation strategies for humans (n = 12), showing average speed pattern across subjects (shaded regions denote ±1 s.d. after eliminating variations in average speed). Human speed fluctuations were significantly correlated with model for both Up-step (p=0.50± 0.21;P=4.4e6) and Down-step (p=0.59± 0.17;P=1.1e7), asterisk indicates statistical significance; correlations performed between discrete speed sequences. Each data point corresponds to the body’s forward walking speed, defined as each step’s length divided by step time, and assigned to the instance when the stance leg is upright. The first step onto the Up- or Down-step is indicated by vertical dashed line, also at middle stance instant. The average overall walking speed is denoted by horizontal solid line. Model trajectories (Figure 3) are converted from mid-stance speed in simulation (dashed lines) into the equivalent of experimental body speed (solid lines; see Figure 6). Model predicts shape of fluctuation pattern but not exact amplitude. Plots show dimensional equivalents to model with speed in units of gL=3.13m/s and time in units L/g=0.32s (using gravitational acceleration and human leg length L=1m).

The human triphasic responses were not consistent with the alternative control strategies. The anticipatory speed-up before perturbation did not agree with the no-compensation and reactive-compensation (Figure 1b, c) strategies, where no change in speed would be expected. The speed fluctuations before and after perturbation were also nearly opposite to, and therefore not consistent with the tight time regulation strategy (Figure 1d).

Human compensation patterns were self-similar and scalable for step height and overall walking speed

There were three indicators of self-similarity and scaling, all consistent with model predictions. First, the significant intersubject correlations are indicative of self-similarity among different individuals within each condition. The model had predicted a similar triphasic response pattern that could be scaled in amplitude and time for different average walking speeds and step lengths (Figure 3d). The significant correlations (reported above, compare Figure 4, middle and right columns, p = 1.26e−10 for Up-steps, p = 3.0e−06 for Down-steps) show that each individual and each trial’s speed fluctuations were proportional to the average pattern across subjects. Fluctuations were thus similar across a range of self-selected speeds and step lengths, with timing compared at discrete step numbers account for continuous time scaling. Thus, a single, self-similar pattern for Up- and Down-steps (Figure 4 average across subjects, right column) was sufficient to summarize responses across individuals walking at their own pace.

Second, the speed fluctuations exhibited scaling with step height. There was a significant linear relationship between step height b (+0.075, −0.075, and 0 cm) and each trial’s fluctuation amplitude, with a positive linear coefficient cb (0.849 ± 0.047, mean ± c.i. 95% confidence interval, p = 9.7e−175), and a small offset (db 0.104 ± 0.041). The coefficient indicates that Up- and Down-step responses (Figure 4, Human) were approximately opposite to each other, consistent with the model’s predicted twofold symmetry. Not surprisingly, level control responses were approximately intermediate between the two. The compensatory fluctuation pattern for Up-steps can therefore predict a significant portion of the patterns for the other two step height conditions.

Third, the speed fluctuation amplitudes decreased with faster walking speeds. There was a significant linear relationship between each Up-step trial’s average walking speed and its fluctuation amplitude. This yielded a weak but significant negative linear coefficient cν (−0.785 ± 0.618 c.i., p = 0.013), with offset near unity (d 1.008 ± 0.073 c.i.). This is equivalent to a 10% increment in overall speed being accompanied by a 11.1% reduction in speed fluctuation amplitude for an Up-step (1.4 m/s). The average Up-step fluctuation pattern (across all subjects) was a significant predictor of patterns for different overall speeds and two other step height conditions.

Humans walking durations were approximately conserved despite Up- and Down-step disturbances

Subjects were approximately compliant with the instruction to maintain a similar overall speed and walking duration across trials, whether or not there was an uneven step. There were no significant differences in overall speed, overall step length, or overall duration across trials, due to experimental condition (p = 0.65, p = 0.78, and p = 0.96, respectively, repeated measures ANOVA). Overall speeds were also fairly consistent across trials within Up- or Down-step conditions (2%–3% c.v.).

The apparent conservation of walking duration contrasts with what would be expected for a no-compensation strategy (Figure 1b). The model, if performing constant push-offs instead of compensating, would slow-down atop the Up-step (Figure 1b, speed), mainly due to the exchange of kinetic energy for potential energy. It would gradually accumulate a loss of about 0.7 s in time (Figure 1b, time) compared to level walking. Alternatively, a particle sliding on frictionless ground at human-like speed, would be expected to lose about 0.7 m/s and 8 s to an upward ramp of equivalent height. Thus, both a walking model and a sliding particle lose substantial speed and time due to a change in height, if there were no active time conservation. Human subjects did not lose significant time from the Up-step’s potential energy, nor did they gain significant time from the Down-step.

Discussion

We examined how humans anticipate and compensate for a step change in the height of an otherwise flat walking surface. The compensatory response was characterized by a systematic, triphasic pattern in walking speed fluctuations, from which we draw several notable observations. First, the response was a scalable pattern that exhibited self-similarity, in that the same basic pattern could describe behavior at a variety of average walking speeds and step lengths. In addition, the response also exhibited an anticipatory component, meaning that it partially occurred prior to physically encountering the step. Finally, the response was consistent with predictions from a simple walking model, optimizing for least mechanical work. We next discuss these findings and their implications for anticipatory human control.

Human speed fluctuations exhibited a systematic, scalable pattern. A single basic pattern could describe the Up- and Down-step responses of different individuals, and even the different trials of a single individuals. That pattern could simply be scaled in amplitude and time scale to match any single response (similar to model, Figure 3d), according to the trial’s average walking speed and step length (Figure 4). Systematicity is expected in part because of the deterministic and scalable dynamics of walking, with a pendulum-like exchange of kinetic and gravitational potential energy within each step (Kuo, 2002), and particularly an exchange of forward speed for vertical height atop the Up-step (i=0, Figure 2). A pendulum’s motion, and the action of the step-to-step transition, are consistent and scalable in speed and step length, and in amplitude and time (Kuo, 2002). The scalability could potentially make it unnecessary for the central nervous system (CNS) to synthesize or reoptimize a new compensation for each new perturbation encountered. The dynamics of walking appear consistent enough to facilitate prediction of the compensation patterns .

The observed active control pattern was anticipatory, reactive, and time conserving. The evidence for anticipation is that the speed fluctuations commenced a few steps before the perturbation, as the first phase of the triphasic pattern (e.g., steps i=-2,-1 in Figure 4), consisting of a speed-up prior to Up-steps, and a slow-down prior to Down-steps. This anticipation was not consistent with the alternative hypothetical strategies of no compensation (Figure 1b), reactive and nonanticipatory compensation (Figure 1c), and tight regulation to avoid step time fluctuations (Figure 1d). Rather it was consistent with the minimum-work optimal control model, and counteracted the subsequent effects of the perturbation, which were a substantial loss (gain) of speed and time atop the Up- (Down-) step, during the second phase of the triphasic pattern (i=0,1). Following that perturbation and despite the anticipation, walking speed was still slower (faster) than nominal, and thus counteracted by another gradual speed-up (slow-down) during the third, reactive phase (i=2,3,). It is unclear whether the reactive phase was produced by feedback or by planning, but its effects were apparently part of an overall compensatory plan, because all three phases together conserved overall walking duration. Nominal walking speed and nominal time were regained several steps after the perturbation. In principle, it should also be possible to compensate with a purely reactive control after the perturbation (e.g., Figure 1c), an entirely anticipatory control, or an infinite number of other variations. However, model simulations suggest that such actions would require more mechanical work (and in many cases, much more) than the more integrative, triphasic pattern extending both before and after the perturbation (Darici et al., 2020).

This compensatory strategy suggests that humans can consider energy and time in their control decisions. Optimal control is helpful for resolving redundancies and indeterminacies, but it is not straightforward to determine an objective function that adequately represents human behaviors. Metabolic energy expenditure is an important determinant of level locomotion (Alexander, 1996; Kuo et al., 2005), and transient perturbations only add to that expenditure. We used a simple proxy measure for energy expenditure, the push-off work for step-to-step transitions. That work is proportionate to and appears to account for a majority of energetic cost of steady walking (Adamczyk et al., 2006; Donelan et al., 2001; Donelan et al., 2002; Kuo et al., 2005), and explains much of the cost of transient accelerations (Seethapathi and Srinivasan, 2015). The work proxy is thus predictive of physiological energy expenditure, while having minimal need for fitted parameters. Our study also explicitly considers timing, which is not a concern in steady locomotion at fixed speed. Here, considerable time (Figure 1b) and/or economy (Figure 1c) would be lost to an uncompensated perturbation (Darici et al., 2018; Darici et al., 2020), making their interaction important. We therefore incorporated overall time as a constraint in the model, and as a task instruction in the experiment. Timing is certainly important for tasks such as catching a ball, and perhaps for locomotion tasks such as intercepting a sidewalk curb or catching up to a friend on the sidewalk. It is of course a matter of context whether a person wishes to conserve time, hurry, or dawdle. But saving time often costs more energy, and our results suggest that humans can plan economical locomotion strategies that avoid loss of time when appropriate.

There remains the question of how the control is implemented by the central nervous system. The human’s ability to reason about surface perturbations could be regarded as a mapping from visual terrain image and body state into a control action, equivalent to an inverse internal model of dynamics (Kawato, 1999). Examples from reinforcement learning suggest that such a mapping could be optimized iteratively (Heess et al., 2017), which might be representable with biological neurons. Our results suggest that the control policy could conceivably stored in quite compact form, because a single compensation pattern (e.g., Δvup) might simply be scaled for different walking speeds, step heights, or step lengths. It is also conceivable that such a pattern could be repeatedly applied or superimposed to predict long sequences of uneven terrain, which are also energetically costly (Kowalsky et al., 2021; Voloshina et al., 2013). Also needed for learning is a means to evaluate the objective cost function, perhaps with physiological sensors of metabolic cost (Selinger et al., 2015), but it might be sufficient to use sensors indirectly related to motion, and learn their association with energy. There is presently little known about how the CNS actually implements locomotor compensations, but the patterns observed here are relatively simple and scalable.

This study highlights a less-appreciated aspect of vision-based path planning. It is clear that humans use vision to plan paths for the body (Arechavaleta et al., 2008; Brown et al., 2021), including adjustment of COM height (Müller et al., 2012) and foot placement (Matthis and Fajen, 2013; Patla, 1998). After all, it is sensible to predict which paths are feasible and which are less arduous. But we found that humans plan not just positions, but also dynamical trajectories such as forward momentum. They make quick, dynamically sensible decisions to overcome quite minor obstacles, apparently for energetic benefit. Such planning might also explain the leg loading preceding a Down-step in human running (Müller et al., 2012). It is also consistent with how birds run over an obstacle, with an anticipatory vault in the step beforehand (i=-1), perhaps for economy (Birn-Jeffery et al., 2014). Path planning may therefore be for more than just body location, but also dynamical state.

There are of course, other possible optimality criteria not considered here. We have tested and rejected a few here: no compensation, reactive compensation, and tight speed regulation (Figure 1). Other alternatives could potentially be tested, if stated unambiguously and objectively enough to model. A challenge is that most quantitative models to date apply to steady-state conditions, and it is unknown whether they can predict transients. To our knowledge, the present study is the first to use a mechanistic model to predict behavioral, multistep trajectories performed by humans. Perhaps the closest analog is a model based on empirical energetic cost curves that explain the curvilinear paths that humans take to go through doorways (Brown et al., 2021). We suspect that the empirical costs could be predicted mechanistically by a three-dimensional version of our dynamic walking model (e.g., Rebula et al., 2017), although that remains to be tested. We also expect that our model is compatible with other, more complex models, if the center of mass (COM) moves in an inverted pendulum motion, and the mechanical work of step-to-step transitions accounts for much or most of the energy expenditure. It would be challenging to predict the observed human responses with a model that does not subscribe to these basic principles.

Such a mechanistic approach has similarities to the separate field of neuromotor control for upper extremity reaching movements. That field has demonstrated how humans learn and adapt their arm dynamics, consistent with CNS internal models (Franklin et al., 2008; Sharp et al., 2011). In reaching studies, adaptation is usually guided by repeated practice and explicit feedback, say of position error with respect to an explicit target. Trajectory planning may similarly apply to locomotion, in anticipation of perturbations to dynamics. But one difference here is that subjects received no explicit feedback of any kind of error, including timing, and no repeated practice. Their planning appears to be based on prior experience with similar dynamics and similar timing context. There may be rich opportunity for locomotion to borrow from the optimization approaches of reaching, while also providing a complementary perspective on CNS control.

The present study is a drastic simplification of the costs relevant to human locomotion. There are certainly many contributions to the metabolic cost, such as for muscles to produce force (Rebula and Kuo, 2015; van der Zee and Kuo, 2021) irrespective of work. There are also many actions known to cost energy during locomotion, for example transient adjustment of step length and frequency (Ojeda et al., 2015; Snaterse et al., 2011), active lifting of the swing foot for ground clearance (Wu and Kuo, 2016), and lateral step width and foot placement (Donelan et al., 2001; O’Connor et al., 2012). There are also nonenergetic factors that govern human behavior such as vigor (Shadmehr et al., 2019), which also affects timing, but in the form of a reward rather than the constraint used here. Stability may also be important for human locomotion, although we found no need to include it as an explicit objective, first because our walking model has passive dynamic stability against small disturbances (Kuo, 2002), and second because optimization for economy alone was sufficient to traverse the perturbation without falling. Stability might affect walking more when there is a more significant risk of falling than observed here. The present study shows that energy and time are two factors that may influence locomotion planning, but is also not intended to exclude other objectives and influences.

There are also limitations to the present model of walking. Notably, our model was intended to illustrate the effects of relatively small speed variations and surface height perturbations on pendulum-like walking. We did not explicitly control for walking speed, resulting in quite small differences between trials that make the speed scaling a rather weak test. We examined relatively low, 7.5 cm steps that can be traversed quite easily and still be treated as walking, as opposed to climbing stairs. The model did have predictive value (correlating with human with ρ = 0.50, Figure 4), but the human patterns seemed to have some qualitatively consistent differences, for example in the amount of slow-down preceding the Down-step, and the number of steps spent speeding up or slowing down (Figure 4). The differences might be related to how humans flex their knees when stepping down, and actively lift the foot to clear the trailing step, especially if the foot lands far behind it and must therefore travel a longer distance before moving to the lower height. This complex action could potentially influence the strategy for COM motion. It could potentially be included in dynamic walking models with explicit knee (e.g., Dean and Kuo, 2009) and ankle (Zelik et al., 2014) joints, which have step-to-step transition energetics similar to here (e.g., Donelan et al., 2002; Adamczyk et al., 2006). Such models could potentially be useful for stepping higher, but we also believe that steps as high as stairsteps would ultimately require quite different control, less like an inverted pendulum. We also expect that transiently varying step lengths and foot placements could be added to the model (Bhounsule, 2014; Kuo, 2001; Ojeda et al., 2015). We have previously proposed that substantial energy is also expended for active leg motions during steady walking (Doke and Kuo, 2007; Doke et al., 2005), perhaps half that expended for step-to-step transitions (Kuo, 2001). We presently lack a model for the cost of transient step adjustments, which could potentially provide more detail about how active speed and step length fluctuations are achieved (e.g. Appendix 2—figure 1). It is also likely that humans couple their sagittal and frontal plane motions for a change in step height, which might be accommodated in a three-dimensional model (Kim and Collins, 2017; Kuo, 1999). Considerable improvements might be achievable with additional dynamical degrees of freedom, but these would also entail additional free parameters, which must often be fit to data and could diminish the generality of the model predictions. An advantage of the present simple model is that it has negligible parametric sensitivity (Figure 3d), and predicts fundamental aspects of walking dynamics based on first principles.

Despite these limitations, we showed here that humans perform compensatory, multistep speed adjustments on uneven terrain. A simple model minimizing the mechanical work of step-to-step transitions can predict these adjustments. The adjustments start several steps before, extend after the perturbation, in a triphasic pattern of speed fluctuations. Such a pattern is consistent with metabolic energy expenditure as a criterion for optimal control, and shows that humans perform anticipatory control before a perturbation is directly encountered. The CNS appears to anticipate the effects of disturbances on the dynamics of the body and exploit these dynamics for active and economical control.

Materials and methods

This study consisted of an experiment to test how humans traverse a single Up- or Down-step interrupting steady walking. We hypothesized that humans would anticipate the surface height perturbation, and produce a compensatory pattern of walking speed fluctuations, similar to predictions from our previous modeling study (Darici et al., 2020). Specifically, the model predicted a triphasic pattern for speed fluctuations, intended to compensate for the perturbation with minimal mechanical work, and conserve overall walking speed and walking time over a walkway of fixed distance. Although the model is far simpler than human, its mechanical work appears to explain a substantial fraction of human metabolic cost, perhaps enough to predict anticipatory walking strategies. We first summarize the model predictions, prior to describing the experimental procedure.

Model of walking

We summarize predictions from an optimal control model of walking (Figure 2; Darici et al., 2020), with details in Appendix 1. The task is to walk down a walkway interrupted by a single Up- or Down-step (numbered step i=0; Figure 1a), with adjustments to the forward speed vi of the COM for each step i (Figure 2a; defined as the COM velocity at midstance when stance leg is vertical). The model has rigid, pendulum-like legs supporting a point-mass pelvis of mass M, along with infinitesimal-mass feet (Figure 2b; Kuo, 2002). The dynamics of the single stance phase are those of a simple inverted pendulum, which conserves mechanical energy and therefore loses speed stepping on an Up-step. As a simplification, the model’s legs nominally take steps either of fixed length similar to the ‘rimless wheel’ model (McGeer, 1990), or variable length increasing with speed according to the human preferred step length relationship (see Appendix 1). With inverted pendulum dynamics, a level, nominal step (Figure 2c) is energetically conservative, except when punctuated by a step-to-step transition, where the trailing leg pushes off (PO) impulsively just before the leading leg’s dissipative collision (CO) impulse. This redirects the center-of-mass (COM) velocity to a new pendular arc described by the leading leg. The push-off and collision impulses are performed along the axis of the corresponding legs, with push-off as the only powered actuation, and (perfectly inelastic) collision the only dissipation. The push-off work constitutes the only energy cost in this model. Experiments show that it explains how mechanical work and human metabolic energy expenditure increase as a function of step length (Donelan et al., 2002) or step width (in 3D model; Donelan et al., 2001) on level ground. Of course, there are certainly other costs such as to move the legs (Doke et al., 2005) or maintain balance (Donelan et al., 2004; O’Connor et al., 2012), but evidence suggests that they are dominated by the higher cost of step-to-step transitions (Kuo et al., 2005). Here, we modeled uneven terrain as a small, vertical height discrepancy b in step height, where additional push-off can help compensate for momentum lost to an Up-step (Figure 2d), and collision for momentum gained to a Down-step (Figure 2e).

Optimal control was used to determine the compensation for a single step height change (Darici et al., 2020). The objective was to minimize total push-off work for multiple (variable N) steps while compensating for the terrain unevenness. The model was governed by the walking dynamics and constrained to start and end its compensation at steady, nominal speed, with the N steps distributed equally before and after the Up-step. It was also constrained to match the total time for nominal level, steady walking, thus making up for time lost to the Up-step. The continuous time pendulum dynamics were controlled by discrete push-off work ui for each step (where i=0 for the push-off onto the Up-step), which served as the decision variables for optimization. Each push-off caused a change in the forward speed vi of the COM each step i (Figure 2a), discretely sampled at the midstance instance when the stance leg passed through vertical, prior to the step-to-step transition. The control strategy refers to the discrete sequence of speeds vi (including i over a range of steps), or equivalently the push-off sequence iui . We expected that the compensation would occur within several steps before and after the perturbation, and selected N=15 as more than sufficient to encompass the relevant speed fluctuations. In model, velocity perturbations decay within several steps, based on the exponential persistence time of model (about 90% decay within 5.7 steps; Darici et al., 2020). We simulated a nominal step height b equivalent to 7.5 cm.

Human subject experiment

To test model predictions, we measured speed fluctuations as humans walked down a level walkway (about 30 m) with a single, raised step onto a second level of 7.5 cm (Figure 1a). We tested healthy adult subjects (n = 12; 7 male, 5 female, all under 30 years age), whose steps and walking speed were measured with inertial measurement units (IMUs) on both feet. There were three conditions: Up-step, Down-step, and Control on level ground. Both Up- and Down-steps used the same walkway except in opposite directions, and Control took place on level floor directly alongside the walkway. The raised section, commencing about halfway down, was assembled from fairly rigid, polystyrene insulation foam. In all conditions, subjects walked at comfortable speed from a start line through and past a finish line. Trials took place in alternating direction, with a brief delay for the subject to turn around and stand briefly before starting the next trial. There were at least 4 (and up to 10) trials of each condition, usually with Up- and Down-steps alternating with each other, except with occasional Control conditions inserted at random and interrupting that pattern. Before data collection, subjects were given opportunity to try the conditions and gain familiarity with the walkway and the location of the Up-step. For brevity, all mentions of the Up-step apply equally to the Down-step, unless explicitly stated. We tested one-sample group, with sample size (n = 12) selected for a statistical power of at least 0.8, based on previous data for anticipated means and SDs (Darici, 2015). The experiment was performed once, and each test subject was tested once with each condition as a repeated measure. All subjects provided written informed consent prior to the experiment, according to Institutional Review Board procedures (University of Michigan, Energetics, Balance, and Control of Human Locomotion, HUM00020554).

The experiment was minimally governed, aside from instructing subjects which conditions to perform. To establish a subjective ‘normal’ walking speed, and walking time, subjects first performed two to four Control trials at the beginning of the experiment. We provided context by instructing subjects to walk ‘in about the same time’ throughout the experiment, although they never received feedback about their timing, reported in Results. The instructions were to avoid behaviors that might otherwise be considered normal in daily life, for example stopping to inspect the Up-step or to tie a shoelace or deciding to hurry through the experiment. We consider a loose time goal to be more explicit about expectations than a simpler but potentially ambiguous instruction to ‘walk normally’. At the same time, we allowed for arbitrary self-selected speeds, because the model’s predictions do not depend on a particular speed. We thus expected a range of speeds across trials and across subjects. To help subjects to step onto the Up-step without stutter steps, there was a visual cue (a paper sticker) on the otherwise featureless walking surface, several steps (approximately 5 m) before the Up-step. Subjects were informed that they could use this cue to line up their steps prior to the Up-step, although they were not required to use it, and no trials were excluded even if there was a stutter step. Anecdotally, most subjects appeared to pay little attention to the sticker, especially after the first few trials.

We measured walking speed fluctuation trajectories (Figure 6) with IMUs. A discrete body speed was recorded for each walking step, based on an integrated trajectory for each foot (Rebula et al., 2013). The trajectories were computed from an IMU mounted atop each foot (Figure 6a), with gravity-compensated accelerations integrated to yield a spatiotemporal trajectory, subject to an assumption that each foot comes briefly to rest during each footfall, approximately in the middle of stance when the foot is flat on ground. These instances were used to correct the integrated foot velocity to zero, and thus reduce integration drift (Rebula et al., 2013). We then estimated stride length and time from the forward distance and time between an IMU’s footfalls, respectively. Individual distances traveled by the 2 feet (Figure 6b) were corrected for integration drift so that they both agreed on overall distance, using linear detrending. Each foot’s average speed over a stride (Figure 6c) was defined as the stride length between two discrete footfall (midstance) instants of the same foot, divided by the stride time between those instants. The body’s forward walking speed (Speed, Figure 6c and subsequent figures) was estimated as a discrete sequence of these average speeds, once per step by alternating left and right feet (assuming the body travels at the same distance per stride as the feet), with each sample i corresponding to the midstance instance at beginning of stride. These speed trajectories were analyzed for a central, 8.5 m segment of the walkway, or about 15 steps surrounding the Up-step (Figure 1a). This was more than sufficient to encompass the compensation patterns, which largely took place within only a few steps before and after the perturbation. To compare between trials, the time t=0 was defined as the instant of the footfall onto the Up-step (or Down-step, or step next to it for Control), as detected by IMU. The speed trajectory for each subject’s trials within a condition was averaged at discrete step numbers, as were the times for those steps, to yield an individual’s average speed trajectory per condition.

Figure 6. Experimental measurement of forward walking speed from inertial data (representative data).

Figure 6.

(a) Foot trajectories in space are computed from inertial measurement unit (IMU) data. Shown are representative sagittal plane trajectory for one foot’s motion during a stride, and the individual strides for both feet during an Up-step trial (with 2× vertical scale for trial). Trajectories were integrated from an IMU atop each foot, where drift was reduced by detecting footfall instances (black dots) where the foot was stationary, and correcting the integrated velocity to zero at those instances (Rebula et al., 2013). (b) Forward speed vs. time for each foot and for the body. Each foot’s instantaneous forward speed was computed from the spatial trajectories. The average speed during each stride (‘stride average’, filled symbols) was determined, equal to the distance traveled divided by the stride duration. This was then treated as the body speed for each step (inset figure, filled symbols are same as stride averages), sampled discretely from each foot’s strides at the respective footfall instances. The fluctuations in body speed were compared with model predictions.

Model predictions were tested with speed trajectories for Up-step, Down-step, and Control conditions. First, we tested the consistency of human responses across different speeds and different subjects. Each individual’s trajectories (as discrete sequences) were compared against the average trajectory for all individuals with Pearson’s correlation coefficient ρ, with significant correlation determined by one-sample t-test. The patterns were thus compared for their shape for each discrete step, and not their amplitude or time scale. Significant correlation was therefore also used as an indicator of self-similarity across speeds, step lengths, and subjects.

Next, as a test of the model (Figure 3), individual subject trajectories were correlated against the model’s predicted trajectories. The model was intended to predict proportionalities in speed and work, and therefore the shapes of the fluctuation patterns, rather than absolute quantities. Therefore, each individual’s speed fluctuation pattern of N steps was correlated against the predicted pattern, with the Pearson’s correlation coefficient ρ expected to be positive (as opposed to a null hypothesis value of zero). Positive correlation across all subjects was tested for significance with one-sample paired t-test. The model predicted similar fluctuation patterns regardless of parameter choices (Figure 3d), and so we compared human against the model with fixed step lengths for simplicity. Only the optimal control model was tested in this way, whereas the alternative strategies (Figure 1) were tested by inspection.

Finally, we tested the model’s predicted scaling of speed fluctuations with step height and speed. We expected that the average Up-step response could predict the amplitude each individual’s response to Down-step and level control and across different speeds. These were tested with two types of linear regression, with the hypothesized predictor Δviup denoting the average Up-step speed fluctuation pattern (across all subjects and Up-step trials, for steps i=(N1)/2 to (N1)/2, with Δ denoting fluctuation from average). The fluctuation waveform Δvjk for a subject j and trial k was expected to scale in proportion to the trial’s step height bjk (+7.5, 0, and −7.5 cm),

stepheightscaling:Δvijk(cbbjkbup+db)Δviupforallstepsi

where bup is the Up-step height, and cb and db the coefficient and offset from regression. Similarly, the fluctuation waveform was expected to scale in negative proportion to a trial’s overall speed v´jk,

Speedscaling:Δvijk(cvv¯jkv¯up+dv)Δviupforallstepsi

where cv and dv are speed-related coefficient and offset, and v´up the average walking speed for all Up-step trials. Scaling with step height was tested by statistical significance of cb, expected to be near unity. Scaling with speed was tested by significance of cv, expected to be slightly negative. The offsets db and dv were expected to be near zero and unity, respectively, but were not tested because only cb and cv were central to the hypothesis. We did not explicitly control for walking speed, and so the speed test relies on a sufficient range of differences in self-selected speeds between trials. Statistical significance was tested with a p threshold of 0.05.

Acknowledgements

This work is supported by NSF DGE 0718128, the ONR ETOWL program, NIH AG030815, the Dr. Benno Nigg Research Chair (University of Calgary), and NSERC (Natural Sciences and Engineering Research Council of Canada) Discovery program and Canada Research Chair (Tier 1) program.

Appendix 1

Dynamic walking model

The model dynamics are briefly summarized as follows (detailed previously by Darici et al., 2018). Each of N steps has index i with the Up- or Down-step disturbance located at i=0 (Figure 1c). Negative i therefore refer to the preparatory steps beforehand, and positive to recovery steps thereafter. Each step has a pendulum-like single stance phase with passive dynamics, and a costly step-to-step transition. Mechanical work is only performed during that transition, starting with COM velocity vi directed forward and downward at the end of each stance phase. For brevity, the equations presented here use dimensionless versions of quantities, with M, g, and L as base units. The step-to-step transition starts with pre-emptive push-off work ui (in units of mass-normalized work) performed impulsively along the trailing leg to redirect the COM velocity. This is followed immediately by the heel-strike collision along the leading leg, to yield postcollision velocity vi+ . Again applying impulse momentum (Kuo, 2002),

. vi+=vicos2α+2uisin2α (1)

where 2α is a fixed interleg angle (Figure 2).

Another single stance phase follows the step-to-step transition, and is modeled as an underactuated, simple inverted pendulum. As a discrete indicator of overall forward momentum, we use the midstance velocity vi (no superscript; see Figure 1) following step-to-step transition vi, sampled when the leg is vertical, and the COM velocity is purely forward.

We treat steady, level walking as the nominal condition (Figure 1c). The nominal push-off work ui offsets the collision work (Kuo, 2002), so that

ui=12(vi)2tan2α (2)

and vi+=vi . The uneven step disturbs steady walking (Figure 1d). Its height b (positive for Up-steps, negative for Down-steps) causes the preceding stance phase to end with a different stance leg angle from nominal. For a given height b and step length S, we define the angular disturbance as δi,

δ0=sin1bS,δi=0fori0 (3)

where the angle is zero for all nondisturbance steps.

An inverted pendulum stance phase follows each step-to-step transition. A step time τi defined as the time for the stance leg angle θ to move between successive step-to-step transitions, from vi+ to vi+1+ and passing through midstance speed vi .

Using the linearized dynamics, the dimensionless step time τi of step i is

τi=logαδi+1(vi+)22α(δi+δi+1)+δi=12δi2vi+αδi. (4)

Solving the equation of motion with the step time, the velocity at end of stance vi+1, or equivalently the beginning of the next step-to-step transition can be found as:

vi+1=12(eτi(vi++α+δi)+eτi(vi+αδi)). (5)

Midstance time τi for step i can also be found using the linearized dynamics:

τi=log((vi+)2α22αδiδi2vi+αδi) (6)

Solving for mid-stance speed vi,

vi=12(eτi(vi++α+δi)+eτi(vi+αδi)) (7)

We chose nominal parameters to correspond to typical human walking, with two ways to specify step length. The nominal gait was for a person with leg length L of 1 m walking at 1.5 m/s, with step length of 0.79 m and step time of 0.53 s (from anecdotal observations). This step length was kept fixed in the optimization, and parameter sensitivities were computed for a longer fixed value (0.95 m in Figure 3d), detailed more extensively previously (Darici et al., 2020). The other specification was to increase step length according to the preferred human relationship, increasing approximately with v0.42 (Grieve, 1968) and thereby changing the work cost slightly. Optimization yielded similar shaped speed fluctuation patterns with little sensitivity to fixed or variable step length (Figure 3d). In model, the sole optimization cost was push-off work, neglecting costs for moving the legs back and forth (Kuo, 2001), expected to be fairly constant for the small speed fluctuations predicted by model.

Using dynamic similarity, parameters and results may be expressed in terms of body mass M, gravitational acceleration g, and L as base units. The corresponding model parameters treated as dimensional are angle α=0.41, push-off U=0.0342MgL, step time T=1.665g-0.5L0.5, and precollision speed V=0.601g0.5L0.5, where capital letters indicate nominal values for ui, τi, and vi, respectively. We also refer to a nominal speed V=0.44g0.5L0.5 for midstance speed vi . We considered a range of Up-step heights, for example b=0.075L, equivalent to about 7.5 cm for a human.

Optimization problem

The optimization is formulated as follows, with policy π denoting the set of push-offs ui:

π=argminπi=(N1)/2(N1)/2ui

subject to:

  • Speed:v(N1)/2=V,v(N1)/2=V

  • Time:i=(N1)/2(N1)/2τi=TN

  • Dynamics: Model dynamics (above)

where N is the total (odd) number of steps and step i=0 is the first step on the Up-/Down-step. Thus, N adjusts how far in advance and or after the perturbation for which the model can modulate its momentum or speed. The speed constraints are such that the initial and final conditions are equal to the nominal, steady speed V. The time constraint makes up for lost time, so that the total time is equal to the nominal time to walk N steps on level ground. By the end of the control sequence, the model must walk at the same speed as nominal and must have caught up with the nominal model on level ground. We chose N large enough to cover the speed adjustments that humans made in the experiments. Note that, because human speeds are most conveniently measured from footfall to footfall, we converted the model speeds to a similar footfall definition (stride length divided by stride time, footfall to footfall) for purposes of comparison between model and human (Figure 5). The optimization problem was formulated and solved using a constrained optimization solver (Matlab ‘fmincon’, MathWorks, Inc, Natick, MA, USA).

Appendix 2

Step duration and step length fluctuations

Reported here are human subject compensation patterns for Up- and Down-step perturbations (Appendix 2—figure 1), in terms of step durations and step lengths. This study was primarily concerned with the fluctuations in forward speed or momentum that humans perform to compensate for a step height perturbation. Humans can modulate their speed with transient changes to both step length and step time, a feature not included in the present model. The human data are included here to facilitate future models that could provide greater detail on these responses.

We did not perform hypothesis tests on these data, but a few descriptive measures are provided. For Up-steps (Appendix 2—figure 1 left/top row), step lengths were about +3.1%, +18.5%, and −7% for the three steps surrounding the perturbation (i=-1, 0, + 1), respectively, compared to average step length. For Down-steps, the corresponding step length differences were 0.24%, 2.29%, and −2.58% (Appendix 2—figure 1, bottom row). As for step times (Appendix 2—figure 1, bottom), the Up-step differences were −5.8%, +15%, and −2.7%, and Down-steps differences were +2.5%, +2.5%, and −3.5%, compared to average step period. Qualitatively, humans appeared to distribute compensations differently between Up- and Down-steps. Whereas speed fluctuations were approximately opposite in amplitude (Figure 4) for Up- vs. Down-steps, the same does not appear true for step durations (Appendix 2—figure 1, left column) and step lengths (Appendix 2—figure 1, right column). We speculate that the human knee affords different strategies for regulating forward momentum when stepping upward vs. downward.

Appendix 2—figure 1. Human (left column) empirical step duration and (right column) step length fluctuations vs. time, for (a) Up-step and (b) Down-step.

Appendix 2—figure 1.

Shown are step durations and step lengths for each step (line denotes mean across subjects, shaded area denotes ±1 SD; N = 12) vs. time, with vertical line denoting the step onto the perturbation. The human speed fluctuations (Figure 4) appeared to be achieved by transiently changing a combination of step durations and step lengths. Each discrete speed is defined as each step’s corresponding step length divided by duration.

These observations suggest possibilities for incorporation into a model. To predict transiently changing step durations and lengths, the model would need an associated energetic cost. The only cost included here is for step-to-step transitions, which appear to account for the majority of human energy expenditure during walking (Kuo et al., 2005). We have proposed that humans pay an additional cost for moving the legs back and forth, which could explain the energetically optimal step length for steady walking (Kuo, 2001), and could account for about one-third of its overall cost (Doke et al., 2005). Transient step adjustments would be expected to alter or add to the steady cost, in amount not yet modeled, because the mechanistic determinants remain unknown. Nevertheless, the existence of such a cost does not exclude step-to-step transition costs as an important determinant of the speed fluctuations observed here.

Funding Statement

The funders had no role in study design, data collection, and interpretation, or the decision to submit the work for publication.

Contributor Information

Osman Darici, Email: osman.darici1@ucalgary.ca.

Lena H Ting, Emory University, United States.

Aleksandra M Walczak, École Normale Supérieure, France.

Funding Information

This paper was supported by the following grants:

  • National Science Foundation to Osman Darici, Arthur D Kuo.

  • Office of Naval Research ETOWL program to Osman Darici, Arthur D Kuo.

  • National Institutes of Health AG030815 to Osman Darici, Arthur D Kuo.

  • University of Calgary to Osman Darici, Arthur D Kuo.

  • Natural Sciences and Engineering Research Council of Canada Discovery program to Osman Darici, Arthur D Kuo.

  • Canada Research Chairs to Osman Darici, Arthur D Kuo.

Additional information

Competing interests

No competing interests declared.

Author contributions

Formal analysis, Investigation, Writing - original draft, Writing - review and editing.

Funding acquisition, Investigation, Supervision, Writing - original draft, Writing - review and editing.

Ethics

All subjects provided written informed consent prior to the experiment, according to Institutional Review Board procedures (University of Michigan, Energetics, Balance, and Control of Human Locomotion, HUM00020554).

Additional files

Transparent reporting form

Data availability

All data generated or analyzed during this study are included in the manuscript and supporting file.

References

  1. Adamczyk PG, Collins SH, Kuo AD. The advantages of a rolling foot in human walking. The Journal of Experimental Biology. 2006;209:3953–3963. doi: 10.1242/jeb.02455. [DOI] [PubMed] [Google Scholar]
  2. Alexander RM. Optima for Animals. Princeton, NJ: Princeton University Press; 1996. [Google Scholar]
  3. Arechavaleta G., Laumond JP, Hicheur H, Berthoz A. An Optimality Principle Governing Human Walking. IEEE Transactions on Robotics. 2008;24:5–14. doi: 10.1109/TRO.2008.915449. [DOI] [Google Scholar]
  4. Bauby CE, Kuo AD. Active control of lateral balance in human walking. Journal of Biomechanics. 2000;33:1433–1440. doi: 10.1016/s0021-9290(00)00101-9. [DOI] [PubMed] [Google Scholar]
  5. Bhounsule PA. Control of a compass gait walker based on energy regulation using ankle push-off and foot placement. Robotica. 2014;33:1314–1324. doi: 10.1017/S0263574714000745. [DOI] [Google Scholar]
  6. Birn-Jeffery AV, Hubicki CM, Blum Y, Renjewski D, Hurst JW, Daley MA. Don’t break a leg: running birds from quail to ostrich prioritise leg safety and economy on uneven terrain. The Journal of Experimental Biology. 2014;217:3786–3796. doi: 10.1242/jeb.102640. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Brown GL, Seethapathi N, Srinivasan M. A unified energy-optimality criterion predicts human navigation paths and speeds. PNAS. 2021;118:e2020327118. doi: 10.1073/pnas.2020327118. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Darici O. Dynamic Walking. Beware of the bump: Optimal strategy to traverse a step height perturbation; 2015. [Google Scholar]
  9. Darici O, Temeltas H, Kuo AD. Optimal regulation of bipedal walking speed despite an unexpected bump in the road. PLOS ONE. 2018;13:e0204205. doi: 10.1371/journal.pone.0204205. [DOI] [PMC free article] [PubMed] [Google Scholar]
  10. Darici O, Temeltas H, Kuo AD. Anticipatory Control of Momentum for Bipedal Walking on Uneven Terrain. Scientific Reports. 2020;10:540. doi: 10.1038/s41598-019-57156-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Dean JC, Kuo AD. Elastic coupling of limb joints enables faster bipedal walking. Journal of the Royal Society, Interface. 2009;6:561–573. doi: 10.1098/rsif.2008.0415. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Doke J, Donelan JM, Kuo AD. Mechanics and energetics of swinging the human leg. The Journal of Experimental Biology. 2005;208:439–445. doi: 10.1242/jeb.01408. [DOI] [PubMed] [Google Scholar]
  13. Doke J, Kuo AD. Energetic cost of producing cyclic muscle force, rather than work, to swing the human leg. The Journal of Experimental Biology. 2007;210:2390–2398. doi: 10.1242/jeb.02782. [DOI] [PubMed] [Google Scholar]
  14. Donelan JM, Kram R, Kuo AD. Mechanical and metabolic determinants of the preferred step width in human walking. Proceedings. Biological Sciences. 2001;268:1985–1992. doi: 10.1098/rspb.2001.1761. [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Donelan JM, Kram R, Kuo AD. Mechanical work for step-to-step transitions is a major determinant of the metabolic cost of human walking. The Journal of Experimental Biology. 2002;205:3717–3727. doi: 10.1242/jeb.205.23.3717. [DOI] [PubMed] [Google Scholar]
  16. Donelan J, Shipman D, Kram R, Kuo A. Mechanical and metabolic requirements for active lateral stabilization in human walking. Journal of Biomechanics. 2004;37:827–835. doi: 10.1016/j.jbiomech.2003.06.002. [DOI] [PubMed] [Google Scholar]
  17. Drew T, Andujar JE, Lajoie K, Yakovenko S. Cortical mechanisms involved in visuomotor coordination during precision walking. Brain Research Reviews. 2008;57:199–211. doi: 10.1016/j.brainresrev.2007.07.017. [DOI] [PubMed] [Google Scholar]
  18. Franklin DW, Burdet E, Tee KP, Osu R, Chew C-M, Milner TE, Kawato M. CNS learns stable, accurate, and efficient movements using a simple algorithm. The Journal of Neuroscience. 2008;28:11165–11173. doi: 10.1523/JNEUROSCI.3099-08.2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Grieve DW. Gait patterns and the speed of walking. Biomedical Engineering. 1968;3:119–122. [Google Scholar]
  20. Heess N, Tb D, Sriram S, Lemmon J, Merel J, Wayne G, Tassa Y, Erez T, Wang Z, Eslami SMA. Emergence of Locomotion Behaviours in Rich Environments. arXiv. 2017 https://arxiv.org/abs/1707.02286
  21. Horak FB, Nashner LM, Diener HC. Postural strategies associated with somatosensory and vestibular loss. Experimental Brain Research. 1990;82:167–177. doi: 10.1007/BF00230848. [DOI] [PubMed] [Google Scholar]
  22. Kawato M. Internal models for motor control and trajectory planning. Current Opinion in Neurobiology. 1999;9:718–727. doi: 10.1016/s0959-4388(99)00028-8. [DOI] [PubMed] [Google Scholar]
  23. Kim M, Collins SH. Once-Per-Step Control of Ankle Push-Off Work Improves Balance in a Three-Dimensional Simulation of Bipedal Walking. IEEE Transactions on Robotics. 2017;33:406–418. doi: 10.1109/TRO.2016.2636297. [DOI] [Google Scholar]
  24. Kowalsky DB, Rebula JR, Ojeda LV, Adamczyk PG, Kuo AD. Human walking in the real world: Interactions between terrain type, gait parameters, and energy expenditure. PLOS ONE. 2021;16:e0228682. doi: 10.1371/journal.pone.0228682. [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Kuo AD. An optimal control model for analyzing human postural balance. IEEE Transactions on Bio-Medical Engineering. 1995;42:87–101. doi: 10.1109/10.362914. [DOI] [PubMed] [Google Scholar]
  26. Kuo AD. Stabilization of Lateral Motion in Passive Dynamic Walking. The International Journal of Robotics Research. 1999;18:917–930. doi: 10.1177/02783649922066655. [DOI] [Google Scholar]
  27. Kuo AD. A simple model of bipedal walking predicts the preferred speed-step length relationship. Journal of Biomechanical Engineering. 2001;123:264–269. doi: 10.1115/1.1372322. [DOI] [PubMed] [Google Scholar]
  28. Kuo AD. Energetics of actively powered locomotion using the simplest walking model. Journal of Biomechanical Engineering. 2002;124:113–120. doi: 10.1115/1.1427703. [DOI] [PubMed] [Google Scholar]
  29. Kuo AD, Donelan JM, Ruina A. Energetic consequences of walking like an inverted pendulum: step-to-step transitions. Exercise and Sport Sciences Reviews. 2005;33:88–97. doi: 10.1097/00003677-200504000-00006. [DOI] [PubMed] [Google Scholar]
  30. Matthis JS, Fajen BR. Humans exploit the biomechanics of bipedal gait during visually guided walking over complex terrain. Proceedings. Biological Sciences. 2013;280:20130700. doi: 10.1098/rspb.2013.0700. [DOI] [PMC free article] [PubMed] [Google Scholar]
  31. McGeer T. Passive Dynamic Walking. The International Journal of Robotics Research. 1990;9:62–82. doi: 10.1177/027836499000900206. [DOI] [Google Scholar]
  32. Müller R, Ernst M, Blickhan R. Leg adjustments during running across visible and camouflaged incidental changes in ground level. The Journal of Experimental Biology. 2012;215:3072–3079. doi: 10.1242/jeb.072314. [DOI] [PubMed] [Google Scholar]
  33. Ojeda LV, Rebula JR, Kuo AD, Adamczyk PG. Influence of contextual task constraints on preferred stride parameters and their variabilities during human walking. Medical Engineering & Physics. 2015;37:929–936. doi: 10.1016/j.medengphy.2015.06.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. O’Connor SM, Kuo AD. Direction-dependent control of balance during walking and standing. Journal of Neurophysiology. 2009;102:1411–1419. doi: 10.1152/jn.00131.2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. O’Connor SM, Xu HZ, Kuo AD. Energetic cost of walking with increased step variability. Gait & Posture. 2012;36:102–107. doi: 10.1016/j.gaitpost.2012.01.014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  36. Pandolf KB, Givoni B, Goldman RF. Predicting energy expenditure with loads while standing or walking very slowly. Journal of Applied Physiology. 1977;43:577–581. doi: 10.1152/jappl.1977.43.4.577. [DOI] [PubMed] [Google Scholar]
  37. Park S, Horak FB, Kuo AD. Postural feedback responses scale with biomechanical constraints in human standing. Experimental Brain Research. 2004;154:417–427. doi: 10.1007/s00221-003-1674-3. [DOI] [PubMed] [Google Scholar]
  38. Patla A, Rietdyk S. Visual control of limb trajectory over obstacles during locomotion: effect of obstacle height and width. Gait & Posture. 1993;1:45–60. doi: 10.1016/0966-6362(93)90042-Y. [DOI] [Google Scholar]
  39. Patla AE, Prentice SD. The role of active forces and intersegmental dynamics in the control of limb trajectory over obstacles during locomotion in humans. Experimental Brain Research. 1995;106:499–504. doi: 10.1007/BF00231074. [DOI] [PubMed] [Google Scholar]
  40. Patla AE. How Is Human Gait Controlled by Vision. Ecological Psychology. 1998;10:287–302. doi: 10.1080/10407413.1998.9652686. [DOI] [Google Scholar]
  41. Rebula JR, Ojeda LV, Adamczyk PG, Kuo AD. Measurement of foot placement and its variability with inertial sensors. Gait & Posture. 2013;38:974–980. doi: 10.1016/j.gaitpost.2013.05.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  42. Rebula JR, Kuo AD. The cost of leg forces in bipedal locomotion: a simple optimization study. PLOS ONE. 2015;10:e0117384. doi: 10.1371/journal.pone.0117384. [DOI] [PMC free article] [PubMed] [Google Scholar]
  43. Rebula JR, Ojeda LV, Adamczyk PG, Kuo AD. The stabilizing properties of foot yaw in human walking. Journal of Biomechanics. 2017;53:1–8. doi: 10.1016/j.jbiomech.2016.11.059. [DOI] [PMC free article] [PubMed] [Google Scholar]
  44. Seethapathi N, Srinivasan M. The metabolic cost of changing walking speeds is significant, implies lower optimal speeds for shorter distances, and increases daily energy estimates. Biology Letters. 2015;11:20150486. doi: 10.1098/rsbl.2015.0486. [DOI] [PMC free article] [PubMed] [Google Scholar]
  45. Selinger JC, O’Connor SM, Wong JD, Donelan JM. Humans Can Continuously Optimize Energetic Cost during Walking. Current Biology. 2015;25:2452–2456. doi: 10.1016/j.cub.2015.08.016. [DOI] [PubMed] [Google Scholar]
  46. Shadmehr R, Reppert TR, Summerside EM, Yoon T, Ahmed AA. Movement Vigor as a Reflection of Subjective Economic Utility. Trends in Neurosciences. 2019;42:323–336. doi: 10.1016/j.tins.2019.02.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
  47. Sharp I, Huang F, Patton J. Visual error augmentation enhances learning in three dimensions. Journal of Neuroengineering and Rehabilitation. 2011;8:52. doi: 10.1186/1743-0003-8-52. [DOI] [PMC free article] [PubMed] [Google Scholar]
  48. Snaterse M, Ton R, Kuo AD, Donelan JM. Distinct fast and slow processes contribute to the selection of preferred step frequency during human walking. Journal of Applied Physiology. 2011;110:1682–1690. doi: 10.1152/japplphysiol.00536.2010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  49. van der Zee TJ, Kuo AD. The high energetic cost of rapid force development in muscle. The Journal of Experimental Biology. 2021;224:jeb233965. doi: 10.1242/jeb.233965. [DOI] [PubMed] [Google Scholar]
  50. Voloshina AS, Kuo AD, Daley MA, Ferris DP. Biomechanics and energetics of walking on uneven terrain. The Journal of Experimental Biology. 2013;216:3963–3970. doi: 10.1242/jeb.081711. [DOI] [PMC free article] [PubMed] [Google Scholar]
  51. Wang Y, Srinivasan M. Stepping in the direction of the fall: the next foot placement can be predicted from current upper body state in steady-state walking. Biology Letters. 2014;10:20140405. doi: 10.1098/rsbl.2014.0405. [DOI] [PMC free article] [PubMed] [Google Scholar]
  52. Wu AR, Kuo AD. Determinants of preferred ground clearance during swing phase of human walking. The Journal of Experimental Biology. 2016;219:3106–3113. doi: 10.1242/jeb.137356. [DOI] [PMC free article] [PubMed] [Google Scholar]
  53. Zarrugh MY, Todd FN, Ralston HJ. Optimization of energy expenditure during level walking. European Journal of Applied Physiology and Occupational Physiology. 1974;33:293–306. doi: 10.1007/BF00430237. [DOI] [PubMed] [Google Scholar]
  54. Zelik KE, Huang TWP, Adamczyk PG, Kuo AD. The role of series ankle elasticity in bipedal walking. Journal of Theoretical Biology. 2014;346:75–85. doi: 10.1016/j.jtbi.2013.12.014. [DOI] [PMC free article] [PubMed] [Google Scholar]

Editor's evaluation

Lena H Ting 1

The study combines theoretical and experimental approaches to probe the laws governing strategy for coping with the control of stepping on uneven terrain. Congruent results in anticipatory and reactive adjustments indicate that a simple strategy based on the conservation of energy may be expressed within neural control pathways for locomotion.

Decision letter

Editor: Lena H Ting1
Reviewed by: Manoj Srinivasan2

Our editorial process produces two outputs: (i) public reviews designed to be posted alongside the preprint for the benefit of readers; (ii) feedback on the manuscript for the authors, including requests for revisions, shown below. We also include an acceptance summary that explains what the editors found interesting or important about the work.

Decision letter after peer review:

Thank you for submitting your article "Humans optimally anticipate and compensate for an uneven step during walking" for consideration by eLife. Your article has been reviewed by 3 peer reviewers, and the evaluation has been overseen by a Reviewing Editor and Aleksandra Walczak as the Senior Editor. The following individual involved in review of your submission has agreed to reveal their identity: Manoj Srinivasan (Reviewer #3).

The reviewers have discussed their reviews with one another, and the Reviewing Editor has drafted this to help you prepare a revised submission.

Essential revisions:

1) Stride length: The authors need to address whether the model limitations of using a fixed stride length affect the generalization of the results to variable stride lengths. The generalization of the claims, even in a qualitative way, need to be demonstrated, particularly as the authors have previously published simulation predictions with variable stride length. The reviewers agree that even a qualitative match between simulations and experiments would be sufficient given the inherent limitations of a simple model.

2) Timing: Several questions regarding the claims with respect to timing require clarification and potentially further simulations. The time constraint imposed on the simulation is a particular concern; the total time should be released or at a minimum, the cost of different total times should be compared. Without doing so, the claim that there is no time lost due to the perturbation are not supported. Another issue with the claims around timing are the potential bias based on instruction to the participants. These multiple issues need to be addressed to substantiate the claims around timing.

3) Given that the simulations appear to have been published previously, the contributions of this manuscript above and beyond those of previous ones by the authors need to be more fully described. What is the major advance that this paper provides?

4) Aspects of the study methodology require clarification. These include the tested hypotheses, subject instructions and the scientific rationale for the study design and outcomes. Considerations for alternative study design and study limitations should be addressed in the discussion.

5) A more complete discussion of the modeling assumptions and limitations needs to be included. These should include both the limitation of a simple model, the effects of including a swing limb, and alternative optimality criteria that may provide either similar or disparate results.

Reviewer #1 (Recommendations for the authors):

1) The suggestion that the automatic optimization strategy is engaged here does not indicate whether this solution is dictated by subject instructions. In other words, could the solution here be simply the fact that subjects would be instructed not to stop when transversing the obstacles? The implied automatic action for this adaptation is not fully supported by experiments.

2) The description of background information could benefit from a more thorough review of the related studies and clarifications.

3) The study refers to the feedforward limb speed control in the study design and outcomes; yet, no background for the CNS using this parameter as a variable is provided. If this is an assumption then it should be identified as such.

4) One of the main findings is the self-similarity of the anticipatory response at multiple average speeds and step lengths. This brings a few concerns related to the normalization (see specific question 6) and the overall significance of this outcome. The discussion should identify the impact of this finding on the conclusions.

5) The overall study design appears to be unclear. The interplay between the tested hypotheses and the background or theoretical facts is not fully clear. The understanding of study validity could be improved by the additional description of study design and the consideration of alternatives and study limitations. For example, stepping over obstacles could be executed with multiple strategies and probably in a context-dependent way. These alternatives and the experimental observations should be discussed in the context of the findings in this study.

6) P2, ln8 "This raises the question.…" The general point expressed here may benefit from the focus on the specific question. As is, the outcome may be task-dependent, e.g., the interception of prey would require a different strategy from that used to catch a ball.

7) P2, ln22 "The negotiation of uneven terrain.…" The background literature highlighting these points could be added. The predictive planning in the same context was previously demonstrated in studies by Patla in humans and in animals by Drew.

8) p2, ln43 "… humans compensate for ground perturbations is unknown…" This may be an overgeneralization. There are multiple types of ground perturbations. Some mechanisms are known and documented, e.g., the mechanisms of the stretch reflex and finite step phase transition rules in humans and animals (including insects), e.g., Prochazka's models.

9) p3, ln23 "… swing phase dynamics are ignored, and the legs are constrained to fixed step lengths.…" This oversimplification does not agree with the observed experimental results. The dependency of limb speed on the control of the swing phase has a direct bearing on the assumption of limb speed control. The implications of this limitation should be clarified. Ultimately, the addition of swing dynamics with the appropriate stride length dependency could substantially support the claims in this study.

10) p4, ln10 "… discretely sampled a the mid-stance instance.…" The measurement of step speed should be clarified. Have you estimated the speed of the center of mass or some other related kinematic landmark?

11) Figure 2 The analysis is done in time even though the speed of each subject was self-paced. The previous studies indicate that humans may use discrete in time step-based control, which would imply that the analysis in Figure 2 should be similarly normalized to each step.

12) p6, ln25 "… systematic behavior.…" This statement may be unclear. What is the nature of these systematic variations amongst volunteers?

13) p6, ln28 " Humans compensated for.…" This statement makes a specific claim based on the presented testing; however, the hypothesis for the tests has not been expressed. Please, consider clarifying the nature of the study design here. Was this work driven by the rationale or the specific a priori hypotheses?

14) p6, ln33 "… would lose 1 s.…" This statement likely implies a full stop for a second prior to the step over the obstacle. Please confirm or clarify the origin of this conclusion. Also, it is unclear if this simulated behavior depended on the initial conditions. For example, the step adjustments may only be necessary if the timing with the obstacle interaction is not good enough for the smooth step over it.

15) p7, ln9 "The Up-step and.…" Please, clarify what variables are correlated here. It is unclear how the "conditions" could be correlated.

16) Methodological unclarity. What was the placement of IMU units? Was there any signal processing of IMU signals? The instrumentation of subjects should be described in methods.

Reviewer #2 (Recommendations for the authors):

The conclusions of the paper could be strengthened by:

1) demonstrating that the predictions also hold for a model with variable step length. It is not clear why step length was fixed as a fixed step length does not seem a valid assumption here and previous models of the authors had variable step length. Does a model with variable step length predict variations in step length in agreement with experimental observations?

2) demonstrating that optimal control also predicts no time lost due to stepping up as compared to walking on even terrain. If I got it right, the total time is imposed when solving the optimal control problem. The authors stress that time is lost in uncompensated up-steps when describing their model predictions, which they contrast with the optimal policy. However, the loss of time was not predicted but imposed (page 14 – line 27).

3) demonstrating that the number of compensation steps N that minimizes work corresponds to the observed number of compensation steps. Now, N is informed by observations (page 14 – line 29). N is not specified, I infer from the figures that it was nine but according to the author's previous modeling paper, there is little additional reduction in work when increasing the number of compensation steps above three. Therefore, minimal work does not explain why people take more than three compensation steps.

4) demonstrating that minimal work leads to better agreement between simulations and observations than other plausible optimality criteria. I understand that some plausible criteria, e.g., stability against noise, are not easy to test but they could be discussed.

5) demonstrating that the predicted dependence of speed fluctuations on step height is in agreement with experimental observations. (I realize that this might require additional experiments and might therefore not be feasible within a reasonable time but I feel it is a missed opportunity that this was not part of the original experimental protocol.)

Reviewer #3 (Recommendations for the authors):

The manuscript is well written. I found it easy to read.

[Editors' note: further revisions were suggested prior to acceptance, as described below.]

Thank you for resubmitting your work entitled "Humans optimally anticipate and compensate for an uneven step during walking" for further consideration by eLife. Your revised article has been reviewed by 3 peer reviewers and the evaluation has been overseen by a Reviewing Editor and by Aleksandra Walczak as the Senior Editor.

Reviewer #1 (Recommendations for the authors):

The thorough revision is appropriate for publication.

Reviewer #2 (Recommendations for the authors):

The authors have addressed some but not all the questions/concerns raised in the previous review.

Previous essential revision 1. Instead of demonstrating that minimization of mechanical work captured observed stride length variability, the authors moved the results on stride length variability to the appendix. I am under the impression that the authors have previously published simulations in which stride times were not imposed (was not contradicted in response) and it is unclear why simulations with variable (i.e. not pre-imposed) stride times could not be performed. The added value of performing simulations with different imposed stride lengths is limited as compared to the added value of performing simulations in which stride length is a free variable (and thus follows from optimization). Simulations with variable stride lengths could have given information on whether the key assumption (minimization of mechanical work) predicts other features than speed fluctuations alone.

Previous essential revision 5. The authors have introduced alternative hypotheses but this feels 'after the facts'. It was already clear that these hypotheses would not hold (with prior knowledge of the experimental data) and they have therefore limited value. We specifically asked about alternative optimality criteria and such criteria will only strengthen the reported findings when they truly challenge them.

With respect to stability as an alternative optimization criterion, I find the addition to the discussion not convincing. The model being able to traverse the perturbation without falling tells little about stability against noise, which can be expected in real life (but was not modeled). I am also unsure about what the authors mean by 'the model could easily traverse the perturbation'. How was 'easily' defined?

Reviewer #3 (Recommendations for the authors):

The authors have addressed all my specific comments satisfactorily.

I am also reasonably satisfied with how the authors have addressed the issue of constant vs varying step length that other reviewers raised and the consensus review included. However, the authors may want to clearly note that allowing the step length to vary with speed via a static preferred speed-step-length relationship is not the same (ie not mathematically equivalent) as allowing the step length to vary as an independent optimization variable because, well, one problem has more optimization degrees of freedom than the other. But this additional calculation is certainly suggestive (and I believe its suggestion) that allowing step lengths to vary will not change the speed fluctuation results substantially.

eLife. 2022 Jan 11;11:e65402. doi: 10.7554/eLife.65402.sa2

Author response


Essential revisions:

1) Stride length: The authors need to address whether the model limitations of using a fixed stride length affect the generalization of the results to variable stride lengths. The generalization of the claims, even in a qualitative way, need to be demonstrated, particularly as the authors have previously published simulation predictions with variable stride length. The reviewers agree that even a qualitative match between simulations and experiments would be sufficient given the inherent limitations of a simple model.

We have added more justification that fixed stride lengths are not critical to model predictions. We added predictions using the human preferred stride length vs. speed relationship, and show that the optimal speed fluctuations are quite similar whether using fixed or preferred stride lengths (Figure 5d; Methods text; more detail in Appendix). This is in addition to the existing predictions for different fixed stride lengths and different average speeds.

2) Timing: Several questions regarding the claims with respect to timing require clarification and potentially further simulations. The time constraint imposed on the simulation is a particular concern; the total time should be released or at a minimum, the cost of different total times should be compared. Without doing so, the claim that there is no time lost due to the perturbation are not supported. Another issue with the claims around timing are the potential bias based on instruction to the participants. These multiple issues need to be addressed to substantiate the claims around timing.

We have made several changes to address the question of timing. As suggested, we have added a simulation with the total time is released (Figure 1b), showing how time is lost to the Up-step (also shown previously, Darici et al., 2020). We have also clarified that the (unreleased) model is constrained to conserve time, and that the prediction is that time can be conserved if desired, not that it must necessarily be so. Regarding the experiment, we have clarified how participants were instructed to loosely maintain similar time (Methods), with the resulting conclusion that they were able to approximately conserve, not that they always do. In fact, the instruction was given because humans who walk entirely without context might spontaneously decide to slow down, speed up, pause, or stop at any time. We were not clear that conserved time was not a hypothesis, and now express it more explicitly as an observation. The corresponding Result subheading is “Humans walking durations were approximately conserved despite Up- and Down-step disturbances.” Finally, we have included model predicted costs for the alternative strategies vs. optimal (Model predictions).

3) Given that the simulations appear to have been published previously, the contributions of this manuscript above and beyond those of previous ones by the authors need to be more fully described. What is the major advance that this paper provides?

We have taken a number of measures throughout the manuscript to emphasize how the present study is a human subjects experiment, and the previous was a model simulation paper. For example, an added figure (new Figure 6) shows more information about the experimental measurements. We have re-emphasized the experiment in a number of places in the text, for example:

Abstract: “Here we show that humans compensate…” and “In experiment, humans…”

Introduction: “The purpose of the present study was to test whether humans negotiate a step height disturbance with an anticipatory compensation strategy as predicted by dynamic optimization.”

Methods: “This study consisted of an experiment…”

Results: “1. Humans produced…”, “2. Human compensations…”, “3. Humans…were self-similar”, “4. Human walking durations…” [emphasis on Humans, as opposed to previous Model paper]

Discussion: “We examined how humans anticipate…”

4) Aspects of the study methodology require clarification. These include the tested hypotheses, subject instructions and the scientific rationale for the study design and outcomes. Considerations for alternative study design and study limitations should be addressed in the discussion.

A number of changes have been made regarding methodology. These are detailed in the responses below, but here is a brief summary of some of the changes:

Introduction: Expanded rationale, e.g. “The results may reveal whether humans reason about their walking dynamics to perform predictive planning on uneven terrain.”

Methods, Model: “The model yielded two main predictions to be tested experimentally.” [three paragraphs including alternative hypotheses]

Figure 1 and text: Added alternative hypotheses for no compensation, non-anticipatory compensation, and tight regulation to avoid speed fluctuations.

Human subjects experiment: “Model predictions were tested with speed trajectories.” [three paragraphs describing tests]. Also expanded description of subject instructions.

Discussion: Rejection of alternative hypothesis, e.g. “This anticipation was not consistent with the alternative hypothetical strategies…”

5) A more complete discussion of the modeling assumptions and limitations needs to be included. These should include both the limitation of a simple model, the effects of including a swing limb, and alternative optimality criteria that may provide either similar or disparate results.

We have added alternative hypotheses (Figure 1b, c, d) in comparison with results. We have also expanded the discussion of model limitations, including about the swing limb and particularly its knee. These points are detailed in the responses below.

Reviewer #1 (Recommendations for the authors):

1) The suggestion that the automatic optimization strategy is engaged here does not indicate whether this solution is dictated by subject instructions. In other words, could the solution here be simply the fact that subjects would be instructed not to stop when transversing the obstacles? The implied automatic action for this adaptation is not fully supported by experiments.

We have clarified that the evidence for optimality is the observed tri-phasic pattern, and not the conservation of walking duration. As reviewer, suggests, duration was a matter of subject instructions, and we merely verified that they followed instructions. We have reorganized the results to clarify the emphasis on the pattern as hypothesis test (Results first three sub-headings), and we have de-emphasized walking duration (Results, last sub-heading “Human walking durations were approximately conserved.”).

2) The description of background information could benefit from a more thorough review of the related studies and clarifications.

We have added more context to the background information (specific points 2, 3), to clarify what aspects of uneven terrain are already understood, and how the present study addresses the prediction of compensation strategies with dynamic optimization.

3) The study refers to the feedforward limb speed control in the study design and outcomes; yet, no background for the CNS using this parameter as a variable is provided. If this is an assumption then it should be identified as such.

We have clarified that speed was intended to refer to the body’s forward speed. We had been unclear that we used inertial measurements to measure speed of foot to infer the average speed of the body with each step. We have revised the Methods to clarify that the hypothesis and experimental measurements are concerned with fluctuations in walking speed for the whole body. A new Figure 6 shows how the body’s forward speed is estimated from foot speeds.

4) One of the main findings is the self-similarity of the anticipatory response at multiple average speeds and step lengths. This brings a few concerns related to the normalization (see specific question 6) and the overall significance of this outcome. The discussion should identify the impact of this finding on the conclusions.

We have expanded on the discussion of self-similar scaling. Early in Discussion:

“A pendulum’s motion, and the action of the step-to-step transition, are consistent and scalable in speed and step length, and in amplitude and time (Kuo, 2002). The scalability could potentially make it unnecessary for the central nervous system (CNS) to synthesize or re-optimize a new compensation for each new perturbation encountered.”

Later in Discussion of control:

“the control policy could conceivably be stored in quite a compact form, because a single compensation pattern (e.g., Δvup) might simply be scaled for different walking speeds, step heights, or step lengths (Figure 4). It is also conceivable that such a pattern could be repeatedly applied or superimposed to predict long sequences of uneven terrain, which are also energetically costly (Voloshina et al., 2013; Kowalsky et al., 2021).”

5) The overall study design appears to be unclear. The interplay between the tested hypotheses and the background or theoretical facts is not fully clear. The understanding of study validity could be improved by the additional description of study design and the consideration of alternatives and study limitations. For example, stepping over obstacles could be executed with multiple strategies and probably in a context-dependent way. These alternatives and the experimental observations should be discussed in the context of the findings in this study.

We have re-organized the Methods to improve the link between model and experiment. We have expanded on alternative hypotheses, as summarized in the above replies, and in responses below. More extensive details are included in the responses below.

6) P2, ln8 “This raises the question.…” The general point expressed here may benefit from the focus on the specific question. As is, the outcome may be task-dependent, e.g., the interception of prey would require a different strategy from that used to catch a ball.

We have reworded the sentence to focus on the differences with the curb:

“A sidewalk curb may similarly be anticipated ahead of time, albeit with most of the dynamics within the person rather than the curb, and with a less clearly defined objective.”

7) P2, ln22 "The negotiation of uneven terrain.…" The background literature highlighting these points could be added. The predictive planning in the same context was previously demonstrated in studies by Patla in humans and in animals by Drew.

We added reference to Drew, and moved the reference to Patla early within the paragraph. We have also expanded the background on planning based on other references:

“In particular, foot placement and motion are planned, with the help of vision, to avoid or step over upcoming obstacles (Patla, 1998; Patla and Rietdyk, 1993), and to land on foot targets (Drew et al., 2008; Matthis and Fajen, 2013). Although much of this planning has been described in terms of kinematics, it may also include intersegmental dynamics, which may be regulated to clear obstacles with reduced mechanical work (Patla and Prentice, 1995).”

8) p2, ln43 "… humans compensate for ground perturbations is unknown…" This may be an overgeneralization. There are multiple types of ground perturbations. Some mechanisms are known and documented, e.g., the mechanisms of the stretch reflex and finite step phase transition rules in humans and animals (including insects), e.g., Prochazka's models.

We have reworded to be more specific about our hypothesis about anticipatory strategies:

“This raises the question of whether humans anticipate the curb, and what objective criteria govern its interception.” We did not intend to implicate stretch reflexes and other effects.

9) p3, ln23 "… swing phase dynamics are ignored, and the legs are constrained to fixed step lengths.…" This oversimplification does not agree with the observed experimental results. The dependency of limb speed on the control of the swing phase has a direct bearing on the assumption of limb speed control. The implications of this limitation should be clarified. Ultimately, the addition of swing dynamics with the appropriate stride length dependency could substantially support the claims in this study.

We had intended to focus on speed of the body, and not on swing phase. We have made several changes to de-emphasize swing phase. We have also added model results regarding stride length dependency:

“As a simplification, the model’s legs nominally take steps either of fixed length similar to the “rimless wheel” model (McGeer, 1990), or variable length increasing with speed according to the human preferred step length relationship (see Appendix 1)”.

In experimental methods we have clarified how we measured body speed, and added a figure to illustrate (Figure 6). We also moved the stride length and timing results to Appendix, since these were only measurements without any hypothesis tests. This may help focus on the main hypothesis, where body speed was compared between model and human (Figure 6).

10) p4, ln10 “… discretely sampled a the mid-stance instance.…” The measurement of step speed should be clarified. Have you estimated the speed of the center of mass or some other related kinematic landmark?

We added clarification that the model’s speed is for center of mass:

“forward speed vi of the COM each step i(Figure 2a; defined as the COM velocity at mid-stance when stance leg is vertical).”

In the later Experiment sub-section, we define human body speed as the average body speed for each step, to compare against model.

11) Figure 2 The analysis is done in time even though the speed of each subject was self-paced. The previous studies indicate that humans may use discrete in time step-based control, which would imply that the analysis in Figure 2 should be similarly normalized to each step.

The reviewer is correct that the dynamics are continuous in time, and that the model and human should be compared in terms of discrete steps. This is indeed the case, and we have made several changes to clarify.

In Model, “Each push-off caused a change in the forward speed vi of the COM each step i (Figure 2a), discretely sampled at the mid-stance instance when the stance leg passed through vertical, prior to the step-to-step transition.”

And in Figure 2, “The model’s compensatory response is therefore summarized as a time-varying trajectory of speeds vi, discretely sampled once per step i.”

In Figure 3, “Averages were computed for speed fluctuations treated as sequences of discrete steps, and plotted in both discrete (dot symbols) and continuous time.”

12) p6, ln25 “… systematic behavior.…” This statement may be unclear. What is the nature of these systematic variations amongst volunteers?

This was a small degree of unexplained correlation in the control trials, and so we have clarified:

“This suggests a degree of unexpected, non-random behavior shared between subjects, of relatively small amplitude of about 0.014 m/s, and at around 17% of the non-Control amplitudes.”

13) p6, ln28 " Humans compensated for.…" This statement makes a specific claim based on the presented testing; however, the hypothesis for the tests has not been expressed. Please, consider clarifying the nature of the study design here. Was this work driven by the rationale or the specific a priori hypotheses?

We agree this was unclear, and in fact the conservation of walking duration was simply an observation, not a hypothesis. To emphasize the hypothesis tests, we have re-ordered the results so that the hypothesis tests appear first, each with a specific claim, and the observation about walking duration (now Result 4) with the observation “4. Humans walking durations were approximately conserved”.

We also re-worded to state “Subjects were approximately compliant with the instruction… There were no significant differences in overall speed…”

Here are the three claims that did include hypothesis tests (in Results):

1. Humans produced triphasic Up- and Down-step compensatory speed fluctuations. [tested by correlation between average human response and individual subject fluctuations]

2. Human compensations were consistent with minimum-work predictions. [tested by correlation between model and individual subject fluctuations]

3. Human compensation patterns were self-similar and scalable for step height and overall walking speed. (tested by correlation and linear regression with step height and speed as predictors)

14) p6, ln33 "… would lose 1 s.…" This statement likely implies a full stop for a second prior to the step over the obstacle. Please confirm or clarify the origin of this conclusion. Also, it is unclear if this simulated behavior depended on the initial conditions. For example, the step adjustments may only be necessary if the timing with the obstacle interaction is not good enough for the smooth step over it.

We have provided more information about the loss:

“The model, if performing constant push-offs instead of compensating, would slow down atop the Up-step (Figure 1b, speed), mainly due to the exchange of kinetic energy for potential energy. It would gradually accumulate a loss of about 0.7 s in time (Figure 1b, time) compared to level walking.”

We also added a sub-figure (Figure 1b) to illustrate the outcome.

15) p7, ln9 "The Up-step and.…" Please, clarify what variables are correlated here. It is unclear how the "conditions" could be correlated.

We have clarified that we were referring to the speed fluctuations:

“The Up-step speed fluctuations were similar across subjects (compare Figure 3 middle and right columns)”.

16) Methodological unclarity. What was the placement of IMU units? Was there any signal processing of IMU signals? The instrumentation of subjects should be described in methods.

We have added more detail on placement and processing in the text. Regarding placement:

“The trajectories were computed from an IMU mounted atop each foot (Figure 6a).”

Regarding signal processing:

“with gravity-compensated accelerations integrated to yield a spatiotemporal trajectory, subject to an assumption that each foot comes briefly to rest during each footfall.”

The new figure (Figure 6) was added to illustrate this.

Reviewer #2 (Recommendations for the authors):

The conclusions of the paper could be strengthened by:

1) demonstrating that the predictions also hold for a model with variable step length. It is not clear why step length was fixed as a fixed step length does not seem a valid assumption here and previous models of the authors had variable step length. Does a model with variable step length predict variations in step length in agreement with experimental observations?

We have included more explanation, including optimal control predictions with the model constrained to follow the preferred human step length vs. speed relationship (Figure 5d). In text:

“A basic pattern for optimal speed fluctuations retains approximately the same shape across different overall walking speeds, fixed step lengths, or even step length changing to the human preferred step length relationship.”

Later in the same paragraph:

“…we expect a single basic pattern, treated as a sequence of discrete speed fluctuations (Figure 5a) to predict optimal responses regardless of an individual’s average speed, step length, or the preferred speed and step length relationship.”

In Discussion, we also note:

“We also expect that transiently varying step lengths and foot placements could be added to the model (Bhounsule, 2014; Kuo, 2001; Ojeda et al., 2015b), and potentially provide more detail about how active speed fluctuations are achieved (e.g. Appendix 2-figure 1).”

2) demonstrating that optimal control also predicts no time lost due to stepping up as compared to walking on even terrain. If I got it right, the total time is imposed when solving the optimal control problem. The authors stress that time is lost in uncompensated up-steps when describing their model predictions, which they contrast with the optimal policy. However, the loss of time was not predicted but imposed (page 14 – line 27).

The reviewer is correct, “no time lost” is not a prediction but an imposed constraint. As clarification, we have added to Methods:

“It (the model) was also constrained to match the total time for nominal level, steady walking, thus making up for time lost to the Up-step.”

In Experiment: “We provided context by instructing subjects to walk “in about the same time” throughout the experiment.”

In Results, we have de-emphasized the time conservation, by placing it after the hypothesis tests (regarding speed fluctuations), and by stating more clearly that:

“Subjects were approximately compliant with the instruction to maintain a similar overall speed and walking duration across trials, whether or not there was an uneven step.”

3) demonstrating that the number of compensation steps N that minimizes work corresponds to the observed number of compensation steps. Now, N is informed by observations (page 14 – line 29). N is not specified, I infer from the figures that it was nine but according to the author’s previous modeling paper, there is little additional reduction in work when increasing the number of compensation steps above three. Therefore, minimal work does not explain why people take more than three compensation steps.

We have clarified that the value of N is not a hypothesis:

“We expected that the [model] compensation would occur within several steps before and after the perturbation, and selected N=15 as more than sufficient to encompass the relevant speed fluctuations.”

And in Human experiment, “These speed trajectories were analyzed for…about 15 steps surrounding the Up-step (Figure 1a). This was more than sufficient to encompass the compensation patterns, which largely took place within only a few steps before and after the perturbation.”

Reviewer is correct that compensation takes place in roughly three steps before and after perturbation, for about seven steps in total. We optimized and measured for more steps to ensure that the entire compensation was observed. In Results:

“The basic speed response… (1) Speed up in the two steps prior, (2) then lose speed during the two steps onto the Up-step and immediately thereafter, and (3) then regain speed over the following one or two steps.”

Also in Results:

“The anticipatory compensation thus begins only a few steps before the perturbation, but is accompanied by several steps of response after the perturbation.”

We do not claim an absolute minimal number of steps for human, but rather describe when and how most of the response occurs.

4) demonstrating that minimal work leads to better agreement between simulations and observations than other plausible optimality criteria. I understand that some plausible criteria, e.g., stability against noise, are not easy to test but they could be discussed.

We have expanded on the Discussion of optimality criteria, including a number of additional energy costs and objectives (e.g., no compensation, non-anticipatory reaction, and tight regulation to avoid speed changes (Figure 2)). Regarding stability, we have added the following remark:

“Stability may also be important for human locomotion, although we found no need to include it as an explicit objective because the model could easily traverse the perturbation, and found it most economical to do so without falling. Stability might affect walking more when there is a more significant risk of falling than observed here.”

5) demonstrating that the predicted dependence of speed fluctuations on step height is in agreement with experimental observations. (I realize that this might require additional experiments and might therefore not be feasible within a reasonable time but I feel it is a missed opportunity that this was not part of the original experimental protocol.)

We have expanded on the Discussion of optimality criteria, including a number of additional energy costs and objectives (e.g., no compensation, non-anticipatory reaction, and tight regulation to avoid speed changes (Figure 2)). Regarding stability, we have added the following remark:

“Stability may also be important for human locomotion, although we found no need to include it as an explicit objective because the model could easily traverse the perturbation, and found it most economical to do so without falling. Stability might affect walking more when there is a more significant risk of falling than observed here.”

[Editors' note: further revisions were suggested prior to acceptance, as described below.]

Reviewer #2 (Recommendations for the authors):

The authors have addressed some but not all the questions/concerns raised in the previous review.

Previous essential revision 1. Instead of demonstrating that minimization of mechanical work captured observed stride length variability, the authors moved the results on stride length variability to the appendix. I am under the impression that the authors have previously published simulations in which stride times were not imposed (was not contradicted in response) and it is unclear why simulations with variable (i.e. not pre-imposed) stride times could not be performed. The added value of performing simulations with different imposed stride lengths is limited as compared to the added value of performing simulations in which stride length is a free variable (and thus follows from optimization). Simulations with variable stride lengths could have given information on whether the key assumption (minimization of mechanical work) predicts other features than speed fluctuations alone.

We have made three changes to address this comment. First, we added a new paragraph in Model Predictions to explain why we test predictions from step-to-step transition costs. Second, we added a discussion (in Discussion) regarding transient step durations. It is true that we have previously proposed a cost for steady stride times, but we explain that the transient stride adjustments observed here require a different model, which has not been proposed. Third, we added a paragraph to Appendix expanding on this further. These changes are detailed as follows.

1. We have moved the model predictions earlier, to precede Results. (An editor had previously asked us to move Methods to the end, but we find it clearer to restore model predictions to their original location as a separate section.) We clarify:

“We hypothesize that step-to-step transitions are costly enough to merit anticipation and compensation for uneven steps. […] It is, however, not necessary to model such features, if step-to-step transitions are costly enough to predict substantial and nontrivial compensations.”

2. Added to Discussion:

“We have previously proposed that substantial energy is also expended for active leg motions during steady walking (Doke and Kuo, 2007; Doke et al., 2005), perhaps half the amount expended for step-to-step transitions (Kuo, 2001). We presently lack a model for the cost of transient step adjustments, which could potentially provide more detail about how active speed and step length fluctuations are achieved.”

3. Added to Appendix 2:

“These observations suggest possibilities for incorporation into a model. […] Nevertheless, the existence of such a cost does not exclude step-to-step transition costs as an important determinant of the speed fluctuations observed here.”

Previous essential revision 5. The authors have introduced alternative hypotheses but this feels 'after the facts'. It was already clear that these hypotheses would not hold (with prior knowledge of the experimental data) and they have therefore limited value. We specifically asked about alternative optimality criteria and such criteria will only strengthen the reported findings when they truly challenge them.

We have expanded on the Discussion of alternative hypotheses to address this comment. We understand the request (from first review), “demonstrating that minimal work leads to better agreement between simulations and observations than other plausible optimality criteria,” but it is difficult to predict what alternatives another person would accept as plausible and truly challenging. In the absence of a specific suggestion, we have added the following to the Discussion:

“There are of course, other possible optimality criteria not considered here. […] It would be challenging to predict the observed human responses with a model that does not subscribe to these basic principles.”

With respect to stability as an alternative optimization criterion, I find the addition to the discussion not convincing. The model being able to traverse the perturbation without falling tells little about stability against noise, which can be expected in real life (but was not odelled). I am also unsure about what the authors mean by ‘the model could easily traverse the perturbation’. How was ‘easily’ defined?

To clarify, we have amended the sentence (changes emphasized):

“Stability may also be important for human locomotion, although we found no need to include it as an explicit objective, first because our walking model has passive dynamic stability against small disturbances (Kuo, 2002), and second because optimization for economy alone was sufficient to traverse the perturbation without falling.”

We agree that our optimization tells little about stability against noise, but only said that “we found no need” for explicit stability, not that it does not matter at all. The rest of the paragraph already said, “Stability might affect walking more when there is a more significant risk of falling than observed here. The present study shows that energy and time are two factors that may influence locomotion planning, but is also not intended to exclude other objectives and influences.”

Reviewer #3 (Recommendations for the authors):

The authors have addressed all my specific comments satisfactorily.

I am also reasonably satisfied with how the authors have addressed the issue of constant vs varying step length that other reviewers raised and the consensus review included. However, the authors may want to clearly note that allowing the step length to vary with speed via a static preferred speed-step-length relationship is not the same (ie not mathematically equivalent) as allowing the step length to vary as an independent optimization variable because, well, one problem has more optimization degrees of freedom than the other. But this additional calculation is certainly suggestive (and I believe its suggestion) that allowing step lengths to vary will not change the speed fluctuation results substantially.

In Discussion, we have added:

“We presently lack a model for the cost of transient step adjustments, which could potentially provide more detail about how active speed and step length fluctuations are achieved (e.g. Appendix 2-figure 1).”

In the Appendix, we added a paragraph to expand on this issue:

“These observations suggest possibilities for incorporation into a model. […] Nevertheless, the existence of such a cost does not exclude step-to-step transition costs as an important determinant of the speed fluctuations observed here.”

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    Figure 4—source data 1. Individual and average test subject speeds plotted in Figure 4.
    Transparent reporting form

    Data Availability Statement

    All data generated or analyzed during this study are included in the manuscript and supporting file.


    Articles from eLife are provided here courtesy of eLife Sciences Publications, Ltd

    RESOURCES