Scanpath Classification with an n-mer Deep Neural Network Architecture

Wolfgang Fuhl, Susanne Zabel and Kay Nieselt

Abstract

n-mer distributions have proven to be predictive features across a range of classification tasks, including text classification, DNA sequence analysis, and scanpath classification in eye-tracking research. However, extracting the full n-mer distribution, which includes all potential n-mers, is computationally and memory intensive. Moreover, not all n-mers contribute equally to predictive performance of a given task. To address these challenges, we propose a deep neural network architecture that jointly learns and weights the most predictive n-mers directly from input sequences. This flexible framework also effectively handles data with positional ambiguities. We evaluated our architecture using datasets from eye-tracking research, applying an automatic area of interest (AOI) computation to transform spatio-temporal data into one-dimensional sequences suitable for our network. To demonstrate broader applicability, we also evaluated our model on DNA sequence classification. Across all tasks, our model performed competitively with, or outperformed, other state-of-the-art approaches.

Venue
ETRA 2025
Volume
Proceedings of the 2025 Symposium on Eye Tracking Research and Applications
DOI
10.1145/3715669.3723134
PDF
https://dl.acm.org/doi/pdf/10.1145/3715669.3723134
Anthology ID
2025.etra-short.29

Cite

@inproceedings{fuhl-etal-2025-scanpath,
    title = {{Scanpath Classification with an n-mer Deep Neural Network Architecture}},
    author = {Wolfgang Fuhl and Susanne Zabel and Kay Nieselt},
    booktitle = {Proceedings of the 2025 Symposium on Eye Tracking Research and Applications},
    isbn = {9798400714870},
    year = {2025},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3715669.3723134},
    url = {https://doi.org/10.1145/3715669.3723134},
    abstract = {n-mer distributions have proven to be predictive features across a range of classification tasks, including text classification, DNA sequence analysis, and scanpath classification in eye-tracking research. However, extracting the full n-mer distribution, which includes all potential n-mers, is computationally and memory intensive. Moreover, not all n-mers contribute equally to predictive performance of a given task. To address these challenges, we propose a deep neural network architecture that jointly learns and weights the most predictive n-mers directly from input sequences. This flexible framework also effectively handles data with positional ambiguities. We evaluated our architecture using datasets from eye-tracking research, applying an automatic area of interest (AOI) computation to transform spatio-temporal data into one-dimensional sequences suitable for our network. To demonstrate broader applicability, we also evaluated our model on DNA sequence classification. Across all tasks, our model performed competitively with, or outperformed, other state-of-the-art approaches.}
}