Cross-scale spatially-aware generative modeling for transcriptomic programs underlying neurodegenerative brain organization. Variational framework linking gene expression to cortical degeneration with graph-based spatial smoothness. Activation: spatially-aware generative, transcriptomic neurodegeneration, cross-scale brain modeling, cortical thinning prediction, gene-expression degeneration.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add hiyenwong/ai_collection --skill cross-scale-spatial-generative-neurodegeneration --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Cross Scale Spatial Generative Neurodegeneration?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hiyenwong-cross-scale-spatial-generative-neurodegeneration)More formats (shields.io, HTML) on the badges page.
---
name: cross-scale-spatial-generative-neurodegeneration
description: "Cross-scale spatially-aware generative modeling for transcriptomic programs underlying neurodegenerative brain organization. Variational framework linking gene expression to cortical degeneration with graph-based spatial smoothness. Activation: spatially-aware generative, transcriptomic neurodegeneration, cross-scale brain modeling, cortical thinning prediction, gene-expression degeneration."
license: Complete terms in LICENSE.txt
metadata:
arxiv_id: "2606.05870"
authors: ["Krishnakumar Vaithianathan", "Alzheimer's Disease Neuroimaging Initiative"]
published: "2026-06-04"
tags: ["generative-modeling", "transcriptomics", "neurodegeneration", "spatial-aware", "variational-inference", "cortical-thinning"]
---
## Context
**Paper**: arXiv:2606.05870 - Cross-scale spatially-aware generative modeling of transcriptomic programs underlying neurodegenerative brain organization
**Authors**: Krishnakumar Vaithianathan (for the Alzheimer's Disease Neuroimaging Initiative)
**Key Result**: 86.04% explained variance, r=0.9439 spatial correlation between predicted and observed cortical degeneration profiles (p < 0.001)
**Problem**: Neurodegenerative disorders exhibit organized regional brain vulnerability patterns, but biological mechanisms remain incompletely understood. Existing imaging-transcriptomic studies rely on correlation-based analyses, limiting ability to model how molecular organization gives rise to neurodegeneration.
## Core Methodology
### 1. Data Acquisition
**Regional Transcriptomic Profiles**:
- Source: Allen Human Brain Atlas
- Genes: 910 landmark genes
- Regions: 68 cortical regions
- Processing: Extract gene expression vectors per region
**Neurodegenerative Vulnerability Maps**:
- Source: ADNI FreeSurfer cortical thickness measurements
- Cohorts: NC = 926 (cognitively normal), AD = 426 (Alzheimer's disease)
- Metric: Regional cortical thinning differences (NC vs AD)
### 2. Spatial Graph Construction
```python
# Build cortical adjacency graph
def construct_spatial_graph(regions):
"""
Create graph G = (V, E) where:
- V: 68 cortical regions
- E: Spatial adjacency edges based on anatomical connectivity
Returns:
adjacency_matrix: 68x68 binary adjacency matrix
distance_matrix: 68x68 spatial distance matrix
"""
# Use Desikan-Killiany atlas parcellation
# Adjacency based on physical cortical adjacency
pass
```
### 3. Variational Generative Architecture
**Encoder**: Maps input transcriptomic profiles to latent biological programs
- Input: Gene expression matrix X ∈ R^(68×910)
- Latent space: Z ∈ R^(68×d) where d is latent dimension
- Architecture: Graph neural network with spatial smoothness
**Spatial Smoothness Regularization**:
```
L_smooth = Σ_{(i,j)∈E} ||z_i - z_j||²
```
This enforces nearby cortical regions have similar latent representations.
**Decoder**: Reconstructs neurodegenerative vulnerability from latent programs
- Output: Predicted cortical thinning Y_pred ∈ R^(68×1)
- Loss: MSE + spatial smoothness + KL divergence
### 4. Training Protocol
```python
# Complete training pipeline
def train_generative_model(X_gene, Y_thinning, G_adjacency):
"""
Args:
X_gene: 68×910 gene expression matrix
Y_thinning: 68×1 cortical thinning vector
G_adjacency: 68×68 cortical adjacency
Returns:
model: Trained variational generative model
Z_latent: Learned latent biological programs
"""
# Step 1: Normalize gene expression per region
X_norm = normalize(X_gene, axis=1)
# Step 2: Initialize GNN encoder with spatial constraints
encoder = GraphEncoder(
input_dim=910,
latent_dim=64,
adjacency=G_adjacency,
smoothness_weight=0.1
)
# Step 3: Variational inference
Z_mu, Z_logvar = encoder(X_norm)
Z_latent = sample_latent(Z_mu, Z_logvar)
# Step 4: Decode to vulnerability prediction
decoder = MLPDecoder(latent_dim=64, output_dim=1)
Y_pred = decoder(Z_latent)
# Step 5: Optimize
loss = (
mse_loss(Y_pred, Y_thinning) +
smoothness_loss(Z_latent, G_adjacency) +
kl_divergence(Z_mu, Z_logvar)
)
return model, Z_latent
```
### 5. Validation Metrics
**Primary Metrics**:
- Explained variance: R² = 0.8604
- Spatial correlation: r = 0.9439, p < 0.001
**Interpretability**:
- Latent representations reveal structured transcriptomic organization
- Disease susceptibility clusters in latent space
## Implementation Steps
1. **Data Preparation**:
```bash
# Download Allen Human Brain Atlas gene expression
# Process ADNI FreeSurfer cortical thickness
# Align both datasets to 68-region Desikan-Killiany atlas
```
2. **Spatial Graph Construction**:
```python
# Define cortical adjacency based on atlas topology
# Use white matter connectivity from DTI if available
# Weight edges by spatial distance or connectivity strength
```
3. **Model Architecture**:
```python
# Use PyTorch Geometric for GNN implementation
# Encoder: GraphConv layers with spatial pooling
# Decoder: Fully connected MLP
```
4. **Training**:
```python
# Adam optimizer, lr=0.001
# Batch size: full dataset (68 regions)
# Early stopping on validation correlation
```
5. **Analysis**:
```python
# Extract latent programs for each region
# Cluster regions by latent similarity
# Identify disease-associated gene modules
```
## Pitfalls
- **Atlas Alignment**: Ensure transcriptomic and imaging data use identical parcellation. Desikan-Killiany (68 regions) is standard but verify region labels match.
- **Gene Selection**: 910 landmark genes are pre-selected; using full genome causes overfitting and computational burden.
- **Spatial Weight**: Smoothness regularization (λ=0.1) is critical. Too high → over-smoothing, no regional differentiation. Too low → noisy latent space, poor interpretability.
- **Cohort Imbalance**: NC=926 vs AD=426. Use stratified sampling or weighting to prevent NC dominance.
- **Spatial Correlation Interpretation**: r=0.9439 is strong but reflects regional averaging. Per-subject predictions may have higher variance.
## Verification
```python
# Verify implementation
def verify_model():
# Check 68×910 gene matrix dimensions
# Check 68×1 cortical thinning vector
# Verify adjacency matrix is binary symmetric
# Confirm explained variance > 0.85
# Confirm spatial correlation > 0.90
pass
```
## Activation
- spatially-aware generative
- transcriptomic neurodegeneration
- cross-scale brain modeling
- cortical thinning prediction
- gene-expression degeneration
- variational generative neurobiology
- spatial smoothness regularization
- Allen Human Brain Atlas
- ADNI FreeSurfer analysisIs this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!