Human activity recognition (HAR) has been a very popular field in both real practice and theoretical research. Over the years, a number of many-vs-one Long Short-Term Memory (LSTM) models have been proposed for the sensor-based HAR problem. However, how to utilize sequence outputs of them to improve the HAR performance has not been studied seriously. To solve this problem, we present a novel loss function named harmonic loss, which is utilized to improve the overall classification performance of HAR based on baseline LSTM networks. First, label replication method is presented to duplicate true labels at each sequence step in many-vs-one LSTM networks, thus each sequence step can generate a local error and a local output. Then, considering the importance of different local errors and inspired by the Ebbinghaus memory curve, the harmonic loss is proposed to give unequal weights to different local errors based on harmonic series equation. Additionally, to improve the overall classification performance of HAR, integrated methods are utilized to exploit the sequence outputs of LSTM models based on harmonic loss and ensemble learning strategy. Finally, based on the LSTM model construction and hyper-parameter setting, extensive experiments are conducted. A series of experimental results demonstrate that our harmonic loss significantly achieves higher macro-F1 and accuracy than strong baselines on two public HAR benchmarks. Compared with previous state-of-art methods, our proposed methods can achieve competitive classification performance.
Vehicle trajectory prediction plays a crucial role in IoT-based intelligent transportation systems, which can effectively address key issues such as driving safety and multi-vehicle collaboration. However, the sensitivity of trajectory data and the reluctance of data holders to share it constrain the prediction model’s ability to capture vehicle behavior patterns in different scenarios. To address the above problems, we propose a blockchain-enabled asynchronous federated proximal policy optimization framework (BE-AFPPO) for the trajectory prediction of self-driving vehicles. Firstly, we propose a Curiosity Proximal Policy Optimisation (C-PPO) algorithm. The method utilizes a driven exploration strategy to actively motivate the intelligent agent to explore the unknown state space. The avoidance policy model reaches a local optimum when processing trajectory data. In addition, we design historical GRU and future GRU as input layers. The target’s historical motion features and future trajectory features are extracted, respectively. Then, various data is received through asynchronous federated learning. This model can fully learn the vehicle’s behavior patterns in different scenarios, which improves prediction accuracy. Based on this, we develop a blockchain-based Dynamic Group Practical Byzantine Fault Tolerance (DG-PBFT) consensus algorithm. This enhances the credibility and integrity of the data while enriching the sources of trajectory data. Finally, we perform the experiments on the publicly available dataset nuScenes. The results demonstrate that the proposed method improves the robustness and accuracy of trajectory prediction.
31 December 2024 in Future Generation Computer Systems