Skip to main content
. 2025 Oct 2;25(19):6086. doi: 10.3390/s25196086
Algorithm 2 Multimodal deception detection experiment pipeline.
  •   1:

    Input: DOLOS dataset with audiovisual clips and labels

  •   2:

    Output: Model performance metrics

  •   3:

    Load video and audio samples from DOLOS

  •   4:

    for each sample in dataset do

  •   5:

        Extract video frames and audio waveform

  •   6:

        Generate transcript via speech-to-text model

  •   7:

    end for

  •   8:

    Split dataset into training, validation, and test sets

  •   9:

    Train ViViT model:

  •   10:

       Preprocess video frames

  •   11:

       Train transformer on frame sequences

  •   12:

       Evaluate on validation set

  •   13:

    Train HuBERT model:

  •   14:

       Extract speech embeddings

  •   15:

       Train classifier on HuBERT features

  •   16:

       Evaluate on validation set

  •   17:

    Run GPT-5 prompt-level fusion (zero-shot):

  •   18:

    for each test sample do

  •   19:

        Create Chain-of-Thought prompt using transcript and visual cues

  •   20:

        Generate textual reasoning and decision

  •   21:

    end for

  •   22:

    Fusion:

  •   23:

       Combine ViViT and HuBERT predictions (late fusion)

  •   24:

       Evaluate fused model accuracy

  •   25:

    return accuracy and interpretability analysis