An Exploratory Analysis of the Latent Structure of Process Data via Action Sequence Autoencoder

Xueying Tang, Zhi Wang, Jingchen Liu, Zhiliang Ying · DOI

Abstract

Computer simulations have become a popular tool of assessing complex skills such as problem-solving skills. Log files of computer-based items record the entire human-computer interactive processes for each respondent. The response processes are very diverse, noisy, and of nonstandard formats. Few generic methods have been developed for exploiting the information contained in process data. In this article, we propose a method to extract latent variables from process data. The method utilizes a sequence-to-sequence autoencoder to compress response processes into standard numerical vectors. It does not require prior knowledge of the specific items and human-computers interaction patterns. The proposed method is applied to both simulated and real process data to demonstrate that the resulting latent variables extract useful information from the response processes.

Introduction: Beyond the Final Score

In educational assessment, the traditional focus has been binary: did the student get the right answer? However, as testing moves toward computer simulations, we gain access to "process data"—the granular logs of every click, drag, and keystroke. This data is a goldmine for understanding how a person solves a problem, but its messy, non-standard nature makes it difficult to analyze.

A recent study by Xueying Tang and colleagues introduces a "generic" method using deep learning to map the logic of problem-solving. By employing sequence-to-sequence autoencoders, they transform chaotic action logs into meaningful numerical vectors that reveal the latent structure of human behavior.

The Challenge of Process Data

Analyzing human-computer interaction logs presents three major hurdles:

  1. Non-standard format: Action sequences vary wildly in length; one user may take 5 steps while another takes 50.
  2. Noise: Many actions are redundant or irrelevant to the final goal.
  3. Domain Specificity: Traditional analysis often requires human experts to manually code the significance of every button press for every unique task.

The authors sought an automated way to extract "latent features" without requiring prior knowledge of specific item mechanics.

The Action Sequence Autoencoder

The core of the proposed method is the Action Sequence Autoencoder, a deep learning architecture inspired by Natural Language Processing.

Architecture of the Action Sequence Autoencoder, showing the transformation from raw action sequences to a fixed-length latent representation.

As shown in Figure 6, the model consists of two main components:

  • The Encoder: This component takes a sequence of categorical actions ($s_1, s_2, \dots, s_T$). These are first mapped to continuous embeddings ($x_1, x_2, \dots, x_T$). A Recurrent Neural Network (RNN)—specifically an LSTM or GRU—processes this sequence. The final hidden state serves as the latent representation ($\theta$): a fixed-length vector summarizing the entire process.
  • The Decoder: The decoder attempts to reconstruct the original sequence from the summary vector $ heta$. By training the model to minimize reconstruction error, the latent vector is forced to capture the most essential behavioral information.

Validation via PIAAC PSTRE

The researchers validated their model using data from the PIAAC 2012 PSTRE (Programme for International Assessment of Adult Competencies). This dataset includes logs from over 11,000 respondents tackling 14 "Problem Solving in Technology-Rich Environments" tasks.

Example of a PIAAC PSTRE task interface where users interact with a simulated job search website, generating process data.

Figure 1 illustrates a typical task: a simulated job search website. Users must navigate menus and filters to find specific listings. The autoencoder treats these interactions as a "language" of problem-solving, identifying patterns in how users navigate the interface.

Key Insights and Results

The latent features extracted by the model proved to be highly descriptive:

  • Attentiveness and Engagement: The first principal components of the latent vectors often correlated highly (>0.85) with sequence length, effectively acting as a proxy for user engagement.
  • The Signal in Mistakes: While "correct" paths are often similar, "incorrect" processes are diverse. The model found significant signal in these errors, identifying specific misunderstandings or levels of computer literacy.
  • Predictive Power: Process data from just two items could predict a respondent's literacy score as accurately as the final scores from four items. Furthermore, the model could reconstruct specific behaviors (e.g., "did they use the sort function?") with up to 97% accuracy.
  • Demographic Fingerprints: The autoencoder identified stylistic differences in how different age groups interact with technology—such as younger users preferring "drag and drop" while older users utilized dropdown menus—without being explicitly programmed to look for these traits.

Limitations and Future Directions

Despite its success, the authors note several areas for improvement. Currently, the model ignores the timing between actions; a long pause versus a rapid click can signal very different cognitive states. Additionally, while Principal Component Analysis (PCA) helps interpret the latent vectors, the underlying RNN remains somewhat of a "black box." Future work aims to integrate these temporal dynamics and align these deep learning summaries more closely with traditional psychometric theories.

By treating human problem-solving as a sequence that can be compressed and decoded, this research paves the way for more nuanced, automated, and personalized educational assessments.

Summary updated

BibTeX
@inproceedings{tang2020exploratory,
  author = {Xueying Tang and Zhi Wang and Jingchen Liu and Zhiliang Ying},
  title = {{An Exploratory Analysis of the Latent Structure of Process Data via Action Sequence Autoencoder}},
  booktitle = {British},
  year = {2020},
  doi = {10.1111/bmsp.12203},
}
Figure