OctreeNCA: Single-Pass 184 MP Segmentation on Consumer Hardware

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Lemke, Nick, Kalkhof, John, Babendererde, Niklas, Mukhopadhyay, Anirban
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911100497297408
author Lemke, Nick
Kalkhof, John
Babendererde, Niklas
Mukhopadhyay, Anirban
author_facet Lemke, Nick
Kalkhof, John
Babendererde, Niklas
Mukhopadhyay, Anirban
contents Medical applications demand segmentation of large inputs, like prostate MRIs, pathology slices, or videos of surgery. These inputs should ideally be inferred at once to provide the model with proper spatial or temporal context. When segmenting large inputs, the VRAM consumption of the GPU becomes the bottleneck. Architectures like UNets or Vision Transformers scale very poorly in VRAM consumption, resulting in patch- or frame-wise approaches that compromise global consistency and inference speed. The lightweight Neural Cellular Automaton (NCA) is a bio-inspired model that is by construction size-invariant. However, due to its local-only communication rules, it lacks global knowledge. We propose OctreeNCA by generalizing the neighborhood definition using an octree data structure. Our generalized neighborhood definition enables the efficient traversal of global knowledge. Since deep learning frameworks are mainly developed for large multi-layer networks, their implementation does not fully leverage the advantages of NCAs. We implement an NCA inference function in CUDA that further reduces VRAM demands and increases inference speed. Our OctreeNCA segments high-resolution images and videos quickly while occupying 90% less VRAM than a UNet during evaluation. This allows us to segment 184 Megapixel pathology slices or 1-minute surgical videos at once.
format Preprint
id arxiv_https___arxiv_org_abs_2508_06993
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle OctreeNCA: Single-Pass 184 MP Segmentation on Consumer Hardware
Lemke, Nick
Kalkhof, John
Babendererde, Niklas
Mukhopadhyay, Anirban
Computer Vision and Pattern Recognition
Medical applications demand segmentation of large inputs, like prostate MRIs, pathology slices, or videos of surgery. These inputs should ideally be inferred at once to provide the model with proper spatial or temporal context. When segmenting large inputs, the VRAM consumption of the GPU becomes the bottleneck. Architectures like UNets or Vision Transformers scale very poorly in VRAM consumption, resulting in patch- or frame-wise approaches that compromise global consistency and inference speed. The lightweight Neural Cellular Automaton (NCA) is a bio-inspired model that is by construction size-invariant. However, due to its local-only communication rules, it lacks global knowledge. We propose OctreeNCA by generalizing the neighborhood definition using an octree data structure. Our generalized neighborhood definition enables the efficient traversal of global knowledge. Since deep learning frameworks are mainly developed for large multi-layer networks, their implementation does not fully leverage the advantages of NCAs. We implement an NCA inference function in CUDA that further reduces VRAM demands and increases inference speed. Our OctreeNCA segments high-resolution images and videos quickly while occupying 90% less VRAM than a UNet during evaluation. This allows us to segment 184 Megapixel pathology slices or 1-minute surgical videos at once.
title OctreeNCA: Single-Pass 184 MP Segmentation on Consumer Hardware
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2508.06993