Skip to content

feat: integrate auxiliary pathway loss and sparsity regularization#4

Merged
BenjaminIsaac0111 merged 2 commits intomainfrom
TidyUpPresetsModels
Feb 26, 2026
Merged

feat: integrate auxiliary pathway loss and sparsity regularization#4
BenjaminIsaac0111 merged 2 commits intomainfrom
TidyUpPresetsModels

Conversation

@BenjaminIsaac0111
Copy link
Owner

@BenjaminIsaac0111 BenjaminIsaac0111 commented Feb 26, 2026

Architecture & Refactoring:

  • Remove deprecated Bowel Cancer download script.
  • Updated Preset Model Configurations.

Documentation & Compliance:

  • Formally document auxiliary loss and training objectives in the IP Statement.
  • Expand model documentation and training guides to reflect bottleneck transitions and latent discovery capabilities.
  • Add Future Directions and Clinical Collaborations to the project README.
  • Resolve markdownlint error in LICENSE by adding a top-level H1 heading.
  • Updates to the contribution guidelines.

Implement key mathematical and architectural improvements to the spatial
transcriptomics pipeline, focusing on pathway-driven interpretability.

Core Changes:
- Add Auxiliary Pathway Loss to ground the model's latent space in biological
  priors using MSigDB pathway membership markers.
- Introduce L1 sparsity regularization (--sparsity-lambda) on reconstruction
  weights to prune redundant pathway-to-gene mappings.
- Implement --log-transform data strategy (log1p) to stabilize MSE against
  high-variance housekeeping gene expression.

Architecture & Refactoring:
- Update dataloader and train/predict scripts to support auxiliary objectives
  and log-transformed targets.
- Refactor visualization modules to improve histology-pathway overlays.
- Remove deprecated Bowel Cancer download script.

Documentation & Compliance:
- Formally document auxiliary loss and training objectives in the IP Statement.
- Expand model documentation and training guides to reflect bottleneck
  transitions and latent discovery capabilities.
- Add Future Directions and Clinical Collaborations to project README.
- Resolve markdownlint error in LICENSE by adding a top-level H1 heading.

Testing:
- Add unit tests for pathway pruning logic and auxiliary loss calculation.
- Strengthen visualization tests to ensure coordinate alignment integrity.
@BenjaminIsaac0111 BenjaminIsaac0111 merged commit c6ba5e0 into main Feb 26, 2026
2 checks passed
@BenjaminIsaac0111 BenjaminIsaac0111 deleted the TidyUpPresetsModels branch February 26, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant