MMSx Authority
Open Education · CC4
MMSx Authority Institute · Open Education
Foundational Biomechanics & Human Kinetics · CC4 · DOI prefix 10.66078
Language
MMSX 382 800-Series · Emerging Tech & Research Methodology · Module 7 of 25

Machine Learning for Automated Joint Tracking and Spatial Mapping

Neeraj Mehta, PhDiD 0000-0001-6200-8495MMSx Authority Institute, Powell, OhioOpen Education · CC4 Programme
Level · PostgraduateNotional study · 8–10 hPrerequisite · MMSX 376, 377Assessment · 20 MCQ + tutorStyle · APA 7th · en-GB

A logic model applies rules you wrote. A machine-learning model learns its own — from examples. That shift is what lets algorithms track joints and map movement in space, and it is also the source of their distinctive strengths and risks.

Abstract

This module examines machine learning (ML) for automated joint tracking and spatial mapping — the learned models that detect and follow anatomical points and reconstruct movement in space, underpinning the markerless capture of Module 377. It contrasts learned models with the rule-based logic models of Module 376: rather than applying human-authored rules, an ML model learns its decision function from training data — many examples (for pose estimation, images with labelled joint locations) from which it learns to recognise and locate anatomical points in new inputs. It explains the core ideas at a conceptual level: supervised learning from labelled examples, the resulting model's ability to generalise to new data, and how tracking across frames and reconstruction across views yield spatial mapping of movement. It develops the distinctive power of ML — it can learn complex patterns that would be infeasible to specify as explicit rules, which is precisely why ML, not hand-written logic, drives modern markerless tracking. It is equally rigorous about the characteristic concerns, which the series treats as central: dependence on training data (a model learns from — and is limited by — its data, so it may perform poorly on inputs unlike its training, and can inherit biases in that data); the generalisation question (performance on new, different data is not guaranteed by performance on training data — the risk of overfitting); opacity (a learned model's reasoning is often not transparent, unlike a logic model's explicit rules — Module 376's contrast); and the consequent, non-negotiable need for validation on representative, independent data (Module 386) before trusting outputs. It reaffirms the series' stance: ML outputs are powerful estimates to be validated and interpreted by experts — decision support, not automatic truth. Interactive tools illustrate learning from data, the generalisation gap, and the transparency trade-off between logic and learned models. This is educational content on methodology and technology.

Keywords: machine learning · joint tracking · spatial mapping · training data · generalisation · validation

Learning outcomes

  1. Contrast learned models with rule-based logic models.
  2. Explain supervised learning and generalisation conceptually.
  3. Describe how ML enables joint tracking and spatial mapping.
  4. Explain training-data dependence, bias and overfitting.
  5. Explain the opacity and validation implications.

Contents

  1. Learning rules from examples
  2. How learning works
  3. Tracking and spatial mapping
  4. The training-data dependence
  5. Generalisation and opacity
  6. Powerful estimates, validated
  7. Synthesis & self-assessment
  8. Assessment & adaptive tutor

01 Learning rules from examples

Module 376 introduced the logic model — a system that applies human-authored rules to data. This module introduces its complement and, for many modern tasks, its successor: the machine-learning (ML) model, which does not apply rules a human wrote but learns its own decision function from examples. The distinction is fundamental. Where a logic model's designer specifies "if this feature exceeds this threshold, then flag", an ML model's designer instead supplies many examples of inputs paired with the desired outputs, and the model learns — adjusts its internal parameters — to reproduce the input-output relationship, so that it can then produce outputs for new inputs it was not explicitly told how to handle. For joint tracking and spatial mapping — the task of detecting anatomical points and reconstructing movement in space that underlies the markerless capture of Module 377 — this learned approach is what makes the technology work: recognising a knee or shoulder in an image across the enormous variety of appearances, poses, bodies and conditions is far too complex to capture in explicit hand-written rules, but a model can learn to do it from many labelled examples. This is the essential reason ML, rather than logic models, drives modern automated tracking: the pattern to be recognised is too complex to specify, but learnable from data. This module examines how such learning works in principle, how it enables joint tracking and spatial mapping, and — with the series' characteristic balance — the distinctive concerns that the learned character introduces: dependence on training data, the generalisation question, and opacity. Understanding ML at this conceptual level is essential to the 800-Series, because learned models are increasingly central to movement technology (Modules 377, 385, 386), and using them well requires understanding both their power and the specific ways they can fail — ways quite different from the failure modes of the transparent logic models of Module 376.

02 How learning works

At a conceptual level, supervised machine learning — the paradigm most relevant to joint tracking — works as follows. The model is given a large set of training examples, each consisting of an input (for pose estimation, an image) and the correct output or label (the true locations of the joints in that image). The model has many adjustable internal parameters, and a learning process (training) systematically adjusts these parameters so that the model's outputs on the training examples come to match the correct labels as closely as possible — in effect, the model learns the relationship between inputs and outputs from the examples. Once trained, the model can be given new inputs (images it never saw) and produce outputs (predicted joint locations), generalising the pattern it learned to new cases. This ability to generalise from training examples to new data is the point of the whole enterprise — a useful model is one that performs well not just on its training data but on new data it will encounter in use. Several conceptual points matter. The model does not "understand" anatomy the way a person does; it has learned statistical patterns in the training data that let it predict joint locations — a powerful but fundamentally pattern-based capability. The quantity and quality of training data are decisive: the model can only learn what its data contain, so large, varied, accurately-labelled training data generally yield better, more generalisable models (a theme the next sections develop). And the goal of training is genuine generalisation, not mere memorisation of the training examples — a distinction (overfitting) central to Section 5. This conceptual understanding — a model learning input-output patterns from labelled examples and generalising them to new data — is enough to grasp both why ML is powerful for complex perceptual tasks like joint detection (it can learn patterns too complex to hand-specify) and why it carries distinctive risks (it is only as good as its data and its generalisation, and its learned patterns are not transparent). The learning paradigm is the foundation for everything that follows about ML's application to tracking and its careful use.

Interactive Figure 1 · Learning a pattern from examples

Increase the number and variety of training examples and watch how well the learned model performs on new data. A model learns statistical patterns from its examples — more good data, better learning.

—Performance on new data
—Note

Figure 1. Performance on new data improving with the quantity and variety of accurately-labelled training examples. A model learns only what its data contain (Mathis et al., 2018).

03 Tracking and spatial mapping

Applied to movement, learned models perform joint tracking and spatial mapping — building on the pose-estimation foundation of Module 377 but with the focus here on the ML machinery. Joint tracking: a trained pose-estimation model, given an image, predicts the locations of anatomical joints/keypoints; applied across the successive frames of a video, it tracks those joints over time, producing trajectories of each point through the movement. The model's learned ability to locate joints in varied images is what makes this automatic tracking possible without physical markers. Spatial mapping: to reconstruct movement in space (the 3D positions and configurations biomechanics needs), the system combines the tracked points — typically across multiple camera views (or via models that infer 3D structure) — to build a spatial map of the body's position and motion over time, from which kinematics can be derived. Increasingly sophisticated ML approaches can perform aspects of this reconstruction as learned tasks too, mapping observations to spatial configurations. The result is an automated pipeline from raw video to tracked, spatially-mapped movement — powered throughout by learned models' ability to recognise and localise anatomical structure. Two points connect this to the series. First, this is the engine underneath Module 377's markerless capture: the accessibility and capability described there rest on exactly this ML-based tracking and mapping, so the concerns raised there (accuracy that is conditional and must be validated) trace directly to the ML properties this module examines. Second, the quality of tracking and spatial mapping depends on the ML model's quality — its training, its generalisation to the specific movements/bodies/conditions at hand, and the accuracy of its learned localisation — so understanding ML's data-dependence and generalisation (the next sections) is understanding what determines whether tracking and mapping are accurate. Automated joint tracking and spatial mapping are, in short, a triumph of learned models applied to a complex perceptual task — and their reliability is governed by the ML principles that make them possible.

Interactive Figure 2 · From tracked joints to a spatial map

Step through the ML tracking-and-mapping pipeline — detect joints, track across frames, reconstruct across views into a spatial map — and see the learned model's role at each stage.

—Learned model's role
—Output

Figure 2. The learned pipeline from per-frame joint detection to tracked trajectories to a spatial map of movement — the engine under markerless capture (Cronin, 2021).

04 The training-data dependence

The defining characteristic of a learned model — and the source of its most important limitations — is its dependence on training data. Because an ML model learns entirely from its training examples, it can only be as good as those examples, and this dependence has several serious consequences. First, a model performs best on inputs similar to its training data and may perform poorly on inputs unlike what it was trained on: a pose model trained largely on certain populations, movements, viewpoints, or conditions may be less accurate on bodies, movements, or conditions under-represented in its training — a direct limitation on where the model can be trusted (and the reason Module 377 insisted accuracy is conditional on the situation matching the model's training). Second, a model can inherit biases present in its training data: if the training data over-represent some groups or conditions and under-represent others, the model may work better for the well-represented and worse for the under-represented, propagating that imbalance — a significant fairness and validity concern, especially for clinical use across diverse populations. Third, the accuracy of the labels in the training data matters: a model learns from the labels it was given, so labelling errors or inconsistencies in the training data are learned as if correct, limiting the model's accuracy. Fourth, the quantity and variety of data bound what can be learned: too little or too narrow data yield a model that has not learned a robust, general pattern. The overarching lesson is that a learned model is a reflection of its training data — its capabilities, its limits, and its biases all trace substantially to what it was trained on — so understanding and scrutinising the training data is essential to understanding the model. This is a fundamentally different situation from the logic model of Module 376, whose behaviour is determined by explicit human-authored rules one can read: an ML model's behaviour is determined by data one may not fully see, learned in ways one cannot directly inspect. The practical implications are that a model should be trained on data representative of its intended use, that its performance across relevant populations and conditions should be checked (not assumed uniform), and that its training-data limitations must be understood as limitations on the model's trustworthy scope — all of which point to the validation imperative developed below.

05 Generalisation and opacity

Two further, linked properties of learned models complete the picture of their distinctive character. Generalisation is the central question of whether a model performs well on new data, not merely on its training data — and it is not guaranteed. A model can achieve excellent performance on its training examples yet perform poorly on new data, a failure called overfitting: the model has effectively "memorised" idiosyncrasies of the training data rather than learning the general, transferable pattern, so it does not generalise. This is why performance on training data is not evidence of real-world performance, and why a model's quality must be judged by its performance on new, independent data it did not train on. Good ML practice guards against overfitting and evaluates generalisation on held-out data — but the fundamental point for the user is that a model's performance in use is an empirical question about its generalisation, answered only by testing on representative new data, not assumed from training performance or vendor claims. Opacity is the second property: many powerful ML models (particularly deep neural networks) are not transparent — their learned decision function is embedded in vast numbers of parameters in ways that do not straightforwardly reveal why the model produced a given output. This contrasts sharply with the logic model of Module 376, whose every decision traces to an explicit, readable rule. A learned model may be highly accurate yet unable to explain its outputs in human terms, which matters for trust, debugging, and accountability — one may not be able to see why the model made an error, or be confident about when it will. (Efforts toward "explainable AI" seek to mitigate this, but opacity remains a characteristic concern.) Together, generalisation and opacity define the ML trade-off relative to logic models: ML gains the power to learn complex patterns that could never be hand-written, but loses the transparency and guaranteed behaviour of explicit rules, and gains a dependence on data and generalisation that must be empirically verified. This is not a reason to avoid ML — its power is often indispensable, as in joint tracking — but a reason to use it with the specific disciplines its character demands: representative training, empirical validation of generalisation, awareness of opacity, and interpretation of outputs as estimates rather than transparent truths.

Interactive Figure 3 · The logic–learned trade-off

Compare rule-based logic models and learned ML models on transparency and on ability to handle complex patterns. ML gains power for complex tasks but loses the transparency of explicit rules.

—Transparency
—Complex-pattern power

Figure 3. The trade-off: logic models are transparent but limited to expressible rules; learned models handle complex patterns but are opaque and data-dependent (Halilaj et al., 2018).

06 Powerful estimates, validated

The module closes by reaffirming the series' stance, now grounded in the ML understanding it has built: machine-learning outputs for joint tracking and spatial mapping are powerful estimates to be validated and interpreted by experts — decision support, not automatic truth. ML's power is real and, for tasks like joint tracking, often indispensable: it learns complex perceptual patterns that could never be hand-written, enabling the markerless capture and automated analysis that are transforming movement science. But its learned character imposes specific disciplines. Because a model depends on and reflects its training data, it must be trained on data representative of its intended use, and its performance across the relevant populations, movements and conditions must be checked rather than assumed — its trustworthy scope is bounded by its data. Because generalisation is not guaranteed, a model's real-world accuracy is an empirical question answered only by validation on representative, independent data (developed in Module 386 for anatomical outputs specifically), not by training performance or claims. Because learned models are often opaque, their outputs cannot always be explained, so they must be interpreted with awareness of that limitation and of the model's validated accuracy and failure modes. And because all of this makes ML outputs estimates — accurate to a degree that depends on data, generalisation and conditions — they should be interpreted by experts who understand these properties and integrated into professional judgement, exactly as Module 377 framed computer-vision outputs and Module 376 framed logic-model outputs. The unifying stance across the series' technology modules is thus consistent: whether rule-based or learned, automated systems are decision support whose outputs inform expert reasoning rather than replace it, and learned models in particular demand representative training, empirical validation, and interpretation-as-estimate because of their data-dependence, generalisation risk and opacity. Used with these disciplines, ML-based joint tracking and spatial mapping are powerful, genuinely valuable tools; used without them — trusting outputs because the technology is impressive, without validating generalisation or heeding training-data limits — they can mislead confidently. The competence this module builds is understanding ML well enough to capture its power while respecting its characteristic risks. This is educational content on methodology and technology; the validation and clinical use of any actual ML system rests on appropriate testing and professional judgement.

Learned power, data-bound and opaque — validate and interpret as estimate

The frame: a machine-learning model LEARNS its decision function from labelled TRAINING EXAMPLES rather than applying human-authored rules (M376) — enabling joint tracking & spatial mapping too complex to hand-specify (the engine under M377 markerless capture). But it learns statistical patterns, so it DEPENDS ON its training data: performs poorly on inputs unlike its training, can inherit DATA BIASES, limited by label accuracy & data variety. GENERALISATION to new data is not guaranteed (OVERFITTING = memorising training idiosyncrasies), so real-world accuracy is an EMPIRICAL question answered only by VALIDATION on representative INDEPENDENT data (M386) — not training performance or claims. Learned models are often OPAQUE (can't explain outputs) vs a logic model's readable rules. So ML outputs are powerful ESTIMATES — train representatively, validate generalisation, heed opacity, interpret as estimate via expert judgement. Decision support, not automatic truth. Methodology/technology education.

07 Synthesis & self-assessment

A machine-learning model differs fundamentally from the rule-based logic model of Module 376: rather than applying human-authored rules, it learns its decision function from training examples. In supervised learning, the model is given many inputs paired with correct outputs (for pose estimation, images with labelled joint locations) and adjusts its internal parameters until its outputs match the labels, then generalises the learned pattern to new inputs — learning statistical patterns, not understanding anatomy. This learned approach is what makes automated joint tracking and spatial mapping possible: recognising anatomical points across the vast variety of appearances is too complex to hand-specify but learnable from data. Applied to movement, a trained model detects joints per frame, tracks them across frames into trajectories, and combines views to reconstruct a spatial map of movement — the engine under Module 377's markerless capture. The learned character brings distinctive concerns. Training-data dependence: a model can only be as good as its examples, performs poorly on inputs unlike its training, can inherit data biases (a fairness and validity concern across diverse populations), and is limited by label accuracy and data variety — so it reflects its training data in capabilities, limits and biases. Generalisation is not guaranteed: excellent training performance can coexist with poor new-data performance (overfitting = memorising rather than learning the transferable pattern), so real-world accuracy is an empirical question answered only by validation on representative, independent data (Module 386). Opacity: many powerful models cannot explain their outputs, unlike a logic model's readable rules, complicating trust and accountability. The stance follows: ML outputs are powerful estimates — train representatively, validate generalisation empirically, respect opacity, and interpret as estimates via expert judgement. Decision support, not automatic truth. Educational content on methodology and technology.

Before the graded assessment

  1. How does a learned model differ from a logic model?
  2. Why does ML enable joint tracking that rules cannot?
  3. Explain training-data dependence, bias and overfitting.
  4. Why must generalisation be validated on independent data?

08 Assessment & adaptive tutor

Twenty single-best-answer questions with immediate feedback and worked explanations. Your per-topic mastery is tracked, and the MMSx Adaptive Tutor below uses that profile to target remediation and to generate fresh practice at a difficulty matched to your progress.

20 items · single best answer · learning mode
Score 0 / 0 · Item 1 / 20
0%

MMSx Adaptive Tutor

A self-learning study aid. It adapts to the topics you miss, explains answers in depth, and generates new practice at a difficulty matched to your mastery. Current level 1 · foundational

Ready · the tutor personalises to your quiz performance.

§ References

Referenced in APA 7th edition.

  1. Mathis, A., Mamidanna, P., Cury, K. M., Abe, T., Murthy, V. N., Mathis, M. W., & Bethge, M. (2018). DeepLabCut: Markerless pose estimation of user-defined body parts with deep learning. Nature Neuroscience, 21(9), 1281–1289.
  2. Halilaj, E., Rajagopal, A., Fiterau, M., Hicks, J. L., Hastie, T. J., & Delp, S. L. (2018). Machine learning in human movement biomechanics: Best practices, common pitfalls, and new opportunities. Journal of Biomechanics, 81, 1–11.
  3. Cronin, N. J. (2021). Using deep neural networks for kinematic analysis: Challenges and opportunities. Journal of Biomechanics, 123, 110460.
  4. Cao, Z., Hidalgo, G., Simon, T., Wei, S.-E., & Sheikh, Y. (2021). OpenPose: Realtime multi-person 2D pose estimation using part affinity fields. IEEE Transactions on Pattern Analysis and Machine Intelligence, 43(1), 172–186.
  5. Ley, C., Martin, R. K., Pareek, A., Groll, A., Seil, R., & Tischer, T. (2022). Machine learning and conventional statistics: Making sense of the differences. Knee Surgery, Sports Traumatology, Arthroscopy, 30(3), 753–757.

How to cite this module

Mehta, N. (2026). Machine learning for automated joint tracking and spatial mapping (MMSX 800-Series: Emerging Tech & Research Methodology, Module 7). MMSx Authority Institute, Open Education Programme (CC4).

@article{mehta2026mljointtracking, author = {Mehta, Neeraj}, title = {Machine Learning for Automated Joint Tracking and Spatial Mapping}, journal = {MMSx Authority Institute --- Open Education (CC4)}, series = {MMSX 800-Series}, year = {2026}, issn = {3070-3662}, doi = {10.5281/zenodo.21385084} }

DOI: 10.5281/zenodo.21385084 (registered via Zenodo). ORCID 0000-0001-6200-8495. Educational content on methodology and technology.

Was this module useful?

Your rating and suggestions help us improve the programme. Reviewed by the MMSx Authority Institute. Optional fields may be left blank.

Optimised for A4 · interactive controls are hidden in the printed copy