Leveraging the Power of Large Language Models in Entity Linking via Adaptive Routing and Targeted Reasoning

Yajie Li, Albert Galimov, Mitra Datta Ganapaneni, Pujitha Thejaswi, De Meng, Priyanshu Kumar, Saloni Potdar

TL;DR

ARTER (Adaptive Routing and Targeted Entity Reasoning) is a novel framework that slashes the computational cost of using Large Language Models (LLMs) for Entity Linking by over 58%. By deploying a lightweight router to filter out "easy" mentions for a traditional entity linker, ARTER reserves expensive LLM reasoning exclusively for highly ambiguous "hard" cases, matching full-LLM accuracy at a fraction of the price.

What Problem Does This Paper Address?

Entity Linking (EL)—the task of anchoring ambiguous text mentions (like "Target" or "Apple") to their unique entries in a knowledge base like Wikipedia—is a cornerstone of modern search engines and question-answering systems.

Traditional EL systems rely on extensive fine-tuning and frequently stumble on "hard cases," such as low-context snippets, lexical ambiguities (e.g., distinguishing a country from its national sports team), or queries requiring deep world knowledge. While prompting LLMs can solve these complex cases without retraining, calling an LLM for every single mention in a massive document corpus is wildly inefficient, slow, and cost-prohibitive for production environments. The authors tackle this bottleneck by asking: Can we dynamically route mentions based on complexity, using LLMs only when absolutely necessary?

Methods

The authors introduce ARTER, a hybrid pipeline that splits the workload between a fast, traditional entity linker and a reasoning-focused LLM.

Figure 1: ARTER leverages a light-weight router on top of the given context and retrieved candidate entities to categorize contextual mentions into easy and hard cases. The cases are then handled by a low-computational entity linker (e.g. ReFinED) and more expensive targeted LLM-based reasoning respectively.

The pipeline operates in three distinct phases:

  1. Candidate Generation: A frozen, traditional EL model (ReFinED) extracts the top 30 candidate entities for a given mention.
  2. Adaptive Routing: A lightweight Random Forest classifier evaluates the top 10 candidates using ten statistical features. These features include context-entity similarity, mention-entity similarity, and a cheap confidence score from a small, non-reasoning model (Llama-3.1-8B-Instruct). The router classifies the mention as either "easy" or "hard."
  3. Targeted Entity Linking:
  4. Easy cases are processed immediately by the low-computation ReFinED model.
  5. Hard cases are sent to a powerful reasoning LLM (such as Claude 3.5 Sonnet or GPT-4), which selects the correct entity using a Few-Shot + Chain-of-Thought (CoT) prompt.

Datasets

The framework was evaluated across six diverse, standard entity linking benchmarks representing different text domains:

  • AIDA: Reuters news articles (used for training the router).
  • ACE2004 & MSNBC: General news articles.
  • AQUAINT: Newswire articles.
  • CWEB: General web pages.
  • WIKI: Wikipedia articles.
Summary of the standard datasets used to evaluate ARTER.

Key Insights and Ideas

  • The Majority of Mentions are "Easy": Across all datasets, the router classified between 50.4% and 67.3% of mentions as easy cases. This means traditional models are entirely sufficient for most data, making full-LLM prompting pipelines highly redundant.
  • Asymmetric Routing Strategy: The authors intentionally tuned the router to prioritize high accuracy on the "easy" path. If a hard case is accidentally sent to the traditional model, it will likely result in an error. However, if an easy case is sent to the LLM, it merely costs a few extra tokens while still returning a correct prediction.
  • Prompting Synergy: When evaluating how to prompt the LLM for hard cases, the authors found that combining few-shot examples with Chain-of-Thought (CoT) reasoning significantly outperformed other popular paradigms like Zero-shot, Contrastive, or ReAct-style prompting.

Key Results

  • Accuracy Gains: ARTER consistently outperformed the standalone ReFinED baseline on 5 out of 6 datasets, achieving an average accuracy boost of +2.53% (and up to +4.47% on the MSNBC dataset). The only exception was the WIKI dataset, where ReFinED held a natural advantage because it was explicitly pre-trained on the full English Wikipedia.
  • Comparable to Full Prompting: ARTER achieved accuracy within 1% of a "Full Prompting" baseline—where an LLM processes 100% of the mentions—proving that selective routing does not sacrifice quality.
  • Massive Token Reductions: By offloading easy cases, ARTER reduced input token usage by up to 65.14% and output token usage by up to 73.22% depending on the dataset, yielding an average overall token savings of 58.25%.
Performance comparison showing ARTER outperforming ReFinED and matching full prompting pipelines.

Limitations and Future Work

While ARTER marks a major step toward cost-effective LLM deployment, the authors note a few limitations:

  • LLM Scope: Due to budget constraints, they were unable to benchmark a wider variety of large language models in the full prompting configuration.
  • Candidate Generation Bottleneck: The framework still relies on a traditional bi-encoder/cross-encoder setup for initial candidate generation. Future work could explore using LLMs directly to generate candidates.
  • Router Optimization: The authors did not systematically explore how altering different router parameter configurations impacts overall downstream accuracy, leaving this optimization for future studies.

Summary updated

Abstract

Entity Linking (EL) has traditionally relied on large annotated datasets and extensive model fine-tuning. While recent few-shot methods leverage large language models (LLMs) through prompting to reduce training requirements, they often suffer from inefficiencies due to expensive LLM-based reasoning. ARTER (Adaptive Routing and Targeted Entity Reasoning) presents a structured pipeline that achieves high performance without deep fine-tuning by strategically combining candidate generation, context-based scoring, adaptive routing, and selective reasoning. ARTER computes a small set of complementary signals(both embedding and LLM-based) over the retrieved candidates to categorize contextual mentions into easy and hard cases. The cases are then handled by a low-computational entity linker (e.g. ReFinED) and more expensive targeted LLM-based reasoning respectively. On standard benchmarks, ARTER outperforms ReFinED by up to +4.47%, with an average gain of +2.53% on 5 out of 6 datasets, and performs comparably to pipelines using LLM-based reasoning for all mentions, while being as twice as efficient in terms of the number of LLM tokens.
BibTeX
@inproceedings{li2025leveraging,
  author = {Yajie Li and Albert Galimov and Mitra Datta Ganapaneni and Pujitha Thejaswi and De Meng and Priyanshu Kumar and Saloni Potdar},
  title = {{Leveraging the Power of Large Language Models in Entity Linking via Adaptive Routing and Targeted Reasoning}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
  url = {https://openreview.net/forum?id=IYuim1fljd},
}
Figure