Modeling Personalized Difficulty of Rehabilitation Exercises Using Causal Trees

Nathaniel Dennler, Zhonghao Shi, Uksang Yoo, Stefanos Nikolaidis, Maja J. Mataric

TL;DR

Researchers have developed a new way to personalize robotic rehabilitation by using "Causal Trees" to map out exactly which movements are difficult for individual stroke survivors. By comparing a patient's performance against a healthy baseline across a 3D workspace, the system creates an explainable model that outperforms standard machine learning and helps clinicians tailor exercises to a patient's specific needs.

What Problem Does This Paper Address?

Stroke rehabilitation requires long-term, repetitive exercise to regain mobility, but maintaining motivation is a massive hurdle. While rehabilitation robots can help by turning exercises into games, most current systems use "one-size-fits-all" difficulty settings—like simply increasing the distance a patient has to reach.

However, stroke survivors are not a monolith. One patient might find reaching high very difficult but reaching far quite easy, while another might have the exact opposite experience. This paper addresses the need for Personalized Functional Difficulty: a way for a robot to mathematically understand and adapt to the unique "difficulty map" of every individual patient, rather than relying on generic presets.

Methods

The authors formulate difficulty estimation as a causal inference problem. They leverage the Challenge Point Framework (CPF), which distinguishes between nominal difficulty (how hard a task is for everyone) and functional difficulty (how hard it is for a specific person relative to their skill).

The core technical innovation is the use of Causal Trees (and Causal Forests). Typically used in econometrics to estimate "heterogeneous treatment effects," these models are applied here to determine the "effect" of a stroke on a person's reaching time.

  • The Input: The robot records the $(x, y, z)$ coordinates of a reach and the time it took to complete.
  • The Logic: Instead of just training a model on the patient's data, the Causal Tree jointly reasons about data from both neurotypical (healthy) users and the stroke survivor.
  • The Output: The model partitions the 3D workspace into distinct regions (leaves of a tree). Each leaf represents a specific area where the difficulty is statistically different from other areas. Because it's a decision tree, the results are explainable—a clinician can look at the tree and see, for example, that "reaching higher than 20cm" is the primary factor driving difficulty for a specific patient.

Datasets

The researchers collected two primary datasets:

  1. Neurotypical Baseline: 10 healthy participants who performed 100 randomized reaching tasks to establish a "nominal" baseline for how long a reach should take.
  2. Post-Stroke Dataset: 15 stroke survivors who performed the same reaching tasks (up to 300 reaches across multiple sessions).

The tasks were performed using a Kinova JACO2 assistive robot arm (which moved the target) and a Lux AI QTRobot (a socially assistive robot that provided instructions and encouragement).

Key Insights and Ideas

  • Joint Modeling vs. Subtraction: Standard ML approaches usually model the patient and the baseline separately and then subtract the difference. This paper shows that jointly modeling them using causal inference is much more robust to noise and outliers, leading to a clearer "map" of difficulty.
  • Explainability is a Feature: Unlike "black-box" neural networks, the Causal Tree provides a literal roadmap for therapy. A therapist can see exactly which spatial thresholds (e.g., height vs. lateral distance) trigger a jump in difficulty.
  • Spatial Granularity: The model can identify "pockets" of difficulty in 3D space that might be missed by simpler models, allowing for more nuanced exercise prescriptions.

Key Results

The Causal Forest model was compared against several baselines, including XGBoost, Random Forests, and Neural Networks.

  • Accuracy: The Causal Forest achieved the lowest Mean Squared Error (0.300 $s^2$) and the highest explained variance ($r^2 = 0.826$). This means the model could explain over 82% of the variance in a patient's performance.
  • Stability: Qualitatively, the Causal Tree produced much smoother and more logical "difficulty maps" (see Fig. 4 in the paper) compared to XGBoost, which tended to produce noisy, fragmented maps that would be difficult for a robot to use for smooth difficulty scaling.

Limitations and Future Work

  • Single Metric: The study relied solely on "time to reach" as the measure of difficulty. In clinical settings, the quality of movement (e.g., whether a patient compensates by leaning their whole body) is just as important as speed.
  • Task Variety: The method was only tested on a reaching task. Future work is needed to see if this causal approach scales to more complex activities of daily living (ADLs) or exercises involving resistance/stiffness.
  • Multi-Outcome Modeling: The authors suggest that future versions could use computer vision to track movement quality and time simultaneously, treating difficulty as a multi-outcome causal inference problem.

Summary updated

Abstract

Rehabilitation robots are often used in game-like interactions for rehabilitation to increase a person's motivation to complete rehabilitation exercises. By adjusting exercise difficulty for a specific user throughout the exercise interaction, robots can maximize both the user's rehabilitation outcomes and the their motivation throughout the exercise. Previous approaches have assumed exercises have generic difficulty values that apply to all users equally, however, we identified that stroke survivors have varied and unique perceptions of exercise difficulty. For example, some stroke survivors found reaching vertically more difficult than reaching farther but lower while others found reaching farther more challenging than reaching vertically. In this paper, we formulate a causal tree-based method to calculate exercise difficulty based on the user's performance. We find that this approach accurately models exercise difficulty and provides a readily interpretable model of why that exercise is difficult for both users and caretakers.
BibTeX
@inproceedings{dennler2025modeling,
  author = {Nathaniel Dennler and Zhonghao Shi and Uksang Yoo and Stefanos Nikolaidis and Maja J. Mataric},
  title = {{Modeling Personalized Difficulty of Rehabilitation Exercises Using Causal Trees}},
  booktitle = {ICORR},
  year = {2025},
  url = {https://openreview.net/forum?id=hajENMEFT5},
}

Loading related content...

Figure