paper-with-me

Papers

Probing BERT in Hyperbolic Spaces

2021-04-08 · ICLR 2021 1 · Boli Chen, Yao Fu, Guangwei Xu, Pengjun Xie, Chuanqi Tan, Mosha Chen, Liping Jing

Recently, a variety of probing tasks are proposed to discover linguistic properties learned in contextualized word embeddings. Many of these works implicitly assume these embeddings lay in certain metric spaces, typically the Euclidean space. This work considers a family of geometrically special spaces, the hyperbolic spaces, that exhibit better inductive biases for hierarchical structures and may better reveal linguistic hierarchies encoded in contextualized representations. We introduce a Poincare probe, a structural probe projecting these embeddings into a Poincare subspace with explicitly defined hierarchies. We focus on two probing objectives: (a) dependency trees where the hierarchy is defined as head-dependent structures; (b) lexical sentiments where the hierarchy is defined as the polarity of words (positivity and negativity). We argue that a key desideratum of a probe is its sensitivity to the existence of linguistic structures. We apply our probes on BERT, a typical contextualized embedding model. In a syntactic subspace, our probe better recovers tree structures than Euclidean probes, revealing the possibility that the geometry of BERT syntax may not necessarily be Euclidean. In a sentiment subspace, we reveal two possible meta-embeddings for positive and negative sentiments and show how lexically-controlled contextualization would change the geometric localization of embeddings. We demonstrate the findings with our Poincare probe via extensive experiments and visualization. Our results can be reproduced at https://github.com/FranxYao/PoincareProbe.

📄 PDF Abstract BibTeX arXiv:2104.03869

Code (1)

FranxYao/PoincareProbe 공식 구현 pytorch

Tasks

Word Embeddings

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Weight Decay 설명 없음
WordPiece 설명 없음
Residual Connection 설명 없음
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Adam 설명 없음

Similar Papers 제목 키워드 기반

Kernel Methods in Hyperbolic Spaces

2021-01-01 · ICCV 2021 10 · Pengfei Fang, Mehrtash Harandi, Lars Petersson

Embedding data in hyperbolic spaces has proven beneficial for many advanced machine learning applications such as image classification and word embeddings. However, working in hyperbolic spaces is not without difficu…

Few-Shot Learningimage-classificationImage ClassificationKnowledge Distillation+4

Non-linear Embeddings in Hilbert Simplex Geometry

2022-03-22 · Frank Nielsen, Ke Sun

A key technique of machine learning and computer vision is to embed discrete weighted graphs into continuous spaces for further downstream processing. Embedding discrete hierarchical structures in hyperbolic geometry has…

Exploring the Role of BERT Token Representations to Explain Sentence Probing Results

2021-04-03 · EMNLP 2021 11 · Hosein Mohebbi, Ali Modarressi, Mohammad Taher Pilehvar

Several studies have been carried out on revealing linguistic features captured by BERT. This is usually achieved by training a diagnostic classifier on the representations obtained from different layers of BERT. The sub…

DiagnosticGeneral ClassificationSentence

Adaptive Hyperbolic Kernels: Modulated Embedding in de Branges-Rovnyak Spaces

2025-11-13 · Leping Si, Meimei Yang, Hui Xue, Shipeng Zhu 외 arxiv

Hierarchical data pervades diverse machine learning applications, including natural language processing, computer vision, and social network analysis. Hyperbolic space, characterized by its negative curvature, has demons…

Neural Networks in a Product of Hyperbolic Spaces

2022-07-01 · NAACL (ACL) 2022 7 · Jun Takeuchi, Noriki Nishida, Hideki Nakayama

Machine learning in hyperbolic spaces has attracted much attention in natural language processing and many other fields. In particular, Hyperbolic Neural Networks (HNNs) have improved a wide variety of tasks, from machin…

Graph EmbeddingKnowledge Graph EmbeddingMachine TranslationNode Classification