Authors: Hiroshi Motoda and Kenichi Yoshida
Introduction
This research explores how machine learning can transform the "ignorant" computer into a user-adaptive partner. By moving beyond simple command sequences and looking at the underlying relationships between files and processes, the authors demonstrate a system that can predict user actions with surprising accuracy. The core of this approach is Graph-Based Induction (GBI), a technique that analyzes user behavior as a directed graph of I/O dependencies rather than just a linear sequence of commands.
The Problem with Linear Sequences
Most "intelligent" interfaces of the era attempted to assist users by analyzing the chronological order of commands (e.g., "The user typed ls, then cd"). However, linear sequences are often noisy and lack context. They fail to capture the functional relationship between a command and the files it manipulates.
For example, if a user runs a compiler on a specific source file, the relationship between that file and the resulting executable is a "dependency" that a simple list of commands misses. This relational data is structural and complex, making it difficult to represent in the standard attribute-value tables used by most traditional machine learning algorithms.
Methods: Graph-Based Induction (GBI)
The researchers propose GBI as a solution to handle this structural complexity. Instead of a list, user history is represented as a directed graph. Nodes represent commands or files, and edges represent either the sequence of actions or I/O dependencies (e.g., an edge labeled ".tex" connecting emacs to latex).
Pairwise Chunking
The "heart" of GBI is pairwise chunking. The algorithm identifies frequently occurring pairs of linked nodes and "chunks" them into a single new node. By repeating this process, the system builds up complex, high-level patterns from simple interactions, effectively extracting the "meaning" of a user’s task without explicit instruction.
Implementation
The authors developed two main applications for this technology:
- ClipBoard: A shell-like interface that suggests the next command via icons and generates shell scripts for repetitive tasks.
- Prefetch Daemon: A background process that predicts which files a user will need next and loads them into the cache proactively.
Key Results
The authors evaluated GBI using artificial data, three months of real-world usage logs, and 2.3 million network traffic transfers.
- Superior Accuracy: On real-world data, GBI achieved a command prediction accuracy of 57.8% to 80%, vastly outperforming the standard decision tree algorithm (CART), which hovered around 34.6%.
- Task-Specific Success: For specific common tasks like using latex or xdvi, the system reached 92% to 100% accuracy.
- Network Efficiency: In a WWW caching simulation, GBI-based prefetching reduced peak network traffic by 26%, potentially saving significant bandwidth during peak hours.
- Real-Time Performance: Unlike complex logic-based systems (ILP) that can take hours to find rules, GBI was efficient enough to run as a live, real-time interface.
Conclusion and Future Work
The success of GBI demonstrates that I/O dependencies—the "hidden" information about which files a program opens—are far more predictive than the visible sequence of commands. While the current implementation showed great promise, the authors noted that future versions could be further optimized by moving from Java to kernel-level implementations (C or Assembler) and incorporating additional context like command exit statuses and temporal data.
Summary updated