SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2304.03864 · 2023

SGDP: A Stream-Graph Neural Network Based Data Prefetcher

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 1 failure of our instrument; 0 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/2304.03864.json · badge: /api/ran/2304.03864.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
yyysjz1997/SGDP canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
2 ran · 0 no recorded run
FunctionStatusWhere it lives
forward Ran
ran; our contract draft was wrong, not the code
yyysjz1997/SGDP/model.py
code served (permissive licence) · get_code("2dea56d99c453220")
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. 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 torch
import torch.nn as nn

torch.manual_seed(0)

class DummyModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.embedding = nn.Embedding(10, 4)
        self.linear = nn.Linear(4, 4)
    
    def forward(self, items, A):
        # items: (batch_size, seq_len)
        # A: (batch_size, seq_len, seq_len)
        # Output: (batch_size, seq_len, hidden_dim)
        embedded = self.embedding(items)
        hidden = self.linear(embedded)
        return hidden
    
    def compute_scores(self, seq_hidden, mask):
        # seq_hidden: (batch_size, hidden_dim)
        # mask: (batch_size, seq_len)
        # Output: scores tensor
        scores = torch.sum(seq_hidden, dim=1, keepdim=True)
        return scores

model = DummyModel()

# Construct data tuple
batch_size = 2
seq_len = 3
hidden_dim = 4

alias_inputs = [[0, 1, 2], [1, 2, 0]]
A = [
    [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]],
    [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]]
]
items = [[1, 2, 3], [2, 3, 4]]
mask = [[1, 1, 1], [1, 1, 0]]
targets = [0, 1]

data = (alias_inputs, A, items, mask, targets)

ARGS = {
    'model': model,
    'i': 0,
    'data': data
}
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 — a tuple output has no array shape of its own; none is 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
trans_to_cpu Ran
ran, honoured the contract we drafted
this paper's copy was not recorded; identical code first harvested from CCIIPLab/GCE-GNN
pointer only; the stored copy get_code serves, from CCIIPLab/GCE-GNN, is pointer only (licence: NONE) · get_code("c653657a12ab28d4")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

trans_to_cuda Ran
ran, honoured the contract we drafted
this paper's copy was not recorded; identical code first harvested from CCIIPLab/GCE-GNN
pointer only; the stored copy get_code serves, from CCIIPLab/GCE-GNN, is pointer only (licence: NONE) · get_code("7a27709bcab8b8f3")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 1 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.

FunctionAlso present inEarliest-datedOthers named
trans_to_cuda 6 other papers
5 dated earlier, 1 later
1802.05591 (2018-02)
Towards End-to-End Lane Detection: an Instance Segmentation Approach
2005.02844 (2020-05)
TAGNN: Target Attentive Graph Neural Networks for Session-based Recommendation
2012.06852 (2020-12)
Self-Supervised Hypergraph Convolutional Networks for Session-based Recommendation
and 3 more not named here
trans_to_cpu 5 other papers
4 dated earlier, 1 later
2005.02844 (2020-05)
TAGNN: Target Attentive Graph Neural Networks for Session-based Recommendation
2012.06852 (2020-12)
Self-Supervised Hypergraph Convolutional Networks for Session-based Recommendation
2106.05081 (2021-06)
Global Context Enhanced Graph Neural Networks for Session-based Recommendation
and 2 more not named here

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

Data prefetching is important for storage system optimization and access performance improvement. Traditional prefetchers work well for mining access patterns of sequential logical block address (LBA) but cannot handle complex non-sequential patterns that commonly exist in real-world applications. The state-of-the-art (SOTA) learning-based prefetchers cover more LBA accesses. However, they do not adequately consider the spatial interdependencies between LBA deltas, which leads to limited performance and robustness. This paper proposes a novel Stream-Graph neural network-based Data Prefetcher (SGDP). Specifically, SGDP models LBA delta streams using a weighted directed graph structure to represent interactive relations among LBA deltas and further extracts hybrid features by graph neural networks for data prefetching. We conduct extensive experiments on eight real-world datasets. Empirical results verify that SGDP outperforms the SOTA methods in terms of the hit ratio by 6.21%, the effective prefetching ratio by 7.00%, and speeds up inference time by 3.13X on average. Besides, we generalize SGDP to different variants by different stream constructions, further expanding its application scenarios and demonstrating its robustness. SGDP offers a novel data prefetching solution and has been verified in commercial hybrid storage systems in the experimental phase. Our codes and appendix are available at https://github.com/yyysjz1997/SGDP/.

For agents

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

get_harvested_code_for_paper("2304.03864")
get_code_for_paper("2304.03864")
have("2304.03864")

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

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

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

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

Connect an agent — have() is free.