Combining LLMs with knowledge bases makes word sense disambiguation more accurate.
This paper proposes a novel approach combining prompt augmentation with knowledge bases to improve Word Sense Disambiguation using LLMs, achieving better accuracy in understanding ambiguous words.
-----
https://arxiv.org/abs/2411.18337
π€ Original Problem:
Word Sense Disambiguation (WSD) faces challenges with lexical ambiguity in modern digital communications, impacting translation and information retrieval systems due to limited training data.
-----
π§ Solution in this Paper:
β The paper introduces a systematic prompt augmentation mechanism combined with a knowledge base containing different sense interpretations
β Implements a human-in-loop approach where prompts are enhanced with Part-of-Speech tagging and synonyms of ambiguous words
β Uses aspect-based sense filtering to narrow down possible word meanings
β Employs few-shot Chain of Thought prompting to guide the LLM's decision process
β Incorporates a hybrid Retrieval Augmented Generation inspired model blending LLM with knowledge base
-----
π‘ Key Insights:
β Commercial LLMs like GPT-4 outperform open-source models in WSD tasks
β Prompt augmentation with knowledge bases significantly improves disambiguation accuracy
β Human-in-loop approach helps refine prompts for better performance
β Aspect-based filtering reduces sense ambiguity effectively
-----
π Results:
β GPT-4 Turbo achieved 81% accuracy in prediction level assessment
β Llama-2-70B showed 83% accuracy in suggestion level disambiguation
β Model demonstrated 64% correct predictions on test sets
β Achieved Sharpe ratio of 2.21 on test portfolio construction










