Transcription

1 Question Routing by Modeling User Expertise and Activity in cqa services Liang-Cheng Lai and Hung-Yu Kao Department of Computer Science and Information Engineering National Cheng Kung University, Tainan, Taiwan, R.O.C 3M1-IOS-3a-2 Community Question Answering (cqa) sites such as Yahoo! Answers and Stack Overflow have emerged as a new type of community portal that allows users to answer the questions asked by other people. The cqa archives have accumulated a huge mass of questions and answers. On account of the progressively increasing questions, there are numbers of questions to be solved or answered by others. In this paper, we address the problem of efficient question routing. We present a new approach that combines user s expertise and user s activity to solve this problem. First, we model user s expertise by the contents of user s answering questions in the past, and then we enhance user s expertise by social network characteristic in the cqa portal. Second, we model and predict user s activity by analyzing the distribution of their previous answering records. Experiments conducted on a real cqa data, Stack Overflow, show that our approach leads to a better performance than other baseline approaches significantly. In terms of the evaluation metric, MRR, the performance of the content-based approach is and that of our method is respectively. We can get a 37.34% improvement over the traditional content-based method. On average, each of 6,160 test questions gets at least one answer if it is routed to the top 7 ranked users by our approach. 1. Introduction Recently, Community Question-Answering (cqa) has already attracted a great deal of attention from researchers. In cqa sites, people can share or acquire knowledge and information from these systems. Yahoo! Answers (http://answers.yahoo.com), Live QnA (http://qna.live.com), and Stack Exchange (http://stackexchange.com/) are examples of these forums. These portals have attracted increasing number of users and accumulated a huge mass of questions and answers over the past few years. Through these portals, users are allowed to answer the questions asked by other people, or users are allowed to pose their information need as questions. On account of the progressively increasing questions, there are numbers of questions which cannot be solved or answered by others efficiently. To solve this problem, Zhou et al. proposed the push mechanism in cqa services [Zhou 2009]. This mechanism helps push new questions to proper users to get answers. New questions are routed to appropriate users with enough knowledge and great activity to be solved effectively and efficiently. In our work, we focus on this problem and propose our approaches to support and augment this mechanism. In order to investigate whether new questions can be solved efficiently in cqa services, we observed the data from the cqa site, Stack Overflow, in the duration of October Figure 1 shows the time interval of receiving answers per solved question. Our goal is to solve the questions in the dotted block of Figure 1 and other unsolved questions during this period. There are totally 71,000 new questions are posted in this month. We found that only 60,403 questions have been answered in this month. That is, there are 10,597 (15%) questions which are not answered by other users in this month. Furthermore, only 48,055 questions are answered in 2 hours. There are still 22,945 (32.3%) questions which cannot be solved efficiently. On average, users who post questions in this cqa website have to wait at least 8.12 hours to Contact: Hung-Yu Kao, CSIE, National Cheng Kung University, No.1, Ta-Hsueh Road, Tainan, Taiwan, R.O.C., , , receive answers. Because of so many unsolved questions and long waiting time, an effective push mechanism is needed in cqa portals. To develop the push mechanism, we address the problem of effectively finding the potential users with enough knowledge and great activity to answer the new questions in cqa services. Figure 1: Time interval of receiving answers per solved question. Over the past few years, cqa services have attracted many users and accumulated numbers of questions and answers. Considering the scale of online users in cqa, it is a nontrivial job to route a new question to appropriate answerers who are able to answer it quickly. Two simple approaches for the push mechanism are described as follows: the content-based method and the QA-relation based method. The content-based methods route a new question to a user according to his answering questions in the past. The content similarity between the questions users answered and the new question is considered. If the questions user answered in past days are similar to the new question, we route this new question to this user. However, Bag-of-Word approaches cannot detect such these similar questions. Furthermore, the length of questions is relatively short comparing to web pages. Using the traditional

2 content based search algorithm such as Okapi BM25 algorithm or language model [Zhai 2004] may not work well because of the short length of contents of questions. For example, we observed the answering questions of the user u in Stack Overflow. This user has answered six questions as shown in Table 1 (See Appendix for contents of the answering questions). We can see from this table that the titles and the contents of these questions have few same words even if they are topically related. If we adopt traditional content-based methods to determine whether new questions are suited to users or not, it may not work in this example. Table 1: Titles of answering questions of User u in Stack Overflow dataset. Questio Title of question n id q CSS: Width 100% is not 100% of Screen Fixed inline-block div with negative marginright and shifting float: what's special about q px? A span can be a div, but a div can't be a q span q Internet Explorer Specific CSS Glitch Table not resizing properly in IE7 q The QA-relation based methods utilize a special structure in cqa services, i.e., the question-reply relationship. Figure 2(a) shows the relation between users and questions while Figure 2(b) shows the relation between users and users. Considering the problem of question routing, new questions are needed to route to people with high expertise. Relying on the content has proven to be limited to rank users expertise levels [Littlepage 1997], previous works [Campbell 2003, Dom 2003] have shown that using graph-based algorithms can be more effective than using content-based methods alone. There have some work adopt the graph-based ranking algorithms such as PageRank [Brin 1998] or HITS [Kleinberg 1999] algorithm to rank users [Jurczyk 2007, Zhang 2007] by their expertise. However, contents of questions are not considered in these algorithms. It is not appropriate to route questions of different topics to the same users with high authority values. Considering the example of question-reply graph illustrated in Figure 3, the labels of edges represent the topics of questions. If now we have one new question about perl, this question would be routed to User 4 according to the result by graph-based algorithms because of its higher in-degree. However, we should route this question to User 3 because the answering questions of User 3 are more similar to the topics of perl in the past. Figure 2: The QA relationship in cqa. Figure 3: An example of question-reply graph. Because of the shortcomings of directly applying the concepts of content and QA-relations, we cannot just apply these two basic methods to solve our problem of question routing. Previous works [Li 2010, Zhou 2009] of Question Routing (QR) in cqa services focus on the contents of questions that users answered in their answering history. Zhou et al. s [Zhou 2009] apply the three models to compute the user s expertise, namely a profile-based, a thread-based, and a cluster-based model. The profile-based model considers the user s answering questions as a group and the thread-based model treat user s answering questions individually while the cluster-based model clusters the questions into groups. In Li s work [Li 2010], questions are routed to the users with high expertise and availability. This work combines content-based approach with the work of answer quality issue in cqa services. Answering more questions similar to the new question with good quality, users are more likely to answer this new question. These two works do not consider the activity of users. If we route a question to a user who is inactive even though this user is able to answer this question, we cannot get new questions solved or get the answer efficiently. Hence, we should route new questions to the users not only with great expertise, but with high activity. The information for a specific user we have is less and the data we can use is only the past QA information of this user. Using these data to predict user s activity is difficult because of irregularity and insufficiency of information. To address the question routing problem, we propose a framework to find the proper users for a given question to get new questions solved effectively and efficiently in cqa services. Based on the properties we mentioned in previous sections, we address the shortcomings of two baseline approaches by combining content-based approaches and QA-relation based approaches. Furthermore, we utilize the time characteristic of each user since user s activity is also indispensable in the question routing problem. First, we compute the expertise score of users according to the contents of user s answering questions and social network characteristic as illustrated in Figure 4. We then estimate the expertise score of each candidate user for a given question based on the contents of questions in answering history of this user. We also utilize the question-reply graph to enhance the expertise score of each user by peer-expertise dependency. We define the peer-expertise dependency as a mutual reinforcement relationship between the asking and the answering of users. It assumes that expert users of a question q are those users who have answered many other questions (denoted as Q) that are related to q, and these questions Q are asked by those users who have great authority values. Finally, we combine the content based approach and peer-expertise based approach to measure the overall expertise quantity of each user

3 Probabilistic Latent Semantic Analysis (PLSA) to model the relationships between users and questions for question recommendation and propose a novel metric to evaluate the performance [Qu 2009]. Questions are recommended to a user according to the probabilities of those questions given the user. Wu et al. also modified PLSA algorithm to propose the incremental recommendation algorithm, which considers not only the users long-term and short-term interests, but also users negative and positive feedback [Wu 2008]. Figure 4: Illustration of the proposed expertise model. Second, we compute the activity score of each candidate user. We estimate the activity score of each user based on their answering records from a period of answering history. In addition, we observe that most questions get only one answer and the response time of questions is usually short. It s important for users to anticipate others answering new questions. Thus we consider the active time of users per day and propose modeling the daily activity of users. Finally, we estimate user s expertise and activity and combine these two models to rank users for each test question. 2. Related Work The task of question routing is related to question retrieval, answer quality issue, and expertise ranking in social communities. In recent years, question retrieval has attracted much attention in research areas recently. Users directly search from the QA archive to find similar questions with respect to their questions when they want to seek knowledge. Therefore, the retrieval task in cqa services is the task of finding relevant similar questions with new queries. Consider the problem we want to solve in this paper, when a new question is posted, we want to know whether this question suits the user or not. That is, if a user answered a lot of questions similar to the test question, he might be able to answer this new question. We address the problem of question routing by the idea of question retrieval. We view the questions in user s history as the question database and new questions as new queries respectively. The goal is to extract the similar questions matching new questions in user s history to weigh the strength of users and new questions. Jeon et al. proposed the translation-based model to find semantically existing similar questions from a community QA portal [Jeon 2005]. Their method can detect semantically similar questions even if they have little word overlap. The reason is that they calculate the question-question similarities by using the corresponding answers as well as the questions. In another work, Cao et al. [Cao 2008] address the problem of question recommendation by the following steps: First, questions are represented as graphs of topic terms, and the recommendations are then ranked on the basis of the graphs. Second, MDL-based (Minimum Description Length) is employed for selecting the best cuts. Question features are replaced with other features around the same question topics. Wang et al. considered the structure of question sentence and used the syntactic tree to match two questions [Wang 2009]. The basic intuition behind this is that if two questions structures resemble each other, and they would be similar to each other with higher probability. They propose a new retrieval framework based on syntactic tree structure to tackle the similar question matching problem. Figure 5 shows an example of a syntactic tree of the question How to lose weight?. Their experimental results revealed that using the information of question s structure can significantly improve the similar question matching performance. Qu et al. modified Figure 5: An example of syntactic tree of the Question How to lose weight?. Our work is also related to finding good quality answer with respect to the question in cqa services. As mentioned in section 1, if one user answered many questions similar to the new question, he might have higher probability to answer this new question. However, the quality of their answers is not considered. Users providing answers with good quality could be a strong evidence to be the expert for a given new question. Jeon et al. uses a classification approach to identify the answer to be good or bad to address the answer quality problem [Jeon 2006]. He extracted several non-textual answer features in Naver (http://naver.com/), a Korean question/answering portal similar to Yahoo! Answers. These features include answer length, answerer s number of answers, and answer rating etc., for training and predicting the quality for the given answer. After extracting the features of each answer, non-monotonic features are converted to monotonic features and Maximum Entropy is used for answer quality estimation. Agichtein et al. derive multiple answer features from the graphs including structural, textual, and community features and they then use these feature to build the classification model to predict whether the answer is good or not [Agichtein 2008]. The contributions of the different sources of quality evidence are studied, and some of the sources are complementary. Combination of multiple types of sources is helpful to increase the performance of the system and increase the classifier's robustness to spam. Suryanto et al. used a graphbased answer ranking models by HITS algorithm [Suryanto 2009]. They combined a link-based and content-based approach to find the answers with good quality and relevant to the given question. There are four expertise based methods presented in this work. According to the result of this work, methods using question dependent expertise including the expertise of asker and answerer have the best performance. Expert finding has attracted much research attention in recent years [Jurczyk 2007, Zhang 2007]. Zhang et al. [Zhang 2007] ranks users by applying link-based algorithm including Hyperlink-Induced Topic Search (HITS) [Kleinberg 1999] or ExpertiseRank in the website Java Forum based on users authority scores. HITS algorithm is used to rank web pages originally. Web pages are ranked by analyzing their inlinks and outlinks. In this algorithm, authorities mean the web pages pointed to by many hyperlinks while web pages which point to many hyperlinks are called hubs. Authorities and hubs are mutual reinforcing as: an authority pointed to by several nodes with high hubs should be a strong authority. A hub which points to many nodes with high - 3 -

4 authority should be a popular hub. The scores of hubs and authorities are defined as follows: ( 1 ) ( 2 ) where and indicate the hub score and the authority score of page. represents the set of pages pointing to page ; represents the set of pages pointed be page. Such link-based algorithms are applied in a bipartite network where an asker is linked to an answerer when a question posted by the former has been answered by the later. In another work [Jurczyk 2007], a similar approach is applied on the dataset crawled from Yahoo! Answers. From these proposals results, we can get a conclusion that there is a high correlation between linkbased metrics and user s expertise. However, in our problem of question routing, if we return a user ranking based on the authority score, we always get the same user ranking. As will be shown in experimental results, we use PageRank as one of the baselines to compare. In our work, we consider the content of test question to get the user ranking more precisely. In other social media, Balog et al. propose generative probabilistic models to address the expert finding problem in enterprise corpora [Balog 2006]. Two general strategies to expert searching given a document collection are presented. The first one models an expert s knowledge based on the documents that they are associated with while the second one finds experts by locating the topics of documents. From 2005, Text REtrieval Conference (TREC) has provided a platform with the Enterprise Search Track for researchers to empirically assess their methods for expert finding [Craswell 2005]. In addition, there are some researches for finding experts over the corpus such as [Campbell 2003, Dom 2003]. Graph-based ranking algorithms are applied to rank correspondents according to their expertise on subjects of interest. In the graph, nodes represent the correspondents and edges mean the relation of correspondence between nodes respectively. Language models have strong foundations in statistical theory and have performed quite well in many information retrieval tasks [Ponte 1998, Zhai 2004]. Typically language model approach can be divided into two types: profile-based and document-based methods. The profile-based approach (e.g., [Balog 2006]) estimates the probability of a candidate being an expert given the query topic by modeling the knowledge of an expert from associated documents. While in document-based methods, [Balog 2006] finds relevant documents for a given topic first. Then it ranks the candidates based on these documents. In our work, we use the language models to estimate the strength between users and questions. We describe other related work in this sub-section. The push mechanism can not only help improve the performance of cqa services, but fulfill user s satisfaction and information need. Liu et al. [Liu 2008] also want to improve user s satisfaction (especially askers) by solving the problem of predicting information seekers satisfaction in cqa services. A general prediction model is presented and they develop a variety of content, structure, and QA based features. There are lots of research studies about the analysis of cqa system. Adamic et al. [Adamic 2008] analyze the forum categories and cluster them based on content characteristics and patterns of user interaction to understand the knowledge sharing activity in Yahoo! Answers. The findings showed that different categories may have different characteristics. For example, interactions in users in some categories resemble expertise sharing forums while in other categories may represent the incorporate discussion, advice or support etc. Gyongyi et al. [Gyongyi 2007] analyzed 10 months worthy of Yahoo! Answers data to discuss the user behavior and impact in cqa portals. 3. Method In this section, we present our proposed framework to address the problem of question routing to appropriate users in cqa services. Figure 6 shows the framework of our approach. Our framework consists of two components: the expertise model and the activity model. The expertise model ranks users according to their expertise calculated by content-based model and peerexpertise model. The content-based model calculates the similarity between user s answering questions and test questions as user s expertise of test questions, and the peer-expertise model calculates user s authority as user s expertise through the question-reply relation in cqa services. The activity model analyzes user s answering distribution and estimates the activity score of each user at the time of the routed question. The Linear Regression model combines the expertise index and activity index to be the user s final score of each test question. We define the combined score as Expertivity score, donated as,. Figure 6: The proposed framework. 3.1 Expertise model Given a test question, we determine the expertise score of a user by content-based model and peer-expertise model. In the content based model, we utilize the same approach as illustrated in [Li 2010]. We use this method to model user s expertise according to the content similarity between the answering questions of users and test questions. If the test question is similar to the questions answered by the user in the past, he/her would have more probability and ability to answer this question. Hence we use content-based model to model the strength between users and questions. The other component of expertise model is peer-expertise model. We employ and adjust the traditional PageRank algorithm and run the modified algorithm on the weighted question-reply graph. Then we get the authority value of each user for each test question. QLL: Query Likelihood Language We use the query likelihood language (QLL) model as a similarity measure to weigh the strength of users and questions. For a new question to be routed, we define the score of user as equation ( 3 )., ( 3 ) ( 4 ) - 4 -

5 Let denote all previously answered questions by user. The meaning of this equation means how likely the new question can be generated from the questions answered by user. Since many words of question may not appear in the contents of answering questions of users, we apply Jelined-Mercer smoothing method [Zhai 2004] to avoid assigning zero probability. The probability smoothed is defined as equation ( 5 ). ( 5 ) where denotes the background language model built by the entire questions and is a coefficient controlling the influence between the background model and the probability estimated from the answering question of the user. and are defined as ( 6 ) and ( 7 ) respectively through a maximum likelihood estimation., ( 6 ),, ( 7 ), where is the collection of all questions in the database and, represents how many times user uses the term., means frequency of the term appearing in the entire collection. PeER: Peer-Expertise Rating In this sub-section, we use peer-expertise model to calculate user s expertise score,,. We utilized and augmented the idea of Weighted PageRank [Xing 2004] by question-reply relationship. The assumption of this algorithm is described as follows: Expert users of question are those users who have answered many other questions that are related to asked by those users with great authority values. graph for each test question. Construction steps are described as follows. For a given test question q 4 in Figure 7, we calculate the edge strength between users using equation ( 8 ). _,,,, ( 8 ) where _,, represents the edge weight from node to node with respect to question. We use to represent the user posting the question and to represent the user answering the question with the answer. The similarity measure we used is the cosine similarity technique as illustrated in equation ( 9 ).,,,,,, ( 9 ) where, means the term frequency of term in question and means the inverse document frequency of the term. Since the edge strength may be larger than 1, we normalize the edge strength by dividing the summation of all the edge strength using equation ( 10 ). _,, _,, _,, ( 10 ) where _,, means the normalized value of _,,. After building the weighted questionreply graphs for every test question, we use the Weighted PageRank algorithm on these graphs. The original PageRank algorithm is defined by equation ( 11 ). 1 1 ( 11 ) where is the authority value of the user and means the set of nodes pointing to. The damping factor is represented as and means the total number of nodes in the graph. However, the test question is not considered in this formula. We utilized and augmented Weighted PageRank algorithm to calculate user s authority value to represent the expertise value of the user. The original PageRank formula is modified as, 1 1, _,, ( 12 ) where means the set the nodes node which are pointed by node. We set =0.85 in our experiment. The final score of this algorithm assumes: if a user answered many questions similar to the test question asked by users with great authority value, he may be an authoritative user of this test question. Figure 7: Demonstration of construction of weighted question-reply graph. Before we use the Weighted PageRank algorithm, we construct the weighted question-reply graph in advance. Figure 7 shows an example of the construction of weighted question-reply graph. Figure 7 (b) is the original question-reply graph constructed by Figure 7 (a) and Figure 7 (c) is the weighted question-reply graph. We construct a weighted question-reply 3.2 Activity model As mentioned in the introduction section, we should route new questions to the users not only with great expertise but with great activity. User s activity score for a given question is composed of two components, the period activity and the daily activity. The former one estimates user s activity according to the answering curve of the user in the past, and we use the tendency of the curve to predict the activity value in the future. The latter one focuses on a more detailed information of time series. It makes use of the daily activity of users. We investigate user s active time per day. In other words, if one user always answers questions in the night, we should not route the questions posted - 5 -

6 in the morning to this user. Since questions cannot be solved efficiently, we should also consider the hour activity of users. A real example of considering user s activity is illustrated in Figure 8. As shown in this figure, there are two users and their answering records with respect to time. One point represents one question is answered by the user at the time. In this case, we use the total answering count to represent the expertise score of these two users. User u 9567 have answered 207 questions in the past and u have answered 166 respectively. Thus the expertise of u 9567 is higher than u Now we have a new question q at time t 1. We route this new question to u 9567 rather than u according to the expertise score. However, we investigate the time series to these two users. We can easily get a conclusion that the activity of u is higher than that of u 9567 at time t 1 although u 9567 have answered more questions. Therefore, we route the question q to the user u instead of the user u From this example, we consider user s activity is also an important criterion in question routing. the similarity between the test question and the questions answered by candidate users. We scale the scale of similarity values into [0, 1]. DA: Daily activity As the same definition of period activity, we also treat daily activity in two manners: as the daily activity independent of the topic of test question and otherwise. Consider the example shown in Figure 9. The curve in the figure means the answering count versus hour of the user. In other words, a data point (x, y) means the user answered y questions in the hour x. we can see obvious difference between these two users in the figure. User u 1 is active in the night or morning while user u 2 is active at midday. Now a new question is posted at hour h 1. Assume these two users having the same expertise on this question. Since the activity of u 2 is higher than that of u 1 at hour h 1 according to the curves. We route the question q 1 to the user u 2. Figure 8: A real example of activity model. PA: Period activity In this sub-section, we describe the details of calculating the period activity. We consider the period activity of a user in two manners, i.e., query independent manner and query dependent manner. The former is denoted as and the other is denoted as. Query independent means user s period activity is independent of the topic of the test question while question dependent assumes otherwise. We predict user s activity in the testing region as the following steps. First, we do the discretization for the training region in advance. We assume that the length of the testing region is m days and the length of training region is n days. We split the training region into n/m bins with length m for each bin. In our experiment, we also set the length of bin as 4 days in and since our testing region is 4 days. Since our problem is to solve the problem of question routing, we only focus on the questions users answered and use the answering count of each user to represent their activity value. After the steps of discretization, we can get the first seven values of each bin for every test user. We use SVM [Chang 2001], to predict the value and the kernel type we used is the sigmoid function. We train and predict user s activity by the regression model. We define this predicated score as. Users are ranked according to this score for each test question. Since the method does not consider the information of test question, we adjust the method to develop another method. Instead of assuming each user having the same level of activity for different topics of questions, we consider question dependent to calculate user s activity. Users have different levels of activity for different topics of questions. This assumption makes sense since users usually have diverse background knowledge and experience. When we count the answering questions for each bin, we only focus on the questions related to the test question. We calculate Figure 9: An example of considering hour activity. In order to develop our method, and, we collect data from 2010/10/28 ~ 2010/10/31 from the website, Stack Overflow, to investigate the response time of each question. There are 6,160 questions and 11,272 answers during this period. Most answer s response time is usually short. On average, the time interval of answer and question is 2.26 hours. We calculate and as follows: For a given question q, supposed q is posted at hour h 1, we calculate the score of the user s hour activity score by counting the answering questions the user answered from hour h 1 to h 1 +average response time in the past as. Average response time means the average response time of all answers of all users in our training set. We also consider questions dependent with the hour activity. We only count the relevant questions to the test question to be the score. We then use a linear regression model to combine the expertise model and activity model. Hence, we rank users for each test question by the combined score,. 4. Experiments In this section, we present experimental evaluation results to access the effectiveness of our system. In particular, we conduct experiments on the Stack Overflow (http://stackoverflow.com) cqa archive with over tens of thousands questions in our work. This dataset is public and can be downloaded from the Stack Overflow Blog (http://blog.stackoverflow.com/). The dataset we downloaded covers the duration from July 31, 2008 to December 31, 2010 and what we used for our experiment is the snapshot from October 1, 2010 to October 31, These questions are limited in the programming domain. The dataset statistics are shown in Table 2. There are totally 71,000 questions and - 6 -

7 123,739 answers which belong to these questions during the duration. There are total 51,888 users participating in these questions and answers. Among these users, we separate askers and answerers in order to investigate the ratio they overlap. This results in 33,664 askers and 29,482 answerers. Furthermore, we remove the askers from answerers to count number of answerers only and number of askers only respectively. There are 18,224 (61.8%) users who answer questions only without asking questions among the answerers and 22,406 (66.6%) users who ask questions only without having answers to others questions among the askers respectively. Among these users, the proportion of users who both have questions and answers is 11,258 (21.7%). Due to this characteristic, the question-reply graph tends to the bipartite graph which means that majority of users who have answers to others questions have no questions in the cqa forum. Table 2 : Dataset statistics Num of questions 71,000 Num of answers 123,739 Num of users 51,888 Num of askers 33,664 Num of answerers 29,482 Num of answerer only 18,224 Num of asker only 22,406 Num of both answerer-askers 11,258 Average number of answers per question 1.83 Max number of answers per question 39 % answerers with 1 answer 16,753 Considering our problem in this paper, we want to route a new question to the right users to get answers with good quality efficiently. Therefore we need to use the information (i.e. asking questions and answering questions) of each user. To obtain the judgment whether a new question suits to a user or not, we separate our data into two parts, Set A and Set B. Set A covers the duration from October 1, 2010 to October 27, 2010 and the rest for Set B. We use Set A for training and Set B for testing respectively. First, we extract questions from Set B. For each question, we filter out the questions with no answers. In next step, we eliminate the questions whose answerer with no answering history in Set A. As a result, we obtain 6,160 test questions. The test users are collected from the answerers answering test questions. This results in 3,492 test users to be ranked. We use all answerers of each test question as ground truth 1 (denoted as GD 1 ). For each test user, we use the questions in their answering history in set A for training. On average, each test user has answered 17 questions while the max is 596 and the min is 1. In order to evaluate the performance of our system and to compare with other methods, we use four evaluation metrics including MAP, MRR, R-Precision, to calculate the performance score. MAP is the abbreviation of Mean Average Precision. It represents the mean of the average precisions (denoted as AP) over the set of query questions. In our work, the query questions represent the new questions to be routed. Average precision can be defined as the ( 13 ) where is the rank, and is a binary function on the relevance of a given rank, is the precision at a given cut-off rank. ( 14 ) where is the set of query questions. The mean reciprocal rank (MRR) [Voorhees 1999] is the average of the reciprocal ranks of the first correct answers over a set of query questions. It is defined as follows: ( 15 ) where is position of first recommended user retrieved. MAP considers all answers while MRR only considers the first answer. We use this metric as our major evaluation measure, because we want to know how many users we should route to get at least one answer. R-Precision is the precision at rank R where R is the total number of answerers for each test question in ground truth. We also retrieve and to calculate the percentage of top-k candidate users retrieved that are correct. We utilized the following baseline methods to compare with our system in order to demonstrate the effectiveness of our approach: Reply Count (RC): This method use the number of questions replied by the user as the user s score. PageRank (PR): We apply PageRank algorithm on the question-reply graph to rank users by their authority values [Zhang 2007]. The question-reply graph is constructed from Set A dataset. We remove the self-cycle which indicates one user answers the question asked by him/her in the graph. As a result, there are total 36,799 nodes and 103,274 edges in the graph. We use this method to estimates the global authority score of each user since a user with great authority has more probability to answer new questions. Average Response Time (ART): This method estimates the score of each user by calculating the average response time between their answers and corresponding questions. We define this as follows: ( 16 ) where represents the set of answers provided by user. means of creation time of the answer while the creation time of the corresponding question of the answer is represented as. This baseline is used to compare with our activity model since we assume that the average response time of users and user s activity are positively correlated. Entropy model: We estimate the score of each candidate user by entropy calculation. The formula is defined as follows: ( 17 ) where means the total number of bins and means the i-th bin as we defined in the activity model and means the number of questions answered by the user in the bin dividing his total answering questions. Inverse Entropy model: We also use this model to be the baseline of our activity model. The score is calculated by inverse the score of Entropy model. Table 3 shows the performance of our system and comparison with other methods. In the expertise model, PeER is better than QLL. The findings indicate that peer-expertise model is more effective than content-based method. Graph-based method is - 7 -

8 more effective than content-based method in determining the expertise of users. According to the result of combination of PeER and QLL, we can get a better performance than using these two methods separately since the MRR value of QLL is and that of PeER is while that of combination of these two methods is In our activity model, we examine of effect of question dependent in advance. PA is better than PA and DA is better than DA. The results revealed that question dependent manner is important than question independent. We should consider the information when we calculate the activity of users. PA is the most effective method. It uses the period activity of users by modeling the answering curve according to time. DA is slightly worse than PA. Since PA do not consider the user s active time per day, we combine this method with DA. We combine these two methods to enhance the activity model. The MRR value of activity model is , while that of PA is and that of DA is respectively. We use three methods to compare with our activity model, namely Average Response time, Entropy, and Inverse Entropy. We compare these three baselines with PA. We can see from Table 3 that PA outperforms the other three baselines no matter what evaluation metric is used. The performance of Entropy outperforms Inverse Entropy. The results revealed that there are few phenomenon of busty event in user s answering record versus time. Despite considering the test questions, we compare the methods RC, PR, PA. Among these methods, the performance of PA is the best. We compare with RC and PA. RC uses the answering count scores to rank users while PA models the answering count versus time. We can get a conclusion that some users are not always active on the website. We cannot use the total answering count to determine the score of users. We should consider the trend in user s answering curve instead of just counting the total number of answering questions. As mentioned in introduction, we should consider the user s expertise and activity simultaneously in the problem of question routing. In the combination part, expertise model is more effective than activity model. We compare our expertise model and activity model. The performance of expertise model outperforms the activity model. If we want to route a new question to users, user s expertise is more important than user s activity. Moreover, according to the result of combination of expertise model and activity model, we get the best system performance when the weights of these two models equal 0.5. These two models are equivalently important in our problem. Our final system performance yields the best performance comparing the other methods. The best MRR value is Table 3 : Overall comparison of all methods in GD 1 Method MAP MRR R- Precision RC PR ART Entropy Inverse Entropy QLL PeER PA PA DA DA Expertise Model Activity Model Expertivity Conclusion In this paper, we address the problem of question routing over a community QA portal, Stack Overflow. We show that not only user s expertise but user s activity is also an important criteria for question routing. Based on our proposed framework, we have introduced several methods to model user s expertise and activity. Expertise model includes QLL and PeER; QLL uses contentbased method while PeER uses peer-expertise model. Activity model contains PA and DA ; PA uses the answering curve of each user while DA uses daily active time of users to model user s activity. Our experiments on a collection of Stack Overflow cqa portal have shown that our proposed methods outperform the baseline methods and enjoy a better performance. Our proposed method has the best performance in several measurements. Moreover, our method combined by expertise model and activity model is also better than the method using training technique. The best MRR value in our experiments is It means that on average each test question will get at least one answer if we route the test question to the top 7 ranked users. Considering the total users to be ranked, our system demonstrates that our proposed framework is able to route new questions to users. New questions can be solved effectively and efficiently. References [Adamic 2008] L. A. Adamic, J. Zhang, E. Bakshy, and M. S. Ackerman, "Knowledge sharing and yahoo answers: everyone knows something," presented at the Proceeding of the 17th international conference on World Wide Web, Beijing, China, [Agichtein 2008] E. Agichtein, C. Castillo, D. Donato, A. Gionis, and G. Mishne, "Finding high-quality content in social media," presented at the Proceedings of the international conference on Web search and web data mining, Palo Alto, California, USA, [Balog 2006] K. Balog, L. Azzopardi, and M. d. Rijke, "Formal models for expert finding in enterprise corpora," presented at the Proceedings of the 29th annual international ACM SIGIR conference on Research and development in information retrieval, Seattle, Washington, USA, [Brin 1998] S. Brin and L. Page, "The anatomy of a large-scale hypertextual Web search engine," presented at the Proceedings of the seventh international conference on World Wide Web 7, Brisbane, Australia, [Campbell 2003] C. S. Campbell, P. P. Maglio, A. Cozzi, and B. Dom, "Expertise identification using communications," presented at the Proceedings of the twelfth international conference on Information and knowledge management, New Orleans, LA, USA, [Cao 2008] Y. Cao, H. Duan, C.-Y. Lin, Y. Yu, and H.-W. Hon, "Recommending questions using the mdl-based tree cut model," presented at the Proceeding of the 17th international conference on World Wide Web, Beijing, China, [Chang 2001] C.-C. Chang and C.-J. Lin, "LIBSVM : a library for support vector machines, Software available at [Craswell 2005] N. Craswell, A. P. d. Vries, and I. Soboroff, "Overview of the TREC-2005 Enterprise Track," presented at the In Proceedings of TREC 2005,

Information Quality on Yahoo! Answers Pnina Fichman Indiana University, Bloomington, United States ABSTRACT Along with the proliferation of the social web, question and answer (QA) sites attract millions

Proceedings of the Seventh International AAAI Conference on Weblogs and Social Media Booming Up the Long Tails: Discovering Potentially Contributive Users in Community-Based Question Answering Services

Comparing and : A Case Study of Digital Reference and Community Based Answering Dan Wu 1 and Daqing He 1 School of Information Management, Wuhan University School of Information Sciences, University of

Department of Computer Science and Engineering University of Texas at Arlington Arlington, TX 76019 Predicting Answer Quality in Q/A Social Networks: Using Temporal Features Yuanzhe Cai and Sharma Chakravarthy

Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence Improving Question Retrieval in Community Question Answering Using World Knowledge Guangyou Zhou, Yang Liu, Fang

Volume 2, Issue 2, February 2012 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: A REVIEW ON QUERY CLUSTERING

Effective and Efficient Approaches to Retrieving and Using Expertise in Social Media Reyyan Yeniterzi CMU-LTI-15-008 Language Technologies Institute School of Computer Science Carnegie Mellon University

Optimization of Algorithms and Parameter Settings for an Enterprise Expert Search System Valentin Molokanov, Dmitry Romanov, Valentin Tsibulsky National Research University Higher School of Economics Moscow,

SEARCHING QUESTION AND ANSWER ARCHIVES A Dissertation Presented by JIWOON JEON Submitted to the Graduate School of the University of Massachusetts Amherst in partial fulfillment of the requirements for

2011 IEEE International Conference on Privacy, Security, Risk, and Trust, and IEEE International Conference on Social Computing Estimating Twitter User Location Using Social Interactions A Content Based

FINDING EXPERT USERS IN COMMUNITY QUESTION ANSWERING SERVICES USING TOPIC MODELS by Fatemeh Riahi Submitted in partial fulfillment of the requirements for the degree of Master of Computer Science at Dalhousie

A Survey and Evaluation of State-of-the-Art Intelligent Routing Systems Bojan Furlan, Bosko Nikolic, and Veljko Milutinovic, Fellow of the IEEE School of Electrical Engineering, University of Belgrade,

Comparing the Results of Support Vector Machines with Traditional Data Mining Algorithms Scott Pion and Lutz Hamel Abstract This paper presents the results of a series of analyses performed on direct mail

INFERRING ANSWER QUALITY, ANSWERER EXPERTISE, AND RANKING IN QUESTION ANSWER SOCIAL NETWORKS by YUANZHE CAI Presented to the Faculty of the Graduate School of The University of Texas at Arlington in Partial

Classification of Bad Accounts in Credit Card Industry Chengwei Yuan December 12, 2014 Introduction Risk management is critical for a credit card company to survive in such competing industry. In addition

Introduction Data production rate has been increased dramatically (Big Data) and we are able store much more data than before E.g., purchase data, social media data, mobile phone data Businesses and customers

21st International Congress on Modelling and Simulation, Gold Coast, Australia, 29 Nov to 4 Dec 2015 www.mssanz.org.au/modsim2015 On the Feasibility of Answer Suggestion for Advice-seeking Community Questions

RETRIEVING QUESTIONS AND ANSWERS IN COMMUNITY-BASED QUESTION ANSWERING SERVICES KAI WANG (B.ENG, NANYANG TECHNOLOGICAL UNIVERSITY) A THESIS SUBMITTED FOR THE DEGREE OF DOCTOR OF PHILOSOPHY SCHOOL OF COMPUTING

Email Spam Detection A Machine Learning Approach Ge Song, Lauren Steimle ABSTRACT Machine learning is a branch of artificial intelligence concerned with the creation and study of systems that can learn

Combining Global and Personal Anti-Spam Filtering Richard Segal IBM Research Hawthorne, NY 10532 Abstract Many of the first successful applications of statistical learning to anti-spam filtering were personalized