410 likes | 550 Views
Synchronicity: Just-In-Time Discovery of Lost Web Pages. NDIIPP Partners Meeting June 25, 2009 Martin Klein & Michael L. Nelson Department of Computer Science Old Dominion University Norfolk VA www.cs.odu.edu/~{mklein,mln}. The Problem. Web links “break”
E N D
Synchronicity: Just-In-Time Discovery of Lost Web Pages NDIIPP Partners Meeting June 25, 2009 Martin Klein & Michael L. Nelson Department of Computer Science Old Dominion University Norfolk VA www.cs.odu.edu/~{mklein,mln}
The Problem • Web links “break” • 404 http status code -- “not found” • “soft 404” -- http server returns “200 OK”, but the resource isn’t really there • Is the content really gone? • Did it just move somewhere else in the web? • Is there a copy in search engine caches or web archives? • To find new or different copies, we need to augment digital preservation with information retrieval techniques
The Actors Put a human -- lots of humans -- in the loop for preservation purposes
The Environment • Web Infrastructure (WI) [McCown07] • Web search engines (Google, Yahoo, MSN Live) and their caches • Research Projects (CiteSeer, NSDL) • Web archives (Internet Archive,Web Base)
ftp://techreports.larc.nasa.gov/pub/techreports/larc/93/tm109025.ps.Zftp://techreports.larc.nasa.gov/pub/techreports/larc/93/tm109025.ps.Z http://techreports.larc.nasa.gov/ltrs/PDF/tm109025.pdf
URI Content Mapping Problem U1 404 U1 U1 U1 U2 U1 U1 U1 U1 C1 C2 ?? C1 C1 C1 C1 C1 A A A time time time B B B A time B 8
Scenario 1: Same URI, Same Content JCDL 2008 http://www.jcdl2008.org/ July 2008 http://www.jcdl2008.org/ Today 9
Scenario 2: Same URI, Different Content Hypertext 2006 http://www.ht06.org/ August 2006 http://www.ht06.org/ Today 10
Scenario 3a: Same Content, Different URI PSP 2003 http://www.pspcentral.org/events/annual_meeting_2003.html August 2003 http://www.pspcentral.org/events/archive/annual_meeting_2003.html Today 11
Scenario 3b: Similar Content, Different URI ECDL 1999 http://www-rocq.inria.fr/EuroDL99/ October 1999 http://www.informatik.uni-trier.de/~ley/db/conf/ercimdl/ercimdl99.html Today 12
Scenario 4: Content Not Findable At Any URI Greynet 1999 http://www.konbib.nl/infolev/greynet/2.5.htm 1999 Today ? ? 13
Miller: A lot o' people don't realize what's really going on. They view life as a bunch o' unconnected incidents 'n things. They don't realize that there's this, like, lattice o' coincidence that lays on top o' everything. Give you an example; show you what I mean: suppose you're thinkin' about a plate o' shrimp. Suddenly someone'll say, like, plate, or shrimp, or plate o' shrimp out of the blue, no explanation. No point in lookin' for one, either. It's all part of a cosmic unconsciousness. Otto: You eat a lot of acid, Miller, back in the hippie days?
Synchronicity • Experience of causally unrelated events occurring together in a meaningful manner • Events reveal underlying pattern, framework bigger than any of the synchronous systems • Carl Gustav Jung (1875-1961) • “meaningful coincidence” 15 picture from http://www.crystalinks.com/jung.html
The Bigger Picture Synchronicity Architecture • Firefox extension catches 404 error (or initiated by user if a “soft” 404 is suspected) • Discovers copy of missing page in WI (1) and provides to user (2) • Generates a search engine query based on what the missing page is “about” (3) • Finds old content at new URI or provides a “good enough” alternative page (4,5,6)
C A ? B What Was That Web Page About? • Lexical signatures • <title>…</title> • Tags • Link neighborhoods
image from Eddie Kohler http://www.cs.ucla.edu/~kohler/ What is a Signature? (aka “message digest”, examples include “md5” and “sha-1”)
LS Resource Abstract REMOVAL HIT RATE PROXY CACHE What is a Lexical Signature? • First introduced by Phelps and Wilensky [Phelps00] • Small set of terms capturing the “aboutness” of a document • Phelps and Wilensky assumed 5 • “lightweight metadata” Query Google “Removal Policies in Network Caches for World-Wide Web Documents”
LSs as Proposed by Phelps and Wilensky http://www.cs.berkeley.edu/~wilensky/NLP.html becomes: http://www.cs.berkeley.edu/~wilensky/NLP.html?lexical-signature=texttiling+wilensky+disambiguation+subtopic+iago • Limitations: • Applications (browsers) need to be modified to exploit LSs • LSs need to be computed a priori • Works well with most URLs but not with all of them “Robust Hyperlink Cost Five Words Each” Append LS to URL: 21
Lexical Signatures -- Examples A “Googlewhack” (http://en.wikipedia.org/wiki/Googlewhack) can be thought of as a two-term LS that produces a 1/1 ranking. 22
Generating LSs • Term Frequency (TF) • “How often does this term occur in this document?” • Inverse Document Frequency (IDF) • “In how many documents does this term appear?”
Generating LSs • Park et al. [Park03] investigated performance of various LS generation algorithms • Evaluated “tunability” of TF and IDF • Weight on TF increases recall (completeness, ex. “photography, blog”) • Weight on IDF improves precision (exactness, “nicnichols, penitentiary”) • Also assumed “5” to be a good number • Compared results after 6 months, but did not do an in-depth analysis of LSs over time
Theoretical Underpinnings of Synchronicity • Investigated how lexical signatures change over time (ECDL 2008) • Compared retrieval performance of lexical signatures with titles, tags and lexical signatures generated from link neighborhoods (in preparation) • Investigated how titles change over time (InDP 2009)
LS Evolution Over Time Copies of web pages from the IA (1996-2007) 300 Random URLs, winnowed to 98, 10493 observations over 12 years
Evolution Over Time -- Example 10-term LSs generated for http://www.perfect10wines.com
Two Methods for Measuring Evolution • Idea • Generate LSs from copies of URLs • Conduct overlap analysis Sliding Rooted
Evolution Over Time - Rooted • Little overlap between the early years and more recent ones • Highest overlap in the first 1-2 years after creation of the LSs • Rarely peaks after that – once terms are gone they do not return
Evolution Over Time - Sliding • Overlap increases over time • Seem to reach steady state around 2003
Performance of LSs • Idea • Measure performance in respect to age of LS and number of terms it contains • Query Google search API with LSs • Identify URL in result set: • Top ranked • Ranked between 2-10 • Ranked between 11-100 • Ranked beyond 100 (considered undiscovered)
Performance – Number of Terms • 2-, 3- and 4-term LSs perform poorly • 5-, 6- and 7-term LSs seem best • Top mean rank (MR) value with 5 terms • Most top ranked with 7 terms • Binary pattern: either top 10 or undiscovered • 8+ terms -- decreased performance
Titles (TI), 5- & 7-term Lexical Signatures (LS5, LS7), Tags (TA) 500 random URLs from dmoz.org winnowed to 309 (only 47 of 309 had tags in delicious.com). Due to query restrictions, link neighborhood only run on Yahoo -- results were similar to tags.
Frequency of Change Number of Title Changes and Observations in the IA ordered in increasing order by: 1) observations 2) changes • generally low number of changes • max changes: 25 • number of observations does not impact the number of changes 6000 random URLs from dmoz.org, winnowed to 1090 URLs and 100k+ observations
Times of Change Mean Time Delta Between Changes Time Span Between First and Last Observation in the IA ordered in increasing order by: 1) observations 2) changes • time span between observation decreases with increasing number of observations • overall time span just slightly increases • URLs with many observations are being crawled frequently in a short period of time
Degree of Change Mean Levenshtein Scores of all Titles - Sliding • 5 URLs with score = 0 • 85% of URLs with score >=0.8 • titles rarely change drastically
Degree of Change Mean Levenshtein Scores of all Titles - Rooted • 9 URLs with score = 0 • 56% of URLs with score >=0.8 • titles more likely to change compared to their first observation
http://www.sun.com/solutions mean Levenshtein score sliding: 0.84 rooted: 0.29 1998-01-27 Sun Software Products Selector Guides -Solutions Tree 1999-02-20 Sun Software Solutions 2002-02-01 Sun Microsystems Products 2002-06-01 Sun Microsystems - Business & Industry Solutions 2003-08-01 Sun Microsystems - Industry & Infrastructure Solutions 2004-02-02 Sun Microsystems - Solutions 2004-06-10 Gateway Page - Sun Solutions 2006-01-09 Sun Microsystems Solutions & Services 2007-01-03 Services & Solutions 2007-02-07 Sun Services & Solutions 2008-01-19 Sun Solutions http://www.datacity.com/mainf.html mean Levenshtein score sliding: 0.68 rooted: 0.15 2000-06-19 DataCity of Manassas Park Main Page 2000-10-12 DataCity of Manassas Park sells Custom Built Computers & Removable Hard Drives 2001-08-21 DataCity a computer company in Manassas Park sells Custom Built Computers & Removable Hard Drives 2002-10-16 computer company in Manassas Virginia sells Custom Built Computers with Removable Hard Drives Kits and Iomega 2GB Jaz Drives (jazz drives) October 2002 DataCity 800-326-5051 toll free 2006-03-14 Est 1989 Computer company in Stafford Virginia sells Custom Built Secure Computers with DoD 5200.1-R Approved Removable Hard Drives, Hard Drive Kits and Iomega 2GB Jaz Drives (jazz drives), introduces the IllumiNite® lighted keyboard DataCity 800-326-5051 Service Disabled Veteran Owned Business SDVOB
Conclusions & Future Work • LSs decay over time, Titles decay less • Rooted: quickly after generation • Sliding: seem to stabilize • Titles give comparable performance to LSs • Titles + LSs give better performance • Future work: • can we know in advance if a title is “good”? (i.e., not “welcome to my home page”) • can we use tags to augment titles / LS? • how big should a link neighborhood be? • Contact us to get a beta version of the Firefox extension (real soon now!)
How much of the Web is indexed? Estimates from “The Indexable Web is More than 11.5 billion pages” by Gulli and Signorini (WWW’05)