YouTube (v2) Friendship Network
YouTube is a video-sharing website. This is the friendship network among users (the readme: symmetric, each edge represented once) with the groups users belong to, as distributed by the Data Lab's Social Computing Data Repository (version 2). This copy holds 2,990,443 friendship links among 1,138,499 users and a list of 1,138,499 user numbers. It also holds 47 groups and 50,691 group memberships.
Cite this dataset at
youtube-v2.echo.directory
Analytics
The full graph has 1,138,499 nodes; this view shows the 1,000-node sample the pipeline drew for display. Node size is centrality, colour is community.
Record
- Catalog key
youtube-v2- Authors
- Tang, Lei; Liu, Huan
- Year
- 2009
- Source paper
- Relational Learning via Latent Social Dimensions
- DOI / arXiv
- 10.1145/1557019.1557109
- License
- Research use only (LicenseRef-Research-Only)
- Contents
- 2,990,443 edges
1,138,499 nodes
47 communities
50,691 memberships
Rows of the data package, version 1.0.0. - Overlaps with
- YouTube Social Network: 50% of this dataset's rows are also in it, and 65% of its rows are also in this dataset (measured on samples of 5,639 and 4,384)
Shares are measured on a sample of each dataset's content, so they are estimates. - Nodes are
- user
- Edges are
- friendship
- Attributes
- nodes have attributes; edges have no attributes
- Languages
- en
- Collected
- 2009 (2000s)
- Tasks
- From the graph: link prediction, community detection
- Region
- Global (inferred: the platform is used worldwide)
Provenance
- Originally published at
- https://datasets.syr.edu link checked
- Original files as received
- The source files, unconverted, kept for reference: mirrored on echo.directory on 2026-10-09, 45.0 MB across 5 files. Checksums in MANIFEST.json. For use, start with the data package below.
- Data package
- Version 1.0.0 of this dataset as an ECHO Data Package: edges (2,990,443 rows), nodes (1,138,499 rows), communities (47 rows), memberships (50,691 rows).
Use from code
Read the edges table directly from echo.directory, without downloading it first.
Every file of this package, with checksums, is listed in files.json; see the API documentation.
Python (DuckDB)
import duckdb # pip install duckdb
df = duckdb.sql("SELECT * FROM 'https://echo.directory/download/youtube-v2/v1.0.0/data/edges.parquet' LIMIT 1000").df() # drop LIMIT for the whole tableR (arrow)
library(arrow) # install.packages("arrow")
df <- read_parquet("https://echo.directory/download/youtube-v2/v1.0.0/data/edges.parquet")SQL (DuckDB)
SELECT * FROM 'https://echo.directory/download/youtube-v2/v1.0.0/data/edges.parquet' LIMIT 10;Citations
Relational learning via latent social dimensions
Lei Tang, Huan Liu
Journal Article · Knowledge Discovery and Data Mining · 2009
Cited by
- DeepGCNs: Can GCNs Go As Deep As CNNs?
G. Li, Matthias Müller et al. · IEEE International Conference on Computer Vision · 2019 · cited 1.7K× - A Survey on Network Embedding
P. Cui, Xiao Wang et al. · IEEE Transactions on Knowledge and Data Engineering · 2017 · cited 1.2K× - Representation Learning for Dynamic Graphs: A Survey
Seyed Mehran Kazemi, Rishab Goel et al. · Journal of machine learning research · 2019 · cited 715× - Network Representation Learning: A Survey
Daokun Zhang, Jie Yin et al. · IEEE Transactions on Big Data · 2017 · cited 703× - Anomaly Detection on Attributed Networks via Contrastive Self-Supervised Learning
Yixin Liu, Zhao Li et al. · IEEE Transactions on Neural Networks and Learning Systems · 2021 · cited 552×
Show all 10
- DeeperGCN: All You Need to Train Deeper GCNs
Guohao Li, Chenxin Xiong et al. · arXiv.org · 2020 · cited 546× - GraphSMOTE: Imbalanced Node Classification on Graphs with Graph Neural Networks
Tian-Xiang Zhao, Xiang Zhang et al. · Web Search and Data Mining · 2021 · cited 525× - Graph neural networks
Ling-Fei Wu, P. Cui et al. · Nature Reviews Methods Primers · 2021 · cited 460× - Feature Selection for Clustering: A Review
Salem Alelyani, Ji-Liang Tang et al. · Data Clustering: Algorithms and Applications · 2018 · cited 429× - Disentangled Graph Convolutional Networks
Jian-Xin Ma, P. Cui et al. · International Conference on Machine Learning · 2019 · cited 393×
Citation data from Semantic Scholar, retrieved 2026-11-19.
How to cite
BibTeX
@misc{echo2026,
title = {ECHO: Exploratory Compendium of Humanity Online},
author = {Switzer, Braden and Zafarani, Reza},
year = {2026},
url = {https://echo.directory},
note = {Syracuse University}
}
@inproceedings{tang2009relational,
title = {{Relational Learning via Latent Social Dimensions}},
author = {Tang, Lei and Liu, Huan},
booktitle = {Proceedings of the 15th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD'09)},
pages = {817--826},
year = {2009},
doi = {10.1145/1557019.1557109}
} APA
Switzer, B., & Zafarani, R. (2026). ECHO: Exploratory Compendium of Humanity Online [Data repository]. Syracuse University. https://echo.directory
Tang, L., & Liu, H. (2009). YouTube (v2) Friendship Network [Data set]. https://doi.org/10.1145/1557019.1557109
MLA
Switzer, Braden, and Reza Zafarani. ECHO: Exploratory Compendium of Humanity Online. Syracuse University, 2026, echo.directory.
Tang, Lei, and Huan Liu. YouTube (v2) Friendship Network. 2009, doi.org/10.1145/1557019.1557109.
