Contextual Roles for Genetically Altered but Normal-Looking Tissue

Some tissue that looks perfectly normal under the microscope already carries the same large-scale DNA copy-number changes as the tumor next to it. In prostate, these include gains of the MYC gene and losses of PTEN. Spatially resolved clonal copy number alterations in benign and malignant tissue showed this by profiling more than 120,000 tissue regions with spatial transcriptomics, which measures gene expression at known positions on a tissue slice. Current analyses still label each position once and for all, by histology or by cell type, and then look for markers inside those fixed labels.

Multi-agent reinforcement learning faced a close structural analogue and solved it. Early systems gave each agent a fixed role based on its identity. Later methods let an agent's role depend on its current state and surroundings, and showed that fixed roles fail when conditions change. We propose to carry that lesson, not the reinforcement learning itself, into early cancer biology. We will learn a "role" for every tissue spot from its own expression plus its spatial neighborhood. We will then test whether these contextual roles pick out genetically altered but normal-looking tissue better than static labels do. The test uses a ground truth that is not circular with the input.

Core Claim

A tissue spot's functional role in early transformation is better described as a function of its state and its neighbors than of its nominal type. Concretely, an unsupervised model that routes each spot through shared computation modules, with routing driven by the spot's expression and its neighbors, will separate clone-carrying from clone-free histologically benign spots in held-out patients. It will do so better than histology, static cell-type assignment, cell-autonomous trajectory models, and simple distance-to-tumor. This must hold even after we remove every gene lying in a copy-number-altered chromosome segment from the model's input.

If that holds, the signal is genuinely functional rather than a gene-dosage echo. The genes that define the "altered" role become candidate early markers. If it does not hold, or if a simple neighbor-feature clustering matches it, we will have shown that the role-adaptation machinery is unnecessary for this problem, and we will say so.

Why the multi-agent literature is the right source

Three role-learning methods share one design principle. ROMA maps each agent's observations to a stochastic role embedding. It regularizes that embedding so roles are identifiable from behavior and distinct across agents, using a learned dissimilarity metric. ACORM uses a contrastive loss over clustered agent histories so that parameter sharing does not collapse all agents into the same behavior. That problem is called homogenization. ADMN routes each agent, at each step, through a subset of shared modules chosen from its observation. It adds a mutual-information term linking routing to subsequent transitions so that routing does not collapse. All three report agents switching roles as their state changes, for example damaged units moving from front-line attack to retreat.

We reuse ADMN's routing and ROMA's identifiability idea as the method. ACORM's dependence on a preset number of clusters constrains our design: we want the number of roles to be learned, not fixed. All three were built for online game environments. Their own authors flag offline data as open, and a tissue slice is an offline snapshot. Tissue also offers something these methods lack: external ground truth for what a role means, namely clone membership.

On the biology side, Decipher is the closest existing method. It is a hierarchical generative model that separates normal from derailed trajectories. It found leukemic divergence at the stem-cell stage and documented that scVI, Seurat and Harmony blur disease states into normal ones. But Decipher treats each cell independently, with no neighbors. Preneoplastic stromal cells promote BRCA1-mediated breast tumorigenesis motivates the contextual view. Normal-looking fibroblasts in BRCA1 carriers adopt a pro-proliferative state that pushes neighboring epithelium to divide, raising tumor initiation to 12/12 versus 4/12 in controls. That study nonetheless analyzed cells under static cluster labels. Our proposal differs from both: roles are learned per spot, from context, and scored against clonal genetics.

Research Program

The data are the organ-wide Visium sections from the spatial clonal copy-number study, covering prostate, breast, skin and brain. That study reported 91% agreement between its expression-inferred clones and DNA validation in skin, which bounds the quality of our labels. For each patient we take its reported clone map and label each histologically benign spot as tumor-clone-carrying or not.

Each spot pools roughly 5 to 10 cells at 55 μm, so a "benign" spot could simply contain a few tumor cells. To guard against this, we keep only benign spots whose estimated tumor-cell fraction is low under a standard expression-based deconvolution. We report results across fraction thresholds.

The non-circularity step is central. Copy-number clones were inferred from expression smoothed along chromosomes. We therefore delete from the model's input every gene in any segment altered in any clone of that patient. The model sees only genes whose DNA dosage is unchanged. Any remaining ability to find clone-carrying spots must come from downstream functional change, not from dosage.

The model has one component per stage. For spot $i$, let $x_i$ be the retained-gene expression. Let $n_i$ be an attention-weighted summary of neighbors within a fixed radius. A router outputs a distribution $r_i$ over $M$ shared decoder modules from $(x_i, n_i)$. The mixture of modules reconstructs masked genes of spot $i$. The objective is

$$ \mathcal{L} = \mathcal{L}_{\text{recon}}(x_i) - \lambda \, \hat{I}\big(r_i ; x_{\mathcal{N}(i)}\big) + \beta \, \mathcal{L}_{\text{sparse}}(r_i), $$

where $\hat{I}$ is a variational estimate of mutual information between the route and the neighbors' expression $x_{\mathcal{N}(i)}$. This term is the spatial analogue of ADMN tying routes to next states and of ROMA's identifiability term. $\mathcal{L}_{\text{sparse}}$ encourages few active modules per spot, so the number of distinct roles emerges rather than being fixed. $\lambda$ and $\beta$ are weights.

Training never sees clone labels or histology. Afterward, roles are read out as the route vectors $r_i$, and early-marker candidates are the genes whose module decoders differ most between the roles enriched for clone carriers.

Baselines

The naive reference point is the pathologist's label itself. It calls every benign spot clone-free, which gives chance-level ranking. A second naive reference is distance to the nearest tumor spot. It is dangerous because clones spread along ducts and mere proximity may explain most of the signal. Any learned model must beat it clearly, not merely beat chance.

The static-assignment baseline assigns each spot a fixed cell-type label by deconvolution, or clusters on expression alone. This is the direct counterpart of static role assignment in the multi-agent sense.

The strongest existing method is Decipher, trained on the same retained genes. Its latent coordinates are used as the representation. It is the strongest competitor because it was designed to preserve early divergence and beat scVI, Seurat and Harmony on ordering and divergence clarity. We also run scVI as the widely used integration model.

All methods get the same spots, the same gene deletion, the same patient-held-out splits, and a matched hyperparameter search budget. Scoring is identical for every method: a logistic probe trained on training patients' embeddings and scored by AUROC on held-out patients.

We found no reported result on Lacuna for clone-membership prediction among benign spots, for Decipher or any other method. All baseline numbers will therefore be produced here under this protocol. Beating the field means a held-out-patient AUROC gain over both Decipher and distance-to-tumor whose patient-level bootstrap interval excludes zero.

Three ablations isolate the key ingredient. The first removes $n_i$ from the router, giving a cell-autonomous routing model. The second removes the mutual-information term. The third fixes $M$ roles with hard clustering in the ACORM style instead of letting sparsity choose. The claim is specifically about context, so the first ablation is the one that must hurt.

Why not just…?

Why not just concatenate each spot's expression with its neighbors' average and cluster? This is the real threat. It captures "context matters" with none of the routing machinery, and it may work as well. We run it as a co-equal baseline under the same probe. If it matches the routing model, we will report that the useful transfer from multi-agent learning is the contextual framing, not the architecture, and we will drop the architecture. The routing model has to earn its place through better held-out-patient accuracy or through roles that transfer across organs, trained on prostate and tested on breast, where fixed concatenated features are more likely to break.

Why not just run Decipher or pseudotime on the spots? Decipher's own analysis shows that pseudotime and UMAP-style projections scramble ordering when transitional cells are rare. Decipher fixes this per cell but has no neighbors in its model. The fibroblast-to-epithelium signaling in the BRCA1 study is a case where the cause of a cell's change lies next to it. The cell-autonomous ablation and the Decipher baseline directly test whether neighbors add information.

Why not just use ligand–receptor scoring across fixed clusters? Ligand–receptor scoring measures communication potential between static types. It cannot say that a particular benign epithelial spot has switched function. It also gives no per-spot score to evaluate against clones. We include per-spot ligand–receptor activity toward neighbors as extra features in the concatenation baseline, so any gain it provides is credited to it.

Proposed Experiments

The primary experiment is held-out-patient AUROC for clone carriage among low-tumor-fraction benign spots, with altered-segment genes removed, run in each organ separately. A result counts only if it beats distance-to-tumor. We will also stratify by distance, asking whether spots far from the tumor boundary but still clone-carrying are recovered. That is the clinically meaningful case of a field of altered tissue that nobody would biopsy.

The decisive robustness checks come next. We repeat with a stricter gene deletion that also removes genes within a flanking window of each altered segment. We then repeat with shuffled neighbor positions, which should erase the contextual model's advantage if the advantage is truly spatial. Finally, we train on one organ and test on another.

The biological check asks whether marker genes of clone-enriched roles recur across patients and organs, and whether they concentrate in pathways implicated early. The pan-cancer non-coding driver analysis in Pathway and network analysis of more than 2500 whole cancer genomes points to Wnt and Notch. The niche study points to Wnt activation downstream of MMP3.

As a secondary, non-spatial plausibility check, we apply the same routing model to the BRCA1 single-cell cohort. Context there is the composition of the cell's own sample. We ask whether carrier fibroblasts route to a distinct role without the model seeing genotype.

The project fails cleanly if any of three things happens: the contextual model does not beat distance-to-tumor, it does not beat neighbor-concatenation clustering, or its advantage survives neighbor shuffling. Each outcome would tell us which part of the "roles depend on context" hypothesis is wrong.