When a technical word leaves the journal and enters a tweet, two things can change at once. Its meaning may shift: "positive" in an oncology abstract means a test result, while on social media it may mean an attitude. Or only its surroundings may change: the same test-result meaning now arrives with abbreviations, emojis and broken syntax. Unsupervised word sense induction discovers a word's senses by clustering the vectors a language model assigns to each of its occurrences, without any dictionary. Run on occurrences pooled from both kinds of text, it has no way to separate these two causes. Clusters can end up sorting sentences by writing style rather than by meaning. Any downstream claim built on those clusters then inherits the confusion, including "this term means something different to lay users" or "this sense is new and missing from the medical ontology."
We propose to measure and remove this confound with a deliberately simple tool. We estimate a low-dimensional "register subspace" from anchor words whose meaning is independently known to be stable across the two kinds of text. We project that subspace out of every occurrence vector, then cluster. The key design choice is that the subspace is never estimated from the target words themselves. Style information that happens to correlate with a target's true sense shift is therefore not erased. We evaluate on a new, small, human-annotated set of cross-register usages built with the SemEval-2020 usage-graph protocol, and on existing benchmarks as sanity checks.
Core Claim
Our claim is that off-the-shelf sense induction over contextual embeddings, applied to technical words drawn from formal and informal text, produces clusters whose membership is predicted by register (formal scholarly prose versus informal social or forum text) well above what the human sense annotations explain. A linear projection estimated only from cross-register-stable anchor words removes most of this excess. It does so while preserving genuine sense-distribution differences between registers, and it does better than both naive per-register centering and dictionary-bound methods at recovering senses that are unlisted in the dictionary.
Positioning Against Prior Work
The closest work is Words as Gatekeepers. It induces senses with ScholarBERT, a transformer pre-trained on scientific text, over 12M S2ORC abstracts. It then scores discipline-specific senses by their association with a field against a Wikipedia background. That paper supplies our candidate target words and our induction starting point. However, both of its corpora are formal written registers, so the style confound never arises there. We study exactly the case it leaves out.
Two lines of work track sense distributions across corpora with closed dictionaries. Domain-Specific Sense Distributions and Predominant Sense Acquisition ranks WordNet senses per domain and finds that 31–34% of words in Reuters SPORTS and FINANCE have a different predominant sense than in general text. SSCS maps BERT token vectors onto ARES/LMMS sense embeddings and measures change as the Jensen–Shannon divergence between sense distributions. Both papers motivate the proposal, since they show sense distributions really do move between corpora. Both also constrain it, because they cannot represent a sense the inventory lacks. WiC = TSV = WSD names missing specialized senses as the point where its task reductions break. We keep the divergence measurement and replace the inventory with induced clusters.
Two works shape the choice of encoder. Cost-effective Selection of Pretraining Data shows that register ("tenor") matters as much as subject matter: BioBERT underperforms generic BERT on health tweets, and forum-trained ForumBERT transfers well as a "median" register. WiC-TSV finds BERT-Base more robust than BERT-Large across its cocktail, medical and computer-science domains. Together they tell us to report results for a generic encoder and a median-register encoder, not only a technical one.
SemEval-2020 Task 1 plays three roles. It supplies our annotation method (pairwise usage graphs partitioned by correlation clustering). It supplies our anchor-selection tool, because static embeddings aligned by orthogonal Procrustes were the reliable signal there. It also supplies a warning: contextual models were hurt by pre-training bias and by weak aggregation across corpora, which is consistent with the confound we target.
Finally, Iliescu et al. disentangle group style from content in images with an adversarial loss. We treat their approach as a heavier alternative to our linear projection, not as the core method.
Research Program
Each occurrence of a target word $w$ is encoded as the contextual vector $h$ from a frozen encoder: BERT-Base, ForumBERT-style median-register continued pre-training, or a biomedical model. The formal register is biomedical abstracts. The informal register is health tweets from the SMM4H-style collections and the Twitter pre-training corpus described by Dai et al. A replication pair uses computer-science abstracts versus developer forum posts, the register studied by Req2Lib.
Anchors are frequent content words selected by a separate test. We train skip-gram embeddings on each register, align them with orthogonal Procrustes, and keep words whose nearest-neighbor sets overlap strongly across registers. This uses the static method only for what it does well, flagging stable words. All target words and their close neighbors are excluded from the anchor set.
For each anchor we compute the difference between its mean contextual vector in the informal and formal registers. The top-$r$ principal directions of these differences span the register subspace, with projector $P_R$. Every target occurrence is then mapped to
$$h' = (I - P_R)\,h,$$
where $I$ is the identity and $r$ is chosen on held-out anchors. The criterion is the smallest $r$ at which a linear classifier can no longer predict register from anchor vectors above chance. Occurrences are clustered with HDBSCAN, which picks the number of clusters itself, and with correlation clustering on a cosine-similarity graph.
A word's cross-register shift is
$$D(w) = \mathrm{JSD}\big(p_{\text{formal}}(c \mid w),\, p_{\text{informal}}(c \mid w)\big),$$
where $p(c \mid w)$ is the fraction of $w$'s occurrences in induced cluster $c$ within each register. A cluster that is heavily skewed toward one register and matches no gloss in WordNet or MeSH is flagged as a candidate unlisted sense.
For evaluation data we annotate about 40 target lemmas, chosen partly by high Sense NPMI (normalized pointwise mutual information between an induced sense and a field) from Lucy et al. and partly because they are known clinical–lay polysemes. Each lemma gets about 50 usages per register. Following the SemEval-2020 protocol, annotators rate usage pairs on the 4-point relatedness scale, and correlation clustering yields gold sense clusters and gold $D(w)$. Annotators do not see which register a usage came from where it can be hidden, which is difficult for tweets. We will report inter-annotator agreement, which Agirre et al. abandoned for cost; our smaller scale should make it feasible.
Baselines
The naive reference point is sense induction on raw contextual vectors pooled across registers. This is the Lucy et al. procedure transplanted to mixed registers, run with the same encoders, clustering algorithm, and hyperparameter search as ours. There is no reported result for cross-register cluster purity on Lacuna. This baseline therefore defines the confound we claim exists. If its register purity does not exceed what the gold clusters imply, the premise fails and we report that.
The strongest dictionary-bound competitor is SSCS: BERT token vectors assigned to their top-2 ARES/LMMS senses, with JSD between registers. Tang et al. report Spearman ρ = 0.589 and accuracy 0.730 on SemEval-2020 Task 1 English (SSCS). We run it on our cross-register set with the same encoder. Beating it means a higher Spearman correlation with gold $D(w)$ on our set, and especially higher recall of gold clusters with no matching dictionary entry.
As a check on the existing benchmark, we also run our register-projection pipeline on SemEval-2020 English. Diachronic corpora differ partly in style, so the projection should not fall far below 0.589. We do not claim to beat that number, since the benchmark was not built to test register.
The key ablation is per-register mean-centering on the target words themselves. It subtracts each register's own mean vector for $w$ before clustering. This is the obvious cheap fix, and it is exactly the one that should also erase true sense shifts. Comparing it with anchor-based projection isolates the proposal's main ingredient, the decision to estimate style from anchors rather than targets. Further ablations swap the anchor sets (stability-selected, random frequent words, function words only) and vary $r$.
For the predominant-sense subtask we compare against McCarthy et al.'s in-domain acquisition. They report 43.7% predominant-sense accuracy on Reuters SPORTS, versus 16.3% for the SemCor first-sense baseline, and we score our clusters' predominant sense on the same data. WiC-TSV serves as a token-level sanity check that projection does not damage meaning. BERT-Large reaches 78.8% F1 on Task 3 (WiC-TSV), and our target is no drop in F1 when projected vectors feed the same classifier.
Why not just…?
Why not just pre-train on mixed or median-register text and cluster? Continued pre-training on forum text, as in ForumBERT, might shrink the style gap by itself, and this is a real threat. We treat it as an encoder condition rather than a rival. If the naive baseline on a ForumBERT-style encoder already shows no excess register purity, the projection is unnecessary, and we will say so. Dai et al.'s finding that a technical encoder (BioBERT) transfers worse to tweets than generic BERT suggests the problem depends on the encoder and is not solved by domain pre-training alone. Continued pre-training also needs hundreds of millions of tokens, while our projection needs only unlabeled text from each register.
Why not just use a dictionary such as WordNet, MeSH or UMLS with a sense-verification model? Dictionaries fail exactly where lay and technical usage part ways. Hauer & Kondrak locate their failures in missing senses. McCarthy et al. report frequent unlisted senses in SPORTS and FINANCE. WiC-TSV annotators reached only 56% on filtered hard cases against fixed definitions. Our evaluation scores SSCS separately on gold clusters that have no dictionary match, which directly tests this gap.
Why not just subtract each register's mean vector for the word? Register and sense are confounded: in abstracts "positive" mostly means a test result, in tweets mostly an attitude. Centering on the target word removes that difference along with the style. A synthetic check (below) and the gold $D(w)$ correlation will show whether centering flattens true shifts that anchor projection preserves.
Why not just learn an adversarial style–content disentangler as Iliescu et al. do? A nonlinear adversary might remove more style, but it would also be trained on the very distributions that carry the confound. It is also harder to audit. We include a small adversarial variant trained on anchors only. We adopt it only if it improves gold agreement by more than the linear projection does.
Decisive Checks
Three results decide the project. The first is the confound itself. On the annotated set, we compare how well register predicts naive cluster membership (normalized mutual information with register) against how well register predicts the gold clusters. The gap between the two numbers is the excess we claim, and it must be clearly positive for at least one encoder.
The second is whether projection removes the excess without destroying meaning. The adjusted Rand index against gold clusters must rise, register purity must fall toward the gold level, and Spearman correlation with gold $D(w)$ must exceed both the naive baseline and target-word centering.
The third is a synthetic shift-preservation test. We pick formal-register usages of words that are unambiguous in both registers and relabel one sense of a known polyseme so that it appears only in informal text. This plants a true cross-register shift. Anchor projection must still recover the planted JSD, and target-word centering is expected to lose it.
A final qualitative audit has annotators judge whether the register-skewed clusters flagged as unlisted senses are real meanings absent from MeSH or WordNet. The same audit is repeated on the computer-science abstract-versus-forum pair to test whether the finding generalizes beyond medicine.
References
- Words as Gatekeepers: Measuring Discipline-specific Terms and Meanings in Scholarly Publications
- Domain-Specific Sense Distributions and Predominant Sense Acquisition
- A Word Sense Distribution-based approach for Semantic Change Prediction
- WiC = TSV = WSD: On the Equivalence of Three Semantic Tasks
- Cost-effective Selection of Pretraining Data: A Case Study of Pretraining BERT on Social Media
- WiC-TSV: An Evaluation Benchmark for Target Sense Verification of Words in Context
- SemEval-2020 Task 1: Unsupervised Lexical Semantic Change Detection
- Disentangling Domain and Content
- Req2Lib: A Semantic Neural Model for Software Library Recommendation