SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2302.08840 · ICLR · 2023

Learnable Topological Features for Phylogenetic Inference via Graph Neural Networks

Cheng Zhang

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (6 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 0 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2302.08840.json · badge: /api/ran/2302.08840.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
zcrabbit/vbpi-gnn canonical (classifier label)
classifier basis: classifier_2025
5 ran · 0 no recorded run
tyuxie/vbpi-sibranch community
Papers with Code archive
4 ran · 2 no recorded run
FunctionStatusWhere it lives
EdgeConv Ran
ran on a synthesized input · constructed an object; no result was computed
zcrabbit/vbpi-gnn/gnnModels_slim.py
pointer only (licence: NONE) · get_code("89034a9aa5594f2d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zcrabbit/vbpi-gnn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

GCNConv Ran
ran on a synthesized input
zcrabbit/vbpi-gnn/gnnModels_slim.py
pointer only (licence: NONE) · get_code("36910a9c3a0fba60")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zcrabbit/vbpi-gnn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

GINConv Ran
ran on a synthesized input · constructed an object; no result was computed
zcrabbit/vbpi-gnn/gnnModels_slim.py
pointer only (licence: NONE) · get_code("1322d79d7d191624")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zcrabbit/vbpi-gnn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

GNNStack Ran
ran on a synthesized input · constructed an object; no result was computed
zcrabbit/vbpi-gnn/gnnModels_slim.py
pointer only (licence: NONE) · get_code("17b109dc1cf09be0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zcrabbit/vbpi-gnn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

GNNStack Ran
ran on a synthesized input · constructed an object; no result was computed
tyuxie/vbpi-sibranch/src/gnn_branchModel.py
code served (permissive licence) · get_code("bcdcab88e1aa35db")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, GNNStack: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

# Define ARGS dictionary for GNNStack
ARGS = {
    'in_channels': 4,
    'out_channels': 8,
    'num_layers': 2,
    'bias': True,
    'aggr': 'sum',
    'gnn_type': 'gcn',
    'project': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GNNStack — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GNNStack output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
GatedGraphConv Ran
ran on a synthesized input · constructed an object; no result was computed
tyuxie/vbpi-sibranch/src/gnn_branchModel.py
code served (permissive licence) · get_code("3c9d1f7557585b9e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, GatedGraphConv: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math
from torch import Tensor

torch.manual_seed(0)

# Create sample inputs for the forward pass
batch_size = 2
out_channels = 4
input_channels = 3

# Create node features tensor (batch_size x input_channels)
x = torch.randn(batch_size, input_channels)

# Create edge indices - simple edges between nodes
# edge_index should index into the nodes
edge_index = torch.tensor([[0, 1, 0], [1, 0, 1]], dtype=torch.long)

# Create the ARGS dictionary with all parameters for GatedGraphConv.__init__
ARGS = {
    'out_channels': out_channels,
    'num_layers': 2,
    'bias': True,
}

# Additional test arguments for forward pass (stored separately for reference)
FORWARD_ARGS = {
    'x': x,
    'edge_index': edge_index,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GatedGraphConv — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GatedGraphConv output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
IDConv Ran
ran on a synthesized input
tyuxie/vbpi-sibranch/src/gnn_branchModel.py
code served (permissive licence) · get_code("7bf2ba4b7a8655d7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

INIT_ARGS = {}

ARGS = {
    'x': torch.randn(2, 4, 8, 8)
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
MeanStdPooling Ran
ran on a synthesized input · constructed an object; no result was computed
tyuxie/vbpi-sibranch/src/gnn_branchModel.py
code served (permissive licence) · get_code("108d2056866cde82")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, MeanStdPooling: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class MeanStdPooling(nn.Module):

    def __init__(self, in_channels, out_channels, bias=True, **kwargs):
        super().__init__()
        self.in_channels, self.out_channels = (in_channels, out_channels)
        self.net = nn.Sequential(nn.Linear(self.in_channels, self.out_channels, bias=bias), nn.ELU(), nn.Linear(self.out_channels, self.out_channels, bias=bias), nn.ELU())
        self.readout = nn.Sequential(nn.Linear(self.out_channels, self.out_channels, bias=bias), nn.ELU(), nn.Linear(self.out_channels, 2, bias=bias))

    def forward(self, x, parent_index):
        mean_std = self.net(x)
        mean_std = torch.max(mean_std[:-1], mean_std[parent_index])
        mean_std = self.readout(mean_std)
        return (mean_std[:, 0], mean_std[:, 1])

# Create instance of MeanStdPooling with minimal setup
in_channels = 4
out_channels = 3
bias = True

# Create input tensor: shape (batch_size, in_channels)
# batch_size = 2 to have multiple elements for indexing
x = torch.randn(2, in_channels)

# Create parent_index tensor for indexing
# parent_index should be compatible with indexing mean_std[:-1]
# mean_std[:-1] has shape (1, out_channels), so parent_index should index into first dimension
parent_index = torch.tensor([0])

ARGS = {
    "in_channels": in_channels,
    "out_channels": out_channels,
    "bias": bias
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MeanStdPooling — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MeanStdPooling output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
SAGEConv Ran
ran on a synthesized input
zcrabbit/vbpi-gnn/gnnModels_slim.py
pointer only (licence: NONE) · get_code("6fad38bc2c3d9659")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zcrabbit/vbpi-gnn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

GNNModel Not yet run
unverified (harvested, no recorded run)
tyuxie/vbpi-sibranch/src/gnn_branchModel.py
code served (permissive licence) · get_code("729f8fbd358de7d2")
How it ran

no invocation recorded.

uniform Not yet run
unverified (harvested, no recorded run)
tyuxie/vbpi-sibranch/src/gnn_branchModel.py
code served (permissive licence) · get_code("928d2600c0be05ad")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Structural information of phylogenetic tree topologies plays an important role in phylogenetic inference. However, finding appropriate topological structures for specific phylogenetic inference tasks often requires significant design effort and domain expertise. In this paper, we propose a novel structural representation method for phylogenetic inference based on learnable topological features. By combining the raw node features that minimize the Dirichlet energy with modern graph representation learning techniques, our learnable topological features can provide efficient structural information of phylogenetic trees that automatically adapts to different downstream tasks without requiring domain expertise. We demonstrate the effectiveness and efficiency of our method on a simulated data tree probability estimation task and a benchmark of challenging real data variational Bayesian phylogenetic inference problems.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2302.08840")
get_code_for_paper("2302.08840")
have("2302.08840")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2302.08840.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2302.08840.svg)](https://syntology.ai/paper/2302.08840)

Connect an agent — have() is free.