arXiv:2610.27668cs.AIOct 2026

Manuscript Offprint

arXiv:2610.27668

Inferring continuous cognitive traits from limited neuroimaging data using pairwise convolutional neural networks

Marjan Rashidi, Robert Bain, Craig Stark, Jeffrey Krichmar, Mary Hegarty, Elizabeth Chrastil

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Title:

Inferring continuous cognitive traits from limited neuroimaging data using pairwise convolutional neural networks

Authors and Affiliations:

Marjan Rashidi 1^{1}, Robert Bain 2^{2}, Craig Stark 2^{2}, Jeffrey Krichmar 1^{1}, Mary Hegarty 3^{3}, Elizabeth R. Chrastil 1,2,∗^{1,2,*}

  1. Department of Cognitive Sciences, University of California, Irvine

  2. Department of Neurobiology & Behavior, University of California, Irvine

  3. Department of Psychological & Brain Sciences, University of California, Santa Barbara

  • To whom correspondence should be addressed

Author Note

id

Elizabeth R. Chrastil https://orcid.org/0000-0003-2544-0152

Abstract

Individual differences in cognitive abilities vary widely, yet the structural brain features supporting these differences remain poorly understood. Traditional brain-behavior analyses rely on predefined metrics such as volume or cortical thickness and typically assume linear relationships with behavior, limiting sensitivity in small datasets. Here, we introduce a pairwise convolutional ranking framework that learns directly from whole-brain T1-weighted MRI by making comparative rather than absolute predictions, which performs well even with small samples (N=108). We tested this method with four small-scale spatial abilities tasks. Regression analysis predicted performance with high accuracy across all tasks, achieving greater predictive power over standard regression and pointwise deep learning baselines. Iterative cortical-region removal (backward elimination) revealed brain regions supporting individual performance common to all four tasks, as well as task-specific regions. These results demonstrate that pairwise learning extracts meaningful behavioral information from structural MRI, providing prediction and interpretable insight into the neuroanatomy of individual differences.

Introduction

The relationship between individual structural variation in the human brain and behavioral performance differences remains a central challenge in cognitive neuroscience. Despite decades of work relating brain structural features to behavior, brain-behavior associations are often modest, difficult to replicate, and sensitive to modeling assumptions, particularly in small samples [1]. Conventional structural MRI analyses typically relate cortical thickness, surface area, or regional volume to behavioral scores using linear models or region-wise correlations [2], [3], [4], [5], [6], [7], [8], [9], [10], [11]. While informative, these approaches generally explain modest variance [1], are sensitive to interregional collinearity, and assume that structure–behavior relationships are globally linear. Such constraints may obscure the distributed, network-level substrates supporting individual differences in cognition.

Deep learning models have improved behavioral prediction in large MRI datasets [12], [13], [14], yet these approaches often require thousands of subjects, treat the brain as a single 3D voxel tensor, and can be difficult to interpret neuroanatomically. There remains a need for predictive frameworks that are more data-efficient and capable of identifying anatomically meaningful contributors to behavior. We address this need using a ranking-based convolutional neural network (CNN) framework that reframes behavioral prediction as a pairwise comparison problem. Traditional models regress absolute scores, for example, a person got 72% of trials correct. In contrast to that approach, here the model learns to rank individuals, for example whether person 2 scored higher than person 1, thus increasing the number of effective training constraints and improving robustness in small datasets.

Here, we apply this pairwise CNN framework to predict visuospatial abilities from T1-weighted MRI in a sample of N=108 individuals. Instead of regressing behavioral scores directly from absolute performance, the model learns the relative rankings of participant performance [15]. We can then derive the predicted absolute score on a continuous scale using maximum entropy methods. This formulation increases the number of usable training signals, reduces sensitivity to score noise, and supports robust prediction in small datasets. To localize anatomical drivers of performance, we pair this approach with an iterative backward-elimination procedure that quantifies the impact of removing each cortical ROI while keeping feature representations fixed.

We used this approach to test four small-scale spatial abilities tasks— including object manipulation tasks (mental rotation, paper folding), and perspective taking tasks (viewpoint transformation, road map)— which are central to navigation, STEM achievement, and everyday functioning [16], [17]. Spatial abilities vary widely across individuals and depend on distributed neural systems spanning parietal, occipital, and frontal cortices [18], [19], [20]. A longstanding challenge in cognitive neuroscience is determining whether and how structural differences across the cortex predict meaningful variation in these visuospatial skills. Critically, prior neuroimaging work on these tasks has been dominated by functional imaging studies of regional activation, while structural brain correlates of individual differences in performance remain comparatively understudied.

We chose these four tasks expecting that some overlapping brain regions would emerge because of the common core of spatial abilities, while task-specific regions could pull apart object manipulation from perspective taking. Mental rotation (MRT) and paper folding (PFT) share highly similar object-based transformation demands and are typically strongly correlated in behavioral studies [21]. Viewpoint transformation (iVTT) is more distinct because it is implemented in an immersive VR environment that allows participants to use vestibular and proprioceptive cues in addition to visual imagery. The road map task (RMT) falls between these extremes; it primarily involves perspective-taking processes but also shares some overlap with object-based transformation mechanisms. Together, this range of tasks spans closely related and more differentiated spatial processes, providing a useful test case for distributed brain–behavior mapping.

Using multiple validated spatial measures, we show that this framework achieves substantially higher discriminability than classical regression and standard deep learning baselines. ROI-level backward elimination reveals a distributed set of predictive regions — including superior parietal lobule, precuneus, and precentral — consistent with established models of mental transformation, visuospatial attention, and object manipulation. Together, these findings provide a data-driven account of the structural substrates supporting individual differences in spatial ability and demonstrate how ranking-based predictive modeling can yield stable, anatomically interpretable insights in cognitive neuroscience.

References (49)