TexShape: Information Theoretic Sentence Embedding for Language Models

Kaan Kale, Homa Esfahanizadeh, Noel Elias, Oguzhan Baser, Muriel Medard +1 more
2/5/2024
cs.CLcs.IT

No official code found. Best implementation: hesfahanizadeh/NeuralInformationShaping (0 stars, MIT, last commit 2024-05-22).

Abstract

With the exponential growth in data volume and the emergence of data-intensive applications, particularly in the field of machine learning, concerns related to resource utilization, privacy, and fairness have become paramount. This paper focuses on the textual domain of data and addresses challenges regarding encoding sentences to their optimized representations through the lens of information-theory. In particular, we use empirical estimates of mutual information, using the Donsker-Varadhan definition of Kullback-Leibler divergence. Our approach leverages this estimation to train an information-theoretic sentence embedding, called TexShape, for (task-based) data compression or for filtering out sensitive information, enhancing privacy and fairness. In this study, we employ a benchmark language model for initial text representation, complemented by neural networks for information-theoretic compression and mutual information estimations. Our experiments demonstrate significant advancements in preserving maximal targeted information and minimal sensitive information over adverse compression ratios, in terms of predictive accuracy of downstream models that are trained using the compressed data.

View on arXivView PDF

Code Implementations(1)

MIT

InfoShape: Task-Based Neural Data Shaping via Mutual Information

00Shell, PythonAug 10, 20232 years agoMIT

Similar Papers

Cite this paper

@article{kale2024texshape,
  title  = {TexShape: Information Theoretic Sentence Embedding for Language Models},
  author = {Kaan Kale and Homa Esfahanizadeh and Noel Elias and Oguzhan Baser and Muriel Medard and Sriram Vishwanath},
  year   = {2024},
  eprint = {2402.05132},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.05132v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.05132.svg)](https://codeofpaper.com/paper/2402.05132)

Discussion