• 沒有找到結果。

Sequence-based trust in collaborative filtering for document recommendation

N/A
N/A
Protected

Academic year: 2021

Share "Sequence-based trust in collaborative filtering for document recommendation"

Copied!
15
0
0

加載中.... (立即查看全文)

全文

(1)

Sequence-based trust in collaborative filtering for

document recommendation

Duen-Ren Liu

a

, Chin-Hui Lai

b,n

, Hsuan Chiu

a

aInstitute of Information Management, National Chiao Tung University, Hsinchu, Taiwan

bDepartment of Information Management, Chung Yuan Christian University, Chungli, Taoyuan County, Taiwan

Received 14 December 2009; received in revised form 26 May 2011; accepted 1 June 2011 Communicated by E. Motta

Available online 12 June 2011

Abstract

Collaborative filtering (CF) recommender systems have emerged in various applications to support item recommendation, which solve the information-overload problem by suggesting items of interest to users. Recently, trust-based recommender systems have incorporated the trustworthiness of users into CF techniques to improve the quality of recommendation. They propose trust computation models to derive the trust values based on users’ past ratings on items. A user is more trustworthy if s/he has contributed more accurate predictions than other users. Nevertheless, conventional trust-based CF methods do not address the issue of deriving the trust values based on users’ various information needs on items over time. In knowledge-intensive environments, users usually have various information needs in accessing required documents over time, which forms a sequence of documents ordered according to their access time. We propose a sequence-based trust model to derive the trust values based on users’ sequences of ratings on documents. The model considers two factors – time factor and document similarity – in computing the trustworthiness of users. The proposed model enhanced with the similarity of user profiles is incorporated into a standard collaborative filtering method to discover trustworthy neighbors for making predictions. The experiment result shows that the proposed model can improve the prediction accuracy of CF method in comparison with other trust-based recommender systems.

&2011 Elsevier Ltd. All rights reserved.

Keywords: Collaborative filtering; Recommender system; Sequence-based trust; Document recommendation

1. Introduction

Recommender systems have emerged in various applica-tions to support item recommendation (Resnick and Varian, 1997;Schafer et al., 2007), solving the information-overload problem by suggesting items of interest to users. Various recommendation methods have been proposed. The colla-borative filtering (CF) method (Resnick et al., 1994) has been successfully used in various applications. It predicts user preferences for items in a word-of-mouth manner. User preferences are predicted by considering the opinions (in the form of preference ratings) of other ‘‘like-minded’’ users.

Recently, trust-based recommender systems (Lathia et al., 2008;O’Donovan and Smyth, 2005) have incorporated the

trustworthiness of users into the CF techniques to improve the quality of recommendation. Trust-based recommender systems can be classified in two categories: reputation trust and relationship trust (Kwan and Ramachandran, 2009). Reputation trust is a quantitative assessment that allocates a trust score to a specific person (or object) by accumulat-ing a given user’s accurate predictions made to other users (Cho et al., 2007;Kim et al., 2008;O’Donovan and Smyth, 2005). On the other hand, relationship trust is the trust between two users. One user trusts another based on past interactions or explicitly specified relationships (Hess et al., 2006;Hwang and Chen, 2007;Kopel and Kazienko, 2007;

Lathia et al., 2008). Massa and Avesani (2004, 2007a,b)

and Massa and Bhattacharjee (2004) propose a relation-ship-trust recommender system based on a user’s web of trust, which explicitly specifies the friends s/he trusts. For instance, in Epinions.com, users are allowed to assign their

www.elsevier.com/locate/ijhcs

1071-5819/$ - see front matter & 2011 Elsevier Ltd. All rights reserved. doi:10.1016/j.ijhcs.2011.06.001

n

Corresponding author. Tel.: þ 886 32655413; fax: þ 886 3 2655499. E-mail address: [email protected] (C.-H. Lai).

(2)

personal trust value to the review writers. Through trust propagation from the web of trust, the trust value between two users can be predicted even though there is no direct trust value specified (connection) between them. Their work, however, relies on the user’s explicit assignment of trust value that is not easy to collect and may create a heavy burden on users.

Some researchers (Hwang and Chen, 2007; Kim et al., 2008; O’Donovan and Smyth, 2005) have proposed trust computation models to derive the trust values based on users’ past ratings of items.O’Donovan and Smyth (2005)suggest that if a user has usually delivered accurate predictions in the past, s/he merits being called reliable and trustworthy. The accuracy of a prediction indicates the degree of approxima-tion between the predicted ratings and the real ratings given by users. A prediction on an item contributed from a given user (producer) is accurate to a target user (consumer) if the difference between their ratings on the item is within a predefined error bound. Generally, a user is more trust-worthy if s/he has contributed more accurate predictions than other users. Their proposed trust metric is a reputation trust, which basically accumulates the given user’s accurate predictions made to other users or a group of users. Their trust model includes the item level and profile level. The item-level/profile-level trust metric of a given user is derived by computing the ratio of accurate predictions that s/he has made to other users over a particular item/all items that s/he has rated in the past. In addition,Hwang and Chen (2007)

propose a relationship trust metric to derive the trust value between two users by calculating the ratio of accurate predictions over all co-rated items, i.e., those items that have been rated by both of them. The proposed relationship trust metric is more personalized than the reputation trust metric. Their proposed trust metrics are combined with the standard CF technique to improve prediction quality for a MovieLens data set. In addition, there may be some irregular rating data due to malicious attacks (Mobasher et al., 2005, 2007;

O’Donovan and Smyth, 2006;O’Mahony et al., 2004), which inject attacking profiles with biased rating data to affect the recommendation. Such irregular rating data may degrade the effectiveness of trust models and the accuracy of recommen-dations. O’Donovan and Smyth (2006) employed a time-based approach to reduce the effect of malicious attacks by selecting older user rating profiles and filtering out recent attacking profiles in order to build trust. Their time-based approach in building trust focused on robustness under malicious attacks rather than the aspect of users’ various information needs over time.

Nevertheless, conventional trust-based CF methods do not address the computation of trust values based on users’ various information needs for items over time. In general, a user only has one rating score on an item and there is no ordering relationship between the items (movies) in a user’s rating history. That is, it does not matter whether a user saw a horror movie first and then a comedy movie, or the contrary. In knowledge-intensive environments, users usually have various information needs in accessing required

documents over time, producing a sequence of documents ordered according to their access time. For such environ-ments, the ordering of documents required by a user may be important. For example, a user may need to access docu-ments with prerequisite and basic knowledge first, followed by documents with advanced knowledge.

In this work, we focus on the aspect of recommending documents in order to fulfill users’ information needs in knowledge-intensive environments. We propose a sequence-based trust model to derive trust value based on users’ sequences of document ratings. The proposed model considers time factor, document similarity and user’s profile in computing the trustworthiness of users. Generally, the latest documents accessed by a given user more precisely reflect their current information needs. Thus, an accurate prediction made in the recent past contributes more trustworthiness than the one made ear-lier. By this rationale we give greater weight to the most recent documents in trust computation. Moreover, con-ventional trust computational models use the ratings on the same item to derive the accuracy of prediction and compute the trust value, and they do not address the computation of trust values based on similar documents.

In knowledge-intensive environments, users often have the information needs to access documents with similar contents. A user’s rating of a document generally reflects the user’s perception of the relevance of the document content to his/her information needs. Thus, the ratings on different documents with similar contents should also help to derive the trustworthiness of users. Accordingly, we consider the time factor and the ratings on similar docu-ments to derive a sequence-based trust computation model. In addition, the recommended item is a text-based docu-ment, thus, content analysis is useful to select neighbors based on the similarity of user profiles which reveal users’ interest on document content. The proposed model enhanced with the similarity of user profiles is incorporated into the standard CF method to effectively discover trustworthy neighbors for making predictions. For sequence-based data set in a knowledge-intensive environ-ment, our experiment result shows that the proposed model can improve the prediction accuracy of the CF method in comparison with other trust-based recommender systems.

The paper is organized as follows. We present the related work in Section 2. An overview of our proposed sequence-based trust for recommendation is presented in Section 3. Section 4 describes our proposed trust computation models and the recommendation methods based on these models. The experiment results and evaluations are presented in Section 5. Conclusions and future work are finally made in Section 6. 2. Related work

2.1. Recommender systems

Recommender systems (RS) can be classified in two categories, content-based recommender systems (CB) (Pazzani

(3)

and Billsus, 2007) and collaborative filtering systems (CF) (Konstan et al., 1997; Resnick et al., 1994). The former identifies items of special interest through analyzing item descriptions, while the latter filters or evaluates items by users’ opinions. Details are described below.

A number of recommender systems apply a content-based technique to various domains, such as web pages (Pazzani and Billsus, 1997), news articles (Watters and Wang, 2000) and TV programs (Ali and Stam, 2004). Content-based recommender systems recommend interest-ing items to the user by analyzinterest-ing their content descriptions. The content features are used to establish a characteristic profile. Most content-based recommender systems adopt information retrieval to analyze item content and build a profile for an item or a user. The content-based approach recommends items with similar attribute features to the customer profiles according to their preference in the past.

The collaborative filtering (CF) method predicts users’ preferences by considering the opinions (in the form of preference ratings) of other ‘‘liked-minded’’ users (Konstan et al., 1997; Resnick et al., 1994). In general, CF methods can be roughly classified as user-based and item-based CF methods. User-based CF exploits historical data expressing preferences to form user neighbors and make recommendations based on those similar users’ opinions. On the other hand, item-based CF determines recommendations by relying on items’ associations, which are based on user’s ratings among items. Sarwar et al. (2001) built a user-item matrix to identify relationships between different items and then find other similar pro-ducts that users might like.

To provide useful recommendations, the user-based CF approach involves two steps: neighborhood selection and target user’s rating prediction on items. The purpose of neighborhood selection is to select users who have similar interests to the target user. Several metrics have been proposed for similarity computing, e.g., Pearson correlation coefficient (Resnick et al., 1994). Eq. (1) is used to evaluate the Pearson correlation between target user c and recommender p wPearsonc;p ¼ P j2ðSI c\SpIÞðrc;jrcÞðrp;jrpÞ ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi P j2ðSI c\SpIÞðrc;jrcÞ 2 q ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiP j2ðSI c\SpIÞðrp;jrpÞ 2 q ; ð1Þ where SI

c and SpI represent a document set rated by user c

and p, respectively; rc,jis target user c’s rating of item j; rc

is user c’s average rating of items in the set (SI c\SIp).

In the prediction phase, Eq. (2), Resnick’s prediction formula (Resnick et al., 1994), is used to make predica-tions. The predicted rating score is derived from the target user’s average rating and his/her neighbors’ relative opi-nions on the common rated items, as shown below ^pc;j¼rcþ P p2NSwPearsonc;p ðrp;jrpÞ P p2NS9wPearsonc;p 9 ; ð2Þ

where ^pc;j represents the predicted rating that target user c

may provide for item j; rpis his/her average rating; wPearsonc;p

is the user similarity score between target user c and his/her neighbor p and NS is the set of neighbors that have been selected to provide their relative interests.

There are some famous commercial recommendation systems such as Amazon.com (Linden et al., 2003), Ringo (Shardanand and Maes, 1995) and Last.fm1(Schafer et al., 2007). Amazon.com uses an item-based CF to recommend similar items for customers. Ringo adopts a user-based CF for recommending music albums and artists. Last.fm also uses a collaborative filtering approach to recommend music based on users with similar musical tastes. These systems do not address the trust issues and do not consider users’ information needs over time when making recom-mendations. In this work, we focus on the issue of recommending documents in order to fulfill users’ infor-mation needs in knowledge-intensive environments. In such environments, users usually have various information needs in accessing required documents over time. The recommendation systems mentioned above do not address such issue. Accordingly, we consider the time factor and the ratings on similar documents to derive a sequence-based trust computation model to improve the recommen-dation quality. The details will be discussed in Section 3.

2.2. Information retrieval and filtering

Information retrieval (IR) transforms textual documents into a list of features and filters out non-relevant ones by three phases: stop-word removing, stemming and term weighting phases (Baeza-Yates and Ribeiro-Neto, 1999). Each document is described by a term vector, which consists of representative terms and their term weights. We employed the well-known tf–idf approach (Salton and Buckley, 1988) to calculate term weights.

According to Salton and Buckley (1988), any codified knowledge item d (e.g., documents, reports, etc.) can be represented as a feature vector of weighted terms in a n-dimensional space. The feature vector of document d is represented as *d ¼ /w1;d; w2;d; . . .; wn;dS. The weight of

term i in document d is wi,dis derived using Eq. (3)

wi;d¼ 0:5 þ 0:5  tfi;d maxjtfj;d    logN dfi þ1   ; ð3Þ

where tfi,d indicates the term frequency of term i in

document d, dfi means the number of documents which

contain the specific term i and N is the total number of documents.

The similarity between documents is usually measured by the cosine measure (Baeza-Yates and Ribeiro-Neto, 1999), which computes the cosine of the angle between their corresponding feature vectors. Two documents are considered similar if the cosine similarity value is high. The cosine similarity of two documents, X and Y, is

1

(4)

simcosðX ; Y Þ ¼ *X U*Y =ð:*X ::*Y :Þ, where *X and *Y are the feature vectors of X and Y, respectively. 2.3. Relationship trust and reputation trust

The purpose of designing a trust metric is to quantify the degree of trust (Weng et al., 2006). The trust value can be classified into direct and indirect trust, depending on whether a user actively indicates trust or not (O’Donovan, 2009). The meaning of direct trust is that a user expresses their opinion in value or opinion format to another person during their interaction. The ‘‘friend’’ list in Epinions, Facebook or the feedback from eBay exemplifies direct trust (Massa and Avesani, 2004, 2007a; Massa and Bhattacharjee, 2004). Conversely, indirect trust is derived through computation.Marsh (1994)claimed that trust can be viewed as a function of reputation, which can be computed over historical data.

With regard to the procedure of deriving the trust metric, two dimensions of trust metrics are defined: relationship and reputation (Kwan and Ramachandran, 2009). Relationship trust relies on qualitative measure-ments depending upon social network connections. A user decides his/her trust of another based on some private knowledge which was gained through past interactions, or explicitly specified relationships. Some researchers have named it personal trust or local trust (Golbeck and Kuter, 2009; Hwang and Chen, 2007; Massa and Bhattacharjee, 2004), whose value is limited between two users and diversified with different user pairs. Several examples such as Facebook and Epinions by which the user includes a friend in his/her list are this type. If the relationship trust is not explicitly indicated, it can be inferred from the rating data or other indirect information (Hwang and Chen, 2007;Lathia et al., 2008;Weng et al., 2006). On the other hand, reputation trust is a more quantitative assessment that allocates a score to a specific object or person within a particular context. An individual’s reputation trust is collected from the members in the community. A famous example is eBay, on which each seller attains a trust value through several buyers’ comments. Some researchers call it global trust or expert degree with similar concept (Cho et al., 2007; Kim et al., 2008; O’Donovan and Smyth, 2005).

As trust is applied in social networks, it provides more functions for the expansion of Internet intelligence. For example, users enjoy sharing documents with their friends or reading articles written by a credible writer. Those behaviors on the Internet form a so-called web of trust (WoT). The main concept of WoT is that even though two users were unknown to each other before, their friendship is still able to be inferred through other trust relationships which are known and related to the two users (Golbeck and Kuter, 2009; Kopel and Kazienko, 2007). People are linked through this relationship and then a social network is constructed. The trust relationships among people have attracted more and more attention (Riegelsberger et al.,

2005). Lately, several social network applications (Yang and Chen, 2008) on the Web have become mature such as MySpace and Facebook (Lampe et al., 2007). Numbers of active users on such social network applications are growing rapidly. Thus, the trust issue is becoming increas-ingly important in terms of social networking.

2.4. Trust-based CF recommender systems

According to the trust characteristic presented above, trust-based recommender systems can be classified in two categories: reputation trust and relationship trust.

2.4.1. Reputation trust-based recommender system

Several researchers propose reputation trust as an auxiliary factor in the recommendation phase. Reputation trust is referred to as ‘‘expert’’ or ‘‘professional degree’’ by some researchers (Cho and Kwon, 2008;Cho et al., 2007,

2009;Kim et al., 2008).Cho et al. (2007) and Kim et al. (2008)judge whether someone is qualified as an expert by adopting Riggs’s model (Riggs and Wilensky, 2001), which assigns scores to reviewers based on how close their ratings are to the average ratings. For example,Kim et al. (2008)

use Epinion.com data to derive the degree of trust-based on users’ expertise in categories, which are derived based on the quality of reviews and reputations of review raters/ writers.O’Donovan and Smyth (2005)claim that accurate recommendation in the past is important and reliable, and they propose profile-level trust and item-level trust derived from user rating data. They use a simple version of Resnick’s prediction formula (Resnick et al., 1994) to calculate a target user c’s predicted rating on an item ik

from a recommender p’s rating on ik, as defined in Eq. (4)

^

Ppc;ik¼rcþ ðrp;ikrpÞ; ð4Þ

where ^Ppc;ik is a predicted rating of the target user c on item ikby a recommender p; rcand rp refer to the mean ratings

of target user c and recommender p, respectively; rp;ik is p’s rating on ik. The rating prediction, by recommender p for

target user c, is correct if the predicted rating is within an error bound of c’s actual rating, as shown in Eq. (5) correctðik; p; cÞ39 ^P

p

c;ikrc;ik9 oe; ð5Þ

where rp;ik is the actual rating of the item ik given by the target user c, and e is an error bound measuring the closeness.

According to this equation, recommender p is regarded as trustworthy if his/her prediction on item ikin target user

c’s view is close to c’s actual rating. A user is viewed as trustworthy if s/he always contributes precise predictions. Let (p, cx, ik) denote a recommendation that both user cx

and recommender p have rated item ikand can be used to

derive p’s trustworthiness. Let U be the set of users and I be the set of items. All the recommendations that p has involved form a set called p’s RecSet, as shown in Eq. (6). For each recommendation in RecSet(p), the

(5)

trustworthiness of p on a specific item ik for user cx is

measured as in Eq. (5). CorrSet(p) defined in Eq. (7) stores all recommendations that recommender p has made approximate predictions on some item ikfor some user cx

RecSetðpÞ ¼ fðp; cx; ikÞ9cx2U; ik2I ;

both p and cxhave rated ikg; ð6Þ

CorrSetðpÞ ¼ fðp; cx; ikÞ9ðp; cx; ikÞ

2RecSetðpÞ and Correctðik; p; cxÞg: ð7Þ

The profile-level trust, TrustPLðpÞ, is calculated as the percentage of correct predictions that the recommender p has made; while the concept of item-level trust, TrustILðp; iÞ, is similar but focuses on a specific item i, as

defined in Eq. (8). TrustPLðpÞ ¼9CorrSetðpÞ9

9RecSetðpÞ9 ;

TrustILðp; iÞ ¼9fðp; cx; iÞ9ðp; cx; iÞ 2 CorrSetðpÞg9 9fðp; cx; iÞ9ðp; cx; iÞ 2 RecSetðpÞg9

: ð8Þ

Both profile-level trust and item-level trust can be used in the recommendation phase. The neighbors of target users are selected by filtering out users whose profile-level trust values are lower than a specified threshold. The weight between user p and the target user c is derived by combining the value of profile-level trust with user pearson similarity (Eq. (1)) in a harmonic mean. Then, these user weights are applied in a modified version of Resnick’s formula for prediction. The item-level trust can be applied similarly in the recommendation phase. Please refer to

O’Donovan and Smyth (2005)for details.

2.4.2. Relationship trust-based recommender system Relationship trust metrics consider the truster’s subjec-tive opinions when predicting the trust value which s/he placed on the trustee. Epinions.com allows users to express their trust opinions by adding a reviewer into their web of trust list or block list according to whether the reviewer’s reviews are valuable.Massa and Avesani (2007b)consider such kind of trust opinion as local trust (relationship trust), and take advantage of web of trust in Epinions.com to balance the collaborative recommender system’s defects (Massa and Avesani, 2004,2007a;Massa and Bhattachar-jee, 2004).

Even though relationship trust presents an improvement on traditional CF recommender systems, the direct rela-tionship trust data has some defects. This kind of data is not usual in most recommender systems and it is hard to collect. Besides, the quality of a reviewer’s review cannot always maintain consistency and the relationship trust may vary according to the reviewer’s quality and the user’s interest. Hwang and Chen (2007) consider the truster’s subjective opinions to obtain more personalization effects when predicting the trust value which s/he placed on the trustee. They calculate the personal (local) trust value of

target user c with respect to recommender p, as shown in Eq. (9) Tc-p¼ 1 9ðIc\IpÞ9 X ik2ðIc\IpÞ 19^p p c;ikrc;ik9 M ! : ð9Þ

Recommender p predicting item ikin target user c’s view

is denoted as ^ppc;ik. Instead of filtering with an error bound, they use all items that are co-rated by p and c to compute the personal trust. M is the range of the rating score between maximum and minimum rating scores. If two users have no co-rated items, which results in no direct trust relationships between them, trust propagation can be used to infer their trust value through indirect relationships in the web of trust. In addition, a user c’s global trust can be derived as the average of the personal trust values given by neighbors directly connected to c in the web of trust. Resnick’s prediction formula (Eq. (2)) is then used to make predictions by replacing the similarity score with the trust value as the weight to compute the weighted sum of the ratings given by neighbors. In their research, the experi-ment evaluation shows that the personal (local) trust-based CF method performs better than the global trust-based CF method.

3. An overview of sequence-based trust for recommendation 3.1. Concept of sequence-based trust

Most trust computation models consider accurate pre-dictions derived from past rating records to infer the trust value. A prediction on an item contributed from a recom-mender (producer) is accurate for a target user (consumer) if the difference between their ratings on the item is within a predefined error bound. Generally, a user is more trust-worthy if s/he has contributed more precise predictions than other users. From our point of view, the inference of trust value should not only depend on accurate predictions but also on the time when the rating was made. In knowledge-intensive environments, users normally have various information needs in accessing required documents over time, producing a sequence of documents ordered according to their access time. The sequence of required documents for a given user may also reveal the change in their information needs over time. Generally, the latest documents accessed by a given user more precisely reflect their current information needs. Similarly, an accurate prediction made in the recent past contributes more trustworthiness than one made some time ago.

Moreover, users often have the information needs to access documents with similar contents. A user’s rating of a document generally reflects the user’s perception of the relevance or usefulness of the document content to his/her information needs. Even though two users do not access the same documents, we can still infer that they may have similar information needs. It is possible that they may also

(6)

have the same perspective on the usefulness of the docu-ment contents to their information needs, if the contents of their required documents are similar. Thus, the ratings of different documents with similar contents should also help to derive the trustworthiness of users. Accordingly, we consider the time factor and the ratings of similar docu-ments to derive a sequence-based trust computation model.

In this work, we focus on the aspect of recommending documents to fulfill users’ information needs in knowledge-intensive environments. We do not consider the issues of malicious attacks and the robustness of trust-based recom-mendation (Mobasher et al., 2005, 2007;O’Donovan and Smyth, 2006; O’Mahony et al., 2004). We assume that there is no malicious attack and users’ rating behaviors are regular, i.e., the rating data truly reflects a user’s opinion on how relevant and useful a document is to the user’s information needs.

For the rest of the paper, a document sequence of a given user denotes the sequence of documents accessed by the user, while a user’s rating sequence represents his ratings on the documents he had accessed over time. We use the term ‘‘target user’’ to describe the one who is recommended to and the term ‘‘recommender’’ to describe the one selected for recommending items to the target user. Definition 1. A document sequence of a user u, denoted as SuD, is a sequence of documents that are accessed by u and are ordered by u’s access time on documents. SD

u is expressed as /dtu1 k1;u; . . .; d tuj kj;u; . . .; d tuf kf ;uS and tu1otu2o. . . otuf, where d tuj

kj;udenotes the document dkj that the user u

accessed at time tuj; tu1is the starting time index of the first

document accessed in u’s sequence; tufis the time index of

the most recent document accessed in u’s sequence. Definition 2. A rating sequence of a user u, denoted as SuR, is a sequence of ratings on the documents that are accessed by u and are ordered by u’s access time on documents. SuR is expressed as /rtu1 u;dk1; . . .; r tuj u;dkj; . . .; r tuf u;dkfS and tu1otu2o . . .otuf, where r tuj

u;dkjdenotes the rating of document dkjthat the user u accessed at time tuj.

3.2. Proposed framework of sequence-based trust for recommendation

Fig. 1 shows the framework of our proposed sequence-based trust model and the CF recommendation methods based on the proposed model. First, documents are pre-processed by the tf–idf approach (Salton and Buckley, 1988) to generate document profiles describing the key contents of documents. In addition, the system records the user’s accessing behavior, including the accessing time of documents and ratings of documents. Because each user has various information needs at different times, his/her documents are arranged as a document sequence ordered by their access time. Then, the similarities among docu-ment profiles are derived in the similarity computation step. Next, these document similarities and document ratings in users’ document sequences are incorporated into

(7)

our trust model to obtain the sequenced-based trust values which denote the trustworthiness among users. We pro-pose three kinds of trust models which consider time factor, document similarity and both time factor and document similarity, respectively. These trust values of users are used to discover highly trustworthy users as neighbors for a target user. Notably, the neighbors selected using different trust computation models for the same target user may vary. The proposed CF methods derive the predictions of document ratings for the target user based on the trust values and the document ratings of neighbors. Moreover, the proposed methods further improve the prediction process by considering the neighbors’ similarity to the target user based on user profile similarity.

4. Sequence-based trust models and CF methods

We will describe the proposed sequenced-based trust models in Sections 4.1–4.3 respectively. Then, in Section 4.4, we will introduce the recommendation methods based on the proposed models.

4.1. Sequence-based trust with time factor

This section presents the trust computation model con-sidering the time factor. Each user has a document sequence and corresponding rating sequence ordered by time index. The documents/ratings of users are aligned according to their relative time index in corresponding sequences. Note that the document rating, which is given by a worker, on a scale of 1–5, indicates whether a document is perceived as useful and relevant to the worker’s task.

The conventional trust model calculates the ratio of accurate predictions made according to past ratings with-out considering the time factor. Our proposed trust model derives the trust value of a given user not only based on the ratio of accurate predictions but also on the time that the accurate predictions were made.

In conventional trust models (Hwang and Chen, 2007;

O’Donovan and Smyth, 2005), each document prediction provides equal weight when counting how much the target user may trust the recommender. More recent predictions should, however, provide more confidence, because people normally pay more attention to recent events. Thus, in order to show the time effect on trust relationship, we present a sequence-based trust model.

Similarly to the conventional trust computation models (Hwang and Chen, 2007;O’Donovan and Smyth, 2005), we also use a simple version of Resnick’s prediction formula (Resnick et al., 1994) to calculate a target user c’s predicted rating of a document dk, ^P

p

c;dk, which is derived from a recommender p’s rating of dk, as defined in Eq. (10)

^

Ppc;dk¼rcþ ðrp;dkrpÞ; ð10Þ

where rcand rp refer to the mean ratings of target user c and

recommender p; rp;dk is p’s rating of document dk. If ^P

p c;dk is

close to the real rating score of user c on dk, i.e., rc;dk, we conclude that both the target user c and the recommender p have a similar perspective on document dk. The more similar

the perspective, the more trust they have, as illustrated in Eq. (11) Tc;p;dpure k¼1 ^ Ppc;dkrc;dk     M ; ð11Þ

where Tc;p;dpurek is the pure trust value between target user c and recommender p pertaining to document dk that is derived

from the rating data without considering the time factor; M is the range of the rating score, which equals the difference of the maximum and minimum rating scores.

Generally, the latest documents accessed by a given user more precisely reflect his/her current information needs. Similarly, an accurate prediction made in the recent past contributes more trustworthiness than the one made some time ago.

A document sequence of a user c is a time-ordered sequence of the documents arranged by their access times as defined in Definition 1. Let SD

c and SRc be the document

sequence and rating sequence of target user c respectively, as defined in Definition 1. Let dtcj

k;cdenote the document dk

that the user c accessed at time tcj. r tcj

c;dk denotes c’s rating of document dk; tc1 is the starting time index of the first

document accessed in SD

c; tcfis the time index of the most

recent document accessed in SD

c. Let SpD and SRp be the

document sequence and rating sequence of a recommender p respectively. Assume that a document dkis accessed by

user c at time tcj and accessed by recommender p at time

tpi. The time factor TF p;tpi

c;tcj defined in Eq. (12) is the harmonic mean of the time weights of user c’s rating rtcj

c;dk and user p’s rating rtpi

p;dk TFp;tpi c;tcj ¼ 2  twcj c twpip twcjc þtwpip : ð12Þ

The two time weights twcjc and twpipare calculated from the time index tcjof user c’s sequence and the time index tpi

of user p’s sequence respectively. Higher time weights are given to ratings with more recent time indices. The time weight of a rating made at time tpiby user p is defined as

twpi

p ¼ ðtpitpsÞ=ðtpftpsÞ, where tps/tpf is the starting/latest

time index in user p’s sequence and tpsis set to zero. The

time weight of a rating made at time tcjby user c is defined

similarly. The time factor of a prediction will be high if both the time weights of the ratings are high, i.e., both the ratings are made in more recent time.

Eq. (11) derives the pure trust value of a prediction without considering the time factor. We further use the time factor of a prediction to denote the importance (weight) of the prediction contributing to the trustworthi-ness. The trust value of user c with respect to recommender p is then derived by taking the weighted average of the pure trust values of predictions made on co-rated documents between them. Consequently, TTF

(8)

sequence-based trust metric considering time factor is defined as in Eq. (13) Tc;pTF¼ P dtcjk;c in SD c P dk;ptpi in SD p ð1ð9 ^Pp;tc;dpikrtcj c;dk9=MÞÞ  TF p;tpi c;tcj P dtcjk;c in SD c P dk;ptpi in SD p TFp;tpi c;tcj ; ð13Þ where ^Pp;tc;dpik is the target user c’s predicted rating on a document dk, which is derived from a recommender p’s

rating on dk at time tpi according to Eq. (10); r tcj

c;dkis the target user c’s actual rating on document dk accessed at

time tcj; ScD and SpD are the document sequences of the

target user c and recommender p respectively; M is the range of the rating score, which equals the difference of the maximum and minimum rating scores.

In addition, any one document may appear in the user’s document sequence several times. A user may give differ-ent ratings to the same documdiffer-ent accessed at differdiffer-ent time, because his/her information demand may vary over time.Fig. 2shows an example for deriving the time factor. Upis a recommender and Ucis a target user. Both of them

have average rating with a score of three. Note that Upis

trustworthy if s/he has a similar view (ratings) to Uc on

identical documents at recent time index of their document sequences. Doc1, Doc4 and Doc5 exist in both sequences. We use Up’s opinion to predict Uc’s score. According to

Eq. (13), we compute the weighted average on all co-rated items, and then we obtain the trust value 0.8217 consider-ing the time factor.

4.2. Sequence-based trust with document similarity

In this section, we consider the ratings of similar docu-ments to derive a sequence-based trust computation model. Even though two users do not access the same documents, their ratings of different documents with similar contents should also help to derive the trustworthiness of users.

There are two possible approaches to derive item (document) similarity: content-based, and rating-based approaches. The content-based approach uses cosine

similarity to derive the similarity of documents based on their document profiles, which are represented as term vectors by the tf–idf approach (Baeza-Yates and Ribeiro-Neto, 1999). The rating-based approach derives item similarity based on item ratings. The adjusted cosine similarity can be used to determine the similarity between two items, i and j, according to their ratings of common users, i.e., those users who have rated both items i and j (Sarwar et al., 2001). Two items are considered similar if their common users generally have similar tastes (ratings) concerning them.

In this work, we use a content-based approach to derive item (document) similarity since we focus on recommend-ing documents to fulfill users’ various information needs over time. For items such as documents with rich content descriptions, it is intuitive to use the content-based approach to derive the item similarity. Previous researches have also shown the effectiveness of using content-based approaches to boost the recommendation quality of con-ventional CF methods (Melville et al., 2002). Thus, we adopt the content-based approach to derive the document similarity for building our sequence-based trust models. The rationale for using content-based similarity is that the trust still exists if users have similar views on documents with similar contents. We note that conventional trust-based CF methods did not consider item similarity in computing their trust models. In this work, we have used content-based similarity to enhance the effectiveness of trust models by computing the trust degrees based not only on the same items, but on similar items as well.

Eq. (11) derives the pure trust value of a prediction for an identical document without considering the document similarity. Eq. (14) is used to predict a trust value based on documents with similar contents. Let TDS

c;p be the

sequence-based trust metric considering document similarity. The target user c accessed document dk at time tcj and

recommender p accessed document dl at time tpi, where

documents dk and dl have similar contents.DSp;dc;dkl denotes

the document similarity between documents dkand dlthat

is derived by use of the cosine similarity TDS c;p ¼ P dk;ctcj in SD c P dtpil;pin SD pand DSp;dlc;dkZyð1ð9 ^P p;tpi;dl c;dk r tcj c;dk9Þ=MÞ  DS p;dl c;dk P dk;ctcj in SD c P dl;ptpiin SD pand DSp;dlc;dkZy DSp;dl c;dk ; ð14Þ where ^Pp;tc;dpik;dl is the target user c’s predicted rating of a document dk, which is derived from a recommender p’s

rating of a similar document dl at time tpi, as defined

similarly in Eq. (10). Note that predictions are conducted for those documents with similarity higher than a pre-defined threshold, y. The document similarity is regarded as a weight of the prediction contributing to the trustworthi-ness. The trust value of target user c on recommender p is then derived by taking the weighted average of the predicted trust values based on the similarity of docu-ments. The trust value with document similarity solves the problem whereby both users have no item in common.

ruc = 3

Uc Up

rup = 3

(9)

Fig. 3 shows an example for deriving the trust value considering document similarity. Up is a recommender

with mean rating 4 and Uc is a target user with mean

rating 2. Note that Upis trustworthy if s/he has a similar

opinion to Uc on similar documents. Doc7 is similar to

Doc1 and Doc3 is similar to Doc6. Therefore, Up’s opinion

on these documents is exploited to predict Uc’s score.

Based on Eq. (14), the predicted trust value between user Upand user Ucis 0.8074.

4.3. Sequence-based trust with both time factor and document similarity

In order to gain the advantage of both time factor and document similarity, we combine them to derive a sequence-based trust metric, TH

c;p, as defined in Eq. (15). The trust

metric is a hybrid of time factor and document similarity. The trust value of target user c on recommender p will be higher if p has contributed more recent and accurate predictions on documents more similar to user c’s documents

4.4. Sequence-based trust recommendation

In the recommendation phase, the trust value is used as a filtering mechanism to select neighbors with high trust values for a target user. Such trust values and the item ratings of neighbors are incorporated into our recommendation meth-ods to make document predictions for the target user. In addition, the recommended item is a text-based document, thus, content analysis is useful to select neighbors based on the similarity of user profiles which reveal users’ interest on document content. The following sections describe the details. 4.4.1. Recommendation with sequence-based trust filtering

According to the trust relationship between users as illustrated in Sections 4.1–4.3, users whose trust values are higher than a pre-specified threshold are selected as

neighbors for a target user. Let NS be a neighbor set; TFactor

c;p be the sequence-based trust value of target user c on

a recommender p; Factor may be TF, DS or H which represents one of our proposed trust models. TF, which denotes the sequence-based trust model with time factor, utilizes users’ time-ordered sequences arranged according to the access times of the documents to derive trust values (Section 4.1). DS, which denotes the sequence-based trust model with document similarity, obtains the trust value of a prediction on users’ different documents with similar content (Section 4.2). H, which denotes the sequence-based trust model with both time factor and document similarity, derives the trust value by combing the effects of time factor and document similarity (Section 4.3). The trustworthy users are selected as the neighbors for a target user according to Eq. (16). Factor may be TF, DS or H which represents one of our proposed trust models

NS ¼ fTc;pFactor4 thresholdg: ð16Þ

4.4.2. Recommendation with sequence-based trust weighting This section illustrates the proposed recommendation methods based on our sequence-based trust models. Such methods utilize the sequence-based trust values as weight-ings and the document ratweight-ings of the selected neighbors to make recommendations. The predicted rating of a docu-ment d for a target user c, ^Pc;d, is calculated by Eq. (17)

^ Pc;d¼rcþ P p2NSTc;pFactorðrp;drpÞ P p2NS9Tc;pFactor9 ; ð17Þ

where NS is a neighbor set of the target user c; p is a neighbor of user c; rc=rpis the average rating of documents

given by the target user c/ user p; rp,d is the rating of a

document d given by user p; Tc;pFactor is the sequence-based trust value between a target user c and user p; Factor may

be TF, DS or H which represents one of our proposed trust models, as described in Sections 4.1–4.3. According to the Eq. (17), documents with high predicted ratings are used to compile a recommendation list, from which the top-N documents are chosen and recommended to the target user.

4.4.3. Recommendation considering time factor, document similarity and profile similarity

In this section, we introduce profile similarity and employ it to improve the predicting process. Since the recommended item is a text-based document, content analysis is useful to provide other preference information which cannot be discovered through rating data only. A user profile contains useful information which reveals a user’s interest on document content in his/her history of

rup = 4

ruc = 2

Up

Uc

Fig. 3. Illustration of sequence-based trust with document similarity.

Tc;pH ¼ P dk;ctcjin SD c P dl;ptpi in SD p and DSc;dkp;dlZy ð1ð9 ^Pp;tpi;dl c;dk r tcj c;dk9=MÞÞ  TF p;tpi c;tcj DS p;dl c;dk P dk;ctcjin SD c P dtpil;p in SD p and DSc;dkp;dlZyTF p;tpi c;tcj DS p;dl c;dk : ð15Þ

(10)

document access. Therefore, when we judge whether a recommender is qualified to be a target user’s neighbor, the user profile similarity offers another dimension to be explored. A user profile expressed as a vector of terms represents a user’s interests in document contents. The profile of a user is derived by aggregating the profiles of documents in his document sequence considering time factor and document ratings. Each user’s documents are arranged in sequence according to their usage log file. In aggregating the document profiles, a document’s term weight is multiplied by the time weight, which is determined according to the time index of the document, and the normalized rating of the document, as defined in Eq. (18)

UPc * ¼ X dk;ctcj in SD c twcjc r tcj c;dk M DPdk * : ð18Þ In Eq. (18), UPc *

is a term vector of target user c’s aggregated profile. Note that only top-N terms will be selected. DPdk

*

is a vector of term weights for a document dkaccessed by user c at time tcj. At this time point, user c

gives rating rtcj

c;dkon document dkand the rating score range is M. Notably, the time weight of a document accessed at time tcj by user c is defined as twcjc ¼ ðtcjtcsÞ=ðtcftcsÞ,

where tcs/tcf is the starting/latest time index in user c’s

sequence and tcs is set to zero. The user profile of

recommender p, UPp *

, is derived similarly. The user profile similarity UPS(c, p) can then be calculated using the cosine formula cosineð UPc

*

; UPp *

Þ.

In the recommendation step, the trust value considering time factor and document similarity is used as a filtering strategy according to Eq. (16). Nevertheless, some minor modification is made in the prediction of the target user c’s rating on document d (see Eq. (19))

^ Pc;d¼rcþ P p2NSHðUPSðc; pÞ; Tc;pHÞðrp;drpÞ P p2NS9HðUPSðc; pÞ; Tc;pHÞ9 ; ð19Þ

where HðUPSðc; pÞ; TrustH

c;pÞis the harmonic mean of user

profile similarity UPSðc; pÞ and the trust value considering time factor and document similarity TrustH

c;p

HðUPSðc; pÞ; TrustHc;pÞ ¼2ðUPSðc; pÞÞðTrust

H c;pÞ

UPSðc; pÞ þ TrustH c;p

: ð20Þ

The harmonic mean of a list of numbers is sensitive to the smallest elements of the list, Compared to the arith-metic mean, the harmonic mean tends to decrease the impact of large outliers and increase the impact of small elements. The advantage of using a harmonic mean is to balance the tradeoff between TrustH

c;p and UPSðc; pÞ. The

harmonic mean is high when both TrustH

c;p and UPSðc; pÞ

are high. The harmonic mean tends to be small if one of the values is abnormally small.

5. Experiments and evaluations

In this section, we conduct experiments to evaluate the recommendation quality for our proposed methods and compare them with other trust-based recommendation methods. We describe the experiment set-up in Section 5.1 and demonstrate the experimental results in Section 5.2. 5.1. Experiment setup

In our experiment, we collect a data set from a research institute laboratory. We build a knowledge management system (KMS) to collect documents related to knowledge workers’ tasks. The data set contains users’ access and rating behaviors concerning documents over time in con-ducting research tasks. Workers’ tasks are research-based tasks and their research domains are recommender tems, data mining, information retrieval, workflow sys-tems, knowledge management, etc. There are over 500 research-related documents and about 50 users in the data set. We extract knowledge from these documents to derive the document profiles. Generally, each document profile consists of 800 distinct terms after information extraction by the tf–idf approach described in Section 2.2. To share and retrieve the task-related knowledge, workers have four access behaviors in regard to documents, and such user behaviors, i.e., upload, download, browse or rate docu-ments, are recorded in a log. For example, uploading behavior means that a worker ‘‘uploads’’ a document to the KMS to actively share the task-related knowledge, while downloading behavior means that a worker ‘‘down-loads’’ a document relevant to his/her task from the KMS. Each user may access 45 documents on average, according to the log data. For the rating behavior, the user may give a document a rating on a scale of 1–5 to indicate whether the document is perceived as useful and relevant. In addition, if a user did not rate a document, a default score is assigned according to the user’s access behavior. In this work, uploading and downloading behavior are regarded as more important than browsing behavior. Thus, a default score of 3 is given for browsing behavior, and 4 for uploading or downloading behavior. A high rating, i.e., 4 or 5, indicates that the document is perceived as useful and relevant; while a low rating, i.e., 1 or 2, suggests that the document is deemed to be not useful. The ratio of each behavior in the data set is 11% for browsing, 21% for uploading, 38% for downloading, and 30% for rating behavior. The rating distribution of documents is 7.2% for score 1, 6.1% for score 2, 19.1% for score 3, 65.3% for score 4, and 2.3% for score 5.

Users who conduct similar research tasks usually have similar information needs, i.e., similar interests in acquiring task-relevant documents. For example, two users, who execute two similar research tasks, ‘‘document recommender systems’’ and ‘‘blog recommender systems’’, may need similar task knowledge, such as recommendation techniques, data mining, and text mining. For our data set, each user

(11)

may generally have 2–8 neighboring users with similar information needs. Thus, we select 2–8 neighbors for each target worker in our experiments. Since it is difficult to obtain such a data set, using the real application domain restricts the sample size of the data and the number of participants in the experiments. Due to the small size of the data set, the number of neighbors is also small.

In our experiment, the data set is divided into a training set and a testing set. We basically use a stratified sampling approach to select the target workers from each group of workers with approximately similar information needs. Some users accessed and rated less than the required threshold of 10 documents. These users were not used in the experimental analysis. Accordingly, 20% of the users in the data set were selected as the target workers. The data of non-target workers is included in the training set. The data on target workers is further divided as 70% for training and 30% for testing based on the access time of documents in those workers’ document sequences. The training set is used to generate recommendation lists, while the test set is used to verify the quality of the recommen-dations. The training data is separated from the testing data. Accordingly, we evaluate the performances of our proposed methods and compare them with the traditional CF method and other trust-based recommendation methods. 5.1.1. Evaluation metrics

To measure the quality of recommendations, we use the Mean Absolute Error (MAE), which evaluates the average absolute deviation between a predicted rating and the user’s true rating (Eq. 21). The lower the MAE, the more accurate the method will be

MAE ¼ PN

k ¼ 19 ^Pdkrdk9

N : ð21Þ

Here N is the amount of testing data, ^Pdk is the predicted rating of document dk and rdk is the real rating of document dk.

5.1.2. Methods compared in the experiment

In the trust-based recommendation methods, the trust value is obtained by the use of different trust computation models for selecting neighbors for a target user. Thus, we use different strategies based on these models to make recommendations and then analyze their recommendation performances. These recommendation strategies are defined as follows.

CF: the standard Resnick model in GroupLens (Resnick et al., 1994). The Pearson correlation coefficient (Eq. (1)) is used in filtering and making predictions.

Profile-TrustCF (Profile-TCF): the profile-level trust is used in filtering and the weight which combines both the profile-level trust and user similarity derived by Pearson correlation coefficient is used to make predictions (O’Donovan and Smyth, 2005), as described in Section 2.4.1.

Item-TrustCF (Item-TCF): the item-level trust is used in filtering and the weight which combines both the item-level

trust with user similarity derived by Pearson correlation coefficient is used to make predictions (O’Donovan and Smyth, 2005), as described in Section 2.4.1.

Personal-TrustCF (Personal-TCF): personal trust between two users is calculated by averaging the prediction error of their co-rated items (Hwang and Chen, 2007), as presented in Section 2.4.2.

Time-SeqTrustCF (T-STCF): recommendation with sequence-based trust with time factor using Eqs. (13) and (17). DocSim-SeqTrustCF (DS-STCF): recommendation with sequence-based trust with document similarity using Eqs. (14) and (17).

Time-DocSim-SeqTrustCF (T-DS-STCF): recommen-dation with sequence-based trust with both time factor and document similarity using Eqs. (15) and (17).

Time-DocSim-UserProfileSim-SeqTrustCF (T-DS-UPS-STCF): recommendation considering user profile similar-ity as well as the sequence-based trust with both time factor and document similarity using Eqs. (15) and (19). The weight in the prediction formula is derived using the harmonic mean of the trust value and user profile similarity. 5.2. Experimental results

In the experiments, we compare various recommenda-tion methods from different aspects in Secrecommenda-tions 5.2.1–5.2.4. There are 50 users in our data set. The data set shows that each user may generally have 2–8 neighboring users with similar information needs on documents. For most users in our data set, there are 4–6 neighboring users with similar information needs. Thus, we select 2–8 qualified users as target user’s neighbors and we compare the MAE under different number of neighbors.

The DS-STCF, T-DS-STCF and T-DS-UPS-STCF methods use the ratings of similar documents to compute the trust degrees. We adopt the content-based approach to determine similar documents, which have cosine similarity greater than or equal to a threshold y. The threshold of the document similarity, i.e. y, ranges from 0 to 1. The approach of setting y ¼ 1 is similar to traditional trust models that employ users’ ratings on the same items to derive trust degrees. The setting of the threshold for the document similarity may affect the recommendation qual-ity. A suitable threshold should be decided to select ‘‘similar enough’’ documents in the trust models. It is difficult to determine the optimal value for the threshold. In this work, we conduct several experiments by trying different threshold values that are chosen based on the content similarity of documents as judged by human experts. A suitable value for the threshold is then chosen according to the experiment result.

5.2.1. Comparison of sequence-based trust with vs. without time factor

In this section, we evaluate the effect of time factor in sequence-based trust model. NT-STCF is a recommenda-tion method with sequence-based trust without considering

(12)

the time factor, which is derived from Eq. (13) by setting the time factor as 1. Fig. 4shows that T-STCF performs better than NT-STCF. The time factor indeed contributes to improve the sequence-based trust metric.

5.2.2. The effect of time factor and document similarity In this experiment, we compare our proposed sequence-based trust methods, including T-STCF (time factor), DS-STCF (document similarity) and T-DS-DS-STCF. Fig. 5shows that T-STCF performs better than DS-STCF. The time factor contributes more than document similarity in sequence-based trust model. In general, the hybrid of time-factor and document similarity, T-DS-STCF, performs slightly better than T-STCF. Considering both the time factor and docu-ment similarity in deriving the trust values can have better improvement of the recommendation quality than the sequence-based trust method considering time factor only. 5.2.3. Comparison of the weighting methods in prediction

In this experiment, we compare the recommendation quality of applying different weighting methods in the recommendation methods to derive the predicted ratings for documents. T-DS-STCF uses the trust value derived from the hybrid of time-factor and document similarity, namely T-DS-trust, as the weighting (Eq. (17)); T-DS-PS-STCF uses the harmonic mean of T-DS-trust and Pearson similarity (PS) of users as the weighting for prediction,

which is similarly derived as Eq. (19); T-DS-UPS-STCF uses the harmonic mean of T-DS-trust and user profile similarity (UPS) as the weighting for prediction (Eq. (19)). For these three methods, the sequence-based trust, T-DS-trust, is used as a filtering mechanism to select the qualified neighbors for a target user.

The MAE values under different number of neighbors are shown in Fig. 6. The result shows that the sequence-based trust combined with user profile similarity performs better than that combined with Pearson similarity. The prediction is more accurate when the weight is derived by combining the sequence-based trust with the user profile similarity than when the weight is obtained by only using the sequence-based trust. This also implies that the user profile similarity can improve the recommendation quality in most circumstances.

5.2.4. Comparison with other methods

We compare our proposed methods, i.e., T-STCF,

DS-STCF, T-DS-STCF, T-DS-UP-STCF, with the CF

method, and other traditional trust-based recommendation methods under various numbers of neighbors (k). We also perform a statistical hypothesis test, the pair-wise and one-tailed t-test to examine the differences in performance between the recommendation methods. The MAE values of each method and the t-test results are listed inTable 1. For the t-test, the confidence level is set as 95%. Thus, the p-value with * means that the method is statistically significant at 0.05 level.

From Table 1, the traditional CF method performs worse than others no matter what the number of neighbors is. Profile-TCF also performs unsatisfactorily. Both of them show a wide gap from the other metrics. The performances of most methods under k ¼ 4 and 6 are better than their performances under k ¼ 2 and 8. This implies that the appropriate number of neighbors chosen for prediction in our data set is 4 or 6. The performance is not satisfactory if very few neighbors (k ¼ 2) are selected for prediction. In addition, the performance may be worse 0.64 0.66 0.68 0.70 0.72 0.74 2 MAE Number of neighbors T-STCF NT-STCF 4 6 8

Fig. 4. The effect of the time factor.

0.64 0.65 0.66 0.67 0.68 0.69 0.70 0.71 2 6 8 MAE Number of neighbors T-STCF DS-STCF T-DS-STCF 4

Fig. 5. Comparing the MAEs of sequence-based trust methods.

0.64 0.65 0.66 0.67 0.68 0.69 0.70 2 MAE Number of neighbors T-DS-STCF T-DS-PS-STCF T-DS-UPS-STCF 4 6 8

Fig. 6. Comparing the MAEs of STCF, PS-STCF and T-DS-UPS-STCF.

(13)

if dissimilar users are also selected as neighbors for prediction as the case of k ¼ 8.

The result shows that the MAE values of our proposed sequence-based trust methods are smaller than other methods. We note that our experiment data set contains users’ access and rating behaviors on documents over time in conducting research tasks. Conventional trust-based CF methods do not address the computation of trust values and recommendations for such sequence-based data, in which documents and ratings are ordered according to their access time. Accordingly, our proposed sequence-based trust methods, T-STCF and DS-STCF, perform better than conventional trust-based CF methods, includ-ing Personal-TCF, Profile-TCF and Item-TCF. The t-test results ofTable 1show that the differences in performance between T-STCF and conventional trust-based CF meth-ods (Profile-TCF, Item-TCF and Personal-TCF) are sta-tistically significant under k ¼ 4 and 6, while the differences are not significant under k ¼ 2 and 8. This implies that T-STCF, which considers sequence-based trust and a time factor, can improve the recommendation quality. For our data set, the appropriate number of neighbors chosen for prediction is 4 or 6. Thus, T-STCF may not make a significant improvement to recommendation quality under 2 and 8 neighbors. Although DS-STCF performs better

than conventional trust-based CF methods in terms of MAE, the differences in performance are generally not significant.

For sequence-based documents and ratings, the time factor and document similarity contribute to derive more reliable personal trust values and make more accurate recommendations for target users. Moreover, the hybrid of time-factor and document similarity, T-DS-STCF, per-forms better than conventional trust-based CF methods, and performs better than T-STCF and DS-STCF in most circumstances. The differences in performance between T-DS-STCF and conventional trust-based CF methods are generally statistically significant, except for the com-parison with Item-TCF under k ¼ 2 and 8. The differences in performance between T-DS-STCF and DS-STCF meth-ods are statistically significant under k ¼ 4 and 6, while the differences between T-DS-STCF and T-STCF are not significant.

In addition, T-DS-UPS-STCF, which uses a harmonic mean of user profile similarity and trust value considering both time factor and document similarity in the computa-tion model, generally performs better than other methods. The differences in performance between T-DS-UPS-STCF and conventional trust-based CF methods are generally statistically significant, except for the comparison with Item-TCF under k¼ 2 and 8. The differences in performance

Table 1

Comparison of all methods under different k.

Methods k ¼ 2 k ¼ 4 k ¼ 6 k ¼ 8

MAE p-value MAE p-value MAE p-value MAE p-value

T-STCF 0.6978 0.6567 0.6520 0.6858 CF 0.7716 0.0147n 0.7875 0.0003n 0.8447 0.0000n 0.8766 0.0000n Profile-TCF 0.7703 0.0158n 0.7912 0.0004n 0.8060 0.0002n 0.8379 0.0005n Item-TCF 0.7251 0.1722 0.7161 0.0347n 0.7187 0.0236n 0.7113 0.2545 Personal-TCF 0.7325 0.0099n 0.6996 0.0025n 0.7141 0.0018n 0.7159 0.1012 DS-STCF 0.6930 0.6785 0.6923 0.6991 CF 0.7716 0.0097n 0.7875 0.0015n 0.8447 0.0003n 0.8766 0.0001n Profile-TCF 0.7703 0.0104n 0.7912 0.0011n 0.8060 0.0027n 0.8379 0.0009n Item-TCF 0.7251 0.1301 0.7161 0.1135 0.7187 0.2055 0.7113 0.3459 Personal-TCF 0.7325 0.0043n 0.6996 0.1261 0.7141 0.0579n 0.7159 0.2098 T-DS-STCF 0.6930 0.6526 0.6546 0.6790 CF 0.7716 0.0097n 0.7875 0.0002n 0.8447 0.0000n 0.8766 0.0000n Profile-TCF 0.7703 0.0104n 0.7912 0.0003n 0.8060 0.0003n 0.8379 0.0002n Item-TCF 0.7251 0.1301 0.7161 0.0251n 0.7187 0.0252n 0.7113 0.1524 Personal-TCF 0.7325 0.0043n 0.6996 0.0012n 0.7141 0.0019n 0.7159 0.0423n T-STCF 0.6978 0.0543 0.6567 0.1183 0.6520 0.3311 0.6858 0.3801 DS-STCF 0.6930 – 0.6785 0.0272n 0.6923 0.0189n 0.6991 0.0548 T-DS-UP-STCF 0.6886 0.6473 0.6482 0.6649 CF 0.7716 0.0067n 0.7875 0.0001n 0.8447 0.0000n 0.8766 0.0000n Profile-TCF 0.7703 0.0072n 0.7912 0.0001n 0.8060 0.0002n 0.8379 0.0001n Item-TCF 0.7251 0.0997 0.7161 0.0168n 0.7187 0.0156n 0.7113 0.0797 Personal-TCF 0.7325 0.0018n 0.6996 0.0005n 0.7141 0.0008n 0.7159 0.0154n T-STCF 0.6978 0.0053n 0.6567 0.0103n 0.6520 0.2794 0.6858 0.1449 DS-STCF 0.6930 0.0147n 0.6785 0.0108n 0.6923 0.0079n 0.6991 0.0168n T-DS-STCF 0.6930 0.0147n 0.6526 0.0082n 0.6546 0.0026n 0.6790 0.0439n n

(14)

between T-DS-UPS-STCF and other sequence-based trust methods (T-STCF, DS-STCF and T-DS-STCF) are gener-ally statisticgener-ally significant, except for the comparison with T-STCF under k¼ 6 and 8. This implies that considering user profile similarity and the sequence-based trust with both time factor and document similarity in a recommenda-tion method indeed improves the recommendation performance.

For our data set, the appropriate number of neighbors chosen for prediction is 4 or 6. Thus, our proposed sequence-based trust methods can have significant improvement on recommendation quality under 4 and 6 neighbors. In comparisons with Item-TCF, our proposed methods perform better than Item-TCF, although the differences in performance are not significant under 2 and 8 neighbors. The result shows that adopting our proposed sequence-based trust model in CF methods for sequence-based and knowledge-intensive (document) environments can have better improvement on recommen-dation quality than conventional trust-based CF methods. 6. Conclusions and future work

In this research, we propose sequence-based trust recommendation methods to derive the degree of trust-based on users’ sequences of ratings of documents. Con-ventional trust-based CF methods do not address the computation of trust values in the context of sequence-based and knowledge-intensive (document) environments. Our proposed methods consider time factor and document similarity in computing the trustworthiness of users. More-over, the proposed methods are further enhanced by considering user profile similarity in the recommendation phase. The rationale behind using the time factor is that the predictions generated close to the current time provide more trustworthiness than those far away from the current time. In addition, the ratings of different documents with similar contents should also help to derive the trustworthi-ness of users. Accordingly, we employ the time factor and the ratings of similar documents to derive a sequence-based trust computation model. Moreover, we exploit user profile similarity to discover more user preference informa-tion which is not easy to observe though rating data. Finally, the proposed models are incorporated into the standard CF method to effectively discover trustworthy neighbors for making recommendations. From the experi-mental results, we discover that the prediction accuracy of recommendation is indeed improved using these two factors, and our trust metric performs satisfactorily when both factors are combined and incorporated with user’s interest over time.

Our experiments were conducted using a real application domain, i.e., research tasks in a research institute’s labora-tory. The real application domain restricted the sample size of the data and the number of participants in the experi-ments, since it is difficult to obtain a data set that contains sequences of documents and ratings. Because of this

limitation, in our future work, we will evaluate the proposed approach on other application domains invol-ving larger numbers of users and documents. In our future work, we will also investigate how to infer user’s reputa-tion with respect to sequence-based profile-level and item-level trust from our sequence-based concept. Moreover, our current study does not consider trust propagation from the web of trust. Our future study will investigate the integration of the sequence-based trust models with trust propagation in the web of trust.

In this work, we do not consider the issues of malicious attacks and the robustness of trust-based recommendation (Mobasher et al., 2005,2007;O’Donovan and Smyth, 2006;

O’Mahony et al., 2004). The irregular rating behaviors with biased rating data caused by malicious attacks may also degrade the effectiveness of our proposed models. Our current work assumes that there is no malicious attack and users’ rating behaviors are regular. Nevertheless, malicious attacks and the robustness of trust-based recommendations are interesting issues worthy of discussion. In our future work, we will further investigate the robustness of our proposed sequence-based trust models under malicious attacks.

Moreover, our proposed sequence-based trust models use item similarity to boost the effectiveness of trust models by computing the trust degrees based on similar items. In this work, we have used the content-based approach to derive item similarity. However, the content-based approach cannot be applied if items do not have content descriptions. The rating-based approach derives item similarity based on item ratings, and can be applied to derive the similarity of items without content descriptions. Our proposed trust models can also incorporate the rating-based item similarity in computing the trust degrees. Integrating the rating-based approach into the trust mod-els is an interesting issue worth further investigation. Our future work will compare the content-based approach with the rating-based approach in boosting the effectiveness of our sequence-based trust models.

Acknowledgments

This research was supported in part by the National Science Council of the Taiwan under the Grant NSC 99-2410-H-009-034-MY3.

References

Ali, K., Stam, W.v., 2004. TiVo: making show recommendations using a distributed collaborative filtering architecture. In: Proceedings of the Tenth ACM International Conference on Knowledge Discovery and Data Mining. Seattle, WA, USA, pp. 394–401.

Baeza-Yates, R., Ribeiro-Neto, B., 1999. Modern Information Retrieval. Addison Wesley Longman, New York.

Cho, J., Kwon, K., 2008. Source credibility model for neighbor selection in collaborative web content recommendation. In: Zhang, Y., Yu, G., Bertino, E., Xu, G. (Eds.), Progress in WWW Research and Devel-opment, LNCS 4976. Springer, Berlin/Heidelberg, pp. 68–80. Cho, J., Kwon, K., Park, Y., 2007. Collaborative filtering using dual

數據

Fig. 1 shows the framework of our proposed sequence- sequence-based trust model and the CF recommendation methods based on the proposed model
Fig. 3 shows an example for deriving the trust value considering document similarity. U p is a recommender
Fig. 6. Comparing the MAEs of T-DS-STCF, T-DS-PS-STCF and T-DS- T-DS-UPS-STCF.

參考文獻

相關文件

Based on [BL], by checking the strong pseudoconvexity and the transmission conditions in a neighborhood of a fixed point at the interface, we can derive a Car- leman estimate for

Hence, Buddhism has become even more adapted to contemporary society for its realistic and universal values, as well as making outstanding contributions to the contemporary

● develop teachers’ ability to identify opportunities for students to connect their learning in English lessons (e.g. reading strategies and knowledge of topics) to their experiences

 When citing a foreword/introduction/preface/afterword, begin the citation with the name of the person who wrote it, then the word “Foreword” (or whatever it is), without

These include new curriculum and standards frameworks, a range of professional development programmes, autonomy for schools to select and manage staff, flexibility in the use

"Extensions to the k-Means Algorithm for Clustering Large Data Sets with Categorical Values," Data Mining and Knowledge Discovery, Vol. “Density-Based Clustering in

Finally, based on the experience in the test run period, the operational construction lab will be equipped with more and more suitable construction equipments and safety facilities

Web-based Learning Courses for Gifted/More Able Students (jointly administered by EDB and