atlas

Research map / Graph learning / Graph self-supervised learning

GraphRouter: A Graph-based Router for LLM Selections

ICLR 2025 · Graph learning › Graph self-supervised learning · approach: LLMs and graph foundation models · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes GraphRouter, an inductive heterogeneous-GNN router that models tasks, queries and LLMs as graph nodes and selects LLMs via edge prediction, generalizing to unseen LLMs with few-shot data.

Problem

Selecting the best LLM for each query under performance-cost trade-offs, where existing routers fail to generalize to new LLMs and tasks because they use names/IDs and transductive learning and need per-task retraining.

Approach

Builds a heterogeneous graph of task, query and LLM nodes with query-LLM interaction edges carrying performance and cost, uses LLM-generated textual descriptions embedded by a PLM as inductive node features, and frames routing as edge prediction via a heterogeneous GNN.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use GraphRouter instead of the strongest reported router baselineLLM selection · Multi-task interaction dataset, Performance FirstReward: 0.517 -> 0.539Helped
use GraphRouter instead of the strongest reported router baselineLLM selection · Multi-task interaction dataset, BalanceReward: 0.196 -> 0.209Helped
use GraphRouter instead of the strongest reported router baselineLLM selection · Multi-task interaction dataset, Cost FirstReward: 0.057 -> 0.064Helped
use GraphRouter few-shot generalization rather than C2MAB-VLLM selection for new LLMs · New LLMs, BalanceReward: 0.189 -> 0.207Helped
use GraphRouter few-shot generalization rather than C2MAB-VLLM selection for new LLMs · New LLMs, BalanceTime Cost: 542.25 -> 3.00Helped
use GraphRouter rather than the strongest reported baselineLLM selection · Extended multi-task interaction dataset, Performance FirstReward: 0.350 -> 0.393Helped
use GraphRouter rather than the strongest reported baselineLLM selection · Extended multi-task interaction dataset, BalanceReward: 0.087 -> 0.122Helped
use GraphRouter rather than the strongest reported baselineLLM selection · Extended multi-task interaction dataset, Cost FirstReward: 0.027 -> 0.046Helped
use GraphRouter rather than FrugalGPTLLM selection among LLaMA-series models · LLaMA-series dataset, Performance FirstReward: 0.382 -> 0.422Helped
use GraphRouter rather than FrugalGPTLLM selection among LLaMA-series models · LLaMA-series dataset, BalanceReward: 0.162 -> 0.192Helped
use GraphRouter rather than FrugalGPTLLM selection among LLaMA-series models · LLaMA-series dataset, Cost FirstReward: 0.050 -> 0.058Helped
set GNN hidden size to 32 rather than smaller or larger explored sizes (ablation)GraphRouter · LLM selection, three scenariosRewardMixed

Surprising findings

Limitations

Experimental setup

Datasets: Alpaca GSM8K SQuAD Multi-News HumanEval HotpotQA

Benchmarks: Alpaca GSM8K SQuAD Multi-News

Metrics: performance cost reward time cost

Baselines: Largest LLM Smallest LLM Prompt LLM Hybrid LLM FrugalGPT C2MAB-V Oracle

Builds on: Hybrid LLM FrugalGPT C2MAB-V GraphSAGE GAT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy