arXiv:2610.03410q-bio.NCOct 2026

Manuscript Offprint

arXiv:2610.03410

Contrastive Neural Embeddings Reveal Individual Traits Beyond Conversational Role

Hubert Huang, Michelle McCleod, Brendan Ames, Evie Malaia

Abstract

Contrastive representation learning is increasingly used to recover low-dimensional structure from neural recordings, but its output is typically validated by decoding accuracy rather than by the geometry of the manifold it produces. We apply CEBRA to EEG recorded from dyads in conversation, and analyze the resulting embedding, which training constrains to the 2D sphere. Labels describing the dyads, including the absolute difference between partners' autism-quotient scores, decode well above chance (0.77 against a 0.55 majority baseline for binary AQ magnitude; 0.44 against 0.25 for the six-class ∣ΔAQ∣|\Delta AQ| partition). However, the two permutation controls have notable differences in results: permuting labels over a frozen embedding yields p=0.001p = 0.001, whereas retraining the encoder under each permutation yields p=0.50p = 0.50. Only the latter tests the label rather than the geometry. Consistent with this, spherical mixture structure and per-class dispersion track identity rather than autism trait differences in dyads; frequency-band and non-oscillatory activity ablation controls do not change the results. However, participant-level model does separate from its identity-aware null ( p=0.0099p = 0.0099) while speaker-versus-listener role analysis performs at chance in the same embedding, indicating a manifold organized by individual — and, in contrast with current neurolinguistics models, almost invariant to speaking vs. listening. Based on these results, we suggest that retraining-based nulls should be the default for grouped-data contrastive embeddings.

Keywords: contrastive learning, representational geometry, CEBRA, EEG, dyadic interaction, permutation controls, autism-spectrum quotient

1. Introduction

Contrastive methods such as CEBRA (Schneider et al., 2023) learn from high-dimensional time series by projecting task-relevant features into a low-dimensional latent space. Here we analyse CEBRA-embedded dyadic EEG in terms of the geometry and grouping structure of the resulting manifold, in order to separate the contributions of neurotype, activity (speaking vs. listening), and neurotype similarity between partners. Because the objective uses cosine similarity, the embedding is constrained to S2S^{2}, and every question we ask is a question about angular structure on a sphere.

Recent behavioural work on double empathy argues that communication difficulty between autistic and non-autistic people reflects a mismatch between interlocutors rather than

© 2026 H. Huang, M. McCleod, B. Ames & E.A. Malaia.

a deficit in either one (Crompton et al., 2025). Neural data from social interaction is a natural test bed: the unit of analysis is the dyad, and the relevant labels (i.e. the difference in AQ-10 scores between partners) are properties of the interacting pair rather than of either brain (Crompton et al., 2025). Hyperscanning designs carry known inferential problems (Hamilton, 2021); we identify one specific to representation learning.

A label that is constant within a dyad is a proxy for dyad identity. An encoder that learns which dyad a segment came from will decode that label above chance without having represented anything about the labelled trait; deep models readily recover stable individual and group attributes from brain data (Ryali et al., 2024; Ford et al., 2021). Distinguishing the two requires asking whether comparable geometry arises under arbitrary regroupings. We show that it does not. We then show that a participant-level AQ label, which is not nested inside the recording group in the same way, does survive an identity-aware control, and that the geometry it induces is close to invariant under the speaker/listener exchange.