1 / 20

Learning Techniques for Information Retrieval

Learning Techniques for Information Retrieval . We cover Perceptron algorithm Least mean square algorithm Chapter 5.2 User relevance feedback (pp.118-123) Chapter 5.3.1 Query expansion through local clustering (pp. 124-126). Adaptive linear model.

lluvia
Download Presentation

Learning Techniques for Information Retrieval

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Learning Techniques for Information Retrieval We cover • Perceptron algorithm • Least mean square algorithm • Chapter 5.2 User relevance feedback (pp.118-123) • Chapter 5.3.1 Query expansion through local clustering (pp. 124-126)

  2. Adaptive linear model • Let X1, X2, …, Xn be n vectors (of n documents). • D1D2={X1, X2, …, Xn}, where D1 be the set of relevant documents and D2 be the set of ir-relevant documents. • D1 and D2 are obtained from users feedback. • Question: find a vector w such that  WiXij+1>0 for each XjD1 and i=1 to m  WiXij>+1<0 for each XjD2 i=1 to m

  3. X0 X1 X2 W0 W1 Threshold W2 X3 +1 W3 Output =sign(y) -1 Wn Xn

  4. Remarks: • W is the new vector for query. • W is computed based on the feedback, i.e., D1 and D2. • The following is a hyper-plane:  wiXi+d=0, where W=(w1, w2, …, wm) i=1 to m • The hyper-plane cuts the whole space into two parts and hopefully one part contains relevant docs and the other contains non-relevant docs.

  5. Perceptron Algorithm (1) For each XD1, if X·W+d<0 then increase the weight vector at the next iteration: W=Wold+CX . d=d+C. (2) For each XD2 if X·W+d>0 then decrease the weight vector at the next iteration: W=Wold -CX . d=d-C. C is a constant. Repeat untilX·W>0 for eachXD1 and X·W<0 for each XD2 .

  6. Preceptron Convergence Theorem • The perceptron algorithm finds a W in finite iterations if the training set {X1, X2, …, Xn} is linearly separable. • References: • Wong, S.K.M., Yao, Y.Y., Salton, G., and Buckley, C., Evaluation of an adaptive linear model, Journal of the American Society for Information Science, Vol. 42, No. 10, pp. 723-730, 1991. • Wong, S.K.M. and Yao, Y.Y., Query formulation in linear retrieval models, Journal of the American Society for Information Science, Vol. 41, No. 5, pp. 334-341, 1990.

  7. An Example of the perception Algorithm X1=(2,0), X2 =(2,2), X3=(-1,2), X4=(-2,1), X5=(-1,-1), X6=(1/2,-3/4) D1={X1,X2 ,X3} , D1={X4,X5,X6} ,W=(-1,0). Set d=0.5 X3 X2 X4 WX1+0.5=-0.5, W= Wold+X1=(1,0) X1 W X6 X5

  8. X3 X3 X2 X2 X3 X2 W=(0,2) X4 X4 X1 X1 X1 W X6 X6 X5 X5 X6 WX2+0.5= 2.5>0, WX3+0.5=-0.5,W=Wold+ X3=(0,2) WX4+0.5=2.5>0, W=Wold- X4=(2,1)

  9. X3 X2 X3 X2 X4 X4 W=(2,1) W=(3/2,7/4) X1 X1 X5 X6 X5 X6 WX1+0.5=3.5, WX2+0.5=7, WX3+0.5=2.5, WX4+0.5= -3/4,WX5+0.5= -11/4, WX6+0.5=-1/16, The algorithm stops here. WX5+0.5=-2.5<0, WX6+0.5=3/4>0, W=Wold-X6=(3/2,7/4)

  10. LMS Learning Algorithm Given a set of input vectors {x1, x2, …, xL}, each has its own desired output dk, for k=1, 2, …, L, Find a vector w such that L  (dk-w·xk)2 is minimized. K=1 For IR, dk is just the order the user gives. From “Neural networks: algorithms, applications and programming techniques, by James A. Freeman, David M. Skapura. 1991. Addison-Wesley Publishing Company.”

  11. The algorithm • choose a vector w(1)=(1, 1, .., 1). • For each xk, compute •  k2 (t)=(dk-w·xk) 2 • W(t+1)=w(t)+2  k xk. • Repeat 1-4 until the error is reduced to be acceptable. --a parameter. If  is too large, the algorithm will never converge. If  is too small, the speed is slow. Choose a number between 1.0 and 0.1 in practice. You can choose a bigger number at the beginning and reduce gradually.

  12. Query Expansion and Term Reweighting for the Vector Model • : set of relevant documents, as identified by the user, among the retrieved documents; • : set of non-relevant documents among the retrieved documents; • : set of relevant documents among all documents in the collection; • : number of documents in the sets respectively; • : tuning constants. , ,

  13. Query Expansion and Term Reweighting for the Vector Model Standard_Rochio : Ide_Regular : Ide_Dec_Hi : Where is a reference to the highest ranked non-relevant document.

  14. Evaluation of Relevance Feedback Strategies (Chapter 5) • Simple way: use the new query to search the database and recalculate the results • Problem: used feedback information, it is not fare. • Better way: just consider the unused documents.

  15. Query Expansion Through Local Clustering • Definition Let be a non-empty subset of words which are grammatical variants of each other. A canonical form from of is called a stem. For instance, if then • Definition For a given query , the set of documents retrieved is called the local document set. Further, the set of all distinct words in the local document set is called the local vocabulary. The set of all distinct stems derived from the set is referred to as .

  16. Association Clusters • Definition The frequency of a stem in a document , , is referred to as . Let be an association matrix with rows and columns, where . Let be the transpose of . The matrix is a local stem-stem association matrix. Each element in expresses a correlation between the stems and namely, (5.5) (5.6)

  17. Association Clusters • Normalize • Definition Consider the -th row in the association matrix (i.e., the row with all the associations for the stem ). Let be a function which takes the -th row and returns the set of largest values , where varies over the set of local stems and . Then defines a local association cluster around the stem . If is given by equation (5.6), the association cluster is said to be unnormalized. If is given by equation 5.7, the association cluster is said to be normalized. (5.7)

  18. Interactive Search formulation • A stem su that belongs to a cluster associated to another stem sv is said to be a neighbor of sv. • Reformulation of query, for each Sv, in the query, select m neighbor stems from the cluster Sv(n) and add them to the query.

More Related