SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.24067 · 2026

A Feature-Major Codebook for Memory-Efficient Sparse-Binary Self-Organizing Maps: Scaling a MEDLINE Atlas to 1.05 Million Neurons on a Single Consumer GPU

Andrew Amos

arXiv · PDF · Open in the Atlas

Code that ran

5 of 11 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 6 no recorded run), measured 2026-11-23; 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/2608.24067.json · badge: /api/ran/2608.24067.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
mongrolwarrior/sparsesom-paper1 canonical (classifier label)
classifier basis: census
3 ran · 6 no recorded run
mongrolwarrior/sparsesom-roofline-addendum canonical (classifier label)
classifier basis: census
2 ran · 0 no recorded run
FunctionStatusWhere it lives
build_provenance Ran
ran; our contract draft was wrong, not the code
mongrolwarrior/sparsesom-paper1/pipeline/provenance.py
code served (permissive licence) · get_code("5d6e345c4ee5f54e")
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 dict. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 subprocess
import time
from pathlib import Path

# Since build_provenance only takes one parameter: config_hash
# We need to provide a string value for it

ARGS = {
    'config_hash': 'abc123def456ghi789jkl012mno345pqr678'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
load Ran
ran; our contract draft was wrong, not the code
mongrolwarrior/sparsesom-roofline-addendum/aggregate2.py
code served (permissive licence) · get_code("e6f4544f4d434209")
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
import tempfile
import os

# Create a temporary CSV file that matches the expected format
temp_dir = tempfile.mkdtemp()
csv_path = os.path.join(temp_dir, "test_data.csv")

# Write a CSV with the expected structure
csv_content = """Header Line 1
Header Line 2
ID,Kernel Name,Metric Name,Metric Value
1,kernel_a<something>,Memory,1,234
1,kernel_a<something>,Throughput,5,678
2,namespace::kernel_b(variant),Memory,2,345
2,namespace::kernel_b(variant),Throughput,6,789
"""

with open(csv_path, 'w') as f:
    f.write(csv_content)

ARGS = {
    'path': csv_path
}
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
parse_sparsesom_done Ran
ran; our contract draft was wrong, not the code
mongrolwarrior/sparsesom-paper1/pipeline/parsers.py
code served (permissive licence) · get_code("ee1ae50202292a50")
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 dict. 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 re

def parse_sparsesom_done(line: str) -> dict | None:
    """Parse the 'done:' summary line from sparsesom."""
    m = re.match('done:\\s+(\\d+)\\s+epochs?\\s+in\\s+([\\d.]+)s\\s+\\(BMU\\s+([\\d.]+)s,\\s+update\\s+([\\d.]+)s\\)', line.strip())
    if not m:
        return None
    converged = '(converged)' in line
    return {'epochs': int(m.group(1)), 'wall_s': float(m.group(2)), 'bmu_s': float(m.group(3)), 'update_s': float(m.group(4)), 'converged': converged}


ARGS = {
    'line': 'done: 42 epochs in 123.456s (BMU 45.67s, update 78.89s)'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
sha256_file Ran
ran; our contract draft was wrong, not the code
mongrolwarrior/sparsesom-paper1/pipeline/fetch_data.py
code served (permissive licence) · get_code("7b16c59a7518bdd5")
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 str. 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 tempfile
from pathlib import Path

# Create a temporary file with some content to hash
with tempfile.NamedTemporaryFile(mode='wb', delete=False, suffix='.bin') as f:
    # Write some test data to the file
    test_data = b'Hello, this is test data for SHA256 hashing!' * 100
    f.write(test_data)
    temp_path = Path(f.name)

ARGS = {
    'path': temp_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
tiles_per_epoch Ran
ran, honoured the contract we drafted
mongrolwarrior/sparsesom-roofline-addendum/aggregate2.py
code served (permissive licence) · get_code("9ed2c9dc37848cb2")
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 int, ndim 0, dtype family int, shape () 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 math

N_SAMPLES = 26912934
SCORES_TILE_BYTES = 512 * 1024 * 1024

def tiles_per_epoch(edge):
    return max(1, math.ceil(N_SAMPLES / (SCORES_TILE_BYTES // (edge * edge * 2))))

ARGS = {
    "edge": 512
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () 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
config_hash Not yet run
unverified (harvested, no recorded run)
mongrolwarrior/sparsesom-paper1/pipeline/config.py
code served (permissive licence) · get_code("6d08eef61ed652a2")
How it ran

no invocation recorded.

load_experiment Not yet run
unverified (harvested, no recorded run)
mongrolwarrior/sparsesom-paper1/pipeline/config.py
code served (permissive licence) · get_code("cd5839913a33398d")
How it ran

no invocation recorded.

parse_sparsesom_epoch Not yet run
unverified (harvested, no recorded run)
mongrolwarrior/sparsesom-paper1/pipeline/parsers.py
code served (permissive licence) · get_code("2dc721ebdb521add")
How it ran

no invocation recorded.

parse_sparsesom_metrics Not yet run
unverified (harvested, no recorded run)
mongrolwarrior/sparsesom-paper1/pipeline/parsers.py
code served (permissive licence) · get_code("4ab494984150152a")
How it ran

no invocation recorded.

resolve Not yet run
unverified (harvested, no recorded run)
mongrolwarrior/sparsesom-paper1/pipeline/config.py
code served (permissive licence) · get_code("ddbf04f49dd7f3b6")
How it ran

no invocation recorded.

run Not yet run
unverified (harvested, no recorded run)
mongrolwarrior/sparsesom-paper1/pipeline/profile_outline.py
code served (permissive licence) · get_code("f5a7bc3b3f0e946f")
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 11 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 11 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

A self-organising map turns a large corpus into a browsable two-dimensional atlas, but building one at MEDLINE scale has been impractical: the bestmatching-unit (BMU) search that dominates training is bound by the bandwidth needed to read the codebook every epoch. I show that this bottleneck is largely an artefact of codebook layout. Storing it feature-major with each feature's weights contiguous, W[v•M+i], recasts the search as a tiled sparsedense product in which every loaded weight column is reused across a tile of samples. Varying only the layout, with implementation, precision and update rule held fixed, accelerates the BMU search by 4.5-8.5×. Because an exact-argmin BMU is invariant to how the codebook is stored, this gain costs nothing: held-out quantisation error agrees with a cuSPARSE baseline to within 0.5% at every map size. Against that baseline the advantage is a crossover rather than a constant: cuSPARSE.SOM is faster at small maps, SparseBin.SOM is 1.5× faster at 128×128 and 2.6× at 256×256, and at 512×512 it is the only one that runs at all on 24 GB. Paired with a radiusindependent box-blur update and a convergence-based stopping rule, it trains a converged map over 29.9 million MEDLINE articles in about 72 s at 64×64 on one 24 GB GPU, and accommodates 262,144 neurons (512×512 edges) where every alternative algorithm I tested exceeds memory constraints. On a

For agents

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

get_harvested_code_for_paper("2608.24067")
get_code_for_paper("2608.24067")
have("2608.24067")

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

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

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

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

Connect an agent — have() is free.