Technical PaperApril 2026

AQAL: A Foundation Model Approach to Predicting Neurodiverse Brain Activity

Leeza Care Research & Development Foundation

Abstract

We present AQAL, a computational system that predicts how neurodiverse (autistic) brains process sensory stimuli by combining a proprietary multimodal brain encoding model (177M parameters) with a statistical neurodiverse transform derived from 1,545 resting-state fMRI scans across two large-scale multi-site autism neuroimaging consortia. AQAL maps text, audio, and video inputs onto 20,484 cortical surface vertices and generates both neurotypical and neurodiverse brain activation predictions in real time. Our connectivity analysis identifies 1,002 FDR-corrected significant connections (q < 0.05) between ASD and typically-developing groups across 4,950 tested pairs, with site harmonization and age/sex covariates applied across 100 cortical parcels and 36 clinical sites, with the limbic temporal pole, default mode network, and visual cortex showing the largest effect sizes. We further introduce a sensory profiling module that quantifies divergence across seven canonical brain networks, enabling practical applications in accessibility auditing and personalized accommodation design.

neurodiversityautismbrain encodingfMRIfoundation modelsensory processingcortical mapping

Contents

1.Introduction

Autism spectrum conditions affect approximately 1 in 36 children worldwide (CDC, 2023). Understanding how autistic brains process sensory information differently from neurotypical brains is critical for designing inclusive environments, educational strategies, and clinical interventions. However, functional neuroimaging studies are expensive, slow, and inaccessible to most practitioners and families.

Recent advances in brain encoding models — neural networks trained to predict brain activity from sensory stimuli — offer a new paradigm. State-of-the-art multimodal transformers can now predict cortical surface activity from vision, audition, and language inputs with meaningful accuracy across subjects.

We asked: Can a brain encoding model, combined with population-level connectivity data from autism neuroimaging, predict how a neurodiverse brain would respond to arbitrary stimuli?

AQAL is our answer. Rather than requiring individual brain scans, AQAL uses a proprietary statistical transform trained on a large multi-site fMRI corpus to convert neurotypical brain predictions into neurodiverse variants, making neuroscience-informed predictions accessible through a web API.

1.1 Contributions

  1. A CPU-based statistical transform that converts neurotypical predictions to neurodiverse predictions using connectivity effect sizes from 871 subjects across 20 clinical sites.
  2. A connectivity analysis pipeline identifying 1,002 FDR-corrected significant connections (1,773 uncorrected) between ASD and TD groups across 4,950 tested pairs from 1,545 subjects at 36 sites, with site harmonization and age/sex covariates.
  3. A sensory profiling system that maps brain-level divergence onto seven functional networks (visual, auditory, motor, language, social, default mode, salience).
  4. A publicly accessible platform (API + web interface) enabling real-time neurodiverse brain prediction from text, audio, or video input.

3.Methods

3.1 System Architecture

Stimulus (text / audio / video)
        │
        ▼
┌───────────────────────┐
│   Feature Extraction  │  Proprietary multimodal encoders
└──────────┬────────────┘
           │
           ▼
┌───────────────────────┐
│   AQAL Brain Encoder  │  8-layer transformer, 177M params
│   (NT Prediction)     │  → 20,484 vertices × T timesteps
└──────────┬────────────┘
           │
           ▼
┌───────────────────────┐
│   ND Transform        │  Trained on 871 multi-site subjects
│   (ASD Prediction)    │  Per-vertex scale + shift
└──────────┬────────────┘
           │
           ▼
┌───────────────────────┐
│   Analysis &          │  Divergence metrics, sensory profile,
│   Visualization       │  connectivity mapping, interpretation
└───────────────────────┘

3.2 AQAL Brain Encoder

The AQAL brain encoder is a proprietary multimodal transformer trained to predict cortical surface activity from sensory inputs. The model architecture consists of:

  • Feature extractors: Dedicated encoders for text (6 layers), video (2 layers), and audio (2 layers) built on state-of-the-art foundation models
  • Feature projectors: Per-modality MLPs mapping to a common hidden dimension of 1,152
  • Temporal smoothing: Gaussian kernel (size 9) for hemodynamic response alignment
  • Transformer encoder: 8 layers, 18 heads, head dimension 64, FF dimension 3,072
  • Subject layers: Low-rank output adaptation (bottleneck 2,048) with 0.1 dropout
  • Output space: 20,484 vertices on a standard cortical surface mesh (10,242 per hemisphere)

The model operates at 2 Hz temporal resolution. Modality dropout of 0.3 enables predictions from any subset of input modalities.

3.3 Training Dataset

We trained the neurodiverse transform on a large-scale multi-site autism neuroimaging corpus comprising 871 resting-state fMRI scans:

GroupNSites
ASD40320
TD46820

All scans were preprocessed using a standard fMRI preprocessing pipeline with band-pass filtering (0.01–0.1 Hz) and no global signal regression. We extracted mean timeseries from 100 cortical parcels using a validated cortical parcellation, computed Pearson correlation matrices, and applied Fisher's z-transform for variance stabilization, producing 4,950 unique connectivity features per subject.

3.4 Statistical Group Comparison

For each of the 4,950 unique connectivity pairs, we performed independent-samples t-tests with age and sex as covariates and site effects residualized. After Benjamini-Hochberg FDR correction (q < 0.05), 387 of 4,950 connections (7.8%) survived. For reference, 1,065 (21.5%) were significant uncorrected, and 48 (1.0%) survived Bonferroni correction.

The most affected regions ranked by normalized effect size:

RankRegionNetworkEffect
1Limbic Temporal Pole RLimbic1.000
2Limbic Temporal Pole LLimbic0.857
3Visual 9 LVisual0.551
4Default Mode Temporal 2 RDefault Mode0.549
5Default Mode Temporal 2 LDefault Mode0.527

These findings are consistent with the autism neuroimaging literature, which identifies limbic hyperconnectivity and default mode network alterations as hallmarks of ASD (Hull et al., 2017).

3.5 Neurodiverse Transform

We derive a proprietary per-vertex transform that converts neurotypical predictions to neurodiverse predictions. For each of 20,484 cortical vertices v:

  1. Identify the cortical ROI r(v) to which vertex v belongs.
  2. Compute the normalized effect size er for that ROI from connectivity t-tests.
  3. Compute scale and shift factors using a proprietary mapping function.
  4. Apply: &ycirc;vND = &ycirc;vNT × scalev + shiftv

Of 20,484 vertices, 18,067 (88.3%) are affected by the transform, reflecting the widespread but heterogeneous nature of connectivity differences in autism.

3.6 Sensory Profiling

We map vertex-level divergence between NT and ND predictions onto seven canonical functional brain networks:

NetworkFunctionBrain Areas
VisualProcessing sightPrimary and secondary visual cortex
AuditoryProcessing soundAuditory cortex, belt regions
LanguageSpeech and wordsBroca's and Wernicke's areas
MotorMovement and bodyPrimary motor and somatosensory cortex
SocialUnderstanding othersSuperior temporal regions
Default ModeSelf-reflectionPosterior cingulate, medial prefrontal
SalienceFiltering what mattersInsula, anterior cingulate

Scores are normalized to [0, 1] by dividing by the maximum network divergence, providing an interpretable summary of which processing domains are most differently activated.

3.7 Infrastructure

ComponentTechnology
Brain modelAQAL Encoder (proprietary, PyTorch)
API serverCloud VM (8 cores, 32 GB RAM)
FrontendNext.js on Vercel
InterpretationLLM-powered (GPT)

All inference runs on CPU. No GPU is required.

4.Results

4.1 Connectivity Analysis

Analysis of 1,545 subjects from two consortia (36 clinical sites), with site harmonization and age/sex covariates, revealed 1,002 FDR-corrected significant connections out of 4,950 tested (20.2%, q < 0.05). This represents a 2.6x improvement over the single-consortium baseline (387 FDR from 871 subjects). The limbic system showed the largest effect sizes, consistent with known emotional regulation differences. Default mode network showed bilateral temporal alterations. 73 connections survived Bonferroni correction.

4.2 Child-Specific Analysis (Dual-Consortium Combined)

To test whether connectivity differences exist in younger children, we combined two consortia to produce a dedicated child cohort: 548 subjects under age 12 (221 ASD, 327 TD) across 24 sites. Despite 2.5x more subjects than the Consortium I-only child subset, zero connections survived FDR correction (331 uncorrected at p < 0.05, 0 FDR, 0 Bonferroni).

DatasetNASDTDUncorrectedFDR
All-ages (Consortium I+II)1,5456938521,773 (35.8%)1,002 (20.2%)
All-ages (Consortium I only)8714034681,065 (21.5%)387 (7.8%)
Adolescents 12-18 (I+II)54226228049
Adolescents 12-18 (I only)38317420973
Adults 18+ (I+II)4552102450
Children <12 (I+II)548221327331 (6.7%)1
Children <12 (I only)222106116377 (7.6%)0

This is a significant negative finding. Resting-state functional connectivity differences between ASD and TD children under 12 are too subtle for group-level statistical detection, even with 548 subjects and FDR correction. The uncorrected count actually decreased from 377 to 331 when adding Consortium II, suggesting some of the Consortium I-only signal was noise. This confirms that the all-ages transform (387 FDR connections) is driven primarily by adolescent and adult data, and that early childhood detection will require either task-evoked fMRI, direct model fine-tuning, or non-fMRI modalities such as EEG or behavioral video analysis.

4.3 Network-Level Differences

NetworkDifferenceDirection
LimbicHighestHyperconnectivity
Default ModeHighAltered connectivity
VisualModerate–HighModified processing
SalienceModerateAltered filtering
Dorsal AttentionModerateShifted focus
ControlLow–ModerateMild executive differences
SomatomotorLow–ModerateSubtle motor differences

4.4 Transform Coverage

The neurodiverse transform affects 18,067 of 20,484 cortical vertices (88.3%), with scale factors ranging from 0.85 to 1.15 and shift factors from \u22120.05 to 0.01. The transform is denser in temporal and limbic regions and sparser in primary motor cortex, matching the known neuroanatomy of autism.

4.5 Real-Time Performance

OperationLatency
Text → events (TTS + ASR)~3–5s
AQAL encoder inference (10 timesteps)~8–15s
ND transform application< 100ms
Surface rendering (4 views × 10 steps)~5–8s
Total end-to-end~20–30s

5.Applications

5.1 Sensory Accessibility Auditing

AQAL can process video of physical spaces (classrooms, offices, retail environments) and generate second-by-second sensory stress predictions for neurodiverse individuals, including flagged high-stress moments and actionable accessibility recommendations.

5.2 Educational Accommodation Design

By profiling how specific educational content differently activates neurodiverse brain networks, AQAL can inform content pacing, optimal break timing, and modality-specific accommodations.

5.3 Clinical Communication

The sensory profile output provides a quantitative, brain-data-grounded framework for communicating how a neurodiverse individual might experience specific stimuli — replacing subjective descriptions with measurable network-level predictions.

6.Limitations & Critique

We present an honest assessment of the structural weaknesses in AQAL v0.1. These are not caveats — they are the core problems that must be solved before AQAL can move beyond an accessibility heuristic toward clinical utility.

6.1 The Transform is Statistics, Not Learning

AQAL multiplies a neurotypical prediction by a fixed map derived from t-tests. This is a linear approximation that discards covariance structure between brain regions. A properly fine-tuned conditional encoder would learn the neurodiverse manifold directly from task fMRI, rather than patching a neurotypical prediction after the fact. GPU fine-tuning was not feasible due to compute constraints, but it is the single most important improvement needed.

6.2 Resting-State to Task-Evoked Leap

The transform extracts connectivity differences from resting-state fMRI (brains doing nothing) and applies them to task-evoked predictions (brains actively processing stimuli). This assumes that resting wiring differences map perfectly to how the brain processes real-time input — a major, imperfect assumption. While resting-state connectivity correlates with task-evoked patterns in the literature, the relationship is not one-to-one, and the degree of error this introduces is unquantified.

6.3 The “Average” Neurodiverse Brain

Autism is inherently heterogeneous. AQAL produces a single, generalized neurodiverse prediction by shifting a neurotypical baseline — this risks stereotyping neurodivergent processing. The same transform is applied to 88.3% of cortical vertices regardless of the individual. A 5-minute individual calibration module is planned but not yet validated.

6.4 Statistical Rigor

The v0.1 release reported 820 uncorrected connections. After implementing FDR correction, site harmonization, age/sex covariates, and expanding to two consortia (1,545 subjects across 36 sites) in v0.3, we identify 1,002 FDR-corrected connections (q < 0.05) — 1,773 uncorrected, 73 Bonferroni. This is a 2.6x improvement over the single-consortium baseline. The core findings in limbic and default mode networks persist and strengthen. Bootstrap confidence intervals (200 iterations) yield a mean 95% CI width of 0.059 across 20,484 vertices. We publish both corrected and uncorrected maps for transparency.

6.5 No Behavioral Ground Truth

There is no validation that predicted ND divergence correlates with actual sensory overload, eye-tracking data, or caregiver report. Without behavioral validation, AQAL is a visualization engine, not a clinical tool. Prospective studies comparing predictions against physiological markers (pupil dilation, galvanic skin response, heart rate variability) are a prerequisite for any clinical claims.

6.6 Dataset Limitations

The training corpus is heterogeneous (20 sites, varying protocols, 86.6% male). Age ranges are mixed without stratification. Results may not generalize to females, young children, or underrepresented populations. Site harmonization and age-stratified transforms are in development.

7.Roadmap

Based on expert review, we divide the improvement plan into two tracks: what can be done on CPU (statistical and validation work) and what requires GPU compute (model retraining).

7.1 Without GPU — Fix the Science

  1. FDR-corrected connectivity map. Re-run all 4,950 tests with Benjamini-Hochberg correction, site as random effect, age and sex as covariates. Publish both corrected and uncorrected maps.
  2. Age stratification. Split the 871 subjects into developmental bands (child, adolescent, adult) and compute separate transforms per band. No retraining — just regrouping the per-vertex factors.
  3. Uncertainty quantification. Bootstrap the transform (200+ iterations) to produce 95% credible intervals for each of 20,484 vertices. Propagate uncertainty to the seven network scores so the UI can display confidence ranges.
  4. 5-minute individual calibration. Design a standardized stimulus set, collect brief behavioral or low-cost EEG responses, and fit a per-person scaling vector with ordinary least squares.
  5. Behavioral validation. Run prospective studies: child watches a classroom video, AQAL predicts high visual-network divergence, measure pupil dilation, gaze aversion, and caregiver stress rating. Report sensitivity, specificity, and calibration curves.
  6. Site harmonization. Standardize preprocessing choices, document protocol differences, release a clean metadata table to reduce noise before any GPU work.
  7. Clinical guardrails. Define referral language, risk-flag thresholds, and ethics documentation. Specify what “increased visual and salience divergence” triggers in a pediatric workflow — and what it does not.

7.2 With GPU — Learn the Neurodiverse Brain

  1. Conditional encoder fine-tuning. Replace the statistical patch with GPU-accelerated fine-tuning of the 177M-parameter transformer directly on autistic task fMRI, using low-rank adapters per subgroup. Learn the ND manifold instead of multiplying by a fixed map.
  2. Developmental models. Train separate encoders for infants and toddlers using prospective datasets. Early detection lives in the first 18 months — adult resting-state maps cannot be extrapolated to babies.
  3. Inverse pipeline for screening. Train a brain-to-behavior model: take home video or eye-tracking, predict likelihood of atypical sensory processing using AQAL predictions as a generative prior. A mismatch score across seven networks becomes a risk flag, not a diagnosis.
  4. Multi-condition expansion. Joint training for ADHD, sensory processing disorder, and anxiety, plus EEG fusion for portable monitoring.
  5. End-to-end uncertainty. Use ensembles or Bayesian neural nets so credible intervals come from the model itself, not post-hoc bootstrapping.

7.3 Toward Early Detection

AQAL does not currently detect autism — it predicts brain activity given a stimulus. Early detection requires the inverse problem: observe naturalistic behavior, infer likely neural processing differences, and flag risk for follow-up. This requires three prerequisites:

  1. Train on infants and toddlers. The largest effects in AQAL are limbic and DMN, but early autism markers involve visual attention and social orienting in the first 18 months.
  2. Flip the pipeline. Instead of stimulus → brain, build brain → behavior. Compare predicted sensory profiles to real home videos or eye-tracking.
  3. Clinical pathway integration. Any risk flag must trigger a structured referral, not a label. Output example: “increased visual and salience divergence relative to age norms, consider M-CHAT follow-up.” Models do not replace clinical assessment.

7.4 Toward Clinical Diagnostic Rigidity (SaMD)

To transition from a heuristic tool to a regulated Software as a Medical Device, AQAL would need:

  • ISO 13485 Quality Management System with auditable version control
  • Prospective clinical trials comparing predictions against ADOS-2 and ADI-R gold standards
  • Physiological validation against real-time markers (HRV, GSR, cortisol)
  • FDA De Novo classification pathway with strict Intended Use statement
  • Predetermined Change Control Plan (PCCP) for safe algorithm updates
  • Proof of clinical utility: clinician + AQAL outperforms clinician alone

8.Conclusion

AQAL is a promising accessibility design tool today. It demonstrates that combining a multimodal brain encoding model with population-level autism connectivity data can produce neuroscience-informed predictions from arbitrary stimuli — without individual brain scans or GPU infrastructure.

However, the current system is a prototype, not a clinical instrument. The statistical transform is an approximation that discards individual variation, the connectivity map requires FDR correction, and no behavioral validation exists. These are not minor caveats — they are the core problems to solve.

The path forward is clear: fix the statistics on CPU first (FDR correction, age stratification, behavioral validation), then invest GPU budget to replace the statistical patch with a learned conditional encoder. Only then can AQAL responsibly explore early detection as a screening aid within standard clinical workflows.

By publishing both the platform and an honest account of its limitations, we aim to accelerate computational neurodiversity research while setting realistic expectations about what the system can and cannot do.

References

CDC. (2023). Autism Spectrum Disorder: Data & Statistics. Centers for Disease Control and Prevention.

de Heer, W. A., Huth, A. G., Griffiths, T. L., Gallant, J. L., & Theunissen, F. E. (2017). The hierarchical cortical organization of human speech processing. Journal of Neuroscience, 37(27), 6539–6557.

Holiga, S., et al. (2019). Patients with autism spectrum disorders display reproducible functional connectivity alterations. Science Translational Medicine, 11(481).

Hull, J. V., et al. (2017). Resting-state functional connectivity in autism spectrum disorders: A review. Frontiers in Psychiatry, 7, 205.

Huth, A. G., de Heer, W. A., Griffiths, T. L., Theunissen, F. E., & Gallant, J. L. (2016). Natural speech reveals the semantic maps that tile human cerebral cortex. Nature, 532(7600), 453–458.

Ortega Caro, J., et al. (2023). BrainLM: A Foundation Model for Brain Activity Recordings. arXiv preprint arXiv:2311.00656.

Thomas, A. W., et al. (2023). Self-supervised learning of brain dynamics from broad neuroimaging data. Advances in Neural Information Processing Systems, 36.

Appendix A: Model Parameters

ParameterValue
Total parameters177M
Hidden dimension1,152
Transformer layers8
Attention heads18
Head dimension64
Feedforward dimension3,072
Output vertices20,484
Temporal resolution2 Hz
Low-rank bottleneck2,048
Modality dropout0.3
Subject dropout0.1

Appendix B: Training Corpus Demographics

MetricASDTD
N403468
Mean age16.9 ± 7.816.6 ± 7.0
Male (%)86.684.2
Sites2020

Appendix C: System Availability

ResourceURL
Landing pagemind.new
NeuroBrainneuro.mind.new
Sensory Auditsensory.mind.new