See how advanced simulation enhances nuclear safety

Learn how the UNESCO Chair in Numerical Methods spearheads frontier innovation in the Global South

News

Back

Investigating the Impact of Information Sharing in Human Activity Recognition

Apr 21, 2022

Do you ever wonder how your smartwatch or smartphone can differentiate between walking and jogging while tracking your exercise routine? This aspect is known as Human Activity Recognition (HAR) and is based on the analysis of various sensors’ data including GPS, accelerometer, gyroscope, magnetometer, barometer, etc. The human activities to be identified may include sitting, standing, walking, going upstairs, going downstairs, jogging, running, cycling, etc. and various locations such as indoor, outdoor, underground, etc. Additionally, motorized travel modes may also be included such as bike, car, bus, train, subway, etc.

A general methodology for Human Activity Recognition as followed by most researchers is described below.

  1. Annotated data collection from the required sensor(s)
  2. Data wrangling
  3. Feature extraction
  4. Formation of training and testing datasets
  5. Training of machine learning algorithm(s)
  6. Testing of the trained algorithm(s) 
  7. Post-processing, if required
  8. Reporting of performance measures

Our study on Human Activity Recognition had the following two main objectives.

  • Investigate the impact of information sharing on the accuracy of activity detection.
  • Develop a low-cost methodology for activity detection.

Information sharing between the training and testing datasets is undesirable since it increases the detection accuracy erroneously. Such sharing may happen at three levels. 1) Data level: If various features are extracted using sliding windows then each extracted data point will share some information with its neighboring data points. Hence, it would become easier for the algorithm to predict a certain data point based on the trends learned from its neighbors. 2) Trip level: Each trip of a certain activity would follow a certain trend. If part of the trip is used to train the algorithm and the remaining part is used for prediction, the accuracy would become high. 3) Participant level: Each participant follows a certain activity pattern. Thus, it becomes comparatively easy for an algorithm to detect an activity recoded by the same participant whose activity pattern has already been learned. 

To reduce the computational cost and preserve smartphone battery, only accelerometer data was used in the study. Features were extracted and data was divided among training and testing datasets following three different stratification methods, having varying levels of information sharing. Several algorithms were tested and compared based on their performance metrics including computation time. The results reveal that XGBoost takes the least computation time while providing high prediction accuracy. The final detection accuracy ranges from 99.8% to 77.6% depending on the level of information sharing. This strongly suggests that when reporting accuracy values, the associated information sharing levels should be provided as well to allow the results to be interpreted in the correct context.

(Full paper available at https://www.mdpi.com/1424-8220/22/6/2280)

By Muhammad Awais Shafique and Sergi Saurí Marchán

Related News

From vessel data to climate action: building the foundations for maritime MRV in the Pacific
From vessel data to climate action: building the foundations for maritime MRV in the Pacific

Maritime transport is a lifeline for Pacific Island countries, connecting communities, supporting trade, and enabling access to essential services. However, the sector is a significant and growing source of greenhouse gas emissions. Strengthening how these emissions...

EU ETS Observatory identifies increased activity in non-EU ports following ETS implementation
EU ETS Observatory identifies increased activity in non-EU ports following ETS implementation

Researchers at CIMNE’s transport innovation unit CENIT, working in collaboration with Shipping Business Consultants and Nextport, have identified an “unusual increase in activity at non-EU ports located close to Europe” in the first quarterly report of the EU-ETS...

CIMNE at the Mobile World Congress 2026: Digital Solutions, Real-World Impact
CIMNE at the Mobile World Congress 2026: Digital Solutions, Real-World Impact

March 2-5, 2026 | Fira Gran Via, Barcelona CIMNE's Stand: Hall 8.1, 8.1C12.1   The International Centre for Numerical Methods in Engineering (CIMNE) features innovative simulation and smart solutions in this year's edition of the Mobile World Congress, the world...

Tags

Share: