iBERT: Interpretable Style Embeddings via Sense Decomposition
Vishal Anand, Milad Alshomary, Kathleen McKeown
TL;DR
iBERT introduces a multi-sense encoder that represents each token as a sparse convex mixture over $k=8$ static sense vectors, yielding inherently interpretable and controllable embeddings that can be pooled into sentence representations or used at the token level. Trained with masked language modeling and direct-style supervision, it achieves strong results on STEL, SoC, and PAN while enabling targeted edits and probing of stylistic axes. The architecture extends Backpack-style sense representations to an encoder with global pooling, enabling axis-aligned interpretability, modular edits, and robust generalization across style- and content-related tasks. This work advances interpretable representation learning by providing a practical backbone for style-aware retrieval, debiasing, and controlled generation, with the promise of broader sociolinguistic relevance and safer, more transparent NLP systems.
Abstract
We present iBERT (interpretable-BERT), an encoder to produce inherently interpretable and controllable embeddings - designed to modularize and expose the discriminative cues present in language, such as stylistic and semantic structure. Each input token is represented as a sparse, non-negative mixture over k context-independent sense vectors, which can be pooled into sentence embeddings or used directly at the token level. This enables modular control over representation, before any decoding or downstream use. To demonstrate our model's interpretability, we evaluate it on a suite of style-focused tasks. On the STEL benchmark, it improves style representation effectiveness by ~8 points over SBERT-style baselines, while maintaining competitive performance on authorship verification. Because each embedding is a structured composition of interpretable senses, we highlight how specific style attributes - such as emoji use, formality, or misspelling can be assigned to specific sense vectors. While our experiments center on style, iBERT is not limited to stylistic modeling. Its structural modularity is designed to interpretably decompose whichever discriminative signals are present in the data - enabling generalization even when supervision blends stylistic and semantic factors.
