SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2107.03573 · 2021

Deep Structural Point Process for Learning Temporal Interaction Networks

arXiv · PDF · Open in the Atlas

Code that ran

4 of 5 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, 1 violated it and 2 have no contract verdict; 1 failure of our instrument; 1 no recorded run), measured 2026-11-22; 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/2107.03573.json · badge: /api/ran/2107.03573.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
cjx96/DSPP canonical (classifier label)
classifier basis: census
4 ran · 1 no recorded run
FunctionStatusWhere it lives
load_config Ran
ran on a synthesized input
cjx96/DSPP/DSPP_src/utils/helper.py
code served (permissive licence) · get_code("5eda04e68e1704dc")
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 json
import tempfile
import os

# Create a temporary JSON config file
config_data = {
    "model": "test_model",
    "learning_rate": 0.001,
    "batch_size": 32,
    "num_epochs": 10
}

# Write to a temporary file
temp_dir = tempfile.gettempdir()
config_path = os.path.join(temp_dir, "test_config.json")
with open(config_path, 'w') as f:
    json.dump(config_data, f)

ARGS = {
    "path": config_path,
    "verbose": True
}
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
normalize Ran
ran, violated the contract we drafted
cjx96/DSPP/DSPP_src/utils/BipartiteGraph.py
pointer only (licence: MIT); the stored copy get_code serves, from songw-sw/x-fnc, is pointer only (licence: NONE) · get_code("aa9c29936dee40a7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from songw-sw/x-fnc, and GitHub detected no licence in that repository 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.

save_config Ran
ran on a synthesized input
cjx96/DSPP/DSPP_src/utils/helper.py
code served (permissive licence) · get_code("844725f7776a3539")
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 json
import tempfile
import os

def save_config(config, path, verbose=True):
    with open(path, 'w') as outfile:
        json.dump(config, outfile, indent=2)
    if verbose:
        print('Config saved to file {}'.format(path))
    return config

# Create a temporary directory for the output file
temp_dir = tempfile.mkdtemp()
temp_path = os.path.join(temp_dir, 'test_config.json')

# Define the config dict with JSON-serializable values
config_dict = {
    'model_name': 'test_model',
    'learning_rate': 0.001,
    'batch_size': 32,
    'epochs': 10,
    'layers': [64, 128, 256],
    'dropout': 0.5,
    'use_attention': True,
    'seed': 42
}

ARGS = {
    'config': config_dict,
    'path': temp_path,
    'verbose': True
}
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
sparse_mx_to_torch_sparse_tensor Ran
ran; our contract draft was wrong, not the code
cjx96/DSPP/DSPP_src/utils/BipartiteGraph.py
code served (permissive licence) · get_code("c97b99c4e8201a97")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned Tensor. 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 numpy as np
import torch
from scipy.sparse import csr_matrix

torch.manual_seed(0)

# Create a small sparse matrix using scipy
# Make it 3x4 to have distinct dimensions
row = np.array([0, 0, 1, 2, 2])
col = np.array([0, 2, 1, 0, 3])
data = np.array([1.5, 2.3, 3.7, 4.2, 5.1])
sparse_mx = csr_matrix((data, (row, col)), shape=(3, 4))

ARGS = {
    'sparse_mx': sparse_mx
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
numpy, scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, shape (3, 4) — shape (3, 4) as a later run recorded it
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_network Not yet run
unverified (harvested, no recorded run)
cjx96/DSPP/DSPP_src/utils/LoadGraph.py
code served (permissive licence) · get_code("852c537cdce81cb7")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 4 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 4 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
sparse_mx_to_torch_sparse_tensor 32 other papers
7 dated earlier, 25 later · 4 only as an assembly brick
1806.09055 (2018-06)
DARTS: Differentiable Architecture Search
1902.07153 (2019-02)
Simplifying Graph Convolutional Networks
2002.01633 (2020-02)
Structural Deep Clustering Network
and 29 more not named here
normalize 24 other papers
7 dated earlier, 17 later
1609.02907 (2016-09)
Semi-Supervised Classification with Graph Convolutional Networks
1803.03735 (2018-03)
Attention-based Graph Neural Network for Semi-supervised Learning
1805.09112 (2018-05)
Hyperbolic Neural Networks
and 21 more not named here
load_config 1 other paper
1 later
2203.16863 (2022-03)
Cross-Domain Recommendation to Cold-Start Users via Variational Information Bottleneck
save_config 1 other paper
1 later
2203.16863 (2022-03)
Cross-Domain Recommendation to Cold-Start Users via Variational Information Bottleneck

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-22.

Repositories linked to this paper

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

Abstract

This work investigates the problem of learning temporal interaction networks. A temporal interaction network consists of a series of chronological interactions between users and items. Previous methods tackle this problem by using different variants of recurrent neural networks to model sequential interactions, which fail to consider the structural information of temporal interaction networks and inevitably lead to sub-optimal results. To this end, we propose a novel Deep Structural Point Process termed as DSPP for learning temporal interaction networks. DSPP simultaneously incorporates the topological structure and long-range dependency structure into our intensity function to enhance model expressiveness. To be specific, by using the topological structure as a strong prior, we first design a topological fusion encoder to obtain node embeddings. An attentive shift encoder is then developed to learn the long-range dependency structure between users and items in continuous time. The proposed two modules enable our model to capture the user-item correlation and dynamic influence in temporal interaction networks. DSPP is evaluated on three real-world datasets for both tasks of item prediction and time prediction. Extensive experiments demonstrate that our model achieves consistent and significant improvements over state-of-the-art baselines.

For agents

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

get_harvested_code_for_paper("2107.03573")
get_code_for_paper("2107.03573")
have("2107.03573")

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

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

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

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

Connect an agent — have() is free.