arXiv:2610.10015cs.AIOct 2026

Manuscript Offprint

arXiv:2610.10015

What the Sleeve Feels: Explainable Machine Learning for Textile Pressure-Based Postural Screening

Limon Bin Hossain, Md Sadib Rahman Ananta

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Limon Bin Hossain ∗^{*} †^{\dagger} and Md Sadib Rahman Ananta ∗^{*}

∗^{*}Department of Industrial and Production Engineering,

Bangladesh University of Engineering and Technology (BUET), Dhaka, 1000, Bangladesh

†^{\dagger}Corresponding author: mdlimonbinhossain@gmail.com

Abstract—Pressure-sensing smart textiles convert body-surface contact into a dense, image-like signal closely tied to posture and movement, making them a promising low-cost route to wearable posture screening. Realizing that promise, however, requires more than classification accuracy: a deployable system must generalize to wearers unseen during training, expose the physical evidence behind its decisions, and tolerate the small donning offsets that occur whenever a garment is removed and re-worn. This paper addresses these three requirements jointly using a knitted piezoresistive sleeve worn on the forearm as a testbed. We regroup fine-grained everyday activities into three coarser screening categories (neutral, potentially undesirable, and functional or transitional), engineer 29 interpretable pressure-distribution features spanning global intensity, spatial center of pressure, quadrant asymmetry, distribution complexity, and short-horizon temporal change, and evaluate under a strict subject-wise split. A tuned XGBoost classifier reaches 0.818 accuracy, 0.788 balanced accuracy, and 0.801 macro F1 on unseen test subjects, with tight frame-level bootstrap 95% intervals of about ±0.01 and a subject-to-subject standard deviation near 0.06 under leave-one-subject-out cross-validation. A simple 2D-CNN baseline trained on raw frames achieves broadly similar performance, showing that hand-engineered features are not left behind by a learned spatial representation on this task. SHAP-based explanation, a feature-group ablation, per-activity error analysis inside the pooled undesirable class, class-mapping sensitivity, and a simulated donning-rotation stress test together locate what the model relies on, where it degrades, and why, directly targeting the generalization, interpretability, and robustness gaps that determine whether such a system is deployable.

Index Terms—smart textile, pressure sensing, human activity recognition, explainable artificial intelligence, SHAP, wearable sensors, gradient boosting

I. INTRODUCTION

Human activity leaves a continuous imprint on the pressure distribution between the body and its surroundings, whether through contact with a desk, a wall, a chair, or the body itself during folded-arm or self-touch behaviors. Pressure-mapping smart textiles convert this contact into a structured, image-like signal that can be worn, washed, and integrated into clothing, offering a low-cost and unobtrusive alternative to camera-based or inertial motion capture for everyday posture recognition [1]-[3]. Piezoresistive and capacitive textile structures measure strain and contact pressure directly within the fabric rather than through rigid attached sensors [4], and matrix-style textile arrays have already been demonstrated for seated posture classification in a chair backrest and seat [5], for calibrated office-chair posture analysis [6], for eating-activity monitoring with a capacitive neckband [7], [8], and for counting gym exercises with a resistive pressure mat [9]. These studies confirm that textile pressure matrices carry sufficient spatial information for fine-grained recognition, but nearly all of them instrument a fixed surface, a mat, or a neckband rather than a limb-worn sleeve, and few report performance on wearers unseen during training.

Human activity recognition from body-worn or ambient sensors is a mature area, with comprehensive surveys covering both feature-based and deep-learning pipelines [10]–[14]. Within this literature, posture-specific work has applied classical machine learning to pressure and force sensor data for sitting-posture classification [15] and has produced pressure-map datasets intended for general posture and subject analytics [16]. Across this body of work, three requirements that matter for deployment receive limited joint attention: generalization to wearers not seen during training, interpretability of which pressure characteristics drive a given decision, and robustness to the small donning offsets that occur whenever a garment is removed and re-worn. Interpretability matters because a system meant to support ergonomic or rehabilitation feedback cannot act as an opaque classifier, and robustness matters because a model whose decisions rest almost entirely on one spatial axis is fragile in exactly the direction a wearer is most likely to shift the garment.

Ensemble tree methods, particularly random forests [17] and gradient-boosted trees [18], remain strong baselines for tabular sensor features and are the primary and comparison models adopted here. Post-hoc explanation of such models is commonly performed with SHAP (SHapley Additive exPlanations), which attributes a prediction to individual input features through a game-theoretic Shapley value formulation [19] and admits an efficient exact implementation for tree ensembles [20], consistent with broader taxonomies of explainable artificial intelligence for building trust in automated decisions [21], [22].

This paper targets that combined gap: can pressure-distribution features derived from a knitted, matrix-based textile sensor array separate everyday postures into coarse screening categories under a subject-independent protocol, and

Figure

Fig. 1. Representative photographs and corresponding pressure maps for the 18 everyday activities in the Smart-Sleeve dataset. Image reproduced from the Smart-Sleeve dataset repository [23].

can the resulting model be probed for the physical evidence behind its decisions, the sources of its errors, and its degradation under realistic donning variation? The sensing platform: a double-sided weft-knitted sleeve whose orthogonally stacked stripes form a 200-point piezoresistive matrix (40 cm × 18 cm) read out at 12-bit resolution and 50 Hz over Bluetooth. One stripe direction runs along the forearm and the other wraps around its circumference (Fig. 1 illustrates the resulting pressure signatures across everyday postures), so the two sensing axes separately encode proximal-distal and angular position, a distinction that becomes central to the explanation results.

The contributions of this paper are as follows.

  • We propose a deterministic, documented mapping from fine-grained everyday activities to three posture-screening categories and engineer 29 interpretable pressure-distribution features, spanning global intensity, activation area, spatial center of pressure, quadrant asymmetry, distribution complexity, and short-horizon temporal change, with all data-driven thresholds estimated from training subjects only.

• We combine SHAP-based explanation with a feature-group ablation, a per-activity error analysis, and a class-mapping sensitivity study to show which physical pressure characteristics drive each decision and how sensitive the reported performance is to labeling choices.

• We run a simulated donning-rotation stress test that circularly shifts sensor frames around the limb’s circumference, linking the resulting asymmetric degradation directly to the axis identified as most important by the explanation analysis.

References (23)