An Improved Sequential Recommendation Algorithm based on Short-Sequence Enhancement and Temporal Self-Attention Mechanism

Sequential recommendation algorithm can predict the next action of a user by modeling the user’s interaction sequence with an item. However, most sequential recommendation models only consider the absolute positions of items in the sequence, ignoring the time interval information between items, and...

Full description

Saved in:
Bibliographic Details
Main Authors: Jianjun Ni, Guangyi Tang, Tong Shen, Yu Cai, Weidong Cao
Format: Article
Language:English
Published: Wiley 2022-01-01
Series:Complexity
Online Access:http://dx.doi.org/10.1155/2022/4275868
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832552937395585024
author Jianjun Ni
Guangyi Tang
Tong Shen
Yu Cai
Weidong Cao
author_facet Jianjun Ni
Guangyi Tang
Tong Shen
Yu Cai
Weidong Cao
author_sort Jianjun Ni
collection DOAJ
description Sequential recommendation algorithm can predict the next action of a user by modeling the user’s interaction sequence with an item. However, most sequential recommendation models only consider the absolute positions of items in the sequence, ignoring the time interval information between items, and cannot effectively mine user preference changes. In addition, existing models perform poorly on sparse data sets, which make a poor prediction effect for short sequences. To address the above problems, an improved sequential recommendation algorithm based on short-sequence enhancement and temporal self-attention mechanism is proposed in this paper. In the proposed algorithm, a backward prediction model is trained first, to predict the prior items in the user sequence. Then, the reverse prediction model is used to generate a batch of pseudo-historical items before the initial items of the short sequence, to achieve the goal of enhancing the short sequence. Finally, the absolute position information and time interval information of the user sequence are modeled, and a time-aware self-attention model is adopted to predict the user’s next action and generate a recommendation list. Various experiments are conducted on two public data sets. The experimental results show that the method proposed in this paper has excellent performance on both dense and sparse data sets, and its effect is better than that of the state of the art.
format Article
id doaj-art-aeaf6a0326d6486bb1313506cb39b8ba
institution Kabale University
issn 1099-0526
language English
publishDate 2022-01-01
publisher Wiley
record_format Article
series Complexity
spelling doaj-art-aeaf6a0326d6486bb1313506cb39b8ba2025-02-03T05:57:30ZengWileyComplexity1099-05262022-01-01202210.1155/2022/4275868An Improved Sequential Recommendation Algorithm based on Short-Sequence Enhancement and Temporal Self-Attention MechanismJianjun Ni0Guangyi Tang1Tong Shen2Yu Cai3Weidong Cao4College of Internet of Things EngineeringCollege of Internet of Things EngineeringCollege of Internet of Things EngineeringCollege of Internet of Things EngineeringCollege of Internet of Things EngineeringSequential recommendation algorithm can predict the next action of a user by modeling the user’s interaction sequence with an item. However, most sequential recommendation models only consider the absolute positions of items in the sequence, ignoring the time interval information between items, and cannot effectively mine user preference changes. In addition, existing models perform poorly on sparse data sets, which make a poor prediction effect for short sequences. To address the above problems, an improved sequential recommendation algorithm based on short-sequence enhancement and temporal self-attention mechanism is proposed in this paper. In the proposed algorithm, a backward prediction model is trained first, to predict the prior items in the user sequence. Then, the reverse prediction model is used to generate a batch of pseudo-historical items before the initial items of the short sequence, to achieve the goal of enhancing the short sequence. Finally, the absolute position information and time interval information of the user sequence are modeled, and a time-aware self-attention model is adopted to predict the user’s next action and generate a recommendation list. Various experiments are conducted on two public data sets. The experimental results show that the method proposed in this paper has excellent performance on both dense and sparse data sets, and its effect is better than that of the state of the art.http://dx.doi.org/10.1155/2022/4275868
spellingShingle Jianjun Ni
Guangyi Tang
Tong Shen
Yu Cai
Weidong Cao
An Improved Sequential Recommendation Algorithm based on Short-Sequence Enhancement and Temporal Self-Attention Mechanism
Complexity
title An Improved Sequential Recommendation Algorithm based on Short-Sequence Enhancement and Temporal Self-Attention Mechanism
title_full An Improved Sequential Recommendation Algorithm based on Short-Sequence Enhancement and Temporal Self-Attention Mechanism
title_fullStr An Improved Sequential Recommendation Algorithm based on Short-Sequence Enhancement and Temporal Self-Attention Mechanism
title_full_unstemmed An Improved Sequential Recommendation Algorithm based on Short-Sequence Enhancement and Temporal Self-Attention Mechanism
title_short An Improved Sequential Recommendation Algorithm based on Short-Sequence Enhancement and Temporal Self-Attention Mechanism
title_sort improved sequential recommendation algorithm based on short sequence enhancement and temporal self attention mechanism
url http://dx.doi.org/10.1155/2022/4275868
work_keys_str_mv AT jianjunni animprovedsequentialrecommendationalgorithmbasedonshortsequenceenhancementandtemporalselfattentionmechanism
AT guangyitang animprovedsequentialrecommendationalgorithmbasedonshortsequenceenhancementandtemporalselfattentionmechanism
AT tongshen animprovedsequentialrecommendationalgorithmbasedonshortsequenceenhancementandtemporalselfattentionmechanism
AT yucai animprovedsequentialrecommendationalgorithmbasedonshortsequenceenhancementandtemporalselfattentionmechanism
AT weidongcao animprovedsequentialrecommendationalgorithmbasedonshortsequenceenhancementandtemporalselfattentionmechanism
AT jianjunni improvedsequentialrecommendationalgorithmbasedonshortsequenceenhancementandtemporalselfattentionmechanism
AT guangyitang improvedsequentialrecommendationalgorithmbasedonshortsequenceenhancementandtemporalselfattentionmechanism
AT tongshen improvedsequentialrecommendationalgorithmbasedonshortsequenceenhancementandtemporalselfattentionmechanism
AT yucai improvedsequentialrecommendationalgorithmbasedonshortsequenceenhancementandtemporalselfattentionmechanism
AT weidongcao improvedsequentialrecommendationalgorithmbasedonshortsequenceenhancementandtemporalselfattentionmechanism