Enhancing human activity recognition with multi-head self-attention and stacked autoencoders | Synapse