Deep Learning Human Mind for Automated Visual Classification

Concetto Spampinato, Simone Palazzo, Isaak Kavasidis, Daniela Giordano, Nasim Souly, Mubarak Shah

Abstract: What if we could effectively read the mind and transfer human visual capabilities to computer vision methods? In this paper, we aim at addressing this question by developing the first visual object classifier driven by human brain signals. In particular, we employ EEG data evoked by visual object stimuli combined with Recurrent Neural Networks (RNN) to learn a discriminative brain activity manifold of visual categories in a "reading the mind" effort. Afterward, we transfer the learned capabilities to machines by training a Convolutional Neural Network (CNN)-based regressor to project images onto the learned manifold, thus allowing machines to employ human brain-based features for automated visual classification. We use a 128-channel EEG with active electrodes to record brain activity of several subjects while looking at images of 40 ImageNet object classes. The proposed RNN-based approach for discriminating object classes using brain signals reaches an average accuracy of about 83%, which greatly outperforms existing methods attempting to learn EEG visual object representations. As for automated object categorization, our human brain-driven approach obtains competitive performance, comparable to those achieved by powerful CNN models and it is also able to generalize over different visual datasets.

Introduction

While Convolutional Neural Networks (CNNs) have revolutionized computer vision, they still lack the robust generalization of the human visual system. CNNs often learn discriminative features tied strictly to their training data—such as specific textures or colors—rather than the broader conceptual principles humans use to identify objects. This research proposes a "reverse engineering" of the human visual system to build more robust machine learning models.

Methodology

The researchers proposed a two-stage "human-in-the-loop" deep learning framework designed to bridge the gap between biological and artificial vision.

The proposed two-stage framework: learning an EEG manifold from brain signals and regressing image features onto that manifold.

1. Reading the Mind (EEG Manifold Learning)

Subjects were shown images from 40 different object classes (e.g., dog, airplane, pizza) while wearing a 128-channel EEG cap. The team used LSTMs (Long Short-Term Memory networks) to process these temporal brain signals. The goal was to learn a "brain activity manifold"—a compressed, discriminative latent space where different object categories are separated based on human neural processing patterns.

2. Transferring Capabilities (CNN Regression)

To apply these findings to automated systems without requiring real-time EEG, the second stage involves training a CNN-based regressor. This model takes a raw image as input and learns to predict the corresponding "EEG feature vector" that a human brain would have produced. By projecting new images into this "human brain space," the system can classify them using the classifier trained in Stage 1.

Different RNN architectures explored for EEG feature representation: (a) stacked LSTMs, (b) parallel LSTMs, and (c) LSTM followed by an output layer.

Key Insights

  • Temporal Dynamics: Unlike previous studies using static Support Vector Machines (SVMs), this paper demonstrates that the timing of brain activity is crucial. Using RNNs to capture the sequence of neural firing significantly boosted accuracy.
  • Conception vs. Perception: The study found that the best classification performance came from brain signals recorded between 320–480ms after stimulus. This suggests that higher-level cognitive processing ("conception") is more useful for automated classification than the initial sensory "perception" (the first 50–120ms).
  • The Brain Manifold as a Regularizer: By forcing a CNN to map images to brain-derived features, the model learns a feature space that is inherently more robust and less prone to the overfitting common in standard CNNs.

Results

  • EEG Decoding: The RNN-based approach reached an average accuracy of 82.9% in discriminating between 40 object classes based solely on brain signals—a massive leap over previous state-of-the-art methods which hovered around 29% for only 12 classes.
  • Automated Classification: The full pipeline (Image -> CNN -> Predicted EEG -> Class) achieved 89.7% accuracy on the test set.
  • Generalization: When tested on a 30-class subset of Caltech-101, the brain-driven features achieved 89.7%, outperforming a standard VGG network (80.0%) and performing comparably to GoogleNet (92.6%), despite being trained on a much smaller dataset.

Conclusion

This work represents a significant step toward integrating human cognitive insights into machine learning. While limited by a small subject pool (6 individuals) and the inherent noise of EEG signals, the results suggest that decoding the human brain's conceptual manifold can provide a powerful blueprint for more robust and generalizable computer vision architectures.

Summary updated

BibTeX
@inproceedings{spampinato2017deep,
  author = {Concetto Spampinato and Simone Palazzo and Isaak Kavasidis and Daniela Giordano and Nasim Souly and Mubarak Shah},
  title = {{Deep Learning Human Mind for Automated Visual Classification}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  url = {https://openreview.net/forum?id=Hy41qkz_WB},
}
Figure