This is the user sandbox of Lixx0607. A user sandbox is a subpage of the user's user page. It serves as a testing spot and page development space for the user and is not an encyclopedia article. Create or edit your own sandbox here.
Writing an article and ready to request its creation?
Ranking SVM is an application of Support vector machine, which is used to solve certain ranking problems. The algorithm of ranking SVM was published by Torsten Joachims by 2003 . The original purpose of of Ranking SVM is to improve the performance of internet search engine. However, it was found Ranking SVM also can be used to solve other problems such as Rank-SIFT .
- 1 Description
- 2 Background
- 3 Ranking SVM algorithm
- 4 Ranking SVM application
- 5 Reference
Ranking SVM, one kind of the pair-wise ranking methods, which is used to adaptively sort the web-pages by their relationships (how relevant) to a specific inquire. A mapping function is required to define such relationships, which project each data pair (inquire and clicked web-page) on to a feature space.These features combined with user’s click-through data (which implies page ranks for a specific inquire) can be considered as training data for machine learning algorithms.
Generally, Ranking-SVM includes three steps in training period:
- It maps the similarities between inquires and the clicked pages onto certain features space.
- It calculates the distances between any two of the vectors obainned in step 1.
- It forms optimization problem that is similar to SVM classification and solve the problem with regular SVM solver.
Suppose is a data set containing elements . is a ranking method applied in . Then can be defined as follows: The in can be represented as a by asymmetric binary matrix. If the the rank of is higher than rank of ,i.e., the corresponding position of this matrix is set to value of "1". Otherwise the element of the matrix will be set as the value "0".
Kendall's Tau also refers to Kendall tau rank correlation coefficient, which is commonly used to compare two ranking methods for the same data set.
Suppose and are two ranking method applied to data set , the Kendall's Tau between and can be represented as follows:
where is the number of same elements in the upper triangular parts of matrices of and , is the number of different elements in the upper triangular parts of matrices of and . The diagonals of the matrices are not included in the upper triangular part stated above.
Information retrieval quality is usually evaluated by the following three measurements:
- Average Precision
For an specific inquire to a database, let be the set of relevant information elements in the database and be the set of the retrieved information elements. Then the above three measurements can be represented as follows:
where is a Precision function of .
Let and be the expected and proposed ranking methods of a database respectively, the Average Precision of method can be represented as follows:
where is the number of different elements in the upper triangular parts of matrices of and
Suppose is the element of a training data set , where is the feature vector (with information about features) and is the label(which classifies the category of ). An typical SVM classifier can be defined as the solution of the following optimization problem.
The solution of the above optimization problem can be represented as a linear combination of the feature vectors s.
where is the coefficients to be determined.
Ranking SVM algorithm
Let be the Kendall's tau between expected ranking method and proposed method , it can be proved that maximizing helps to improve the lower bound of the Average Precision of .
- Expected Loss Function 
The negative can be selected as the loss function to minimize the lower bound of Average Precision of
where is the statistical distribution of to certain query .
- Empirical Loss Function
Since the expected loss function is not applicable, the following empirical loss function was selected for the training data.
Collecting training data
i.i.d. queries are applied to a database and each query corresponds to a ranking method.So The training data has elements.Each elements containing a query and the corresponding ranking method.
The points generated by the training data are in the feature space, which also carry the rank information (the labels). These labeled points can be used to find the boundary (classifier) that specifies the order of them. In the linear case, such boundary (classifier) is an vector.
Let vector be the optimal linear classifier in the feature space, then the original ranking problem could be represented as the following optimization problem:
The above optimization problem is identical to the classical SVM classification problem, which is the reason why this algorithm is called Ranking-SVM.
The optimal vector obtained by the training sample is
So the retrieval function could be formed based on such optimal classifier.
For new query , the retrieval function first projects all elements of the database to the feature space. Then it orders these feature points by the values of their inner products with the optimal vector. And the rank of each feature point is the rank of the corresponding element of database for the query .
Ranking SVM application
Ranking SVM can be applied to rank the pages according to the query. Click-through Data is needed to train the algorithm, where Click-through data includes three parts:
- Page rank obtained by previous trained result.
- Pages that user clicks.
The combination of 2 and 3 cannot provide full training data order which is needed to apply full svm algorithm. Instead, it provides a part of the ranking information of the training data, So the algorithm can be slightly revised as follows.
The method does not provide ranking information of the whole dataset, it's a subset of the full ranking method. So the condition of optimization problem becomes more relax compared with the original Ranking-SVM.
- Joachims, T. (2003), "Optimizing Search Engines using Clickthrough Data", Proceedings of the ACM Conference on Knowledge Discovery and Data Mining
- Bing Li; Rong Xiao; Zhiwei Li; Rui Cai; Bao-Liang Lu; Lei Zhang; "Rank-SIFT: Learning to rank repeatable local interest points",Computer Vision and Pattern Recognition (CVPR), 2011
- M.Kemeny . Rank Correlation Methods, Hafner, 1955
- A.Mood, F. Graybill, and D. Boes. Introduction to the Theory of Statistics. McGraw-Hill, 3edtion,1974
- J. Kemeny and L. Snell. Mathematical Models in THE Social Sciences. Ginn & Co. 1962
- Y. Yao. Measuring retrieval effectiveness based on user preference of documents. Journal of the American Society for Information Science, 46(2): 133-145, 1995.
- R.Baeza- Yates and B. Ribeiro-Neto. Modern Information Retrieval. Addison- Wesley-Longman, Harlow, UK, May 1999
- C. Cortes and V.N Vapnik. Support-vector networks. Machine Learning Journal, 20: 273-297,1995
- V.Vapnik. Statistical Learning Theory. WILEY, Chichester,GB,1998
- N.Fuhr. Optimum polynomial retrieval functions based on the probability ranking principle. ACM TRANSACTIONS on Information Systems, 7(3): 183-204
- N.Fuhr, S.Hartmann, G.Lustig, M.Schwantner, K.Tzeras,and G.Knorz. Air/x - a rule-based multistage indexing system for large subject fields. In RIAO,1991