The Biomechanical Signature of Effort

Share
A side-by-side image showing motion tracking of a Shane Bieber fastball on the left, alongside different biomechanical metrics extracted in real time on the right.
Shane Bieber's delivery, quantified in three ways.

Biomechanical data is the biggest secret in baseball analytics today. Where before sabermetricians could just talk about a pitcher's delivery or a hitter's swing, now they can measure it, in real time, using algorithms that estimate the position of a player's limbs as they hit and swing. Considering the budget and resources teams devote to studying this kind of data, it must be important. But unlike past sabermetric data revolutions like pitch tracking, significantly less expertise and information about biomechanics escapes to the public. 

Publicly-available motion capture algorithms are changing that. We can grab regular MLB game video clips and extract meaningful biomechanical data from them. So that’s what I did. And in an effort to demystify some of the technical jargon of biomechanics, I found a signature of velocity from just a pitcher’s motion.

I took a sample of about 1900 game videos of pitches from 114 different pitchers, spread across a decade of baseball (2016-2026). I used open source libraries and data (more on this in the technical appendix, for the sickos out there) to track the position of 12 skeletal joints per pitcher across one second around the delivery (-0.8 seconds before release to +0.2 seconds after release). Here’s what that looks like, in practice:

A side-by-side image showing motion tracking of a Shane Bieber fastball on the left, alongside different biomechanical metrics extracted in real time on the right.
Shane Bieber's delivery tracked with markerless motion capture.

The lines and dots there are the algorithm's estimate of where Bieber's joints and limbs are as he throws. The traditional way of analyzing this data is to come up with a variety of handcrafted metrics that appear to measure important parts of the pitching process and then correlate those with things like velocity. An example is something like trunk forward lean: how bent the pitcher’s upper body (trunk) is relative to the ground. Here’s what some of those metrics look like for a given pitch.

A side-by-side image showing motion tracking of a Shane Bieber fastball on the left, alongside different biomechanical metrics extracted in real time on the right.
The same delivery, now quantified in three ways.

For example, you can see Bieber’s shoulders bend back slightly (towards the camera) then swing all the way forward (towards home plate) then back again as he regains his balance. At the same time, the measurement of his trunk forward lean goes down, then up, then back down again.

There’s a straightforward, logical relationship between some of those biomechanical metrics and velocity: A guy who leans forward more is using his whole upper body to propel the ball to the plate. Given the outsized importance of velocity in how modern pitchers get outs, explaining how pitchers generate speed is important. In my data, trunk lean is indeed correlated with fastball velocity, albeit weakly (r=0.23). That matches plenty of previous research on the topic, and further suggests that my capture pipeline is not complete garbage.

Scatter plot showing trunk forward lean vs. velocity relative to average.
Leaning further forward = throwing harder

But I wanted to try something different. Rather than designing the metrics myself–a task I am woefully underqualified for, considering my lack of training in biomechanics–I wanted to see if I could use the raw joint (skeleton) data itself. There’s a lot of that data: for any individual delivery, there are over 2000 numbers characterizing where each joint is, one for each frame of video. I took the whole mess of data from each throw, and I tried to break it down into the most important individual pieces that predict a pitcher’s velocity relative to their average (using a technique called ridge regression).

I call this combined metric “effort” because it seems to correspond to the amount of “push” that the pitcher is putting into that throw1. What’s interesting is that the effort signature isn’t any one thing. It’s several individual traits put together: the hips drop lower towards the ground, the back knee rises more after release, and the leading leg straightens at the moment of release. None of these individual signals has a correlation better than r=0.29 with velocity (comparable to trunk lean), but together–combined via the ridge regression–they are much more predictive. 

Side-by-side scatter plots showing trunk forward lean and effort vs. velocity. Effort predicts velo much better.
Comparing trunk forward lean to effort. Effort predicts velocity much better.

For me, effort is hard to see. I, in my ignorance, can’t tell the difference between high- and low-effort deliveries, perhaps because those differences are quite small for any individual point in the skeleton (a few inches at most). This is the tradeoff from using a method like ridge regression: you get more predictive power, but at the cost, at least potentially, of not understanding where it comes from2.

Side by side gifs showing twin Freddy Peralta fastballs, one high effort and fast, one low effort and slow.
Can you tell the difference?

It’s a little bit easier to see if I exaggerate the skeletal differences by a factor of three, as in the following gif.

Three views of high vs. low effort deliveries using just idealized skeletons. Differences exaggerated threefold for visibility.
Differences exaggerated for understanding.

Effort is higher later on in the count and later on in the game3. When the pitcher is reaching back for that little something extra, it manifests as an increase in this quantity. In a small sample, starters who convert to relief show also show more effort in their relief roles than they did as starters, corresponding to the velocity bump they get.

Effort doesn’t track absolute velocity between pitchers; it only tracks velocity relative to the pitcher’s average. In other words, a pitcher with higher effort doesn’t necessarily throw faster than a pitcher with lower effort, but a pitcher who’s putting more effort than he usually does into a given pitch tends to throw that particular pitch faster than his usual fastball. But it’s important to note that the effort model isn’t specific to any given pitcher: the same model trained on one group of pitchers works just as well to predict the velocity deviation on another pitcher the model has never seen4.

Everything I’ve done so far has been with fastballs, but effort also tracks offspeed pitches in an interesting way. Each pitch type appears to have its own slope between effort and velocity, and all non-fastballs have a lower slope than fastballs. So, effort produces different results in terms of velocity depending on the pitch type.

Left side: scatter plot with different pitch types, showing effort vs. velocity. Right side: chart showing estimated slope of effort per mph for different pitch types.
Effort tracks for other pitch types, too!

We’re left with a metric that opens up more questions than it answers (my favorite kind). What determines the slope between effort and velocity, and why does it differ across pitchers? When effort increases later in the game, why doesn’t velocity increase with it? Do players who expend more effort early in the game leave the game earlier? Despite the difficulty I have in seeing effort visibly, it’s encouraging that effort can be interpreted easily as a factor that we know affects pitching. And perhaps more encouraging still is that we can find a quantity like this using publicly available data–just MLB game videos–and open source tracking.

Technical Appendix

For clip segmentation, I used 30 and 60 fps video, removing any clips that did not feature an approximately pitcher-sized silhouette with rapid motion. (30 fps video was less accurate, but still usable.) I also manually reviewed clips with unusual motion to remove cases where the wrong person was tracked (batters, umpires, bystanders).

For 2D tracking, I used the RTMW-x model with a YOLOX person detector. For 3D tracking, I used Neural Localizer Fields (NLF-L). To fit the skeletons to the data, I optimized the trajectory per-clip to balance a few factors, such as: a pitching pose prior, constant bone lengths, and an acceleration prior. I also used Driveline’s OpenBiomechanics project to cross-reference against and tune priors from. Tested against Driveline’s OpenBiomechanics data, processed with Theia3d, I was getting accuracies of about 6-8 cm per joint in lab video. There’s no ground truth to compare the broadcast dataset to, so I can’t quantify how accurate it is there.

I mirror pitchers and scale them to a standard body size to avoid any information about height and handedness leaking into the models.

1 I was initially skeptical and worried that the effort score here is just reading out something like the total amount of movement or energy in a certain pitching motion. This does not seem to be the case: overall movement and energy explain only about 20 percent of the effort score. It’s where the energy is applied, not the total amount of it.

2 While I think effort is very cool, I can see why it wouldn’t be as useful to a major league team. A lot of their work focuses on injury prevention and rehabilitation and has to be communicated to professional pitchers. That’s easier to do with something like trunk tilt (e.g.: “try to lean forward more as you finish your delivery”) and almost impossible to do with something like effort (“drop your hips by 2.8 inches, while moving your right shoulder glove-side 1.5 inches and your lead knee slightly…”).

3 An interesting counter-trend that I’ll explore more is that while effort increases late in the game, we know that fatigue causes velocity to drop. So, the same amount of effort achieves less velocity as the pitcher wears out. This fits with the notion of this quantity being effort to me: pitchers are trying harder, but their bodies are fatigued and not producing the same output.

4 I initially trained the model on 730 fastballs from 18 pitchers, then tried predicting on a leave-one-out basis, as well as using the model on new pitchers the model had never seen: minor leaguers, relievers, pitchers from different years and games. It correlated with velocity above average at the same rate for all of them.