Auxiliary Gene Learning: Spatial Gene Expression Estimation by Auxiliary Gene Selection

Kaito Shiku, Kazuya Nishimura, Shinnosuke Matsuo, Yasuhiro Kojima, Ryoma Bise

TL;DR

This paper introduces Auxiliary Gene Learning (AGL), a framework that improves the estimation of spatial gene expression from pathological images by leveraging the thousands of "low-expression" genes typically discarded during model training. By using a novel bi-level optimization method called DkGSB, the model automatically selects the most informative subset of these auxiliary genes to act as secondary training signals, significantly boosting the prediction accuracy of primary target genes.

What Problem Does This Paper Address?

Spatial transcriptomics (ST) allows researchers to see which genes are active at specific locations within a tissue sample. However, ST data is notoriously noisy; out of the ~20,000 genes measured, most have extremely low counts or "dropout" (zero readings due to technical limitations).

To ensure reliable results, current deep learning models (like ST-Net) typically ignore 99% of these genes, training and evaluating only on a tiny subset of "Highly Variable Genes" (HVGs). This paper argues that this is a missed opportunity. Even if a gene is too noisy to be an evaluation target, its co-expression patterns might still provide valuable "contextual signals" that help a model learn better features. The challenge is that you can’t just use all 20,000 genes—many are pure noise that would degrade performance—and searching for the perfect subset among $2^{20,000}$ combinations is computationally impossible.

Methods

The authors propose a two-part solution:

  1. Auxiliary Gene Learning (AGL): Instead of only predicting the 50 target genes, the model is tasked with predicting a larger set of auxiliary genes. These auxiliary tasks aren't evaluated at the end, but they force the neural network (a ResNet18 backbone) to learn richer biological representations.
  2. DkGSB (Prior Knowledge-Based Differentiable Top-k Gene Selection): To find the right auxiliary genes, the authors use a three-step pipeline:
  3. Ranking: All ~20,000 genes are ranked using an "HVG score" (a variance-based metric), which serves as a proxy for signal quality.
  4. Differentiable Mask: They replace the hard "top-k" selection with a temperature-controlled soft mask. This makes the selection of the cutoff point ($k$) differentiable.
  5. Bi-level Optimization: The model weights ($\theta$) are updated in an inner loop to minimize training loss, while the cutoff parameter ($k$) is updated in an outer loop to minimize the validation loss of the primary genes. This ensures $k$ is tuned specifically to help the target tasks.

Datasets

The study utilizes the Hest-1k dataset, a large-scale public resource for spatial transcriptomics. Specifically, they tested on:

  • Intra-batch settings: Slides from two bowel samples (BOWEL A, BOWEL B) and one ovary sample (OVARY).
  • Inter-batch settings: Four slides from the heart organ (HEART), used to test the model's robustness across different experimental batches.

Key Insights and Ideas

  • The "Discarded" Data is Useful: The most significant insight is that genes previously considered "trash" due to noise actually contain structural information that helps regularize the model.
  • Selection is Better than Inclusion: Simply adding all 20,000 genes as auxiliary tasks (AGL + ALL) improves performance over the baseline, but it is less effective than selecting a specific subset. This confirms that some genes are indeed "distractors."
  • HVG as a Prior: While many Auxiliary Task Learning (ATL) methods try to learn task weights from scratch, this paper shows that using biological prior knowledge (HVG ranking) to constrain the search space makes optimization much more stable for large-scale gene data.
  • Model Agnostic: The AGL framework is "pluggable." It doesn't require a specific architecture and can be added to existing ST prediction models to improve their accuracy.

Key Results

The authors compared AGL+DkGSB against several state-of-the-art auxiliary task learning methods (like Uncertainty weighting and AuxLearn).

  • Superior Accuracy: AGL+DkGSB achieved the highest average Pearson Correlation Coefficient (PCC) of 0.426, outperforming the "Primary Gene Learning" baseline (0.407) and the "AGL + All" approach (0.418).
  • Optimal Cutoff: In the HEART dataset experiments, the bi-level optimizer converged to a $k$ value that retained only about 18% of the candidate auxiliary genes, discarding the remaining 82% as unhelpful or noisy.
  • Robustness: The method remained effective even when the number of primary target genes was varied (from 25 to 100), consistently outperforming the baseline.

Limitations and Future Work

  • Functional Ignorance: The current ranking relies solely on HVG scores (statistical variance). It does not yet incorporate known biological pathways or functional relationships between genes.
  • Spatial Stationarity: The model assumes a gene is either "useful" or "not useful" for the entire slide. In reality, a gene might be highly informative in a tumor region but act as noise in healthy tissue. The authors suggest "spatially adaptive" selection as a future direction.
  • Computational Overhead: While more efficient than a combinatorial search, bi-level optimization still requires more training time and memory than standard single-task learning.

Summary updated

BibTeX
@inproceedings{shiku2026auxiliary,
  author = {Kaito Shiku and Kazuya Nishimura and Shinnosuke Matsuo and Yasuhiro Kojima and Ryoma Bise},
  title = {{Auxiliary Gene Learning: Spatial Gene Expression Estimation by Auxiliary Gene Selection}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i11.37857},
}
Figure