{"id":4550,"date":"2010-09-14T07:23:55","date_gmt":"2010-09-14T14:23:55","guid":{"rendered":"http:\/\/palblog.fxpal.com\/?p=4550"},"modified":"2010-11-02T22:41:52","modified_gmt":"2010-11-03T05:41:52","slug":"reverted-indexing","status":"publish","type":"post","link":"https:\/\/blog.fxpal.net\/?p=4550","title":{"rendered":"Reverted Indexing"},"content":{"rendered":"<p>Traditional interactive information retrieval systems function by creating inverted lists, or term indexes. For every term in the vocabulary, a list is created that contains the documents in which that term occurs and its relative frequency within each document. Retrieval algorithms then use these term frequencies alongside other collection statistics to identify the matching documents for a query.<\/p>\n<p>In a <a title=\"Pickens, J., Cooper, M., and Golovchinsky, G. (2010) Reverted Indexing for Feedback and Expansion. To appear in Proc. CILM 2010, Toronto, Ont., Canada.\" href=\"http:\/\/palblog.fxpal.com\/wp-content\/uploads\/2010\/09\/reverted6.pdf\" target=\"_blank\">paper<\/a> to be published at <a title=\"ACM Conference on Information Knowledge and Management 2010\" href=\"http:\/\/www.yorku.ca\/cikm10\/\" target=\"_blank\">CIKM 2010<\/a>, <a title=\"Information Retrieval Gupf\" href=\"http:\/\/irgupf.com\/\" target=\"_blank\">Jeremy Pickens<\/a>, <a title=\"Matthew Cooper | FXPAL\" href=\"http:\/\/www.fxpal.com\/people\/cooper\/index.html\" target=\"_blank\">Matt Cooper<\/a> and\u00a0 I describe a way of using the inverted index to associate document ids with the queries that retrieve them. Our approach combines the inverted index with the notion of retrievability to create an efficient query expansion algorithm that is useful for a number of applications, including relevance feedback. We call this kind of index a reverted index because rather than mapping terms onto documents, it maps document ids onto queries that retrieved the associated documents.<\/p>\n<p><!--more-->Here&#8217;s how it works:<\/p>\n<p>First, we build a regular inverted index.<\/p>\n<p>Then we create a collection of queries, which we call basis queries. Basis queries can be created from query logs, or they can be synthesized in some manner. One naive approach that works reasonably well is to use terms from the inverted index that have a minimum DF.<\/p>\n<p>We evaluate each basis query against the inverted index using some ranking algorithm. (Pick one!) For each query, we record the ranked list of retrieved document ids in the reverted index. In other words, we create a virtual document with id=basis query that contains for its terms ids of documents that were retrieved by that query. Putting all this into the reverted index (which is just a second instance of an inverted index) creates a new structure that can be queried with document ids of documents from the inverted index, and will create a ranked list of queries that are effective at retrieving the specified documents.<\/p>\n<p>Once you&#8217;ve identified these queries, they can be used for any other purpose such as offering term suggestions, expanding queries through pseudo-relevance feedback or through user-controlled relevance feedback, etc.<\/p>\n<p>How well does this work? Read the paper for the full details, but the short answer is that our query expansion technique outperforms PL2 and Bose-Einstein algorithms (as implemented in <a title=\"Terrier IR Platform | Glasgow University\" href=\"http:\/\/terrier.org\/\" target=\"_blank\">Terrier<\/a>) by 15-20% on several TREC collections. This is just a first stab at implementing and evaluating this indexing, but we are quite excited by the results.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We combine an inverted index with the notion of retrievability to create an efficient query expansion algorithm. This &#8220;reverted index&#8221; maps document ids onto queries that retrieved the associated documents.<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15],"tags":[255,256,23,83,275],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.fxpal.net\/index.php?rest_route=\/wp\/v2\/posts\/4550"}],"collection":[{"href":"https:\/\/blog.fxpal.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.fxpal.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.fxpal.net\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.fxpal.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4550"}],"version-history":[{"count":14,"href":"https:\/\/blog.fxpal.net\/index.php?rest_route=\/wp\/v2\/posts\/4550\/revisions"}],"predecessor-version":[{"id":4899,"href":"https:\/\/blog.fxpal.net\/index.php?rest_route=\/wp\/v2\/posts\/4550\/revisions\/4899"}],"wp:attachment":[{"href":"https:\/\/blog.fxpal.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.fxpal.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.fxpal.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}