← Latest papers
🤖 machine learning

Adaptive Group-Based Counterfactual Explanations for Time-Series Rehabilitation Data

This paper proposes a two-stage framework utilizing Learnable Gate methods to generate adaptive, group-based counterfactual explanations for multivariate time-series rehabilitation data, effectively aligning interpretability with clinical reasoning by producing sparse, biomechanically coherent guidance at the muscle-group level rather than the individual sensor channel level.

Original authors: Emmanuel C. Chukwu, Rianne M. Schouten, Monique Tabak, Mykola Pechenizkiy

Published 2026-07-03
📖 4 min read☕ Coffee break read

Original authors: Emmanuel C. Chukwu, Rianne M. Schouten, Monique Tabak, Mykola Pechenizkiy

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to fix a broken machine, but instead of a mechanic, you have a super-smart computer that tells you why it broke. The problem is, the computer's explanation is like a list of 48 tiny screws, saying, "Tighten screw #3, loosen screw #12, and wiggle screw #47." While technically correct, this is confusing and overwhelming for a human trying to fix the machine. You don't think in terms of individual screws; you think in terms of "the engine block" or "the transmission."

This paper tackles that exact problem, but instead of a machine, the "machine" is a human body moving during rehabilitation exercises (like squats or walking), and the "screws" are data from sensors strapped to the body.

Here is a simple breakdown of what the researchers did:

The Problem: Too Many Tiny Details

In physical therapy, patients wear special sensors (called IMUs) on their legs. These sensors record movement from 8 different spots, and each spot sends 6 different signals (like speed and rotation). That's 48 separate data streams all at once.

When a computer tries to explain why a patient's squat looks "wrong," standard methods look at all 48 streams individually.

  • The Result: The computer says, "Change the data on the left ankle sensor at second 3, and the right knee sensor at second 5."
  • The Issue: This is like telling a chef to "add a pinch of salt to the left side of the pot and a drop of pepper to the right side." It's scattered, confusing, and doesn't make sense to a doctor or patient who thinks in terms of whole body parts (e.g., "Your right hamstring is too tight").

The Solution: Grouping the Sensors

The researchers proposed a new way to think about the data. Instead of looking at 48 individual streams, they grouped them into 16 logical "buckets" based on anatomy and movement type.

  • Bucket 1: All the "speed" sensors on the right thigh.
  • Bucket 2: All the "rotation" sensors on the left shin.
  • And so on.

They call this Group-Based Counterfactual Explanations. Instead of asking, "Which specific screw is wrong?" they ask, "Which part of the machine needs adjustment?"

How It Works: The "Smart Gate"

The paper introduces a clever two-step system to find the best fix:

  1. The Detective (Shapley Ranking): First, the computer acts like a detective. It looks at the bad movement and uses a mathematical tool (Shapley values) to guess which "buckets" (groups of sensors) are the most likely culprits. It narrows the list down from 16 groups to the top suspects.
  2. The Gatekeeper (Learnable Gates): This is the paper's main innovation. Imagine a set of gates controlling water flow to different parts of a garden. The computer learns to open the gates for the groups that actually need changing and close the gates for the ones that are fine.
    • It doesn't just guess; it learns which gates to close while it tries to fix the movement.
    • This ensures the final explanation only mentions the specific body parts that need help, ignoring the rest.

The Results: A Clearer Prescription

The researchers tested this on a dataset called KneE-PAD, which contains data from patients doing squats, knee extensions, and walking. They compared their new "Group" method against the old "Individual Channel" method.

  • Old Method (M-CELS): Like a messy list of 23 different screws to tweak. It worked, but the explanation was cluttered.
  • New Method (Learnable Gate): Like a clear instruction: "Focus on your right hamstring and left ankle."
    • Fewer Changes: The new method changed significantly fewer "buckets" (about 27% fewer groups) while still successfully fixing the computer's prediction.
    • Better Logic: The changes made sense biomechanically. For example, when fixing a squat, the system correctly identified that the patient needed to adjust their weight transfer, rather than randomly tweaking sensors on unrelated body parts.
    • Speed: It was just as fast (or faster) at generating these explanations.

The Bottom Line

The paper claims that by organizing sensor data into logical groups (like muscle groups) and using a "smart gate" to select only the necessary ones, they can generate clearer, more concise, and more useful explanations for rehabilitation.

Instead of a doctor getting a confusing list of 20 random sensor adjustments, they get a focused, anatomical explanation (e.g., "Reduce activity in the right hamstring during the squat") that aligns with how humans actually understand the body. This makes the AI's advice much easier to trust and act upon.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →