English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

GLM: A Multi-Agent Framework for Large-Scale Graph Reasoning with Efficient LLM Serving

Forum topic · QianXun · 2025-11-23

Summary

GLM (Graph-CoT with Multi-Agent and Efficient LLM Serving) is a framework that couples a multi-agent reasoning architecture with a co-designed LLM serving system to tackle large-scale graph reasoning. Existing Graph Chain-of-Thought (Graph-CoT) systems typically use a single-agent architecture that packs classification, retrieval, reasoning, and action generation into one long prompt, leading to 'lost-in-the-middle' issues, redundant context re-encoding, serial execution, and a sharp trade-off between accuracy and token cost—some commercial models exceed $3 per complex query, while cost-constrained setups drop below 50% accuracy. GLM decomposes reasoning into four specialized components: a Classification Agent (C-Agent), Reasoning Agent (R-Agent), Action Agent (A-Agent), and a Graph RAG Retriever with a fast path for deterministic queries. The serving layer adds graph-aware KV cache management, priority-based cache eviction, and pipeline parallelism. Reported results include up to 95.7% reduction in token cost, 90.3% lower inference latency, 15.1x throughput improvement, and up to 38% accuracy gains over baseline systems.

GLM: A Multi-Agent Framework for Large-Scale Graph Reasoning with Efficient LLM Serving

Background and Problem

Graph Chain-of-Thought (Graph-CoT) is an emerging paradigm that guides LLMs through step-by-step reasoning over structured knowledge graphs to answer complex multi-hop questions and reduce hallucination. However, mainstream Graph-CoT implementations rely on a single-agent architecture, bundling question classification, retrieval, logical reasoning, and action generation into one large prompt handled by a single LLM. This design suffers from:

  • "Lost in the middle": LLMs tend to overlook key information located in the middle of long contexts
  • Repeated context re-encoding: every iteration reprocesses the entire context, wasting computation
  • Serial execution: all steps must run sequentially with no parallelism
  • There is also a sharp accuracy–efficiency trade-off: broader graph retrieval improves accuracy but inflates prompt length and token cost. Some commercial models cost over $3 per complex query, while cost-constrained configurations that limit retrieval can fall below 50% accuracy.

    The GLM Framework

    GLM (Graph-CoT with Multi-Agent and Efficient LLM Serving) addresses these issues through two co-designed pillars:

    1. Multi-Agent Collaborative Reasoning

    Instead of a monolithic agent, GLM decomposes the reasoning process into four specialized components:

  • C-Agent (Classification Agent) — routes each query
  • R-Agent (Reasoning Agent) — performs step-by-step reasoning for non-deterministic queries
  • A-Agent (Action Agent) — generates actions/executable code against the graph
  • Graph RAG Retriever — executes retrieval; deterministic queries take a fast path directly to retrieval
  • The workflow: a user query is classified by the C-Agent; deterministic queries go straight through the retriever's fast path, while non-deterministic queries enter an R-Agent → A-Agent → retriever loop that iterates until sufficient information is gathered, then synthesizes the final answer.

    Benefits:

  • Modular tasks avoid the "lost in the middle" problem
  • Selective context sharing reduces information redundancy
  • Supports branched and parallel execution paths
  • 2. Co-Designed LLM Serving Architecture

    GLM deeply co-designs the reasoning framework with the underlying LLM serving layer, introducing serving mechanisms tailored to graph-reasoning workloads:

  • Graph-aware KV cache management
  • Priority-based cache eviction policies
  • Pipeline parallel execution optimization

Reported Performance

| Metric | Improvement | |---|---| | Token cost reduction | 95.7% | | Inference latency reduction | 90.3% | | Throughput improvement | 15.1x | | Accuracy gain over baselines | up to 38% |

Applications and Outlook

GLM targets knowledge-intensive tasks over large knowledge graphs—multi-hop question answering, graph-based retrieval, and complex analytical queries—where accuracy, latency, and token cost must be balanced simultaneously. The paper suggests that combining agent specialization with system-level serving optimization is a promising direction for scalable graph reasoning. Reference: GLM framework paper (arXiv:2511.01633).

Tags

#llm#graph-reasoning#multi-agent#graph-chain-of-thought#kv-cache#llm-serving#graph-rag#inference-optimization

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/176360537