SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1403.6652 · Knowledge Discovery and Data Mining · 2014

DeepWalk: Online Learning of Social Representations

arXiv · PDF · Open in the Atlas

Code that ran

2 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures 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/1403.6652.json · badge: /api/ran/1403.6652.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
phanein/deepwalk canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
Robotmurlock/Deepwalk-and-Node2vec reimplementation (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
rforgione/deepwalk community (classifier label)
classifier basis not recorded on the link
0 ran · 1 no recorded run
FunctionStatusWhere it lives
random_walk_factory Ran
ran; our contract draft was wrong, not the code
Robotmurlock/Deepwalk-and-Node2vec/shallow_encoders/graph/random_walk_generator.py
code served (permissive licence) · get_code("bb422da5f51cae55")
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 DeepWalk. 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 networkx as nx
import random

# Set random seed for reproducibility
random.seed(0)

# Create a small graph for testing
graph = nx.Graph()
graph.add_edge('n1', 'n2', weight=1.0)
graph.add_edge('n2', 'n3', weight=2.0)
graph.add_edge('n3', 'n4', weight=1.5)
graph.add_edge('n4', 'n1', weight=1.0)
graph.add_edge('n1', 'n3', weight=0.5)

# Test with DeepWalk
ARGS = {
    'name': 'deepwalk',
    'graph': graph,
    'length': 5,
    'additional_params': None
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
networkx — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DeepWalk — a DeepWalk output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DeepWalk 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
sparse2graph Ran
ran; our contract draft was wrong, not the code
phanein/deepwalk/example_graphs/scoring.py
pointer only (licence: NOASSERTION) · get_code("941b18b4d5d1d711")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, phanein/deepwalk (NOASSERTION). 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.

custom_doc_links Not yet run
unverified (harvested, no recorded run)
rforgione/deepwalk/deepwalk/_nbdev.py
code served (permissive licence) · get_code("c00f1d9594b0678a")
How it ran

no invocation 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 (0 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
custom_doc_links 9 other papers
9 later
1604.07143 (2016-04)
Neural Random Forests
1812.08693 (2018-12)
An Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translation
1903.10663 (2019-03)
Combination of Multiple Global Descriptors for Image Retrieval
and 6 more not named here
sparse2graph 1 other paper
1 later
2002.04784 (2020-02)
Graph Universal Adversarial Attacks: A Few Bad Actors Ruin Graph Learning Models

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

We present DeepWalk, a novel approach for learning latent representations of vertices in a network. These latent representations encode social relations in a continuous vector space, which is easily exploited by statistical models. DeepWalk generalizes recent advancements in language modeling and unsupervised feature learning (or deep learning) from sequences of words to graphs. DeepWalk uses local information obtained from truncated random walks to learn latent representations by treating walks as the equivalent of sentences. We demonstrate DeepWalk's latent representations on several multi-label network classification tasks for social networks such as BlogCatalog, Flickr, and YouTube. Our results show that DeepWalk outperforms challenging baselines which are allowed a global view of the network, especially in the presence of missing information. DeepWalk's representations can provide $F_1$ scores up to 10% higher than competing methods when labeled data is sparse. In some experiments, DeepWalk's representations are able to outperform all baseline methods while using 60% less training data. DeepWalk is also scalable. It is an online learning algorithm which builds useful incremental results, and is trivially parallelizable. These qualities make it suitable for a broad class of real world applications such as network classification, and anomaly detection.

For agents

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

get_harvested_code_for_paper("1403.6652")
get_code_for_paper("1403.6652")
have("1403.6652")

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

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

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

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

Connect an agent — have() is free.