Papers › Dynamic Routing Between Capsules

Dynamic Routing Between Capsules

26 Oct 2017NeurIPS 2017 12arXiv:1710.09829archive 2025-07-28

Sara Sabour, Nicholas Frosst, Geoffrey E. Hinton

A capsule is a group of neurons whose activity vector represents the instantiation parameters of a specific type of entity such as an object or an object part. We use the length of the activity vector to represent the probability that the entity exists and its orientation to represent the instantiation parameters. Active capsules at one level make predictions, via transformation matrices, for the instantiation parameters of higher-level capsules. When multiple predictions agree, a higher level capsule becomes active. We show that a discrimininatively trained, multi-layer capsule system achieves state-of-the-art performance on MNIST and is considerably better than a convolutional net at recognizing highly overlapping digits. To achieve these results we use an iterative routing-by-agreement mechanism: A lower-level capsule prefers to send its output to higher level capsules whose activity vectors have a big scalar product with the prediction coming from the lower-level capsule.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 118 code samples harvested from 36 repositories linked to this paper: 75 ran (of which 0 constructed an object rather than computing a result; 58 with no instrument failure: 0 honoured, 0 violated, 58 with no contract checked; 17 where Syntology's instrument failed) · 43 unverified. Where Syntology's instrument failed: 15 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 2 samples from 1 repository, 1 ran (1 with no instrument failure; 0 where Syntology's instrument failed); community (archive-listed): 116 samples from 35 repositories, 74 ran (57 with no instrument failure; 17 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

No sample is linked to this paper from 2 of its repositories that Syntology harvested for other papers:

Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

77 repositories listed; official and paper-mentioned ones first.

Sarasra/models officialtfApache-2.0Syntology: 2 samples, 1 ran (0 instrument-failed) · 1 unverified report
44825762/MyCapsNet mentioned on GitHubpytorchSyntology: not harvested report
Cheng-Lin-Li/SegCaps mentioned on GitHubtfSyntology: 2 samples, 2 ran (2 instrument-failed) · 0 unverified report
Colonel-Hathi/CapsNet-Treemap-Perception-Trafficsign mentioned on GitHubtfApache-2.0Syntology: 6 samples, 1 ran (0 instrument-failed) · 5 unverified report
DanielLongo/CapsGAN mentioned on GitHubpytorchSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
DanielLongo/CapsNet-PyTorch mentioned on GitHubpytorchSyntology: 3 samples, 1 ran (1 instrument-failed) · 2 unverified report
Egesabanci/capsuleNetworks mentioned on GitHubtfMITSyntology: 3 samples, 2 ran (0 instrument-failed) · 1 unverified report
EscVM/Efficient-CapsNet mentioned on GitHubtfSyntology: not harvested report
Ian-Liao/SegCaps mentioned on GitHubtfSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
JSerowik/Masters_Thesis mentioned on GitHubSyntology: not harvested report
JeremyCCHsu/CapsNet-tf mentioned on GitHubtfMITSyntology: 6 samples, 6 ran (0 instrument-failed) · 0 unverified report
JunYeopLee/capsule-networks mentioned on GitHubtfApache-2.0Syntology: 2 samples, 1 ran (0 instrument-failed) · 1 unverified report
Oushesh/CapsClassifigner mentioned on GitHubtfApache-2.0Syntology: 1 sample, 1 ran (0 instrument-failed) · 0 unverified report
OwenLeng/pytorch-capsule mentioned on GitHubpytorchSyntology: not harvested report
Reatris/Capsule_Net mentioned on GitHubpaddleApache-2.0Syntology: 1 sample, 1 ran (0 instrument-failed) · 0 unverified report
Riroaki/CapsNet mentioned on GitHubpytorchSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
Soonhwan-Kwon/capsnet.mxnet mentioned on GitHubmxnetSyntology: 1 sample, 0 ran · 1 unverified report
Suraj-Panwar/Capsule_Network_based_Deep_Q_learning mentioned on GitHubtfSyntology: not harvested report
Ugenteraan/CapsNet-MNIST-TF mentioned on GitHubtfSyntology: not harvested report
Ugenteraan/CapsNet-PyTorch mentioned on GitHubpytorchSyntology: not harvested report
Utkarsh87/Capsule-Networks mentioned on GitHubpytorchMITSyntology: 2 samples, 1 ran (0 instrument-failed) · 1 unverified report
XifengGuo/CapsNet-Keras mentioned on GitHubtfMITSyntology: 5 samples, 1 ran (0 instrument-failed) · 4 unverified report
YushiChen/Conv-Caps-HSI-Classification mentioned on GitHubtfSyntology: not harvested report
adambielski/capsnet-pytorch mentioned on GitHubpytorchSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
akanimax/capsule-network-TensorFlow mentioned on GitHubtfMITSyntology: not harvested report
ameliajimenez/capsule-networks-medical-data-challenges mentioned on GitHubtfMITSyntology: 21 samples, 14 ran (0 instrument-failed) · 7 unverified report
anastasios-stamoulis/deep-learning-with-csharp-and-cntk mentioned on GitHubMITSyntology: 7 samples, 4 ran (0 instrument-failed) · 3 unverified report
arsenzaryan/CapsNet mentioned on GitHubtfSyntology: not harvested report
bdsaglam/CapsNet mentioned on GitHubpytorchSyntology: not harvested report
bhneo/Capsnet-Experiments mentioned on GitHubtfSyntology: not harvested report
chucooleg/capsnet_for_ner mentioned on GitHubtfSyntology: not harvested report
danielhavir/capsule-network mentioned on GitHubpytorchSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
dolaram/Capsule-Network-for-MNIST-classification mentioned on GitHubtfSyntology: not harvested report
dolaram/Deep-Reinforcement-Learning-using-Capsule-Network mentioned on GitHubtfSyntology: not harvested report
dragen1860/CapsNet-Pytorch mentioned on GitHubpytorchSyntology: not harvested report
dshelukh/CapsuleLearner mentioned on GitHubtfSyntology: not harvested report
dudyu/capsnet mentioned on GitHubpytorchSyntology: not harvested report
ecstayalive/Degenerate-capsule-neural-network mentioned on GitHubpytorchApache-2.0Syntology: 2 samples, 2 ran (0 instrument-failed) · 0 unverified report
ecstayalive/capsule_nn mentioned on GitHubpytorchSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
ethanleet/CapsNet mentioned on GitHubpytorchMITSyntology: 5 samples, 4 ran (0 instrument-failed) · 1 unverified report
glassroom/heinsen_routing mentioned on GitHubpytorchMITSyntology: not harvested report
gram-ai/capsule-networks mentioned on GitHubpytorchSyntology: 2 samples, 2 ran (2 instrument-failed) · 0 unverified report
grassknoted/CDAE4InfoExtraction mentioned on GitHubtfSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
hli2020/nn_capsulation mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Neural Network Encapsulation (arXiv:1808.03749; that paper's own run record: 2 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 2 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report
hli2020/nn_encapsulation mentioned on GitHubpytorchSyntology: 2 samples, 2 ran (2 instrument-failed) · 0 unverified report
im-ant/Capsules-Guys mentioned on GitHubtfSyntology: not harvested report
jelifysh/Capsule-Networks mentioned on GitHubpytorchSyntology: not harvested report
jihyeonseong/cardiocaps mentioned on GitHubpytorchSyntology: not harvested report
jwwandy/DynamicRoutingBetweenCapsules-PyTorch mentioned on GitHubpytorchSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
jwzhanggy/isocapsnet mentioned on GitHubpytorchSyntology: not harvested report
kazukiii/caps-net-pytorch mentioned on GitHubpytorchnot reachable when probed 2026-09-18 — repositories for recent papers often appear after camera-readySyntology: not harvested report
lalonderodney/SegCaps mentioned on GitHubtfApache-2.0Syntology: 12 samples, 7 ran (0 instrument-failed) · 5 unverified report
laodar/tf_capsnet mentioned on GitHubtfSyntology: not harvested report
laubonghaudoi/CapsNet_guide_PyTorch mentioned on GitHubpytorchApache-2.0Syntology: 1 sample, 0 ran · 1 unverified report
lauromoraes/capsnet-promoter mentioned on GitHubMITSyntology: 4 samples, 1 ran (0 instrument-failed) · 3 unverified report
leekh7411/Capsule-Network-MNIST-Visualization mentioned on GitHubSyntology: not harvested report
leoniloris/CapsNet mentioned on GitHubtfMITSyntology: not harvested report
mshaikh2/GANs_Comparison mentioned on GitHubtfMITSyntology: 2 samples, 1 ran (0 instrument-failed) · 1 unverified report
naturomics/CapsLayer mentioned on GitHubtfApache-2.0Syntology: 5 samples, 3 ran (0 instrument-failed) · 2 unverified report
naturomics/CapsNet-Tensorflow mentioned on GitHubtfApache-2.0Syntology: 4 samples, 2 ran (0 instrument-failed) · 2 unverified report
noureldinalaa/Capsule-Networks mentioned on GitHubpytorchMITSyntology: not harvested report
pruthvip98/Image-Forgery-Detection mentioned on GitHubSyntology: not harvested report
razvanalex/CapsLayer mentioned on GitHubtfApache-2.0Syntology: 1 sample, 1 ran (0 instrument-failed) · 0 unverified report
sahil02235/CAPSULE-NETWORK-IMPLEMENTATION mentioned on GitHubtfSyntology: not harvested report
shashankmanjunath/capsnet mentioned on GitHubpytorchSyntology: 3 samples, 1 ran (1 instrument-failed) · 2 unverified report
soskek/dynamic_routing_between_capsules mentioned on GitHubSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
southworkscom/CapsNet-CNTK mentioned on GitHubSyntology: not harvested report
starsky68/capsnet_blk_prune mentioned on GitHubpytorchNOASSERTIONSyntology: not harvested report
www0wwwjs1/Matrix-Capsules-EM-Tensorflow mentioned on GitHubtfApache-2.0Syntology: 4 samples, 4 ran (0 instrument-failed) · 0 unverified report
yechengxi/LightCapsNet mentioned on GitHubGPL-3.0Syntology: not harvested report
yikuide/pytorch-capsule mentioned on GitHubpytorchSyntology: not harvested report
MS-Mind/MS-Code-07 Syntology: not harvested report
arnomoonens/capsule-networks pytorchSyntology: not harvested report
dedhiaparth98/capsule-network tfMITSyntology: not harvested report
labmlai/annotated_deep_learning_paper_implementations pytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Playing Atari with Deep Reinforcement Learning (arXiv:1312.5602; that paper's own run record: 64 ran (of which 24 constructed an object rather than computing a result; 46 with no instrument failure: 5 honoured, 0 violated, 41 with no contract checked; 18 where Syntology's instrument failed) · 53 unverified), Adam: A Method for Stochastic Optimization (arXiv:1412.6980; that paper's own run record: 27 ran (of which 7 constructed an object rather than computing a result; 23 with no instrument failure: 4 honoured, 2 violated, 17 with no contract checked; 4 where Syntology's instrument failed) · 10 unverified), Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift (arXiv:1502.03167; that paper's own run record: 19 ran (of which 5 constructed an object rather than computing a result; 14 with no instrument failure: 0 honoured, 0 violated, 14 with no contract checked; 5 where Syntology's instrument failed) · 2 unverified) and 12 more (every one in this page's JSON twin); nothing checks that they implement this paper's method. report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

118 samples harvested: 75 ran (of which 0 constructed an object rather than computing a result; 58 with no instrument failure: 0 honoured, 0 violated, 58 with no contract checked; 17 where Syntology's instrument failed) · 43 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

15ran · our draft was wrong
2ran; the contract check could not run
58ran
43unverified

Licence: 13 of the 118 samples are pointer only, meaning Syntology does not serve that copy's text. For 1 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 36 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. 1 sample whose link to this paper records no repository is listed under one of this paper's own repositories, because identical code was harvested from it for another paper. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

Sarasra/models official repository 2 samples, 1 ran (0 instrument-failed) · 1 unverified
default_batch_norm_params research/domain_adaptation/domain_separation/models.py ran Apache-2.0 recorded; this copy not marked cleared · pointer only · 9752e0af7e2e920e · report fixture: signature is_training:bool/0/bool · returned dict · level recorded 2026-09-25
preprocess_for_eval in 10 papers research/adv_imagenet_models/eval_on_adversarial.py unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · b1b870e26b8c5598 · report
Cheng-Lin-Li/SegCaps community (archive-listed) 2 samples, 2 ran (2 instrument-failed) · 0 unverified
flip_axis utils/custom_data_aug.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · fa45f6e21e1f5d6e · report fixture: signature x:ndarray/3/int, axis:int/0/int · returned ndarray · level recorded 2026-09-22
salt_pepper_noise utils/custom_data_aug.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · c5a569bffcb9d305 · report fixture: signature image:ndarray/3/float, salt:float/0/float, amount:float/0/float · returned ndarray · level recorded 2026-09-22
Colonel-Hathi/CapsNet-Treemap-Perception-Trafficsign community (archive-listed) 6 samples, 1 ran (0 instrument-failed) · 5 unverified
extract_images in 6 papers data_handler.py ran fingerprinted Apache-2.0 (permissive) · 0fa7ba2d6f1b5e7d · report fixture: signature folder:str/0/str · returned ndarray · level recorded 2026-09-26
conv_caps_layer caps_net.py unverified Apache-2.0 (permissive) · b212ca24ab843e8a · report
fully_connected_caps_layer caps_net.py unverified Apache-2.0 (permissive) · 9e266efd2f9b3537 · report
get_images in 21 papers data_handler.py unverified Apache-2.0 (permissive) · ef6f7f989e63e349 · report
get_testimages data_handler.py unverified Apache-2.0 (permissive) · 4b0f312bd2a3e344 · report
routing caps_net.py unverified Apache-2.0 (permissive) · 23664ef48d2b7fc9 · report
DanielLongo/CapsGAN community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
squash in 30 papers
census: 8 implementations from 5 papers, 4 distinct outputs across 2 buckets, one shared input per bucket this sample: bucket 1 of 2, arg 1: rank 2, kind float, dtype float32
CapsDiscriminator.py identical code Syntology harvested from this repository for another paper; this paper's link records no repository, path or licence of its own ran · our draft was wrong fingerprinted licence of this copy not recorded · e8e375ca46107111 · report fixture: signature inputs:Tensor/2/float, axis:int/0/int · returned Tensor · level recorded 2026-09-22
DanielLongo/CapsNet-PyTorch community (archive-listed) 3 samples, 1 ran (1 instrument-failed) · 2 unverified
caps_loss CapsNet.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 6d94bff65a753b0d · report fixture: signature y_true:Tensor/2/float, y_pred:Tensor/2/float, x:Tensor/4/float, x_recon:Tensor/4/float, lam_recon:float/0/float · returned Tensor · level recorded 2026-09-22
test in 377 papers CapsNet.py unverified no licence file found · pointer only · f854823338dc9ee8 · report
train in 522 papers CapsNet.py unverified no licence file found · pointer only · a5be0ded65ff286c · report
Egesabanci/capsuleNetworks community (archive-listed) 3 samples, 2 ran (0 instrument-failed) · 1 unverified
Decoder in 210 papers src/capsule_networks.py ran MIT (permissive) · 643e4ac03170a791 · report fixture: signature masked_input:EagerTensor/2/float, target_shape:tuple/1/int, dense_units:list/1/int, output_units:int/0/int, activation:str/0/str · returned EagerTensor · level recorded 2026-09-26
squash in 30 papers
census: 8 implementations from 5 papers, 4 distinct outputs across 2 buckets, one shared input per bucket
src/capsule_networks.py ran MIT (permissive) · fed6154c45168494 · report fixture: signature vector:EagerTensor/3/float, ax:int/0/int, epsilon:float/0/float · returned EagerTensor · level recorded 2026-09-26
PrimaryCapsule src/capsule_networks.py unverified MIT (permissive) · 2329d95d55ec1505 · report
Ian-Liao/SegCaps community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
create_path cococrawler/getcoco17.py ran · our draft was wrong Apache-2.0 (permissive) · b72eda3284443993 · report fixture: signature data_dir:str/0/str · returned tuple · level recorded 2026-09-22
JeremyCCHsu/CapsNet-tf community (archive-listed) 6 samples, 6 ran (0 instrument-failed) · 0 unverified
char2tanh helper.py ran fingerprinted MIT (permissive) · e681684c378bcb1e · report fixture: signature x:Tensor/1/float · returned Tensor · level recorded 2026-09-26
make_tf_example build_multimnist.py ran MIT (permissive) · 45ba4b2229e7c5d0 · report fixture: signature image_string:bytes/0/?, classes:list/1/int · returned Example · level recorded 2026-09-26
nchw_to_nhwc helper.py ran fingerprinted MIT (permissive) · d47f898b34da72b5 · report fixture: signature x:EagerTensor/4/float · returned SymbolicTensor · level recorded 2026-09-26
nhwc_to_nchw helper.py ran fingerprinted MIT (permissive) · ad88fd8ea70fc685 · report fixture: signature x:EagerTensor/4/float · returned EagerTensor · level recorded 2026-09-26
pad_to44 build_multimnist.py ran MIT (permissive) · 59858e235d46459f · report fixture: signature img:ndarray/3/float, shape:list/1/int · returned ndarray · level recorded 2026-09-26
random_crop in 59 papers build_multimnist.py ran fingerprinted MIT (permissive) · 0da33f8508f5c3ef · report fixture: signature img:ndarray/3/int, shape:int/0/int · returned ndarray · level recorded 2026-09-26
JunYeopLee/capsule-networks community (archive-listed) 2 samples, 1 ran (0 instrument-failed) · 1 unverified
load_from_file in 10 papers capsNet/utils.py ran Apache-2.0 (permissive) · 454894a6d26864c2 · report fixture: signature path:str/0/str, mode:str/0/str · returned ndarray · level recorded 2026-09-26
save_images in 24 papers capsNet/utils.py unverified Apache-2.0 (permissive) · 904b93c8951de375 · report
Oushesh/CapsClassifigner community (archive-listed) 1 sample, 1 ran (0 instrument-failed) · 0 unverified
get_data in 223 papers data_handler.py ran Apache-2.0 (permissive) · 78eab6842a55500d · report fixture: signature folder:str/0/str · returned tuple · level recorded 2026-09-26
Reatris/Capsule_Net community (archive-listed) 1 sample, 1 ran (0 instrument-failed) · 0 unverified
data_load in 15 papers Capsule_net_paddle_by_Reatris.py ran Apache-2.0 (permissive) · 1e8dccecc001d2fd · report fixture: signature train_list_path:str/0/str, batch_size:int/0/int · returned function · level recorded 2026-09-26
Riroaki/CapsNet community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
squash in 30 papers
census: 8 implementations from 5 papers, 4 distinct outputs across 2 buckets, one shared input per bucket this sample: bucket 1 of 2, arg 1: rank 2, kind float, dtype float32
capsnet.py ran · our draft was wrong fingerprinted MIT (permissive) · 89d981e0b618190e · report fixture: signature x:Tensor/2/float, dim:int/0/int · returned Tensor · level recorded 2026-09-22
Soonhwan-Kwon/capsnet.mxnet community (archive-listed) 1 sample, 0 ran · 1 unverified
download_data in 6 papers capsulenet.py unverified no licence file found · pointer only · 22def68ffad5b584 · report
Utkarsh87/Capsule-Networks community (archive-listed) 2 samples, 1 ran (0 instrument-failed) · 1 unverified
softmax in 240 papers
census: 53 implementations from 63 papers, 16 distinct outputs across 8 buckets, one shared input per bucket
src/digitcaps.py ran fingerprinted MIT (permissive) · 2719723f2846d85e · report fixture: signature input_tensor:Tensor/4/float, dim:int/0/int · returned Tensor · level recorded 2026-09-26
dynamic_routing src/digitcaps.py unverified MIT (permissive) · 8cc74d9d9716f3e5 · report
XifengGuo/CapsNet-Keras community (archive-listed) 5 samples, 1 ran (0 instrument-failed) · 4 unverified
combine_images in 7 papers utils.py ran MIT (permissive) · a4f9b362c3fb2a02 · report fixture: signature generated_images:ndarray/4/float, height:NoneType/0/?, width:NoneType/0/? · returned ndarray · level recorded 2026-09-26
PrimaryCap capsulelayers.py unverified MIT (permissive) · 313487a9c6ca5c62 · report
margin_loss in 13 papers capsulenet.py unverified MIT (permissive) · c5ff48b72a93fec5 · report
train in 522 papers capsulenet.py unverified MIT (permissive) · bf56a8a6277e51bd · report
adambielski/capsnet-pytorch community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
squash in 30 papers
census: 8 implementations from 5 papers, 4 distinct outputs across 2 buckets, one shared input per bucket this sample: bucket 2 of 2, arg 1: rank 3, kind float, dtype float32
net.py ran · our draft was wrong fingerprinted BSD-3-Clause (permissive) · 5abcd8c6705f2368 · report fixture: signature x:Tensor/3/float · returned Tensor · level recorded 2026-09-22
ameliajimenez/capsule-networks-medical-data-challenges community (archive-listed) 21 samples, 14 ran (0 instrument-failed) · 7 unverified
binarize_grid preprocess_diaretdb1.py ran fingerprinted MIT (permissive) · 2e8edc862c5c964a · report fixture: signature img:ndarray/2/int, mask:ndarray/2/int, grid_size:int/0/int · returned tuple · level recorded 2026-09-26
build_stack stain_normalization/stain_utils.py ran MIT (permissive) · f47fb66b0f1495bb · report fixture: signature tup:tuple/1/ndarray · returned ndarray · level recorded 2026-09-26
convert_list_to_array preprocess_tupac16.py ran MIT (permissive) · ba9a20e6fac96f58 · report fixture: signature my_list:list/1/ndarray · returned ndarray · level recorded 2026-09-26
dense_to_one_hot in 6 papers data_loader.py ran MIT (permissive) here; the stored copy is pointer only · e161978d5621fd5a · report fixture: signature labels_dense:ndarray/1/int, num_classes:int/0/int · returned ndarray · level recorded 2026-09-24
extract_labels in 25 papers data_loader.py ran MIT (permissive) · a4fd5ddd12015349 · report fixture: signature f:BytesIO/0/?, one_hot:bool/0/bool, num_classes:int/0/int · returned ndarray · level recorded 2026-09-26
extract_patches in 34 papers preprocess_diaretdb1.py ran MIT (permissive) · cd1f1b152fc81869 · report fixture: signature img:ndarray/2/int, centers:ndarray/2/int, patch_size:int/0/int, n_patches:int/0/int, augment:bool/0/bool · returned ndarray · level recorded 2026-09-26
extract_patches in 34 papers preprocess_tupac16.py ran MIT (permissive) · 9609ff43029770e8 · report fixture: signature img:ndarray/3/int, centers:ndarray/2/int, augment:bool/0/bool · returned ndarray · level recorded 2026-09-26
find_grid preprocess_tupac16.py ran fingerprinted MIT (permissive) · 2ecfcd586e6b8acf · report fixture: signature centers:ndarray/2/float · returned ndarray · level recorded 2026-09-26
get_mean_std in 17 papers stain_normalization/stainNorm_Reinhard.py ran MIT (permissive) · 3619549fb958505d · report fixture: signature I:ndarray/3/int · returned tuple · level recorded 2026-09-26
lab_split stain_normalization/stainNorm_Reinhard.py ran MIT (permissive) · c2c66bc5a1670838 · report fixture: signature I:ndarray/3/int · returned tuple · level recorded 2026-09-26
merge_back stain_normalization/stainNorm_Reinhard.py ran MIT (permissive) · 7e43778f815ea3c2 · report fixture: signature I1:ndarray/2/float, I2:ndarray/2/float, I3:ndarray/2/float · returned ndarray · level recorded 2026-09-26
preprocess_img in 10 papers preprocess_diaretdb1.py ran MIT (permissive) · 7b42b0ac5492beb9 · report fixture: signature img:ndarray/3/int, fmask:ndarray/2/int, all_masks:ndarray/2/int, clipLimit:float/0/float · returned tuple · level recorded 2026-09-26
read_image in 73 papers stain_normalization/stain_utils.py ran MIT (permissive) · c95802bf73f69647 · report fixture: signature path:str/0/str · returned ndarray · level recorded 2026-09-26
tweak_pose_parameters visualize.py ran MIT (permissive) · 5e53f8244d86e2f9 · report fixture: signature output_vectors:ndarray/5/float, d_caps2:int/0/int, min:float/0/float, max:float/0/float, n_steps:int/0/int · returned ndarray · level recorded 2026-09-26
conv in 178 papers networks/baseline.py unverified MIT (permissive) · 579b9526c3924ec3 · report
create_capsnet networks/capsnet.py unverified MIT (permissive) · 3e0f4a3cdf8f7d0e · report
extract_images in 6 papers data_loader.py unverified MIT (permissive) · 9ef54be9d13fc447 · report
fc_conv networks/baseline.py unverified MIT (permissive) · 928c0a98317f2f9c · report
safe_norm in 9 papers networks/capsnet.py unverified MIT (permissive) · 852e571b48325d2a · report
standardize_brightness stain_normalization/stain_utils.py unverified MIT (permissive) · 5568e495aa546957 · report
anastasios-stamoulis/deep-learning-with-csharp-and-cntk community (archive-listed) 7 samples, 4 ran (0 instrument-failed) · 3 unverified
build_model in 469 papers Python/ch3-7.py ran MIT (permissive) · ae560fa01740cfe8 · report fixture: signature input_dim:int/0/int · returned Sequential · level recorded 2026-09-26
load_npy_files Python/ch5-3.py ran MIT (permissive) · f57a3bb8459d9735 · report fixture: signature prefix:str/0/str · returned tuple · level recorded 2026-09-26
load_texts_labels Python/ch6-1_b.py ran MIT (permissive) · 93341244192ac2a3 · report fixture: signature path:str/0/str · returned tuple · level recorded 2026-09-26
vectorize_sequences Python/ch3-5.py ran MIT (permissive) · 09b60348edfeca3d · report fixture: signature sequences:list/1/list, dimension:int/0/int · returned ndarray · level recorded 2026-09-26
compute_embedding_matrix Python/ch6-1_b.py unverified MIT (permissive) · 04b01a6b962167f2 · report
extract_features in 73 papers Python/ch5-3.py unverified MIT (permissive) · e9572b0ab2492828 · report
load_from_files Python/ch6-1_b.py unverified MIT (permissive) · a6d3be25cfdf1fe4 · report
danielhavir/capsule-network community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
squash in 30 papers
census: 8 implementations from 5 papers, 4 distinct outputs across 2 buckets, one shared input per bucket this sample: bucket 1 of 2, arg 1: rank 2, kind float, dtype float32
capsules.py ran · our draft was wrong fingerprinted MIT (permissive) · 36782ecd204f05d4 · report fixture: signature s:Tensor/2/float, dim:int/0/int · returned Tensor · level recorded 2026-09-22
ecstayalive/Degenerate-capsule-neural-network community (archive-listed) 2 samples, 2 ran (0 instrument-failed) · 0 unverified
add_gaussian_noise in 25 papers capsule_net/utils/add_noise.py ran fingerprinted Apache-2.0 (permissive) · 0d412a9be3a2a5d6 · report fixture: signature signal:ndarray/2/float, snr:float/0/float · returned ndarray · level recorded 2026-09-26
capsule_loss_fn capsule_net/loss.py ran fingerprinted Apache-2.0 (permissive) · 958171517f243d79 · report fixture: signature y_pred:Tensor/2/float, y_true:Tensor/2/float, coefficient:float/0/float · returned Tensor · level recorded 2026-09-26
ecstayalive/capsule_nn community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
squash in 30 papers
census: 8 implementations from 5 papers, 4 distinct outputs across 2 buckets, one shared input per bucket this sample: bucket 2 of 2, arg 1: rank 3, kind float, dtype float32
functional.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 43a28458e2019a51 · report fixture: signature input:Tensor/3/float, dim:int/0/int, keepdim:bool/0/bool · returned Tensor · level recorded 2026-09-22
ethanleet/CapsNet community (archive-listed) 5 samples, 4 ran (0 instrument-failed) · 1 unverified
build_dataloaders in 6 papers data_loaders.py ran MIT (permissive) · ef26365c2b293ba7 · report fixture: signature batch_size:int/0/int, valid_size:float/0/float, train_dataset:SimpleDataset/0/?, valid_dataset:SimpleDataset/0/?, test_dataset:SimpleDataset/0/? · returned tuple · level recorded 2026-09-26
denormalize in 64 papers
census: 9 implementations from 11 papers, 8 distinct outputs across 4 buckets, one shared input per bucket
tools.py ran fingerprinted MIT (permissive) · 5c5b8a89cd91d2f6 · report fixture: signature image:Tensor/2/float · returned Tensor · level recorded 2026-09-26
get_path in 30 papers tools.py ran MIT (permissive) · 5c2f7dad1037f39e · report fixture: signature SAVE_DIR:str/0/str, filename:str/0/str · returned str · level recorded 2026-09-26
squash in 30 papers
census: 8 implementations from 5 papers, 4 distinct outputs across 2 buckets, one shared input per bucket
tools.py ran fingerprinted MIT (permissive) · e6c4c09caf295822 · report fixture: signature x:Tensor/2/float, dim:int/0/int · returned Tensor · level recorded 2026-09-26
load_mnist in 35 papers data_loaders.py unverified MIT (permissive) · 906e695c111ae448 · report
gram-ai/capsule-networks community (archive-listed) 2 samples, 2 ran (2 instrument-failed) · 0 unverified
augmentation in 17 papers capsule_network.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 916d6f93349e426b · report fixture: signature x:Tensor/4/float, max_shift:int/0/int · returned Tensor · level recorded 2026-09-22
softmax in 240 papers
census: 53 implementations from 63 papers, 16 distinct outputs across 8 buckets, one shared input per bucket this sample: bucket 7 of 8, arg 1: rank 3, kind float, dtype float32
capsule_network.py ran · our draft was wrong fingerprinted no licence file found · pointer only · d55eaf6b69be6376 · report fixture: signature input:Tensor/3/float, dim:int/0/int · returned Tensor · level recorded 2026-09-22
grassknoted/CDAE4InfoExtraction community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
cos_dist_output_shape capsnet-keras/capsulenet.py ran; the contract check could not run (RAISES) · metamorphic tier: well formed MIT (permissive) · 9169bb6c16583f82 · report fixture: signature shapes:tuple/1/tuple · returned tuple · level recorded 2026-09-22
hli2020/nn_encapsulation community (archive-listed) 2 samples, 2 ran (2 instrument-failed) · 0 unverified
normalize_cap layers/cap_layer.py ran · our draft was wrong fingerprinted no licence file found · pointer only · c4647dd5ef46a3fd · report fixture: signature input:Tensor/3/float, factor:float/0/float · returned Tensor · level recorded 2026-09-22
squash in 30 papers
census: 8 implementations from 5 papers, 4 distinct outputs across 2 buckets, one shared input per bucket this sample: bucket 2 of 2, arg 1: rank 3, kind float, dtype float32
layers/cap_layer.py ran · our draft was wrong no licence file found · pointer only · ac7650b0121cd6c9 · report fixture: signature vec:Tensor/3/float, manner:str/0/str · returned Tensor · level recorded 2026-09-22
jwwandy/DynamicRoutingBetweenCapsules-PyTorch community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
caps_dim_perturb caps_perturb.py ran · our draft was wrong fingerprinted no licence file found · pointer only · c0f267f39366e309 · report fixture: signature rc_cap:Tensor/2/float · returned Tensor · level recorded 2026-09-22
lalonderodney/SegCaps community (archive-listed) 12 samples, 7 ran (0 instrument-failed) · 5 unverified
UNet in 40 papers unet.py ran Apache-2.0 (permissive) · 6c522a777d335f98 · report fixture: signature input_shape:tuple/1/int · returned Functional · level recorded 2026-09-26
dc metrics.py ran fingerprinted Apache-2.0 (permissive) · 9e374d498da47a80 · report fixture: signature result:ndarray/1/int, reference:ndarray/1/int · returned float64 · level recorded 2026-09-26
dice_hard custom_losses.py ran Apache-2.0 (permissive) · 4d42218ea782618b · report fixture: signature y_true:EagerTensor/4/float, y_pred:EagerTensor/4/float, threshold:float/0/float, axis:list/1/int, smooth:float/0/float · returned EagerTensor · level recorded 2026-09-26
elastic_transform custom_data_aug.py ran Apache-2.0 (permissive) · 354cb4ef853ea7c0 · report fixture: signature image:ndarray/3/float, alpha:int/0/int, sigma:int/0/int, alpha_affine:int/0/int, random_state:RandomState/0/? · returned ndarray · level recorded 2026-09-26
jc metrics.py ran fingerprinted Apache-2.0 (permissive) · bebfab67566d4deb · report fixture: signature result:ndarray/2/int, reference:ndarray/2/int · returned float · level recorded 2026-09-26
precision in 25 papers metrics.py ran fingerprinted Apache-2.0 (permissive) · 7f6b9d28c90431fb · report fixture: signature result:ndarray/1/int, reference:ndarray/1/int · returned float64 · level recorded 2026-09-26
preprocess_input in 26 papers densenets.py ran Apache-2.0 (permissive) · df095bccc89495e4 · report fixture: signature x:ndarray/4/float, data_format:NoneType/0/? · returned ndarray · level recorded 2026-09-26
create_model in 163 papers model_helper.py unverified Apache-2.0 (permissive) · fe870e6febcb38d2 · report
dice_soft custom_losses.py unverified Apache-2.0 (permissive) · d266f1b82443c200 · report
load_data in 700 papers load_3D_data.py unverified Apache-2.0 (permissive) · 7b208df6adf33efe · report
update_routing capsule_layers.py unverified Apache-2.0 (permissive) · 0ab110223d3720af · report
laubonghaudoi/CapsNet_guide_PyTorch community (archive-listed) 1 sample, 0 ran · 1 unverified
get_dataloader in 111 papers utils.py unverified Apache-2.0 (permissive) · 25c21be9120353e4 · report
lauromoraes/capsnet-promoter community (archive-listed) 4 samples, 1 ran (0 instrument-failed) · 3 unverified
test in 377 papers capsulenet.py ran MIT (permissive) · 9baf4429c73eff71 · report fixture: signature model:callable/0/?, data:tuple/1/Tensor · returned DummyStatistics · level recorded 2026-09-26
PrimaryCap capsulelayers.py unverified MIT (permissive) · c52aed0e8829960c · report
PrimaryCap capsulelayers2.py unverified MIT (permissive) · 1fcca424e3c93303 · report
mshaikh2/GANs_Comparison community (archive-listed) 2 samples, 1 ran (0 instrument-failed) · 1 unverified
combine_images in 7 papers capsule/utils.py ran MIT (permissive) · 889c715d11d8841d · report fixture: signature generated_images:ndarray/4/int · returned ndarray · level recorded 2026-09-26
train in 522 papers capsule/capsulenet.py unverified MIT (permissive) · 6c016f20008ba616 · report
naturomics/CapsLayer community (archive-listed) 5 samples, 3 ran (0 instrument-failed) · 2 unverified
margin_loss in 13 papers capslayer/ops/losses/losses.py ran Apache-2.0 (permissive) · 8278b9f74e0d99c0 · report fixture: signature labels:EagerTensor/2/float, logits:EagerTensor/2/float, upper_margin:float/0/float, bottom_margin:float/0/float, downweight:float/0/float · returned EagerTensor · level recorded 2026-09-26
matmul in 24 papers capslayer/ops/math_ops.py ran Apache-2.0 (permissive) · 71f308af9ead46b8 · report fixture: signature a:EagerTensor/2/float, b:EagerTensor/2/float, transpose_a:bool/0/bool, transpose_b:bool/0/bool, name:NoneType/0/? · returned SymbolicTensor · level recorded 2026-09-26
shape in 15 papers capslayer/ops/ops.py ran Apache-2.0 (permissive) · 94a9d3fa58aca150 · report fixture: signature inputs:EagerTensor/2/float, name:NoneType/0/? · returned list · level recorded 2026-09-26
matmul_v1 capslayer/ops/math_ops.py unverified Apache-2.0 (permissive) · 60b0489fcce178c8 · report
naturomics/CapsNet-Tensorflow community (archive-listed) 4 samples, 2 ran (0 instrument-failed) · 2 unverified
average_gradients in 20 papers dist_version/distributed_train.py ran Apache-2.0 (permissive) · 25474dc6ec455a0d · report fixture: signature tower_grads:list/1/list · returned list · level recorded 2026-09-26
load_mnist in 35 papers utils.py ran Apache-2.0 (permissive) · a60140719ee8eeab · report fixture: signature batch_size:int/0/int, is_training:bool/0/bool · returned tuple · level recorded 2026-09-26
load_data in 700 papers utils.py unverified Apache-2.0 (permissive) · 954a41787b10fdf8 · report
load_fashion_mnist utils.py unverified Apache-2.0 (permissive) · f7af01a437e72215 · report
razvanalex/CapsLayer community (archive-listed) 1 sample, 1 ran (0 instrument-failed) · 0 unverified
cross_entropy in 92 papers
census: 6 implementations from 8 papers, 5 distinct outputs across 2 buckets, one shared input per bucket
capslayer/ops/losses/losses.py ran Apache-2.0 (permissive) · aeb7fd30067180af · report fixture: signature labels:EagerTensor/1/int, logits:EagerTensor/2/float, regularizer:EagerTensor/1/float · returned SymbolicTensor · level recorded 2026-09-26
shashankmanjunath/capsnet community (archive-listed) 3 samples, 1 ran (1 instrument-failed) · 2 unverified
accuracy in 872 papers
census: 8 implementations from 7 papers, 7 distinct outputs across 6 buckets, one shared input per bucket
capsule_network.py ran · our draft was wrong MIT (permissive) · 64858477ea4e51d9 · report fixture: signature y:Tensor/2/float, pred:Tensor/1/int · returned float64 · level recorded 2026-09-22
run_eval_iter capsule_network.py unverified MIT (permissive) · f62923a58d77cb1c · report
run_train_iter capsule_network.py unverified MIT (permissive) · 09124db7cc72c4f5 · report
soskek/dynamic_routing_between_capsules community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
get_samples in 18 papers visualize.py ran · our draft was wrong MIT (permissive) · 19f6c412420d3c16 · report fixture: signature dataset:StandInDataset/0/? · returned list · level recorded 2026-09-22
www0wwwjs1/Matrix-Capsules-EM-Tensorflow community (archive-listed) 4 samples, 4 ran (0 instrument-failed) · 0 unverified
get_coord_add config.py ran Apache-2.0 (permissive) · d805a7b2c2d7d3ad · report fixture: signature dataset_name:str/0/str · returned ndarray · level recorded 2026-09-26
get_dataset_size_test config.py ran Apache-2.0 (permissive) · 18f1ac5a3bb1245f · report fixture: signature dataset_name:str/0/str · returned int · level recorded 2026-09-26
get_dataset_size_train config.py ran Apache-2.0 (permissive) · 4293fbb258948def · report fixture: signature dataset_name:str/0/str · returned int · level recorded 2026-09-26
kernel_tile capsnet_em.py ran Apache-2.0 (permissive) · c23def11ceb6917f · report fixture: signature input:EagerTensor/4/float, kernel:int/0/int, stride:int/0/int · returned SymbolicTensor · level recorded 2026-09-26

Tasks

Image Classification

Datasets

Introduced by this paper, per the archive.

MultiMNIST

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Classification CIFAR-10 ensemble of 7 models Percentage correct 89.4 #209 of 265 Archive leaderboard report
Image Classification EMNIST-Balanced TextCaps Accuracy 90.46 #6 of 20 Archive leaderboard report
Image Classification MNIST CapsNet Percentage error 0.25 #12 of 81 Archive leaderboard report
Image Classification MultiMNIST CapsNet Percentage error 5.2 #1 of 1 Archive leaderboard report
Image Classification smallNORB CapsNet Classification Error 3.77 #6 of 7 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: CapsNet, Capsule Network

CapsNetCapsule Network

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections