SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.17537 · 2024

CLIBD: Bridging Vision and Genomics for Biodiversity Monitoring at Scale

arXiv · PDF · Open in the Atlas

Code that ran

7 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 4 failures of our instrument; 5 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/2405.17537.json · badge: /api/ran/2405.17537.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
3dlg-hcvc/bioscan-clip canonical (classifier label)
classifier basis: census
4 ran · 4 no recorded run
VectorInstitute/mmlearn community (classifier label)
classifier basis not recorded on the link
3 ran · 1 no recorded run
FunctionStatusWhere it lives
construct_label_metrix Ran
ran; our contract draft was wrong, not the code
3dlg-hcvc/bioscan-clip/bioscanclip/model/loss_func.py
code served (permissive licence) · get_code("9f6c656ef070d3f2")
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 Tensor, ndim 2, dtype family float, shape (4, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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)

# The function takes labels and performs unsqueeze operations on them
# to create a pairwise comparison matrix. Labels should be a 1D tensor.
labels = torch.tensor([0, 1, 0, 2], dtype=torch.long)

ARGS = {
    "labels": labels
}
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 Tensor, ndim 2, dtype family float, shape (4, 4) — shape (4, 4) as a later run recorded it
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: none by the harness; any seed is in the setup block
create_split_boundaries Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
3dlg-hcvc/bioscan-clip/dataset/create_splits.py
code served (permissive licence) · get_code("31b5ec79eeb1dcaf")
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 list, ndim 1, dtype family int; 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
import numpy as np

torch.manual_seed(0)

ARGS = {
    "size": 100,
    "split_ratios": [0.6, 0.2, 0.2]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
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: none by the harness; any seed is in the setup block
filter_no_species Ran
ran; our contract draft was wrong, not the code
3dlg-hcvc/bioscan-clip/dataset/create_splits.py
code served (permissive licence) · get_code("97d5b7677bf33821")
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 DataFrame. 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 pandas as pd

metadata = pd.DataFrame({
    'species': ['human', 'mouse', 'not_classified', 'dog', 'cat'],
    'name': ['H1', 'M1', 'NC1', 'D1', 'C1']
})

ARGS = {
    'metadata': metadata
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
find_matching_indices Ran
ran on a synthesized input
VectorInstitute/mmlearn/mmlearn/datasets/core/example.py
code served (permissive licence) · get_code("695ddc727cc73012")
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 tuple, ndim 2, dtype family int; 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

torch.manual_seed(0)

# Create two tensors of example ids with shape (N, 2) and (M, 2)
# These represent example ids from two different modalities
first_example_ids = torch.tensor([
    [0, 0],
    [0, 1],
    [1, 0],
    [1, 1]
], dtype=torch.long)

second_example_ids = torch.tensor([
    [1, 0],
    [1, 1],
    [2, 0],
    [2, 1],
    [2, 2]
], dtype=torch.long)

ARGS = {
    "first_example_ids": first_example_ids,
    "second_example_ids": second_example_ids,
}
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 tuple, ndim 2, dtype family int — a tuple output has no array shape of its own; none is stated
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: none by the harness; any seed is in the setup block
get_tail_species Ran
ran; our contract draft was wrong, not the code
3dlg-hcvc/bioscan-clip/dataset/create_splits.py
code served (permissive licence) · get_code("37be53ce09d3fd9a")
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 Index. 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 pandas as pd
import numpy as np

# Create a small DataFrame with species metadata
# The function groups by 'species' and counts occurrences,
# then filters for counts < threshold
species_data = {
    'species': ['cat', 'cat', 'cat', 'dog', 'dog', 'bird', 'fish', 'fish', 'fish', 'fish', 'fish', 'fish', 'fish', 'fish', 'fish', 'fish'],
    'other_col': list(range(16))
}
species_metadata = pd.DataFrame(species_data)

ARGS = {
    'species_metadata': species_metadata,
    'threshold': 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Index — a Index output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Index output the recorded ndim 1 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
load_huggingface_model Ran
ran on a synthesized input
VectorInstitute/mmlearn/mmlearn/hf_utils.py
code served (permissive licence) · get_code("f2347a20471aacaa")
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 Module. 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
from transformers import AutoModel, AutoConfig, PretrainedConfig
from unittest.mock import Mock, patch
import sys

torch.manual_seed(0)

# Create a minimal mock PretrainedConfig subclass
class MockConfig(PretrainedConfig):
    model_type = "mock"
    
    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        self.hidden_size = 768
        self.num_hidden_layers = 2
        self.vocab_size = 1000

# Create a minimal mock model class that behaves like AutoModel
class MockAutoModel:
    @staticmethod
    def from_pretrained(pretrained_model_name_or_path, **kwargs):
        model = nn.Module()
        model.encoder = nn.Linear(768, 768)
        return model
    
    @staticmethod
    def from_config(config, **kwargs):
        model = nn.Module()
        model.encoder = nn.Linear(768, 768)
        return model

# Mock the AutoConfig to return our MockConfig
def mock_from_pretrained(pretrained_model_name_or_path, return_unused_kwargs=False, **kwargs):
    config = MockConfig()
    if return_unused_kwargs:
        return config, {}
    return config

# Prepare arguments
model_type = MockAutoModel
model_name_or_path = "mock-model"
load_pretrained_weights = True
get_model_attr = None
model_config_kwargs = {"hidden_size": 768}
config_type = None

ARGS = {
    "model_type": model_type,
    "model_name_or_path": model_name_or_path,
    "load_pretrained_weights": load_pretrained_weights,
    "get_model_attr": get_model_attr,
    "model_config_kwargs": model_config_kwargs,
    "config_type": config_type,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Module — a Module output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Module 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
pad_or_trim Ran
ran on a synthesized input
VectorInstitute/mmlearn/mmlearn/datasets/librispeech.py
code served (permissive licence) · get_code("ecf7c6b9c5e91f70")
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 Tensor, ndim 2, dtype family float, shape (2, 16000) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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.functional as F

torch.manual_seed(0)

SAMPLE_RATE = 16000

# Create a small audio tensor
# Shape: (batch=2, time_steps=8000) - shorter than default 30 seconds
audio_array = torch.randn(2, 8000)

# Define ARGS dict with all parameters
ARGS = {
    "array": audio_array,
    "length": 16000,  # 1 second at 16kHz
    "axis": -1,
}
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 Tensor, ndim 2, dtype family float, shape (2, 16000) — shape (2, 16000) as a later run recorded it
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: none by the harness; any seed is in the setup block
gather_features Not yet run
unverified (harvested, no recorded run)
3dlg-hcvc/bioscan-clip/bioscanclip/model/loss_func.py
code served (permissive licence) · get_code("89968f9743af3ef4")
How it ran

no invocation recorded.

instantiate_callbacks Not yet run
unverified (harvested, no recorded run)
VectorInstitute/mmlearn/mmlearn/cli/_instantiators.py
code served (permissive licence) · get_code("4cad73e0a4a871a0")
How it ran

no invocation recorded.

load_bert_random_init Not yet run
unverified (harvested, no recorded run)
3dlg-hcvc/bioscan-clip/bioscanclip/model/language_encoder.py
code served (permissive licence) · get_code("9f095974d7dff1f0")
How it ran

no invocation recorded.

load_pre_trained_bert Not yet run
unverified (harvested, no recorded run)
3dlg-hcvc/bioscan-clip/bioscanclip/model/language_encoder.py
code served (permissive licence) · get_code("2371a2754cd69249")
How it ran

no invocation recorded.

load_vit_for_simclr_training Not yet run
unverified (harvested, no recorded run)
3dlg-hcvc/bioscan-clip/bioscanclip/model/simple_clip.py
code served (permissive licence) · get_code("c1a499448bd2c9e6")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 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 12 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

Measuring biodiversity is crucial for understanding ecosystem health. While prior works have developed machine learning models for taxonomic classification of photographic images and DNA separately, in this work, we introduce a multimodal approach combining both, using CLIP-style contrastive learning to align images, barcode DNA, and text-based representations of taxonomic labels in a unified embedding space. This allows for accurate classification of both known and unknown insect species without task-specific fine-tuning, leveraging contrastive learning for the first time to fuse barcode DNA and image data. Our method surpasses previous single-modality approaches in accuracy by over 8% on zero-shot learning tasks, showcasing its effectiveness in biodiversity studies.

For agents

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

get_harvested_code_for_paper("2405.17537")
get_code_for_paper("2405.17537")
have("2405.17537")

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

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

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

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

Connect an agent — have() is free.