# GloVe: Global Vectors for Word Representation

GloVe: 전역 공기 통계로 단어 벡터 학습

Jeffrey Pennington, Richard Socher, Christopher D. Manning · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP)

- **연구 문제** 단어 벡터가 의미 관계를 드러내는 이유는 불분명합니다. 전역 통계 방법은 유추 성능이 낮고, 문맥 창 방법은 전역 통계를 쓰지 않습니다.
- **연구 방법** GloVe는 단어 쌍의 전역 공기 횟수 로그값을 벡터 내적과 편향으로 맞추도록 가중 최소제곱 식을 풉니다.
- **주요 결과** 6B 말뭉치 300차원 조건에서 GloVe는 단어 유추 전체 점수 71.7을 기록해 자체 학습한 SG†의 69.1보다 높았습니다.

## 단어 벡터가 의미 구조를 갖추는 조건

단어를 실수 벡터로 표현하는 방법은 이미 널리 쓰이지만, 벡터 차이가 단어 유추처럼 선형 의미 관계를 드러내는 이유는 충분히 설명되지 않았습니다. 기존 방식은 크게 두 계열로 나뉩니다. 하나는 LSA처럼 말뭉치의 전역 공기 통계를 행렬 분해로 효율적으로 활용하지만 단어 유추 과제에서 성능이 낮은 방법입니다. 다른 하나는 skip-gram이나 CBOW처럼 지역 문맥 창을 주사하며 유추 성능은 좋지만 전역 공기 통계를 직접 쓰지 않는 방법입니다. 이 논문은 선형 의미 방향이 나타나기 위해 모델이 가져야 할 성질을 분석하고, 전역 공기 통계를 쓰면서도 이 성질을 만족하는 단어 벡터 학습 모델을 제안합니다.

## 비율 불변성에서 가중 최소제곱 목적으로

출발점은 단어 i, j와 탐침 단어 k의 공기 확률 비율 P(k\|i)/P(k\|j)가 의미 차이를 담는다는 관찰입니다. 이를 벡터 차이로 옮기기 위해 함수 F가 (wi − wj)ᵀw̃k의 값을 공기 확률 비율과 맞추도록 제한하고, 준동형 조건을 거쳐 wiᵀw̃k = log(Xik) − log(Xi)라는 관계를 얻습니다. 여기서 Xi는 단어 i의 전체 문맥 횟수이며, log(Xi)는 k에 독립이므로 편향 bi로 흡수됩니다. 대칭성을 맞추기 위해 편향 b̃k를 더하면 wiᵀw̃k + bi + b̃k = log(Xik)가 되고, 이를 가중 최소제곱 목적 J = Σ f(Xij)(wiᵀw̃j + bi + b̃j − log Xij)²으로 바꿉니다.

가중치 f는 f(0)=0, 비감소, 큰 값에서 상대적으로 작음이라는 조건을 만족하며, 논문은 xmax=100과 α=3/4인 구간별 거듭제곱 함수를 사용합니다.

## 기존 모델과의 관계와 계산 복잡도

논문은 skip-gram과 ivLBL의 목적을 공기 행렬 기준으로 다시 쓰면 교차 엔트로피의 가중 합으로 나타난다는 점을 보입니다. 그러나 교차 엔트로피는 정규화 계산을 요구하고 긴 꼬리 분포를 잘 다루지 못하므로, 논문은 로그 공기 횟수에 대한 제곱 오차와 가중치 f(Xij)를 가진 목적으로 옮깁니다. 복잡도 분석에서는 Xij가 빈도 순위에 대한 거듭제곱 법칙을 따른다고 가정합니다. 이 가정 아래 전체 말뭉치 크기 \|C\|와 비영 원소 수 \|X\| 사이의 관계를 유도하고, 실험 말뭉치에서 α = 1.25일 때 \|X\| = O(\|C\|^0.8)이라고 설명합니다. 따라서 이 분석의 계산량은 최악의 O(V²)보다 낫고 창 기반 방법의 O(\|C\|)보다도 낫다고 논문은 결론짓습니다.

## 단어 유추 과제의 결과

단어 유추 과제는 a는 b에, c는 d에 대응한다는 질문에서 wb − wa + wc에 가장 가까운 단어 d를 코사인 유사도로 찾는 방식으로 평가합니다. 표 2의 42B 말뭉치 300차원 설정에서 GloVe는 Semantic 81.9, Syntactic 69.3, Total 75.0을 기록합니다. 6B 말뭉치 300차원 설정에서는 Total 71.7이며, 자체 학습한 SG†는 69.1, CBOW†는 65.7입니다. 이 값들은 같은 표의 말뭉치와 차원 조건 안에서 비교해야 하며, 다른 말뭉치나 차원의 행과 직접 같은 조건으로 묶으면 안 됩니다.

## 단어 유사도와 개체명 인식

단어 유사도 과제는 코사인 유사도 기반 점수와 사람 판단 사이의 스피어만 순위 상관으로 평가합니다. CBOW\*는 word2vec 웹사이트의 벡터로 100B 단어 뉴스 데이터에서 학습되었으므로 말뭉치 조건이 다릅니다. 개체명 인식 실험은 CoNLL-2003에서 50차원 단어 벡터를 CRF의 연속 특징으로 넣어 수행합니다. 표 4에서 GloVe는 CoNLL 테스트 세트를 제외한 평가 항목에서 다른 방법보다 높고, CoNLL 테스트 세트에서는 HPCA가 약간 더 높습니다.

## 차원, 문맥 창, 말뭉치 크기의 영향

차원 분석에서는 벡터 차원을 키울 때 약 200차원을 넘으면 수익이 줄어든다고 보고합니다. 문맥 창 분석에서는 구문 과제가 작고 비대칭인 문맥에서 더 잘 나타나고, 의미 과제는 더 큰 창에서 더 많이 포착된다고 해석합니다. 말뭉치 분석에서는 구문 과제 정확도가 말뭉치 크기에 따라 단조 증가하지만, 의미 과제는 Wikipedia 말뭉치가 Gigaword보다 더 높게 나타납니다. 저자들은 이를 도시·국가 유추가 많은 데이터셋 구성과 Wikipedia의 갱신 특성으로 해석합니다.

## 학습 시간과 word2vec 비교

학습 시간 분석은 GloVe의 반복 수와 word2vec의 네거티브 샘플 수를 같은 말뭉치, 어휘, 창 크기 조건에서 비교합니다. 이 비교에서 GloVe는 같은 학습 시간에 더 나은 결과를 얻고, 최종적으로도 더 높은 성능을 보입니다. word2vec은 네거티브 샘플 수를 약 10보다 늘리면 유추 성능이 낮아지는 것으로 보고되었으며, 저자들은 이를 네거티브 샘플링이 목표 분포를 잘 근사하지 못하기 때문으로 해석합니다. 이 결과는 원문의 학습 시간 대조 설정에 한정됩니다.

## 논문 정보

- **저자**: Jeffrey Pennington, Richard Socher, Christopher D. Manning
- **학회·저널**: Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · 게재
- **등록일**: 2026년 11월 11일
- **DOI**: 10.3115/v1/d14-1162
- **원문 이용 조건**: [원문에서 확인 ↗](https://doi.org/10.3115/v1/d14-1162)
- **제공 범위**: 논문 정보, 해설

[논문 원문 ↗](https://doi.org/10.3115/v1/d14-1162)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 원문 인용

Jeffrey Pennington, Richard Socher, Christopher D. Manning (2014). GloVe: Global Vectors for Word Representation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP). https://doi.org/10.3115/v1/d14-1162

**BibTeX**

```
@article{pennington2014glove,
  title = {{GloVe: Global Vectors for Word Representation}},
  author = {Jeffrey Pennington and Richard Socher and Christopher D. Manning},
  year = {2014},
  journal = {Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP)},
  doi = {10.3115/v1/d14-1162},
  url = {https://doi.org/10.3115/v1/d14-1162}
}
```

## 이 논문의 용어

- [cosine similarity](https://refivu.com/terms/3baa01a8760d-cosine-similarity)
- [GloVe](https://refivu.com/terms/8a6b3410f3dd-glove)
- [AdaGrad](https://refivu.com/terms/d6141e5e2b98-adagrad)
- [Skip-gram](https://refivu.com/terms/e835a0cf8e3d-skip-gram)
- [Spearman rank correlation](https://refivu.com/terms/7c7873bbcf11-spearman-rank-correlation)
- [Named entity recognition](https://refivu.com/terms/9fb3660a6152-named-entity-recognition)
- [CoNLL-2003](https://refivu.com/terms/aea77cea8e16-conll-2003)
- [latent semantic analysis (LSA)](https://refivu.com/terms/fe638f910abb-latent-semantic-analysis-lsa)
- [weighted least squares](https://refivu.com/terms/1e2d383b8b11-weighted-least-squares)
- [weighting function](https://refivu.com/terms/aad8040d4fcf-weighting-function)

## 다른 논문 해설

- [Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence](https://refivu.com/papers/fa665462-dba3-45c9-a6d2-bbeac44186f3-metamorphic-testing-of-learned-ac-optimal-power-flow.md)
- [Do Time-Series Foundation Models Forecast Index-Futures Returns? A Preregistered Evaluation of Models, Metrics, and Input Representations](https://refivu.com/papers/8012197a-5424-4ccb-9a7d-c960c13e89e3-do-time-series-foundation-models-forecast-index-futures.md)
- [Does Pose Encoding Matter? Analyzing Geometric Representations for Discrete Motion Vocabulary Learning](https://refivu.com/papers/bf738030-c57b-4b9c-b623-6e1eab20dc66-does-pose-encoding-matter-analyzing-geometric.md)
- [Identifiable alignment of unpaired representations](https://refivu.com/papers/d1142187-968e-4d40-b99f-8cc798e1c8a1-identifiable-alignment-of-unpaired-representations.md)
- [Graph representations of dislocation networks](https://refivu.com/papers/d62fc2e7-8699-4840-a224-275d5ce874b0-graph-representations-of-dislocation-networks.md)
- [On the limitations of molecular representations](https://refivu.com/papers/6323d57a-14ec-409e-b40c-3b539a68822c-on-the-limitations-of-molecular-representations.md)
- [Sable: A Small-Field Sumcheck Argument for Bit-Exact Inference of Large Language Models](https://refivu.com/papers/c9634c12-f842-44ee-beb7-6b7a10ebcb75-sable-a-small-field-sumcheck-argument-for-bit.md)
- [BODYinTRANSIT-Lab: A Multimodal Dataset for Investigating Sensory-Driven Transformations in Body Perception and Affective Experiences](https://refivu.com/papers/aa190fab-619f-4eb2-bb78-ffd749a9597e-bodyintransit-lab-a-multimodal-dataset-for-investigating.md)
- [HaiRuo: Forecasting Ocean Eddies as Fields and Objects with a Satellite-Altimetry Foundation Model](https://refivu.com/papers/b59cba67-c44a-47fa-8544-c0f453b737b4-hairuo-forecasting-ocean-eddies-as-fields-and-objects.md)
- [Maze Runner: Autonomous Maze Navigation with Line-Based Localization and Control Barrier Functions](https://refivu.com/papers/cbf2ea63-56ec-4c73-b583-028435947e11-maze-runner-autonomous-maze-navigation-with-line-based.md)
- [Explanation-Aware Fairness Beyond Output Parity: Joint Output-Attribution Regularization for Medical Image Classification](https://refivu.com/papers/28689396-85eb-481f-b57c-b63e3705d854-explanation-aware-fairness-beyond-output-parity-joint-output.md)
- [Multi-Future Drafting: Mixture Block Drafters for Tree-Verified Speculative Decoding](https://refivu.com/papers/a2c0126f-0ce8-4765-9c42-d293dabde238-multi-future-drafting-mixture-block-drafters-for-tree.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/d4308808-78ba-4fc7-a70c-6e67f906e337-glove-global-vectors-for-word-representation)
