TL;DR
PICSO is a new framework that enhances Pre-trained Language Models (PLMs) by injecting contextual synonym knowledge through specialized "Adapters." By keeping the core model frozen and using a novel masked self-attention mechanism, PICSO masters fine-grained entity similarity without losing its general language understanding capabilities.
What Problem Does This Paper Address?
Standard language models like BERT are masters of general context, but they often struggle with the nuances of synonymy. Because they are trained on word co-occurrence (Masked Language Modeling), they tend to group words that appear in similar contexts rather than words that mean the exact same thing.
For example, a standard model might think "Elephantiasis" is more similar to "Elephantiasis graecorum" because they share a word, even though its true synonym is "Lymphatic filariasis." This is illustrated in the figure below:
Existing attempts to fix this suffer from two main issues:
- Ignoring Ambiguity: They treat synonyms as context-free pairs. However, "Washington" could mean the city or the person depending on the sentence.
- Semantic Forgetting: Directly fine-tuning a whole model on synonym pairs often "corrupts" the model's original knowledge, making it worse at general tasks (a phenomenon similar to catastrophic forgetting).
Methods
The authors introduce PICSO (Pre-trained language model Injected with Contextual Synonym knOwledge). Its architecture consists of three main components:
- Frozen PLM Backbone: PICSO uses a standard BERT model but keeps its internal parameters frozen. This ensures the model retains its original, broad semantic understanding.
- Entity-Aware Adapters: These are lightweight, domain-specific modules plugged into the PLM. Unlike standard adapters, these feature a novel masked self-attention mechanism. In the final layer of the adapter, tokens within a marked synonym are forced to focus on their own "entity sense," balancing the overall sentence context with the specific meaning of the synonym.
- Contrastive Learning Objective: To train the adapters, the authors developed a loss function that mathematically prioritizes "hard negatives"—pairs that look similar but aren't actually synonyms—without requiring the computationally expensive "mining" steps used in previous research.
Datasets
The researchers pre-trained PICSO using two massive sources of synonym knowledge:
- General Domain: 12.8 million synonym pairs extracted from Wikidata, paired with sentences crawled from Wikipedia.
- Biomedical Domain: 3.7 million synonym pairs from UMLS, using abstracts from PubMed as context.
For evaluation, they tested the model on four major similarity-oriented tasks (Entity Linking, Entity Resolution, Lexical Simplification, and KG Canonicalization) and the general GLUE benchmark.
Key Insights and Ideas
- Context is Mandatory for Disambiguation: By training on "synonyms in context" rather than just word pairs, PICSO learns that "Washington" is a synonym for "D.C." only when the surrounding text refers to a location.
- Modularity via Adapters: Because the knowledge is stored in adapters, users can "plug and play" different domain knowledge (e.g., medical vs. general) without retraining the entire model.
- Preserving General NLU: Most synonym-injection models see a drop in general performance. PICSO actually improves average scores on the GLUE benchmark, proving that better synonym knowledge helps general language understanding.
Key Results
PICSO consistently outperformed both base PLMs and previous state-of-the-art injection models like SAPBERT and LIBERT:
- Entity Linking: On the AIDA dataset, PICSO achieved an Acc@1 of 78.26%, a significant jump over BERT's 72.35%.
- Lexical Simplification: PICSO reached the highest accuracy across all tested datasets. Notably, SAPBERT (which lacks context) scored nearly 0% on these tasks, highlighting the failure of context-free synonym injection.
- General NLU: PICSO achieved the highest average score (82.80) on the 8 GLUE tasks, whereas other synonym-injected models like SAPBERT struggled significantly (72.35).
Limitations and Future Work
While PICSO is highly effective, the authors note a few directions for future research:
- Multi-task Pre-training: Investigating how to better exploit synonyms that appear simultaneously in unstructured text and structured Knowledge Graphs.
- Broader Evaluation: Testing the framework on even more complex tasks, such as ontology alignment.
- Data Dependency: The model's performance is tied to the quality of the synonym sources and the availability of context-rich sentences for those synonyms.
Summary updated