- Introduced by
- Bernard J. Jansen, Amanda Spink & Tefko Saracevic; web-search session research
- Year
- 2000
- Type
- Analysis pipeline for multi-query search episodes
- Family
- Information-seeking behavior / IR evaluation
What does it do?
Search session analysis studies the whole search episode: the sequence of queries, reformulations, clicks, and pauses a user produces while pursuing one information need, rather than scoring a single query in isolation.
Many information needs unfold across several queries: users search, scan results, refine their wording, and try again until they succeed or give up. (Silverstein and colleagues found that in a large AltaVista log most users seldom modified their queries, so the amount of iteration varies widely and should be measured rather than assumed.) Building on the transaction-log tradition of Jansen, Spink, and Saracevic and the large-scale web log study of Silverstein and colleagues, session analysis reconstructs episodes from logs, characterizes how queries change, measures effort, models transitions between actions, and assesses outcome.
The intuition behind the method
Picture someone planning a trip: they search 'cheap flights to Lisbon', skim the results, change the wording to 'Lisbon flights June', follow a couple of links, and eventually book. This example is illustrative, not drawn from data. Judging only the first query would miss how the need was met, because the success came from the whole sequence. Search session analysis takes the episode as the unit of study. It asks how the query changed at each step (a word was added or replaced, or the search restarted), how much work the whole episode took in queries, clicks, and time, and whether it ended in success or abandonment. Viewed at this level, a weak opening query can turn out to be a normal first move rather than a failure, and the path a user takes becomes something that can be described and compared.
History
Interest in session-level analysis developed from transaction-log studies of web search engines. Silverstein, Marais, Henzinger, and Moricz analysed an AltaVista query log, treating each session as an attempt to fill a single information need, and reported that users seldom modified their queries. Jansen, Spink, and Saracevic studied user queries on the web as part of the same transaction-log tradition. Later work moved from describing sessions to modelling reformulation and transitions and to session-level effectiveness measures. The sources available here do not establish a single originator of the session concept.
When to use it
Use search session analysis when the information need unfolds over multiple queries and interactions — exploratory search, research and learning tasks, complex web searches, and any setting where a single query rarely ends the task — and you want to understand or evaluate the whole episode. It suits both behavioral study (how users reformulate, where they struggle or abandon) and session-level system evaluation (does the system help users succeed across the episode with less effort?). It requires interaction data rich enough to reconstruct sessions: queries, reformulations, clicks, and timing, ideally with outcome signals. It is unnecessary for genuinely single-query tasks better served by known-item or topical evaluation, and it is constrained when logs are too sparse to delimit reliable sessions or lack the signals needed to judge outcomes.
Limitations and considerations
- Session boundaries are inferred heuristically, so timeout and topic-shift choices can fragment or merge true episodes.
- Inferring session success from behavioral signals is ambiguous, since abandonment can mean either satisfaction or frustration.
- Rich session reconstruction needs detailed interaction logs that many systems do not capture or retain.
- Sessions are heterogeneous in goal and complexity, so aggregate session statistics can obscure very different search behaviors.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Takes the realistic unit of analysis — the whole search episode — capturing iteration that single-query evaluation misses.
- Reveals reformulation strategies, struggle, and abandonment patterns invisible when queries are scored in isolation.
- Quantifies user effort across a session, so systems are credited for reaching success with fewer queries and clicks.
- Supports session-level effectiveness measures and transition models that bridge behavioral study and system evaluation.
Applications
- Studying how users reformulate queries and pursue complex or exploratory information needs over several steps.
- Evaluating search systems at the session level, crediting success across an episode rather than a single query.
- Detecting struggling sessions, abandonment, and failure points to guide interface and ranking changes.
- Building query suggestion and next-query prediction from observed session transitions.
- Constructing multi-query test collections for session-level evaluation.
How it works
How it works
The analysis first divides a user's logged actions into sessions. Silverstein and colleagues treated each session as an attempt to fill a single information need; this is the guiding idea. The practical rules for delimiting sessions are general analytic heuristics rather than a procedure fixed by that paper: a new session starts when the gap between actions exceeds a chosen threshold, or when the topic changes, since one sitting can contain several distinct needs. The threshold and the topic-shift criterion are analyst choices that the mechanics step does not fix, so they should be reported and varied in a sensitivity check. Errors here propagate: if boundaries are too coarse, unrelated tasks blur together, and if they are too fine, one iterative search is split into fragments.
Formula
\text{session } s=\langle (q_1,a_1),\dots,(q_n,a_n)\rangle,\ \ \text{boundary if } \Delta t>\tau\ \text{or topic shift}Within a session, each query is compared with the one before it and assigned a transition type: a new query, an added term, a removed term, a replaced term, or a repeat. This five-category scheme is a descriptive scheme used on this page, in the spirit of query-log studies such as Jansen, Spink, and Saracevic; analysts may adapt it. Classifying these moves turns the raw query sequence into a trajectory that shows whether a user narrows, broadens, or pivots a search. The categories do not show whether a given move helped, which the outcome step must establish.
Formula
q_{k}\to q_{k+1}\in\{\text{new},\,\text{add},\,\text{remove},\,\text{replace},\,\text{repeat}\}The analysis then summarizes the effort a session consumed as a set of counts and times: the number of queries, the number of clicks, the summed dwell time across the session's steps, and the overall duration. This tuple is a simple descriptive summary, and analysts may add or drop measures. These measures describe the cost side of searching. They are useful for comparison because two sessions that end in the same outcome can differ sharply in how many queries and how much time it took to reach it.
Formula
E(s)=\bigl(n_{\text{queries}},\ n_{\text{clicks}},\ \textstyle\sum_k \text{dwell}_k,\ \text{duration}\bigr)The session is represented as a sequence of states drawn from querying, viewing, clicking, refining, and ending. The model is an analyst-chosen first-order Markov model: it estimates the probability of moving from the current state to the next, assuming the next state depends only on the current one. Estimated transition probabilities describe typical paths, show where users loop back or exit, and can be used to anticipate the next action. The choice of states is an analytic decision, and a different state set can describe the same log in a different way.
Formula
\Pr(\text{state}_{k+1}\mid \text{state}_{k}),\qquad \text{states}\in\{\text{query, view, click, refine, end}\}Finally, the analysis assesses whether the session succeeded. The success indicator is 1 if any step in the session is marked satisfied and 0 otherwise. Session-level effectiveness is measured by summing the gain at each step, weighted by a discount that reduces the value of later steps; this sDCG expression is an adaptation of discounted cumulative gain to multi-query sessions. The gain values and the discount function are not fixed by the method, so they must be declared and justified for each study, and results should be reported under at least one alternative discount setting to show how much conclusions depend on that choice. Evaluating the whole episode this way credits a system for guiding the user to success across several queries, not only the first.
Formula
\text{success}(s)=\mathbb{1}[\exists k:\ \text{satisfied}_k],\qquad \text{sDCG}=\textstyle\sum_k \text{discount}(k)\,g_kCommon pitfalls
- Relying on a single fixed timeout to delimit sessions, splitting long tasks or fusing unrelated ones.
- Equating a long session with failure or a short one with success, ignoring that task complexity varies.
- Reading abandonment as failure when a quick exit may signal the user found the answer immediately.
- Averaging across goal-diverse sessions, blending exploratory and lookup behavior into uninterpretable means.
Frequently asked questions
Why analyze whole sessions instead of individual queries?
Because real information needs are usually satisfied across several queries, not one. Users issue an initial query, scan, reformulate, click, and try again, so judging only a single query misses where the value actually comes from and can mislabel a normal opening query as a failure. Session analysis takes the episode as the unit, capturing reformulation, effort, and eventual success or abandonment. This matches how people search and lets systems be evaluated for guiding users to their goal over the whole interaction, which single-query measures such as precision or reciprocal rank cannot express.
How are session boundaries determined?
Through heuristics applied to logged activity, since sessions are rarely marked explicitly. A common approach starts a new session after an inactivity gap longer than a chosen threshold, and also considers topic shifts, because one sitting can hold several distinct needs. Both criteria involve analyst choices: a long task with pauses can be split, and back-to-back unrelated tasks can be merged. Because session-level metrics depend on this segmentation, the threshold and topic criterion should be reported and results checked for sensitivity to them, or refined with richer signals such as query similarity or click patterns.
How is the success of a session measured?
By combining outcome signals with session-level effectiveness measures. Success can be indicated by a satisfying click, a completed task or conversion, or an explicit relevance judgment, while effectiveness across the episode is captured by measures that accumulate and discount the gain a user receives over successive queries, such as session-based discounted cumulative gain. The challenge is that behavioral signals are ambiguous: a short session may mean instant success or rapid frustration. Robust session evaluation therefore triangulates log-based success proxies with task outcomes or user feedback rather than relying on any single signal.
Related methods
Sources
Jansen, B. J., Spink, A., & Saracevic, T. (2000). Real life, real users, and real needs: a study and analysis of user queries on the web. Information Processing & Management, 36(2), 207-227.
Open DOI referenceSilverstein, C., Marais, H., Henzinger, M., & Moricz, M. (1999). Analysis of a very large web search engine query log. ACM SIGIR Forum, 33(1), 6-12.
Open DOI referenceManning, C. D., Raghavan, P., & Schütze, H. (2008). Introduction to Information Retrieval. Cambridge University Press.
ISBN: 9780521865715