Published July 8, 2021 | Version v1

MAG for Heterogeneous Graph Learning

Authors/Creators

  • 1. University of Amsterdam

Contributors

  • 1. Information and Language Processing Systems group - Informatics Institute of the University of Amsterdam

Description

We provide an academic graph based on a snapshot of the Microsoft Academic Graph from 26.05.2021. The Microsoft Academic Graph (MAG) is a large-scale dataset containing information about scientific publication records, their citation relations, as well as authors, affiliations, journals, conferences and fields of study. We acknowledge the Microsoft Academic Graph using the URI https://aka.ms/msracad. For more information regarding schema and the entities present in the original dataset please refer to: MAG schema

MAG for Heterogeneous Graph Learning
We use a recent version of MAG from May 2021 and extract all relevant entities to build a graph that can be directly used for heterogeneous graph learning (node classification, link prediction, etc.). The graph contains all English papers, published after 1900, that have been cited at least 5 times per year since the time of publishing. For fairness, we set a constant citation bound of 100 for papers published before 2000. We further include two smaller subgraphs, one containing computer science papers and one containing medicine papers. 

Nodes and features
We define the following nodes:

  • paper with mag_id, graph_id, normalized title, year of publication, citations and a 128-dimension title embedding built using word2vec
    No. of papers: 5,091,690 (all), 1,014,769 (medicine), 367,576 (computer science);
  • author with mag_id, graph_id, normalized name, citations
    No. of authors: 6,363,201 (all), 1,797,980 (medicine), 557,078 (computer science);
  • field with mag_id, graph_id, level, citations denoting the hierarchical level of the field where 0 is the highest-level (e.g. computer science)
    No. of fields: 199,457 (all), 83,970 (medicine), 45,454 (computer science);
  • affiliation with mag_id, graph_id, citations
    No. of affiliations: 19,421 (all), 12,103 (medicine), 10,139 (computer science); 
  • venue with mag_id, graph_id, citations, type denoting whether conference or journal
    No. of venues: 24,608 (all), 8,514 (medicine), 9,893 (computer science). 

Edges
We define the following edges:

  • author is_affiliated_with affiliation
    No. of author-affiliation edges: 8,292,253 (all), 2,265,728 (medicine), 665,931 (computer science);
  • author is_first/last/other paper
    No. of author-paper edges: 24,907,473 (all), 5,081,752 (medicine), 1,269,485 (computer science);
  • paper has_citation_to paper
    No. of author-affiliation edges: 142,684,074 (all), 16,808,837 (medicine), 4,152,804 (computer science);
  • paper conference/journal_published_at venue
    No. of author-affiliation edges: 5,091,690 (all), 1,014,769 (medicine), 367,576 (computer science);
  • paper has_field_L0/L1/L2/L3/L4 field
    No. of author-affiliation edges: 47,531,366 (all), 9,403,708 (medicine), 3,341,395 (computer science);
  • field is_in field
    No. of author-affiliation edges: 339,036 (all), 138,304 (medicine), 83,245 (computer science);

We further include a reverse edge for each edge type defined above that is denoted with the prefix rev_ and can be removed based on the downstream task. 

Data structure
The nodes and their respective features are provided as separate .tsv files where each feature represents a column. The edges are provided as a pickled python dictionary with schema:

{target_type:
    {source_type:
        {edge_type:
            {target_id:
                {source_id:
                    {time
                    }
                }
            }
        }
    }
}

We provide three compressed ZIP archives, one for each subgraph (all, medicine, computer science), however we split the file for the complete graph into 500mb chunks. Each archive contains the separate node features and edge dictionary.

Files

MAG-all.zip

Files (10.2 GB)

Name Size
md5:d26a7437187dd4c26c5af8348e525a10
524.3 MB Download
md5:20d98a405193f3e3870c3423cb1e6f1a
524.3 MB Download
md5:5c7bdb46773fc2d6e80f01395bd9a204
524.3 MB Download
md5:a24d3ccc318bde0a83d4206d022b1f1a
524.3 MB Download
md5:2db07616cf81bdfd8fc0484fe3fc6541
524.3 MB Download
md5:4e3f9d1d44b162c63134c43607669568
524.3 MB Download
md5:8e3b765314574c1b4bb9c7378ef87ff0
524.3 MB Download
md5:d2170e4001d52d22eaafb8e2fe6f4357
524.3 MB Download
md5:b53d4857712618963bc21e227b2701cb
524.3 MB Download
md5:0aedb354772b4fba994fa2edd0aef4e3
524.3 MB Download
md5:10cd11b70d1a6e7a729469aa4a6563ae
524.3 MB Download
md5:2e315d4fab44af653d93bc39d7384f23
524.3 MB Download
md5:e0118196047f304e20c3f9a1abbb4e13
524.3 MB Download
md5:c4213e13253c3a6064dca7616b601a04
524.3 MB Download
md5:d5c17590d1aef0ccbab6bb8414dec81a
524.3 MB Download
md5:123f9931e55f38b37a90a047ad64564b
524.3 MB Download
md5:51b4c94684075c9aca99e28cf91d37e4
377.1 MB Preview Download
md5:a7462554084d5cf1654f0e657463a84c
365.3 MB Preview Download
md5:cafca001ecdd73f947b2153554328c01
1.1 GB Preview Download

Additional details

Related works

Is compiled by
10.1145/2740908.2742839 (DOI)