N400 semantic processing classification

Name: n400
Category: language / neurolinguistics
Dataset: Kappenman2021N400 (ErpCore2021_N400)
Objective: Binary classification
Split: Leave-subjects-out

Usage

neuralbench eeg n400
Show config.yaml
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

data:
  study:
    source:
      name: Kappenman2021ErpN400
    split:
      name: SklearnSplit
      split_by: subject
      valid_split_ratio: 0.2
      test_split_ratio: 0.2
      valid_random_state: 33
      test_random_state: 33
  neuro.baseline: [0.0, 0.2]
  target:
    =replace=: true
    name: LabelEncoder
    event_types: Stimulus
    event_field: description
    return_one_hot: true
    aggregation: trigger
  trigger_event_type: Stimulus
  start: 0.0
  duration: 1.0
  summary_columns: [description]
compute_class_weights: true
brain_model_output_size: &brain_model_output_size 2
trainer_config.monitor: val/bal_acc
trainer_config.mode: max
loss:
  name: CrossEntropyLoss
  kwargs:
    label_smoothing: 0.1
metrics: !!python/object/apply:neuralbench.defaults.metrics.get_classification_metric_configs
  - *brain_model_output_size

Description

The N400 classification task involves distinguishing brain responses to semantically congruent vs. incongruent words. The N400 is an ERP component peaking around 400 ms after a word presentation, reflecting semantic processing difficulty. Words that are semantically unexpected in context elicit a larger N400. We use the Kappenman2021N400 dataset [Kappenman2021N400], part of the ERP CORE (Compendium of Open Resources and Experiments), which contains EEG data from 40 subjects reading word pairs that are either semantically related or unrelated.

References

[Kappenman2021N400]

Kappenman, E. S., et al. “ERP CORE: An open resource for human event-related potential research.” NeuroImage 225 (2021): 117465.