Stuck? No worries!: Task-aware Command Recommendation and Proactive Help for Analysts

Aadhavan M. Nambhi, Bhanu Prakash Reddy, Aarsh Prakash Agarwal, Gaurav Verma, Harvineet Singh, Iftikhar Ahamath Burhanuddin

Introduction

Modern data analytics platforms offer immense power but often impose a significant cognitive burden on users. Analysts frequently struggle to navigate complex interfaces, leading to frustration and inefficiency. Traditional help systems are typically reactive, requiring users to explicitly seek assistance, and context-blind, offering generic advice. This research introduces a dual-layered approach to mitigate these issues: a task-aware command recommender that predicts subsequent workflow steps and a proactive help model designed to detect user struggle before an explicit request for help is made.

System Design and User Interface

The proposed system bridges the gap between low-level software interactions (syntax) and high-level user goals (semantics). By understanding the broader "task" context, the system can provide more relevant suggestions than models relying solely on statistical command frequency.

Conceptual UI for task-aware command recommendations and the proactive help model.

Task Identification and Command Recommendation

The methodology employs Biterm Topic Modeling (BTM) to group command sequences into coherent tasks, such as "segmenting users" or "dashboard construction." Unlike standard Latent Dirichlet Allocation (LDA), BTM is optimized for the short, sparse data found in application logs.

For recommendation, the researchers developed TaskRNN, an LSTM-based network that integrates both the current command and the inferred task distribution. To enable real-time deployment, they further introduced the Joint Task and Command RNN (JTC-RNN), which simultaneously predicts the user's intent and the next logical command as the session unfolds.

Proactive Help Prediction

Beyond recommending the next step, the system aims to identify when a user is "stuck." This is treated as a binary classification problem where an LSTM monitors command sequences and, crucially, the time intervals ($\Delta t$) between actions. Behavioral markers such as abrupt long pauses or repetitive "undo" loops serve as signals for potential frustration.

Experimental Results

The models were evaluated using a proprietary dataset of ~350,000 command sequences from a web-based analytics platform.

Recommendation Accuracy

The TaskRNN achieved a Top-1 accuracy of 0.620 and a Top-5 accuracy of 0.897, significantly outperforming traditional First-order Markov Models (0.443 Top-1). The deployable JTC-RNN maintained a robust 0.575 Top-1 accuracy, validating the effectiveness of real-time task inference.

Proactive Help Performance

The inclusion of temporal features proved vital for identifying struggling users. The LSTM classifier utilizing both command sequences and time intervals achieved an AU-ROC of 0.83, outperforming models that relied solely on command data.

Performance comparison of help prediction models, highlighting the impact of temporal features.

Conclusion and Future Work

This research demonstrates that coupling semantic task awareness with temporal behavioral signals significantly improves the quality of automated assistance in complex software. While currently validated on analytics logs, future work will explore the generalizability of these models to other domains, such as creative software, and aim to unify recommendation and proactive intervention into a single end-to-end framework.

Summary updated

Abstract

Data analytics software applications have become an integral part of the decision-making process of analysts. Users of such a software face challenges due to insufficient product and domain knowledge, and find themselves in need of help. To alleviate this, we propose a task-aware command recommendation system, to guide the user on what commands could be executed next. We rely on topic modeling techniques to incorporate information about user's task into our models. We also present a help prediction model to detect if a user is in need of help, in which case the system proactively provides the aforementioned command recommendations. We leverage the log data of a web-based analytics software to quantify the superior performance of our neural models, in comparison to competitive baselines.
BibTeX
@inproceedings{nambhi2019stuck,
  author = {Aadhavan M. Nambhi and Bhanu Prakash Reddy and Aarsh Prakash Agarwal and Gaurav Verma and Harvineet Singh and Iftikhar Ahamath Burhanuddin},
  title = {{Stuck? No worries!: Task-aware Command Recommendation and Proactive Help for Analysts}},
  booktitle = {UMAP},
  year = {2019},
  url = {https://openreview.net/forum?id=i0EFTXq90bA},
}
Figure