CN107609786A - A kind of method that user behavior preference variation model is built under online community network - Google Patents

A kind of method that user behavior preference variation model is built under online community network Download PDF

Info

Publication number
CN107609786A
CN107609786A CN201710883112.XA CN201710883112A CN107609786A CN 107609786 A CN107609786 A CN 107609786A CN 201710883112 A CN201710883112 A CN 201710883112A CN 107609786 A CN107609786 A CN 107609786A
Authority
CN
China
Prior art keywords
mrow
user
interest
msub
mfrac
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710883112.XA
Other languages
Chinese (zh)
Other versions
CN107609786B (en
Inventor
汪材印
崔琳
梁楠楠
谈成访
潘正高
彭智超
戚溪溪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Soochow University
Original Assignee
Soochow University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Soochow University filed Critical Soochow University
Priority to CN201710883112.XA priority Critical patent/CN107609786B/en
Publication of CN107609786A publication Critical patent/CN107609786A/en
Application granted granted Critical
Publication of CN107609786B publication Critical patent/CN107609786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of method that user behavior preference variation model is built under online community network.This method includes:Under the Hadoop parallel and distributed process environment built, the interest topic information of user is calculated the drift probability of user interest theme using symmetrical KL divergences, determines user interest change point after the processing of Map Reduce processes;Excavate Long-term Interest and short-term interest possessed by user;Excavate weight possessed by each interest;According to weight possessed by the Long-term Interest of user, short-term interest and each interest, user behavior preference variation model is determined.Behavior preference change under the present invention research online community network of user, understand personalization preferences of the user under different space-time scenes, and according to the context information and user's own interests at current time, the real information resources interested of user are found from the online the environment of social network of vastness, meet individual demand of the user to information, effectively lift Consumer's Experience.

Description

一种在线社会网络下构建用户行为偏好变化模型的方法A Method of Constructing a Model of User Behavior Preference Changes in Online Social Networks

技术领域technical field

本发明涉及在线社会网络领域,更具体的涉及一种在线社会网络下构建用户行为偏好变化模型的方法。The invention relates to the field of online social networks, and more specifically relates to a method for constructing a user behavior preference change model under an online social network.

背景技术Background technique

用户行为偏好变化建模(即用户兴趣变化建模)指对用户有关兴趣及其行为信息进行归纳,基于此演绎出可描述其行为变化特征的用户模型,它是推荐系统的关键技术之一,只有准确地把握用户兴趣变化,才能设计出高效的推荐算法,从而提升用户体验,用户行为偏好变化建模是进行个性化检索与推荐的前提,随着个性化服务的不断发展和研究的逐步深入,人们开始意识到用户兴趣及其偏好变化描述对个性化服务的重要意义。User behavior preference change modeling (i.e. user interest change modeling) refers to the induction of user interest and behavior information, based on which a user model that can describe the characteristics of its behavior change is deduced, which is one of the key technologies of the recommendation system. Only by accurately grasping changes in user interests can an efficient recommendation algorithm be designed to improve user experience. Modeling user behavior preference changes is a prerequisite for personalized retrieval and recommendation. With the continuous development of personalized services and the gradual deepening of research , people began to realize the importance of descriptions of user interests and their preferences for personalized services.

目前,对在线社会网络下的个性化推荐问题虽有一定程度的研究,但是,由于在在线社会网络下,用户的行为偏好会经常随时间发生变化,而传统建模方法大都采用静态的研究方法,没有考虑在线社会网络下用户行为偏好变化的问题。At present, although there is a certain degree of research on the personalized recommendation problem under the online social network, due to the online social network, the user's behavior preference will often change with time, and the traditional modeling methods mostly use static research methods , does not consider the problem of user behavior preference changes in online social networks.

综上所述,现有技术中的用户兴趣建模,大都采用静态的研究方法,没有考虑在线社会网络下行为偏好变化的问题。To sum up, most of the user interest modeling in the prior art adopts a static research method, and does not consider the problem of behavior preference changes in online social networks.

发明内容Contents of the invention

本发明实施例提供一种在线社会网络下用户行为偏好变化模型构建的方法,用以解决现有技术中采用静态的研究方法,没有考虑用户行为偏好变化的问题。The embodiment of the present invention provides a method for constructing a user behavior preference change model in an online social network, which is used to solve the problem that the static research method in the prior art does not consider the change of user behavior preference.

本发明实施例提供一种在线社会网络下构建用户行为偏好变化模型的方法,包括:An embodiment of the present invention provides a method for constructing a user behavior preference change model under an online social network, including:

在所搭建Hadoop并行分布式处理环境下,用户的兴趣主题信息经过Map-Reduce过程处理后,采用对称KL散度计算用户兴趣主题的漂移概率,确定用户兴趣变化点;In the built Hadoop parallel distributed processing environment, after the user's interest topic information is processed by the Map-Reduce process, the drift probability of the user's interest topic is calculated by using the symmetric KL divergence, and the user's interest change point is determined;

根据用户兴趣子主题与前向关联子主题和后向关联子主题间的关系,将用户兴趣子主题漂移轨迹的演化分为新兴趣产生、兴趣保持和兴趣消失三种类型;当用户行为偏好发生变化时,分析所对应的用户兴趣变化点,挖掘用户所具有的长期兴趣和短期兴趣;According to the relationship between the user interest subtopic and the forward correlation subtopic and backward correlation subtopic, the evolution of the drift trajectory of the user interest subtopic is divided into three types: new interest generation, interest maintenance and interest disappearance; when user behavior preference occurs When changing, analyze the corresponding user interest change point, and tap the long-term and short-term interests of the user;

计算用户行为偏好在整个生命周期中绝对强度和相对强度,构建用户行为偏好变化轨迹的强度走势,挖掘每个兴趣所具有的权重;Calculate the absolute strength and relative strength of user behavior preference throughout the life cycle, construct the strength trend of user behavior preference change trajectory, and mine the weight of each interest;

根据用户的长期兴趣、短期兴趣以及每个兴趣所具有的权重,确定用户行为偏好变化模型。According to the user's long-term interest, short-term interest and the weight of each interest, the user behavior preference change model is determined.

较佳地,所述采用对称KL散度计算用户兴趣主题的漂移概率,判断用户兴趣变化点,包括:Preferably, the calculation of the drift probability of the topic of user interest by using symmetric KL divergence to determine the change point of user interest includes:

用户兴趣通过使用用户情景日志中特征词汇的出现概率表示,判断不同时期用户兴趣主题间的语义相似性对应于度量两个概率分布间的近似程度;令滑动窗口包含N个时间片,把时间片t中的用户所具有的兴趣j记作原KL散度是不对称的,但不同时期用户兴趣主题间的语义相似性是对称的,即对于任意用户兴趣主题和 和的相似性与和的相似性相等,改进原KL散度,确定基于对称KL散度的用户兴趣子主题相似度为:User interest is expressed by using the occurrence probability of characteristic words in the user situation log, and judging the semantic similarity between user interest topics in different periods corresponds to measuring the similarity between two probability distributions; let the sliding window include N time slices, and the time slice The interest j of the user in t is denoted as The original KL divergence is asymmetric, but the semantic similarity between user interest topics in different periods is symmetric, that is, for any user interest topic with with similarity to with The similarity is equal, the original KL divergence is improved, and the user interest subtopic similarity based on the symmetric KL divergence is determined as:

其中,p(w)和q(w)分别表示特征词汇w在用户兴趣子主题和中的出现概率,V代表一个词汇字典的集合。Among them, p(w) and q(w) respectively represent the feature vocabulary w in the user interest sub-topic with The occurrence probability in , V represents a collection of vocabulary dictionaries.

较佳地,Preferably,

所述前向关联子主题为:滑窗内各时间片i(i=t-N,…,t-1)中与相似度最大的用户兴趣子主题,记作 The forward association subtopic is: in each time slice i (i=tN,...,t-1) in the sliding window and The user interest subtopic with the greatest similarity, denoted as

所述后向关联子主题为:滑窗内各时间片i(i=t+1,…,t+N)中与相似度最大的用户兴趣子主题,记作 The backward association subtopic is: in each time slice i (i=t+1,...,t+N) in the sliding window and The user interest subtopic with the greatest similarity, denoted as

较佳地,Preferably,

所述新兴趣产生,包括:对于用户兴趣子主题若不存在前向关联兴趣子主题使得和的相似度大于阈值ε,既不满足则是在时间片t中产生的新兴趣主题;The new interest generation includes: for the user interest subtopic If there is no forward-associated interest subtopic make with The similarity is greater than the threshold ε, which neither satisfies but is a new topic of interest generated in time slice t;

所述兴趣保持,包括:对于用户兴趣子主题若存在前向关联兴趣子主题使得和的相似度大于阈值ε,既并且也是的后向关联兴趣子主题,即则是的后继,用户的兴趣没有发生太大变化;The interest maintenance includes: for the user interest subtopic If there is a forward-associated interest subtopic make with The similarity is greater than the threshold ε, both and Too The backward-associated interest subtopic of , namely but yes The successor of , the interest of users has not changed much;

所述兴趣消失,包括:对于用户兴趣子主题若不存在后向关联子主题使得和的相似度大于阈值ε,既不满足则是在时间片t中消亡,用户已不再具有此兴趣。The interest disappears, including: for the user interest subtopic If there is no backward related subtopic make with The similarity is greater than the threshold ε, which neither satisfies but is died in time slice t, the user no longer has this interest.

较佳地,Preferably,

所述绝对强度包括:设di={di1…diM}表示移动用户情景日志di的单词序列,M表示用户情景日志di所包含的单词个数,i表示用户情景日志di所表达的用户兴趣主题;用户兴趣主题i在时间t的绝对强度采用如下公式:The absolute strength includes: Let d i ={d i1 ... d iM } represent the word sequence of the mobile user context log d i , M represent the number of words contained in the user context log d i , and i represent the number of words contained in the user context log d i The expressed user interest topic; the absolute strength of user interest topic i at time t adopts the following formula:

所述相对强度包括:用户兴趣主题i在时间t的相对强度采用如下公式:The relative strength includes: the relative strength of user interest topic i at time t adopts the following formula:

其中,t′为t-N与t-1之间的任一时间片,K为用户兴趣主题的个数,p为用户兴趣主题K中的其中任意一个主题。Among them, t′ is any time slice between t-N and t-1, K is the number of user interest topics, and p is any one of the user interest topics K.

本发明实施例中,提供一种在线社会网络下构建用户行为偏好变化模型的方法,与现有技术相比,其有益效果为:本发明在所搭建的Hadoop并行分布式处理环境下,研究用户的行为偏好变化,了解用户在不同时间下的个性化偏好,并根据当前时刻的情景信息和用户自身兴趣,从浩瀚的在线社会网络环境中发现用户真正感兴趣的信息资源,满足用户对信息的个性化需求,切实地提升用户体验;本发明的研究对提高个性化服务的应用效果和寻求在线社会网络下个性化信息服务技术的突破具有重要价值,以期推动在线社会网络应用和服务向智能化进一步发展。In the embodiment of the present invention, a method for constructing a user behavior preference change model under an online social network is provided. Compared with the prior art, the beneficial effect is: the present invention studies user behavior under the built Hadoop parallel distributed processing environment. According to the changes in behavior preferences of users, we can understand the personalized preferences of users at different times, and according to the current situational information and users' own interests, we can find information resources that users are really interested in from the vast online social network environment, so as to meet the needs of users for information. Personalized needs can effectively improve user experience; the research of the present invention is of great value in improving the application effect of personalized services and seeking breakthroughs in personalized information service technology under online social networks, in order to promote online social network applications and services to be intelligent Further development.

附图说明Description of drawings

图1为本发明实施例提供的一种在线社会网络下构建用户行为偏好变化模型的方法流程图;1 is a flow chart of a method for constructing a user behavior preference change model under an online social network provided by an embodiment of the present invention;

图2为本发明实施例提供的用户兴趣子主题产生示意图;FIG. 2 is a schematic diagram of generating a user interest subtopic provided by an embodiment of the present invention;

图3为本发明实施例提供的用户兴趣子主题继承示意图;FIG. 3 is a schematic diagram of user interest subtopic inheritance provided by an embodiment of the present invention;

图4为本发明实施例提供的用户兴趣子主题消亡示意图。FIG. 4 is a schematic diagram of the disappearance of a user interest subtopic provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

图1为本发明实施例提供的一种在线社会网络下构建用户行为偏好变化模型的方法流程图。如图1所示,该方法包括:FIG. 1 is a flowchart of a method for constructing a user behavior preference change model under an online social network provided by an embodiment of the present invention. As shown in Figure 1, the method includes:

步骤S101,在所搭建的Hadoop并行分布式处理环境下,采用对称KL散度计算用户兴趣主题的漂移概率,确定用户兴趣变化点。Step S101 , in the built Hadoop parallel distributed processing environment, calculate the drift probability of user interest topics by using symmetric KL divergence, and determine user interest change points.

在Hadoop集群环境下,用户兴趣的前期预处理被划分为Map过程和Reduce过程。在Map过程中,任务执行时,每一个Map的输入数据来源于HDFS中划分好的一个块Split(每个数据块大小设为64MB)。经过Map过程处理后,Map输出key-value对,设定key对应着用户的不同的兴趣主题T,value是key所对应主题的概率值。随后,在Shuffle阶段,对Map过程的处理结果执行排序与合并操作,然后再把Shuffle处理后的key-value信息输入给Reduce过程进行处理;在Reduce任务执行时,依据26个英文字母的顺序,划分为5个reduce task,按照key值首字母的顺序二次合并结果数据集,并把Map-Reduce操作的最终处理结果输出,以进一步分析用户的行为偏好随着时间和所处情景如何发生变化。In the Hadoop cluster environment, the early preprocessing of user interests is divided into a Map process and a Reduce process. In the Map process, when the task is executed, the input data of each Map comes from a split block in HDFS (the size of each data block is set to 64MB). After being processed by the Map process, the Map outputs key-value pairs, and the key is set to correspond to different topics of interest T of the user, and the value is the probability value of the topic corresponding to the key. Subsequently, in the Shuffle stage, the processing results of the Map process are sorted and merged, and then the key-value information after Shuffle processing is input to the Reduce process for processing; when the Reduce task is executed, according to the order of 26 English letters, Divide it into 5 reduce tasks, merge the result data sets twice according to the order of the initials of the key values, and output the final processing results of the Map-Reduce operation to further analyze how the user's behavior preferences change with time and the situation they are in .

在在线社会网络下,尽管用户的行为偏好会随着时间和所处情景发生变化,但不同时期的用户的兴趣主题之间存在一定的关联,这种关联反映为不同时期用户兴趣主题间的语义相似性。因此,用户兴趣使用特征词汇的出现概率表示,判断不同时期用户兴趣主题间的语义相似性对应于度量两个概率分布间的近似程度。令滑动窗口包含N个时间片,把时间片t中的用户所具有的兴趣j记作原KL散度是不对称的,但不同时期用户兴趣主题间的语义相似性是对称的,即对于任意用户兴趣主题和 和的相似性与和的相似性相等,改进原KL散度,初步构思基于对称KL散度的用户兴趣子主题相似度为:In the online social network, although the user's behavior preference will change with time and the situation, there is a certain relationship between the user's interest topics in different periods, and this relationship is reflected in the semantics of user interest topics in different periods. similarity. Therefore, user interest is represented by the occurrence probability of characteristic words, and judging the semantic similarity between user interest topics in different periods corresponds to measuring the similarity between two probability distributions. Let the sliding window include N time slices, and denote the interest j of the user in time slice t as The original KL divergence is asymmetric, but the semantic similarity between user interest topics in different periods is symmetric, that is, for any user interest topic with with similarity to with The similarity is equal, the original KL divergence is improved, and the similarity of the user interest subtopic based on the symmetric KL divergence is initially conceived as:

其中,p(w)和q(w)分别表示特征词汇w在用户兴趣子主题和中的出现概率。Among them, p(w) and q(w) respectively represent the feature vocabulary w in the user interest sub-topic with The probability of occurrence in .

步骤S102,根据用户兴趣子主题与前向关联子主题和后向关联子主题间的关系,将用户兴趣子主题漂移轨迹的演化分为新兴趣产生、兴趣保持和兴趣消失三种类型,当用户行为偏好发生变化时,分析所对应的用户兴趣变化点,挖掘用户所具有的长期兴趣和短期兴趣。Step S102, according to the relationship between the user interest subtopic and the forward correlation subtopic and backward correlation subtopic, the evolution of the user interest subtopic drift trajectory is divided into three types: new interest generation, interest maintenance and interest disappearance. When the user When behavior preferences change, analyze the corresponding user interest change points, and mine the long-term and short-term interests of users.

用户兴趣主题具有一定的生命周期,由一组相互关联的用户兴趣子主题组成。令N是时间滑动窗口的大小,对于时间片t中的用户兴趣子主题与时间片t相邻滑窗内用户兴趣子主题间存在关联。滑窗内各时间片i(i=t-N,…,t-1)中与相似度最大的用户兴趣子主题称为的前向关联子主题,记作时间片i(i=t+1,…,t+N)中与相似度最大的子主题称为的后向关联子主题,记作 A user interest topic has a certain life cycle and consists of a group of interrelated user interest subtopics. Let N be the size of the time sliding window, for a user interest subtopic in time slice t There is a correlation between user interest subtopics in the sliding window adjacent to time slice t. In each time slice i (i=tN,...,t-1) in the sliding window and The user interest subtopic with the greatest similarity is called The forward-associated subtopics of , denoted by In time slice i (i=t+1,...,t+N) and The subtopic with the greatest similarity is called The backward-associated subtopic of , denoted as

根据用户兴趣子主题与其前向和后向关联子主题间的关系,将用户兴趣子主题漂移轨迹的演化分为新兴趣产生、兴趣保持和兴趣消失三种类型进行研究,分别介绍如下:According to the relationship between user interest subtopics and their forward and backward association subtopics, the evolution of user interest subtopic drift trajectory is divided into three types of new interest generation, interest maintenance and interest disappearance, which are introduced as follows:

用户兴趣子主题产生——新兴趣产生Generation of user interest subtopics—new interest generation

对于用户兴趣子主题若不存在前向关联兴趣子主题使得和的相似度大于阈值ε,既不满足则是在时间片t中产生的新兴趣主题,如图2所示。For user interest subtopics If there is no forward-associated interest subtopic make with The similarity is greater than the threshold ε, which neither satisfies but is a new topic of interest generated in time slice t, as shown in Figure 2.

用户兴趣子主题继承——兴趣保持Subtopic Inheritance of User Interests - Interest Preservation

对于用户兴趣子主题若存在前向关联兴趣子主题使得和的相似度大于阈值ε,既并且也是的后向关联兴趣子主题,即则是的后继,如图3所示。这一现象说明用户的兴趣没有发生太大变化。For user interest subtopics If there is a forward-associated interest subtopic make with The similarity is greater than the threshold ε, both and Too The backward-associated interest subtopic of , namely but yes successor, as shown in Figure 3. This phenomenon shows that the interests of users have not changed much.

用户兴趣子主题消亡——兴趣消失User interest subtopic dies – interest disappears

对于用户兴趣子主题若不存在后向关联子主题使得和的相似度大于阈值ε,既不满足则是在时间片t中消亡,如图4所示,说明用户已不再具有此兴趣。For user interest subtopics If there is no backward related subtopic make with The similarity is greater than the threshold ε, which neither satisfies but It dies in the time slice t, as shown in Figure 4, indicating that the user no longer has this interest.

步骤S103,计算用户行为偏好在整个生命周期中绝对强度和相对强度,构建用户行为偏好变化轨迹的强度走势,挖掘每个兴趣所具有的权重。Step S103, calculate the absolute strength and relative strength of user behavior preference in the whole life cycle, construct the strength trend of user behavior preference change trajectory, and mine the weight of each interest.

步骤S104,根据用户的长期兴趣、短期兴趣以及每个兴趣所具有的权重,确定用户行为偏好变化模型。Step S104, according to the user's long-term interest, short-term interest and the weight of each interest, determine the user behavior preference change model.

随着时间的发展,伴随着用户行为偏好发生变化的同时,用户兴趣主题强度也会发生变化。本发明通过计算用户所具有的每个兴趣的绝对强度和相对强度,来挖掘每个兴趣的权重,以判断用户感兴趣的程度是否发生变化。With the development of time, along with the changes in user behavior preferences, the intensity of user interest topics will also change. The present invention mines the weight of each interest by calculating the absolute strength and relative strength of each interest of the user, so as to judge whether the degree of interest of the user changes.

设di={di1…diM}表示移动用户情景日志di的单词序列,M表示用户情景日志di所包含的单词个数,i表示用户情景日志di所表达的用户兴趣主题。用户兴趣主题i在时间t的绝对强度拟采用如下计算方法:Let d i ={d i1 ... d iM } represent the word sequence of the mobile user context log d i , M represent the number of words contained in the user context log d i , and i represent the user interest topics expressed in the user context log d i . The absolute strength of user interest topic i at time t is proposed to be calculated as follows:

在t′时间片内,当单词|dij|t′属于用户兴趣主题i时,δ(|dij|t′,i)=1,否则δ(|dij|t′,i)=0。In the time slice of t′, when the word |d ij | t′ belongs to user interest topic i, δ(|d ij | t′ , i)=1, otherwise δ(|d ij | t′ ,i)=0 .

用户兴趣主题i在时间t的相对强度拟采用如下计算方法:The relative strength of user interest topic i at time t is proposed to be calculated as follows:

其中,t′为t-N与t-1之间的任一时间片,K为用户兴趣主题的个数,p为用户兴趣主题K中的其中任意一个主题。因此,用户的每一个行为偏好的强度变化可以通过在整个主题生命周期内迭代计算用户兴趣主题i的绝对强度和相对强度进行实现,从而判断每个兴趣的感兴趣的程度是否发生变化。Among them, t′ is any time slice between t-N and t-1, K is the number of user interest topics, and p is any one of the user interest topics K. Therefore, the intensity change of each user's behavior preference can be realized by iteratively calculating the absolute intensity and relative intensity of the user's interest topic i in the entire topic life cycle, so as to determine whether the degree of interest of each interest changes.

基于以上分析,在挖掘用户的长期兴趣和短期兴趣以及每个兴趣的权重基础之上,就可以构建用户行为偏好变化模型。Based on the above analysis, on the basis of mining long-term and short-term interests of users and the weight of each interest, a user behavior preference change model can be constructed.

综上所述,本发明以研究用户在线社会网络下的用户行为偏好变化,了解用户在不同时空情景下的个性化偏好,并根据当前时刻的情景信息和用户自身兴趣,从浩瀚的社会网络环境中发现用户真正感兴趣的信息资源,满足用户对信息的个性化需求,切实地提升用户体验;本发明的研究对提高个性化服务的应用效果和寻求在线社会网络下个性化信息服务技术的突破具有重要价值,以期推动在线社会应用和服务向智能化进一步发展。To sum up, the present invention studies the user behavior preference changes under the user's online social network, understands the user's personalized preference in different time and space scenarios, and according to the current situation information and the user's own interests, from the vast social network environment Discover the information resources that users are really interested in, meet the personalized needs of users for information, and effectively improve user experience; the research of the present invention can improve the application effect of personalized services and seek breakthroughs in personalized information service technology under online social networks It is of great value in order to promote the further development of online social applications and services towards intelligence.

以上公开的仅为本发明的几个具体实施例,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。The above disclosures are only a few specific embodiments of the present invention, and those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention, provided that these modifications and modifications of the present invention belong to the rights of the present invention The present invention also intends to include these modifications and variations within the scope of the requirements and their technical equivalents.

Claims (5)

1. the method for user behavior preference variation model is built under a kind of online community network, it is characterised in that including:
Under built Hadoop parallel and distributed process environment, the interest topic information of user is by Map-Reduce processes After reason, the drift probability of user interest theme is calculated using symmetrical KL divergences, determines user interest change point;
It is according to the relation between user interest sub-topicses and forward conjunction sub-topicses and backward association sub-topicses, user interest is main The evolution of topic drift orbit is divided into new interest generation, interest is kept and interest disappearance three types, when user behavior preference occurs During change, corresponding user interest change point is analyzed, excavates Long-term Interest and short-term interest possessed by user;
Calculate user behavior preference absolute intensity and relative intensity in whole life cycle, structure user behavior preference change rail The intensity tendency of mark, excavates weight possessed by each interest;
According to weight possessed by the Long-term Interest of user, short-term interest and each interest, determine that user behavior preference changes Model.
2. building the method for user behavior preference variation model under online community network as claimed in claim 1, its feature exists In, the drift probability that user interest theme is calculated using symmetrical KL divergences, judge user interest change point, including:
User interest is represented by using the probability of occurrence of feature vocabulary in user situation daily record, judges different times user interest The degree of approximation that Semantic Similarity between theme corresponds between two probability distribution of measurement;Sliding window is made to include N number of timeslice, Interest j possessed by user in timeslice t is denoted asFormer KL divergences are asymmetric, but different times user interest masters Semantic Similarity between topic is symmetrical, i.e., for any user interest themeWithWithSimilitude withWithSimilitude it is equal, former KL divergences are improved, it is determined that the user interest sub-topicses similarity based on symmetrical KL divergences is:
<mfenced open = "" close = ""> <mtable> <mtr> <mtd> <mrow> <mi>S</mi> <mi>i</mi> <mi>m</mi> <mrow> <mo>(</mo> <msubsup> <mi>T</mi> <mi>j</mi> <mi>i</mi> </msubsup> <mo>,</mo> <msubsup> <mi>T</mi> <mi>l</mi> <mi>m</mi> </msubsup> <mo>)</mo> </mrow> <mo>=</mo> <mo>-</mo> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> <mi>K</mi> <mi>L</mi> <mrow> <mo>(</mo> <msubsup> <mi>T</mi> <mi>j</mi> <mi>t</mi> </msubsup> <mo>|</mo> <mo>|</mo> <msubsup> <mi>T</mi> <mi>l</mi> <mi>m</mi> </msubsup> <mo>)</mo> </mrow> <mo>-</mo> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> <mi>K</mi> <mi>L</mi> <mrow> <mo>(</mo> <msubsup> <mi>T</mi> <mi>l</mi> <mi>m</mi> </msubsup> <mo>|</mo> <mo>|</mo> <msubsup> <mi>T</mi> <mi>j</mi> <mi>t</mi> </msubsup> <mo>)</mo> </mrow> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>=</mo> <mo>-</mo> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> <msub> <mo>&amp;Sigma;</mo> <mrow> <mi>w</mi> <mo>&amp;Element;</mo> <mi>V</mi> </mrow> </msub> <mi>p</mi> <mrow> <mo>(</mo> <mi>w</mi> <mo>)</mo> </mrow> <mi>log</mi> <mfrac> <mrow> <mi>p</mi> <mrow> <mo>(</mo> <mi>w</mi> <mo>)</mo> </mrow> </mrow> <mrow> <mi>q</mi> <mrow> <mo>(</mo> <mi>w</mi> <mo>)</mo> </mrow> </mrow> </mfrac> <mo>-</mo> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> <msub> <mo>&amp;Sigma;</mo> <mrow> <mi>w</mi> <mo>&amp;Element;</mo> <mi>V</mi> </mrow> </msub> <mi>q</mi> <mrow> <mo>(</mo> <mi>w</mi> <mo>)</mo> </mrow> <mi>log</mi> <mfrac> <mrow> <mi>q</mi> <mrow> <mo>(</mo> <mi>w</mi> <mo>)</mo> </mrow> </mrow> <mrow> <mi>p</mi> <mrow> <mo>(</mo> <mi>w</mi> <mo>)</mo> </mrow> </mrow> </mfrac> </mrow> </mtd> </mtr> </mtable> </mfenced>
Wherein, p (w) and q (w) represent feature vocabulary w in user interest sub-topicses respectivelyWithIn probability of occurrence, V represent The set of one vocabulary dictionary.
3. building the method for user behavior preference variation model under online community network as claimed in claim 2, its feature exists In,
The forward conjunction user interest sub-topicses are:In each timeslice i in sliding window (i=t-N ..., t-1) withSimilarity is most Big user interest sub-topicses, are denoted as
The backward association user interest sub-topicses are:In each timeslice i in sliding window (i=t+1 ..., t+N) withSimilarity is most Big user interest sub-topicses, are denoted as
4. building the method for user behavior preference variation model under online community network as claimed in claim 3, its feature exists In,
The new interest produces, including:For user interest sub-topicsesIf forward conjunction interest sub-topicses are not presentSo thatWithSimilarity be more than threshold epsilon, be both unsatisfactory forThenIt is the caused new interest in timeslice t Theme;
The interest is kept, including:For user interest sub-topicsesIf forward conjunction interest sub-topicses be presentSo thatWithSimilarity be more than threshold epsilon, bothAndAndAfter To interest sub-topicses are associated, i.e.,ThenIt isIt is follow-up, too big change does not occur for the interest of user Change;
The interest disappears, including:For user interest sub-topicsesIf backward association sub-topicses are not presentSo thatWithSimilarity be more than threshold epsilon, be both unsatisfactory forThen themeWithered away in timeslice t, user is no longer With this interest.
5. building the method for user behavior preference variation model under online community network as claimed in claim 1, its feature exists In,
The absolute intensity includes:If di={ di1…diMRepresent mobile subscriber's scene daily record diWord sequence, M represent user Scene daily record diComprising word number, i represents user situation daily record diExpressed user interest theme;User interest master Inscribe absolute intensities of the i in time t and use equation below:
<mrow> <mi>A</mi> <mi>B</mi> <mi>I</mi> <mi>n</mi> <mi>t</mi> <mi>e</mi> <mi>n</mi> <mi>s</mi> <mi>i</mi> <mi>t</mi> <mi>y</mi> <mrow> <mo>(</mo> <mi>i</mi> <mo>,</mo> <mi>t</mi> <mo>)</mo> </mrow> <mo>=</mo> <mfrac> <mn>1</mn> <mi>N</mi> </mfrac> <msub> <mi>&amp;Sigma;</mi> <mrow> <msup> <mi>t</mi> <mo>&amp;prime;</mo> </msup> <mo>&amp;Element;</mo> <mo>&amp;lsqb;</mo> <mi>t</mi> <mo>-</mo> <mi>N</mi> <mo>,</mo> <mi>t</mi> <mo>-</mo> <mn>1</mn> <mo>&amp;rsqb;</mo> </mrow> </msub> <msubsup> <mi>&amp;Sigma;</mi> <mrow> <mi>j</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>M</mi> </msubsup> <mi>&amp;delta;</mi> <mrow> <mo>(</mo> <mo>|</mo> <msub> <mi>d</mi> <mrow> <mi>i</mi> <mi>j</mi> </mrow> </msub> <msub> <mo>|</mo> <msup> <mi>t</mi> <mo>&amp;prime;</mo> </msup> </msub> <mo>,</mo> <mi>i</mi> <mo>)</mo> </mrow> </mrow>
The relative intensity includes:Relative intensities of the user interest theme i in time t uses equation below:
<mrow> <mi>R</mi> <mi>E</mi> <mi>I</mi> <mi>n</mi> <mi>t</mi> <mi>e</mi> <mi>n</mi> <mi>s</mi> <mi>i</mi> <mi>t</mi> <mi>y</mi> <mrow> <mo>(</mo> <mi>i</mi> <mo>,</mo> <mi>t</mi> <mo>)</mo> </mrow> <mo>=</mo> <mfrac> <mrow> <mi>A</mi> <mi>B</mi> <mi>I</mi> <mi>n</mi> <mi>t</mi> <mi>e</mi> <mi>n</mi> <mi>s</mi> <mi>i</mi> <mi>t</mi> <mi>y</mi> <mrow> <mo>(</mo> <mi>i</mi> <mo>,</mo> <mi>t</mi> <mo>)</mo> </mrow> </mrow> <mrow> <munderover> <mo>&amp;Sigma;</mo> <mrow> <mi>p</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>K</mi> </munderover> <mi>A</mi> <mi>B</mi> <mi>I</mi> <mi>n</mi> <mi>t</mi> <mi>e</mi> <mi>n</mi> <mi>s</mi> <mi>i</mi> <mi>t</mi> <mi>y</mi> <mrow> <mo>(</mo> <mi>p</mi> <mo>,</mo> <mi>t</mi> <mo>)</mo> </mrow> </mrow> </mfrac> <mo>=</mo> <mfrac> <mrow> <msub> <mo>&amp;Sigma;</mo> <mrow> <msup> <mi>t</mi> <mo>&amp;prime;</mo> </msup> <mo>&amp;Element;</mo> <mo>&amp;lsqb;</mo> <mi>t</mi> <mo>-</mo> <mi>N</mi> <mo>,</mo> <mi>t</mi> <mo>-</mo> <mn>1</mn> <mo>&amp;rsqb;</mo> </mrow> </msub> <msubsup> <mo>&amp;Sigma;</mo> <mrow> <mi>j</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>M</mi> </msubsup> <mi>&amp;delta;</mi> <mrow> <mo>(</mo> <mo>|</mo> <msub> <mi>d</mi> <mrow> <mi>i</mi> <mi>j</mi> </mrow> </msub> <msub> <mo>|</mo> <msup> <mi>t</mi> <mo>&amp;prime;</mo> </msup> </msub> <mo>,</mo> <mi>i</mi> <mo>)</mo> </mrow> </mrow> <mrow> <msub> <mo>&amp;Sigma;</mo> <mrow> <msup> <mi>t</mi> <mo>&amp;prime;</mo> </msup> <mo>&amp;Element;</mo> <mo>&amp;lsqb;</mo> <mi>t</mi> <mo>-</mo> <mi>N</mi> <mo>,</mo> <mi>t</mi> <mo>-</mo> <mn>1</mn> <mo>&amp;rsqb;</mo> </mrow> </msub> <mo>|</mo> <msub> <mi>d</mi> <msup> <mi>t</mi> <mo>&amp;prime;</mo> </msup> </msub> <mo>|</mo> </mrow> </mfrac> </mrow>
Wherein, any time pieces of the t ' between t-N and t-1, K are the number of user interest theme, and p is user interest theme K In wherein any one theme.
CN201710883112.XA 2017-09-26 2017-09-26 Method for constructing user behavior preference change model under online social network Active CN107609786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710883112.XA CN107609786B (en) 2017-09-26 2017-09-26 Method for constructing user behavior preference change model under online social network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710883112.XA CN107609786B (en) 2017-09-26 2017-09-26 Method for constructing user behavior preference change model under online social network

Publications (2)

Publication Number Publication Date
CN107609786A true CN107609786A (en) 2018-01-19
CN107609786B CN107609786B (en) 2021-02-09

Family

ID=61058575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710883112.XA Active CN107609786B (en) 2017-09-26 2017-09-26 Method for constructing user behavior preference change model under online social network

Country Status (1)

Country Link
CN (1) CN107609786B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111310033A (en) * 2020-01-23 2020-06-19 山西大学 Recommendation method and device based on user interest drift

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101082972A (en) * 2007-05-30 2007-12-05 华为技术有限公司 Method and device for forecasting user's interest to commercial product and method for publishing advertisement thereof
CN106897363A (en) * 2017-01-11 2017-06-27 同济大学 The text for moving tracking based on eye recommends method
CN107193456A (en) * 2017-05-08 2017-09-22 上海交通大学 Commending system and method based on slidingtype interactive operation
US10430480B2 (en) * 2012-08-22 2019-10-01 Bitvore Corp. Enterprise data processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101082972A (en) * 2007-05-30 2007-12-05 华为技术有限公司 Method and device for forecasting user's interest to commercial product and method for publishing advertisement thereof
US10430480B2 (en) * 2012-08-22 2019-10-01 Bitvore Corp. Enterprise data processing
CN106897363A (en) * 2017-01-11 2017-06-27 同济大学 The text for moving tracking based on eye recommends method
CN107193456A (en) * 2017-05-08 2017-09-22 上海交通大学 Commending system and method based on slidingtype interactive operation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭新明等: "混合模型的用户兴趣漂移算法", 《智能系统学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111310033A (en) * 2020-01-23 2020-06-19 山西大学 Recommendation method and device based on user interest drift
CN111310033B (en) * 2020-01-23 2023-05-30 山西大学 Recommendation method and recommendation device based on user interest drift

Also Published As

Publication number Publication date
CN107609786B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN103745000B (en) Hot topic detection method of Chinese micro-blogs
CN107562947B (en) A method for establishing dynamic instant recommendation service model under mobile spatio-temporal awareness
CN106055661B (en) More interest resource recommendations based on more Markov chain models
Liu et al. Context-aware social media user sentiment analysis
CN108052593A (en) A kind of subject key words extracting method based on descriptor vector sum network structure
CN104298765B (en) The Dynamic Recognition and method for tracing of a kind of internet public feelings topic
CN107609102A (en) A kind of short text on-line talking method
Huang et al. A topic BiLSTM model for sentiment classification
Psomakelis et al. Big IoT and social networking data for smart cities: Algorithmic improvements on Big Data Analysis in the context of RADICAL city applications
CN106339495A (en) Topic detection method and system based on hierarchical incremental clustering
CN105608192A (en) Short text recommendation method for user-based biterm topic model
Díaz-Morales Cross-device tracking: Matching devices and cookies
CN107862089A (en) A kind of tag extraction method based on perception data
CN113239184B (en) Knowledge base acquisition method, device, computer equipment and storage medium
CN107330557A (en) A method and device for tracking and predicting public opinion hotspots based on community division and entropy
Han et al. A survey on event tracking in social media data streams
Liu et al. UGCC: Social media user geolocation via cyclic coupling
CN105404943A (en) User behavior prediction method facing mobile social environment
Chen Monitoring of public opinion on typhoon disaster using improved clustering model based on single-pass approach
Zhu et al. MMLUP: multi-source & multi-task learning for user profiles in social network
CN107609786B (en) Method for constructing user behavior preference change model under online social network
Li [Retracted] Forecast and Simulation of the Public Opinion on the Public Policy Based on the Markov Model
Zhang Improved BTM topic embedding method for Web text data extraction
Zhang et al. Robust social event detection via deep clustering
Chen et al. Learning user embedding representation for gender prediction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant