A Retrospective Context Mining Approach For Bootstrapping Personal Knowledge Assistants

Desiree Heim, Christian Jilek, Heiko Maus, Andreas DengelLWDA 2022

Abstract

Personal Knowledge Assistants (PKAs) often face a "cold start" problem, requiring extensive observation of user activity before becoming effective. This paper presents a retrospective context-mining approach that bootstraps assistants by analyzing existing user data—such as files, emails, and calendar entries—at startup. We introduce the "Contextifier" tool, which uses multi-indicator relationship calculation and hierarchical clustering to organize data into meaningful work contexts. Evaluation with 14 participants demonstrates that this static data analysis provides immediate value and high-quality initial context models.

Introduction

Knowledge workers are increasingly overwhelmed by information. AI-based assistants aim to mitigate this by filtering and organizing data based on a user's specific "context" (e.g., a project or task). However, most current systems are activity-based, relying on real-time tracking of window switches, clicks, and communications to learn a user's workflow. This creates a significant barrier to adoption: the system is essentially useless on Day 1. This research addresses the cold start problem by shifting the focus to retrospective mining, exploring whether a meaningful model of user context can be built using only the data already present on a user's hard drive and mail server.

Methodology: The Contextifier

The authors developed the Contextifier, a tool designed to process static data into functional context models through a four-phase workflow.

The four-phase workflow of the Contextifier system, including feedback loops for result refinement.
  1. Input Phase: The system crawls local files, bookmarks, iCalendar entries, and emails via IMAP.
  2. Relationship Indicator Calculation: Pairs of items are compared using various indicators, including textual similarity (Levenshtein distance), metadata (folder hierarchy, access times), and type-specific matches (calendar locations or participants).
  3. Aggregation & Clustering: Indicators are combined into a weighted graph. The system employs hierarchical agglomerative single-linkage clustering to group related items. High-confidence indicators (like exact filename matches) can override general weights to ensure accuracy.
  4. Result Review: Users interact with the output via Tree or Graph views, providing feedback to refine the clusters.

Evaluation and Results

Due to the private nature of Personal Information Management (PIM) data, the system was evaluated through a user study with 14 participants (researchers and students) using their own real-world data. The evaluation utilized the Computer System Usability Questionnaire (CSUQ) and specific Likert-scale queries regarding model quality.

User evaluation results across various quality and usability metrics (Q16-Q26), showing strong agreement on the quality of identified relationships.

Key findings include:

  • High Perceived Quality: Participants rated "perceived intra-context similarity" (Q16) and "relationship confidences" (Q18) highly, typically between "slightly agree" and "quite agree."
  • Transparency as a Feature: Users valued the system's explainability, as the Contextifier shows which indicators and weights led to specific groupings.
  • Bootstrapping Efficacy: The results suggest that static "traces" in file structures and email threads provide sufficient signal to create a functional context model without real-time observation.

Discussion and Future Work

While the retrospective approach effectively solves the cold start problem, the current $O(n^2)$ complexity of comparing every document pair poses scalability challenges for users with very large datasets. Future work will focus on "pre-grouping" steps to improve performance and evolving the current "flat" context sets into more complex hierarchical structures. The authors conclude that retrospective mining should serve as a "Day 0" setup for all PKAs to ensure immediate utility upon deployment.

Summary updated

BibTeX
@inproceedings{heim2022retrospective,
  author = {Desiree Heim and Christian Jilek and Heiko Maus and Andreas Dengel},
  title = {{A Retrospective Context Mining Approach For Bootstrapping Personal Knowledge Assistants}},
  booktitle = {LWDA},
  year = {2022},
}
Figure