Title: Seeking feedback on a resource-constrained MIL + Spatial GNN research project

Hello! We’re high school researchers from the Philippines developing STEGASUS, a PyTorch-based framework combining Multiple-Instance Learning (MIL) and a reliability-gated spatial Graph Neural Network (GNN) for breast cancer lymph-node metastasis classification.

Our dataset contains approximately 7 million pre-extracted, 1,024-dimensional tissue-patch features across 876 slides. However, our local hardware is limited to an NVIDIA RTX 3050 and 512 GB of storage.

We’re still refining the model architecture and haven’t completed training. We’d appreciate feedback on how to make the system computationally feasible, particularly regarding efficient graph construction, memory usage, and training strategies for large, variable-sized tissue bags.

We’re also open to constructive criticism of our proposed architecture or suggestions for simplifying it without losing its research objectives.

Any guidance would be greatly appreciated. Thank you!

From the aicost.tools team, so this is a general compute note: 7M × 1024 fp32 features is about 29 GB, so I’d store them as fp16 per-slide .npy shards, open them with np.memmap and load one slide per step instead of one big tensor. For the graph, a fixed k-NN (k≈8) over patch coordinates, built once per slide and cached to disk, is much cheaper than learning edges, and randomly sampling 2–4k patches per bag during training keeps an RTX 3050 within memory, with full bags only at eval. I’d also get a plain attention-MIL baseline running first, so you can see whether the GNN actually adds AUC before paying for it.