Zzong's Notes

방문

Home

❯

그래프

❯

PyTorch-BigGraph

PyTorch-BigGraph

최초 작성 2026-06-14마지막 수정 2026-10-23읽는 데 1분

노트 편집 ↗

graph/Graph Neural Network

PBG 가 학습하는 모델들

  • RESCAL
  • DistMult
  • TransE
  • ComplEx

References

Links

  • paper: https://arxiv.org/pdf/1903.12287.pdf
  • github: https://github.com/facebookresearch/PyTorch-BigGraph

링크된 언급

3
A Three-Way Model for Collective Learning on Multi-Relational Data

...Mult 는 Rₖ 를 대각행렬로 두어 파라미터를 r 개로 줄이지만 대칭 관계만 표현할 수 있게 되고, ComplEx 는 복소수 임베딩으로 대각 형태를 유지하면서 비대칭까지 표현한다. PyTorch-BigGraph 는 대규모 그래프 임베딩 학습 프레임워크로, RESCAL 을 포함한 여러 스코어 함수를 선택지로 제공한다. References

Complex Embeddings for Simple Link Prediction

PyTorch-BigGraph, knowledge bases

PyTorch

PyTorch-BigGraph

함께 보면 좋은 글

Graph Neural Network

전통적인 그래프 관련 알고리즘들의 limitation 이 존재 기존 알고리즘들: BFS, DFS, Dijkstra algorithm, Prim algorithm etc.

PyTorch

1. torch.multinomia : 주어진 vector 의 weight 값을 multinomial distribution 로 치환해서 샘플링을 수행한다.

Graph Embedding

Graph Embedding 은 node, edge, subgraph, 전체 graph 를 vector 로 표현하는 방법이다. 그래프 구조를 embedding 으로 바꾸면 similarity search, classification, recommendation 같은 downstream task 에 사용할 수 있다.

A Three-Way Model for Collective Learning on Multi-Relational Data

지식 그래프를 3차원 텐서로 놓고, 관계마다 하나의 행렬을 두어 분해하는 모델이다. 이 모델을 RESCAL 이라고 부른다. Nickel et al., ICML 2011.

graphical model

Graphical Model (확률 그래프 모델) : 확률 분포를 그래프 구조로 표현하는 방법. 노드는 랜덤 변수, 엣지는 변수 간 의존 관계를 나타낸다.

random walk

Random walk는 graph 위에서 현재 node의 이웃 중 하나를 확률적으로 선택해 이동하는 과정이다. graph의 node를 state로 보고, edge를 이동 경로로 보면 Markov Chain의 한 형태로 이해할 수 있다.

Complex Embeddings for Simple Link Prediction

statistical relational learning 에서 link prediction 문제를 latent factorization 을 통해 푸는 방식을 제안한다.

PPR

Personalized PageRank(PPR)는 PageRank에서 "다시 시작할 위치"를 특정 seed node 또는 seed set에 집중시키는 방법이다. global PageRank가 "전체 graph에서 중요한 node"를 찾는다면, PPR은 random walk 를 통해 특정 출발점 주변에서 가깝고...

Temporal Graph Network

Related Link 정의 dynamic graphs represented as sequences of timed events 를 학습하기 위한 general encoder 구조 소개 real-world 그래프들은 dynamic 하고 시간에 따라 진화한다. 이 dynamic graph 는 ordered list...

Graph Learning based Recommender Systems

1. 추천 시스템 내 대부분의 데이터는 그래프 구조를 가진다. real world 에서 객체들은 서로 explicit 또는 implicit 하게 연결되어 있다. 그리고 그 객체는 사용자, 아이템, 속성등 이 될 수 있다. 2. 그래프 학습은 복잡한 관계를 학습할 수 있다. random walk 나 GNN 과 같은...

  • PBG 가 학습하는 모델들
  • References
  • Links