Manuscript Offprint

arXiv:2610.06553

Signature-Based Feature Learning for Human Activity Recognition: A Reproducible Machine Learning Study of Representation, Depth, and Model Choice

Kamal Jarrar, Jacky Cresson, Christian Paroissin

Abstract

Human activity recognition (HAR) relies on transforming sensor signals into informative representations for classification. Although deep learning and handcrafted features are widely used, the role of representation itself is often not systematically isolated. Signature transforms provide a mathematically grounded way to encode temporal order and cross-channel interactions, but their value for HAR under a fully reproducible and leakage-aware framework remains unclear.

To evaluate whether signature-based feature learning improves HAR performance compared with raw-signal baselines, and to assess the effects of embedding strategy, truncation depth, model choice, and sensor configuration.

Experiments were conducted on the UCI HAR dataset using a fully reproducible pipeline with the original train–test split preserved and subject-disjoint validation to prevent leakage. Three representations were compared: raw flattened signals, time-augmented paths, and lead-lag transformed paths. Signature features were computed at multiple truncation depths and evaluated using multilayer perceptron (MLP) and Random Forest (RF) classifiers under identical preprocessing and validation procedures. A prior K-means-based feature reduction study was also reproduced for comparison.

Signature-based representations improved performance when paired with RF models, the best configuration was time-augmented six-channel signatures at depth 6 using entropy-based RF achieving 0.858 accuracy and 0.859 macro F1, outperforming the strongest raw baseline (0.816 accuracy). Lead-lag representations were competitive at moderate depths but did not surpass the best time-augmented models. MLP models did not exceed raw baselines.

Signature-based feature learning can improve HAR, but its benefit depends on alignment between representation design and classifier choice.

Keywords: Human activity recognition; Signature transform; Reproducibility; Machine learning; Deep learning; Feature learning

Contents

1 Introduction

1.1 Human Activity Recognition (HAR)

3

3

*Corresponding author: jarrar.kamal@univ-pau.fr

1.2 Existing Approaches and Previous Work ..... 3
1.3 Proposed Strategy ..... 4
1.4 Plan of the Paper ..... 4

2 Mathematical Framework: Temporal Data Streams and Signatures ..... 5
2.1 Temporal Data Streams ..... 5
2.2 Embedding of Temporal Data Streams ..... 5
2.3 Augmentation of Temporal Data Streams ..... 6
2.4 Signature of a Continuous Path ..... 6
2.5 Explicit Computation of the Signature for Piecewise Linear Functions ..... 7
2.6 Properties of the Signature ..... 8
2.7 Signature of a d-Temporal Data Stream ..... 8

3 Signature-Based Features for Human Activity Recognition ..... 8
3.1 Structure of the HAR Dataset ..... 8
3.2 Main Strategy ..... 9
3.3 Performance Across Models, Representations, and Configurations ..... 10
3.3.1 MLP Models with Signature-Based Representations ..... 10
3.3.2 Random Forest Models with Signature-Based Representations ..... 11
3.3.3 Baseline Models with Raw Flattened Signals ..... 12
3.3.4 Comparative Analysis Across Configurations ..... 13
3.4 Best Model Performance and Class-Level Evaluation ..... 14

4 Comparison with Ismi et al. K-means-based Features ..... 14

5 Discussion ..... 15
5.1 Effect of Representation, Truncation Depth, and Model Choice ..... 16
5.2 Comparison with Prior Feature Selection Approaches ..... 17
5.3 Strengths and Limitations ..... 18

6 Conclusion and Perspectives ..... 19
6.1 Conclusion ..... 19
6.2 Perspectives ..... 19

A Dataset and data representation ..... 23
A.1 Dataset ..... 23
A.2 Data Representation ..... 23

B Model Implementation Details ..... 24
B.1 Training Protocol ..... 24
B.2 Evaluation Metrics ..... 25
B.3 Reproducibility Framework ..... 25

C About Ismi et al. approach using K-means-Based Feature Reduction ..... 26

References (63)