CLLGFeb 20, 2020

Contextual Lensing of Universal Sentence Representations

arXiv:2002.08866v14 citations
AI Analysis

This addresses the problem of balancing universality and context in sentence embeddings for NLP researchers and practitioners, offering a novel approach to improve multilingual applications.

The paper tackles the dilemma of creating universal sentence encoders that are both generic and context-sensitive by proposing Contextual Lensing, a method that uses a core sentence matrix with an adaptable lens to produce fixed-length vectors based on context, enabling tasks like translation similarity across languages without parallel data.

What makes a universal sentence encoder universal? The notion of a generic encoder of text appears to be at odds with the inherent contextualization and non-permanence of language use in a dynamic world. However, mapping sentences into generic fixed-length vectors for downstream similarity and retrieval tasks has been fruitful, particularly for multilingual applications. How do we manage this dilemma? In this work we propose Contextual Lensing, a methodology for inducing context-oriented universal sentence vectors. We break the construction of universal sentence vectors into a core, variable length, sentence matrix representation equipped with an adaptable `lens' from which fixed-length vectors can be induced as a function of the lens context. We show that it is possible to focus notions of language similarity into a small number of lens parameters given a core universal matrix representation. For example, we demonstrate the ability to encode translation similarity of sentences across several languages into a single weight matrix, even when the core encoder has not seen parallel data.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes