Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5,272 changes: 5,272 additions & 0 deletions 2026_tdl_challenge/outputs/2026-08-02_13-03-24/results.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2026_tdl_challenge/run_evaluation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"outputs": [],
"source": [
"# Your model configuration (e.g., \"graph/gcn\", \"graph/gin\", \"graph/gat\")\n",
"MODEL_CONFIG = \"graph/gin\""
"MODEL_CONFIG = \"graph/hymn\""
]
},
{
Expand Down
59 changes: 59 additions & 0 deletions configs/model/graph/hymn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
_target_: topobench.model.TBModel

model_name: hymn
model_domain: graph

feature_encoder:
_target_: topobench.nn.encoders.${model.feature_encoder.encoder_name}
encoder_name: AllCellFeatureEncoder
in_channels: ${infer_in_channels:${dataset},${oc.select:transforms,null}}
# The MolHIV reference config uses dim_inner=300 and reserves 16
# channels for the encoded CSE, leaving 284 node-feature channels.
out_channels: 284
proj_dropout: 0.0

backbone:
_target_: topobench.nn.backbones.HyMN
in_channels: ${model.feature_encoder.out_channels}
hidden_channels: 300
# Published MolHIV HyMN hyperparameters (Table 18 / with-CSE config),
# paired with the authors' edge-less marked-GIN path for unattributed graphs.
num_layers: 2
# Two centrality-marked views plus the augmented policy's unmarked view.
num_samples: 3
cse_steps: 16
cse_channels: 16
dropout: 0.0
train_eps: true
# Internal shared-MLP BN; the reference's separate between-layer BN is off.
batch_norm: true
residual: true
use_centrality_encoding: true
sample_aggregation: mean
# Semantic-only reuse of reference-style preprocessing across model instances.
global_cache_size: 65536

backbone_wrapper:
_target_: topobench.nn.wrappers.${model.backbone_wrapper.wrapper_name}
_partial_: true
wrapper_name: GNNWrapper
out_channels: 300
residual_connections: false
num_cell_dimensions: ${infer_num_cell_dimensions:${oc.select:model.feature_encoder.selected_dimensions,null},${model.feature_encoder.in_channels}}

readout:
_target_: topobench.nn.readouts.${model.readout.readout_name}
readout_name: MLPReadout
num_cell_dimensions: ${infer_num_cell_dimensions:${oc.select:model.feature_encoder.selected_dimensions,null},${model.feature_encoder.in_channels}}
in_channels: 300
# layers_post_mp=1 in the reference config is a single linear head.
hidden_layers: []
out_channels: ${dataset.parameters.num_classes}
task_level: ${define_task_level:${dataset.parameters.task_level},${dataset.split_params.learning_setting}}
pooling_type: mean
dropout: 0.0
act: relu
norm: null
final_act: null

compile: false
7 changes: 7 additions & 0 deletions docs/api/topobench.nn.backbones.graph.hymn.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
topobench.nn.backbones.graph.hymn module
========================================

.. automodule:: topobench.nn.backbones.graph.hymn
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/api/topobench.nn.backbones.graph.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ Submodules

topobench.nn.backbones.graph.gps
topobench.nn.backbones.graph.graph_mlp
topobench.nn.backbones.graph.hymn
topobench.nn.backbones.graph.identity_gnn
topobench.nn.backbones.graph.nsd
Loading
Loading