When we read the sentence "The bank was muddy after the river flooded," we instantly know "bank" refers to a sloping landform, not a financial institution. Humans resolve this ambiguity effortlessly because we evaluate words collectively, ensuring the entire sentence makes coherent sense.
For computers, however, Word Sense Disambiguation (WSD) has historically been a major bottleneck. Supervised models require vast amounts of hand-labeled data, which are expensive to produce and fail to generalize across specialized domains.
Graph-based WSD offers an elegant, unsupervised alternative. The core intuition is simple: if you map all possible meanings of the words in a sentence onto a large semantic network (such as WordNet or Wikipedia), the correct meanings will naturally cluster together and form a highly interconnected, dense subgraph. The incorrect meanings will sit as isolated outliers. By finding the most structurally central nodes in this network, we can unlock the true meaning of the text.
The Sentence as a Subgraph
To understand why this works, consider how we construct the graph. For a given sentence, we identify every ambiguous word and retrieve all its possible definitions (senses) from an underlying knowledge base. Each candidate sense becomes a node in our local graph. We then draw edges between these nodes based on pre-existing relationships in our knowledge base or via semantic similarity metrics.
In Valido: A Visual Tool for Validating Sense Annotations, Roberto Navigli demonstrated that this semantic connectivity can be visualized as a coherent structural web. The correct senses maximize the overall density of the graph. If we choose the financial sense of "bank," it will have no meaningful paths to "river" or "muddy." But the geographical sense of "bank" will share immediate structural interconnections with them.
Measuring Centrality via Random Walks
Once the local graph is built, how do we mathematically pinpoint the correct nodes? The simplest way is to measure local popularity. In Improvements To Monolingual English Word Sense Disambiguation and COLEPL and COLSLM, Guo et al. utilized an In-Degree centrality algorithm. By summing up the weights of all incoming edges for each candidate node, the system lets the surrounding context "vote" on the most relevant meaning. Similarly, Ponzetto et al. showed in Multilingual WSD with Just a Few Lines of Code: the BabelNet API that simply calculating the vertex degree within a local semantic graph provides a highly effective, lightweight method for disambiguation.
However, local connections only tell part of the story. Semantic relationships often span multiple hops across a network. To capture these global structural signals, researchers turned to random walks and PageRank.
Imagine a random surfer traversing the knowledge graph. If the surfer starts at the context words and randomly walks along the edges, they will naturally spend more time at nodes that are highly reachable from the context. In Text Understanding using Knowledge-Bases and Random Walks, Eneko Agirre showed that running random walks over a knowledge base effectively concentrates semantic energy on the correct concepts.
To make this precise, systems use Personalized PageRank (PPR). Instead of allowing the random walker to jump to any node in the entire knowledge base when they reset, the walker is forced to jump back to the specific words found in the target text. As Mihalcea et al. demonstrated in Unsupervised Graph-basedWord Sense Disambiguation Using Measures of Word Semantic Similarity, applying these centrality algorithms allows the global structure of the network to resolve local ambiguities without needing any labeled training data. This mechanism is powerful enough to resolve structural ambiguities beyond individual words, such as determining prepositional phrase attachments (Medimi et al. in A Flexible Unsupervised PP-Attachment Method Using Semantic Information).
Cognitive Priming and Structural Pruning
This random-walk intuition mirrors cognitive models of human language processing. For instance, in early work on Direct Memory Access Translation, Hideto Tomabechi proposed a "marker-passing" algorithm that propagates activation tokens through a shared memory network. This mimics cognitive priming: reading about a "river" pre-activates related concepts, making the geographical sense of "bank" easier to select when encountered.
To prevent a random walk from wandering off into irrelevant parts of a massive graph, modern algorithms introduce dynamic constraints. Han et al. in Context-Sensitive Inference Rule Discovery: A Graph-Based Method implemented a node-dependent restart probability. By forcing the random walk to stay close to contextually relevant anchors, the system dynamically prunes irrelevant semantic branches. This ensures that an ambiguous predicate like "acquiring" is interpreted as "purchasing" in a corporate context, but "learning" in an educational one.
Domain Adaptation and Cross-Lingual Generalization
One of the greatest strengths of graph-based WSD is its flexibility. Because it relies on structural topology rather than fixed statistical distributions, it adapts seamlessly to specialized domains and multiple languages.
In specialized fields like medicine, standard word frequencies fail. Pérez et al. in Biomedical term normalization of EHRs with UMLS tackled this by running Personalized PageRank over the Unified Medical Language System (UMLS) graph to normalize clinical records. To bias the system toward specific technical fields, Soroa et al. in Kyoto: An Integrated System for Specific Domain WSD and Agirre et al. in SemEval-2010 Task 17: All-Words Word Sense Disambiguation on a Specific Domain seeded the PageRank algorithm with a broad set of domain-specific terms rather than just the immediate sentence. This shifts the network's centrality profile, prioritizing technical meanings over everyday ones. Fukumoto et al. in Identification of Domain-Specific Senses in a Machine-Readable Dictionary similarly used Markov Random Walks to rank dictionary definitions, effectively clustering domain-specific senses together and filtering out noisy candidates.
Furthermore, graphs transcend language barriers. By mapping localized dictionaries to multilingual knowledge graphs like BabelNet or Wikipedia, the structural relationships remain stable across languages. Ponzetto et al. in Knowledge-Rich Word Sense Disambiguation Rivaling Supervised Systems expanded WordNet by automatically linking it to Wikipedia, creating a dense network where unsupervised graph algorithms could rival supervised models.
This structural stability enables robust multilingual applications. For example:
- Information Retrieval: Toral et al. in A Study on Linking Wikipedia Categories to Wordnet Synsets using Text Similarity and Agirre et al. in Using Semantic Relatedness and Word Sense Disambiguation for (CL)IR utilized random walks to align cross-lingual concepts for document retrieval.
- Query Translation: Zhang et al. in Learning Inter-Related Statistical Query Translation Models for English-Chinese Bi-Directional CLIR leveraged first-order neighbors within a semantic network to resolve ambiguities in short search queries.
- Evaluation Frameworks: Jurgens et al. in SemEval-2013 Task 12: Multilingual Word Sense Disambiguation demonstrated that structural centrality acts as a universal solvent for semantic ambiguity across diverse language pairs.
Fusing Structure into Neural Networks
While graph-based algorithms excel at structural reasoning, modern NLP relies heavily on continuous vector spaces. The latest evolution of this research direction bridges the gap by embedding graph topology directly into neural architectures.
Instead of treating the graph walk as an isolated preprocessing or post-processing step, frameworks like LET, developed by Lyu et al. in LET: Linguistic Knowledge Enhanced Graph Transformer for Chinese Short Text Matching, incorporate a graph-based attention mechanism inside a Transformer. The model uses the surrounding context to iteratively update node representations from a semantic knowledge base, fusing the structural disambiguation process directly into the neural layers.
Similarly, Ramprasad et al. in CoKE : Word Sense Induction Using Contextualized Knowledge Embeddings ground contextualized word representations into ontological structures. By weighting senses based on their distance and rank within the knowledge graph, the model achieves the best of both worlds: the fluid contextual awareness of deep learning combined with the rigorous, interpretable constraints of a semantic network.
Key Foundational Work
Online Word Sense Disambiguation with Structural Semantic Interconnections (2006) — contributed 2 concept elements to this direction.
Valido: A Visual Tool for Validating Sense Annotations (2006) — contributed 1 concept elements to this direction.
Direct Memory Access Translation (1987) — contributed 1 concept elements to this direction.