Computing a human-like reaction time metric from stable recurrent vision models

Lore Goetschalckx, Lakshmi Narasimhan Govindarajan, Alekh Karkada Ashok, Aarit Ahuja, David L. Sheinberg, Thomas Serre

TL;DR

This paper introduces a novel metric, $\mathcal{E}_{\text{CRNN}}$, that quantifies the temporal dynamics of recurrent neural networks (RNNs) for visual tasks, allowing for a direct comparison to human reaction times (RTs). By leveraging insights from evidential deep learning, this metric captures how RNNs accumulate evidence, demonstrating a significant alignment with human decision-making across various visual tasks and paving the way for more biologically plausible AI models.

What Problem Does This Paper Address?

The rapid advancement of deep learning models for computer vision has led to impressive performance on many tasks, often matching or exceeding human capabilities. However, a key challenge remains in understanding how these models arrive at their decisions, particularly the temporal aspects of visual processing and decision-making. While current methods often focus on static feature alignment or overall accuracy, they fall short of capturing the dynamic, time-dependent nature of human cognition. This gap makes it difficult to truly "align" AI models with human visual strategies, hindering the development of AI that not only performs well but also reasons and decides in a human-like manner. The authors aim to bridge this gap by developing a method to quantify the temporal computational demands of RNNs and compare them to human reaction times.

Methods

The core of this work is the development of a novel metric, $\mathcal{E}_{\text{CRNN}}$, designed to capture the temporal dynamics of recurrent neural networks (RNNs) trained on visual tasks. This metric is derived from the uncertainty of the model's predictions over time. Specifically, the authors leverage Evidential Deep Learning (EDL), which interprets model outputs not as point estimates but as parameters of a Dirichlet distribution. This allows for a principled way to quantify uncertainty ($\epsilon$) – a higher $\epsilon$ signifies greater uncertainty. The $\mathcal{E}_{\text{CRNN}}$ metric is then defined as the area under the uncertainty curve over the processing time of the RNN. This effectively quantifies the total "computational effort" or time spent in an uncertain state by the model.

The models used are Convolutional Recurrent Neural Networks (cRNNs), specifically the horizontal gated recurrent unit (hGRU), chosen for its biological plausibility and ability to learn stable, expressive solutions through a contractor recurrent back-propagation (C-RBP) training algorithm. This training method is crucial as it allows for stable recurrent dynamics and avoids the memory limitations of traditional BPTT, enabling finer temporal analysis. The evidential loss function is augmented with a Lipschitz Coefficient Penalty (LCP) to ensure stable training.

Datasets

The paper utilizes several datasets for training and evaluating their models and metric:

  • Incremental Grouping Task: Stimuli derived from MS COCO images, with variations in dot placement to create different difficulty levels.
  • Planko Task: A dataset involving predicting where a ball will land based on a series of planks, originally from [53].
  • Maze Task: Mazes adapted from [40], modified for classification.
  • Scene Categorization Task: Images from the SUN database [58], used for natural vs. manmade scene classification.

Human reaction time data from existing studies ([47], [53], [57]) were used for comparison and validation of the $\mathcal{E}_{\text{CRNN}}$ metric.

Key Insights and Ideas

  • Uncertainty as a Temporal Metric: The paper proposes that model uncertainty, when tracked over time, can serve as a proxy for human reaction times. This is a significant departure from static alignment metrics.
  • $\mathcal{E}_{\text{CRNN}}$ Captures Task Difficulty: The metric successfully reflects how stimulus manipulations that increase task difficulty for humans also increase the $\mathcal{E}_{\text{CRNN}}$ value for the model, indicating a shared computational bottleneck.
  • Model-Agnostic Framework: The proposed methodology is designed to be generalizable, allowing for the comparison of different RNN architectures and even other model types, as demonstrated with a ConvLSTM.
  • Biological Plausibility: By using biologically-inspired cRNN architectures and focusing on temporal dynamics, the work moves towards creating AI models that are not only performant but also more aligned with the underlying mechanisms of biological vision.
  • Beyond Euclidean Distance: The study shows that factors beyond simple spatial distance, such as topological complexity and proximity to boundaries, influence the model's temporal dynamics, mirroring human perception.

Key Results

  • The $\mathcal{E}_{\text{CRNN}}$ metric showed significant correlations with human reaction times across four diverse visual tasks: incremental grouping, visual simulation (Planko), maze solving, and scene categorization. For instance, in the incremental grouping task, a positive correlation was found between Euclidean dot distance and $\mathcal{E}_{\text{CRNN}}$ ($b = 1.46, p < .001$), mirroring human behavior.
  • In the Planko task, the model's $\mathcal{E}_{\text{CRNN}}$ values were correlated with human RTs ($r = .31, p < .001$), indicating that stimuli harder for humans were also computationally challenging for the cRNN.
  • For the maze task, $\mathcal{E}_{\text{CRNN}}$ increased with path length ($r = .84, p < .001$), a finding consistent with human maze-solving times.
  • In scene categorization, $\mathcal{E}_{\text{CRNN}}$ was predictive of discriminability, decreasing as scenes became easier to categorize, similar to human RTs.
  • The study demonstrated that the cRNN model dynamically adjusts its computational budget based on stimulus difficulty, spending more time in an uncertain state for harder inputs.

Limitations and Future Work

  • Task Diversity: While the paper tested four tasks, the authors acknowledge that a broader range of tasks, stimulus types, and naturalism would be needed for a more comprehensive validation.
  • Model Comparison: The study focused on a specific cRNN architecture (hGRU) and acknowledged that other models might achieve better alignment. A more extensive comparison of different model architectures is suggested.
  • Beyond Choice Tasks: Extending the framework to tasks not involving explicit choices would require significant revisions to how model uncertainty is defined and measured.
  • Misalignments: The paper highlights an instance where the model's behavior (maze task T-junction analysis) did not perfectly align with human behavior, suggesting this as an avenue for future research to guide model development.
  • Broader Applications: The authors envision their framework being used to generate testable hypotheses for neuroscience, compare models, and potentially contribute to understanding neurobiological disorders.

Summary updated

BibTeX
@inproceedings{goetschalckx2023computing,
  author = {Lore Goetschalckx and Lakshmi Narasimhan Govindarajan and Alekh Karkada Ashok and Aarit Ahuja and David L. Sheinberg and Thomas Serre},
  title = {{Computing a human-like reaction time metric from stable recurrent vision models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=1xPsn2gCOe},
}
Figure