Here is a concise, blog-style summary of the paper introducing WHOSE, a tool designed to help researchers make sense of real-world user search sessions.
TL;DR
WHOSE (Whole-Session Analysis Tool) is an open-source framework designed to capture, map, and visually analyze end-to-end user search behavior in real-world Interactive Information Retrieval (IIR) systems. By utilizing a flexible, regular-expression-based mapping schema, it transforms messy, uncontrolled log files into structured session paths visualized via interactive Sankey diagrams. This allows researchers to transition seamlessly from a bird's-eye view of user behavior down to the granular details of individual search sessions.
What Problem Does This Paper Address?
Traditionally, Information Retrieval (IR) evaluation focused on a single query and its corresponding results. However, real users don't just type one query and quit; they reformulate terms, browse results, view abstracts, and learn as they go. This has pushed the field toward Interactive Information Retrieval (IIR), which evaluates the entire search session.
While several frameworks exist to evaluate controlled, laboratory-based IIR experiments, researchers lack reusable tools to analyze uncontrolled, real-world log data from production systems. Modifying legacy or proprietary production systems to log complex user actions can be a software engineering nightmare. WHOSE addresses this gap by providing an easily integrated logging mechanism that works with existing web server logs or simple function-call interceptors.
Methods
The WHOSE framework consists of three main phases:
- Lightweight Logging: Instead of embedding complex tracking code across an entire application, WHOSE intercepts raw URLs and function calls at a single central point in the source code. It logs basic parameters: session ID, user ID, timestamp, result list IDs, URL, and referrer URL.
- Declarative Action Mapping: To turn raw URLs into meaningful actions, system experts define rules in a simple CSV table using regular expressions. For example, a URL containing
?/search/results?is mapped to the abstract action "Simple search from the homepage." It also uses regex groups to extract entities like search terms or document IDs. - Parallelized Preprocessing: Because matching millions of log rows against dozens of regex rules is computationally expensive, WHOSE utilizes multi-threaded processing (via Java's Concurrency Library) to compile the raw logs into an optimized database analysis table.
- Visual User Interface: Following Ben Shneiderman’s famous visualization mantra ("Overview first, then filter and zoom, details on demand"), the UI provides:
- Filters: SQL-backed filters for time, session duration, logged-in status, and specific actions.
- Overview Visualization: A Sankey diagram that maps chronological search steps (Step 1, Step 2, etc.) to show how users transition between actions.
- Detailed Session List: An inspectable list where researchers can unfold a specific user's timeline to see exact queries and dwell times.
Datasets
The authors evaluated WHOSE using data from Sowiport, a digital library for social science literature:
- Live Production Data: 2.5 million log rows (~800 MB) captured between April and August 2014.
- Legacy Log Data: To test the tool's ability to ingest historical data, they successfully transformed 7 years of older Sowiport data consisting of 11 million rows (~2 GB).
- Validation Dataset: Screen recordings and logs from 6 participants tracking 10 minutes of search activity were used to verify the accuracy of the regex mapping rules.
Key Insights and Ideas
- The "Search Engine Entry" Phenomenon: A broad overview of Sowiport's data revealed that a massive portion of users start their session directly on a "view record" page. This indicates heavy inbound traffic from external search engines (like Google) indexing deep metadata pages, rather than users navigating from the Sowiport homepage.
- Behavioral Divergence: By filtering for "logged-in users," the authors discovered a completely different behavioral pattern. Logged-in users almost always start at the homepage, perform a simple search, and then move to detailed record views—a classic targeted search strategy.
- Defining "Success" via Dwell Time: Researchers can combine filters to isolate "successful" sessions (e.g., sessions where a document was viewed for more than 30 seconds) and trace backward through the Sankey diagram to see which specific action paths led to that success.
Key Results
- Scalability: The framework successfully processed and structured millions of legacy rows (2 GB dataset) into the unified schema.
- Expert Evaluation: Two information science lecturers used the tool to analyze how their students conducted research over a four-week period. The experts noted that the tool was highly effective for identifying main search paths, uncovering rarely used features, and spotting potential usability bottlenecks.
Limitations and Future Work
While the expert evaluation was positive, it highlighted a few limitations in the current UI:
- Sankey Diagram Complexity: The diagram can become visually overwhelming ("spaghetti-like") at first glance. Future versions need better interactive features to show/hide specific paths dynamically.
- Chronological Constraints: The current Sankey visualization forces actions into strict chronological steps (Step 1, Step 2). The experts requested a context-independent view to see what actions typically precede or follow a specific action (e.g., "export citation"), regardless of when it happens in the session.
- Proactive User Support: The authors plan to leverage the Interactive Probability Ranking Principle (IPRP) to automatically detect when a user is struggling within a session and dynamically suggest helpful search strategies or value-added services.
Summary updated