PPAI: Enabling Personalized LLM Agent Interoperability for Collaborative Edge Intelligence

Zile Wang, Qianli Liu, Kaibin Guo, Haodong Wang, Jian Lin, Zicong Hong, Song GuoarXiv 2026

TL;DR

PPAI is a novel peer-to-peer (P2P) framework that allows edge-deployed, personalized LLM agents to collaborate by delegating tasks outside their local expertise to more qualified peers. By combining a churn-resistant prototype scoring mechanism with a Bayesian game for decentralized load balancing, PPAI boosts task accuracy by up to 7.96% while cutting processing latency by 16.34%.

What Problem Does This Paper Address?

The rise of AI-capable PCs and edge accelerators means users can now run personalized Large Language Model (LLM) agents locally, tailored to specific domains via fine-tuning or Retrieval-Augmented Generation (RAG). However, due to hardware and memory constraints, a single edge device cannot host an expert in every domain.

A natural solution is to form a P2P network where devices share their agents' specialized expertise—akin to a BitTorrent network, but for intelligence rather than files.

Fig. 1: Our vision for PPAI: Two decades ago, P2P networks (e.g. BitTorrent) allowed users to obtain files they did not have locally by downloading pieces from other users on the network. As agents advance, we envisage a future in which individuals can use others’ personalized agents to complete tasks at which their own local agents are less proficient.

Implementing this faces two major roadblocks:

  1. Agent Churn and Diversity: Unlike traditional P2P networks that share uniform files, agents have highly diverse, evolving capabilities, and users frequently join, leave, or update their models. Centralized routers cannot scale under such constant "churn."
  2. Unobservable Network Congestion: Real-time workloads of remote edge devices fluctuate rapidly and are hidden from peers. Naively routing every specialized query to the single "best" agent in the network quickly creates massive traffic bottlenecks.

Methods

The authors introduce PPAI, the first personalized LLM agent interoperability system, which relies on two core decentralized components:

1. QAGate (Prototype-Anchored Pair Scoring)

To match queries to shifting agent pools without constant retraining, PPAI projects both queries and agents into a fixed, shared latent space. This space is anchored by a set of learned semantic "prototypes" (representing diverse task categories).

Fig. 6: Overview of our prototype-anchored framework for scalable query–agent scoring and matching. (a) Queries and agents are projected into a shared prototype space, where their coordinates relative to pretrained prototypes are computed to obtain relevance scores. (b) During training, the projector learns to map queries to prototype-anchored relevance vectors by labeled supervision. (c) At inference, QAGate produces a relevance vector for each query, which is then matched with the stored capability vectors of candidate agents. (d) The framework supports dynamic agent set changes including join, update, or leave the system by propagating updated capability vectors and associated flags, enabling scalable matching without retraining.

When a query arrives, QAGate generates a relevance vector based on its distance to these prototypes. Agents maintain a capability profile relative to the same anchors. Matching is then reduced to a simple, fast cosine similarity calculation between the query vector and candidate agent vectors. When agents join or update, they simply broadcast their new capability vectors using a gossip protocol.

2. Multi-Agent Interoperability Bayesian Game

To prevent network congestion without a central coordinator, PPAI models query routing as a Bayesian game under incomplete information. Each edge device maintains a probabilistic belief distribution of its peers' workloads based on historical interactions.

When routing a query, the local device updates its beliefs using Bayes' rule and selects a peer that maximizes a custom utility function. This function balances semantic relevance against the Cost of Delegation (which factors in estimated queuing delays and network transmission latency). The authors mathematically prove that this decentralized decision-making process naturally converges toward a stable Bayesian Nash Equilibrium.

Datasets

The system was evaluated using five distinct edge-size LLM models (including variants of Qwen2.5-7B, DeepSeek-R1-Distill, and Llama-3-8B) trained on ShareGPT for baseline conversational knowledge.

Evaluation workloads were drawn from five standard benchmarks:

  • MMLU: 57 general knowledge tasks.
  • GSM8K: Grade-school math word problems.
  • MedQA: Medical exam questions.
  • ARC-C: Grade-school science questions.
  • AGIEval: An out-of-distribution (OOD) benchmark featuring questions from high-stakes exams like the Gaokao, SAT, and GRE.

Key Insights and Ideas

  • The Power of the "Second-Best": Always routing to the top-performing agent causes severe network congestion. Crucially, the authors discovered that falling back to the second- or third-best agent results in a negligible accuracy drop (frequently under 5%) across most MMLU tasks. PPAI exploits this buffer to distribute network loads evenly.
  • Decoupling Routing from Agent Identity: By shifting the routing problem from "which specific agent is this?" to "where does this query sit relative to fixed semantic anchors?", PPAI completely decouples the routing architecture from the physical state of the network. This makes the system highly resilient to node churn.

Key Results

The authors simulated active user environments with scaling configurations ranging from 50 to 1,000 agents.

  • Higher Accuracy: PPAI achieved up to a 7.96% average accuracy improvement across tasks compared to centralized routing baselines like RouterDC and knowledge-graph approaches like KABB.
  • Lower Latency: Under heavy user demand, PPAI reduced end-to-end processing latency by 16.34% relative to baselines by successfully avoiding overloaded nodes.
  • Excellent Scalability: As the network scaled from 50 to 1,000 agents, the average processing time actually decreased due to better load distribution across a larger pool of interchangeable agents, while accuracy remained stable.

Limitations and Future Work

  • Security and Trust: The paper assumes a cooperative environment. In open P2P deployments, malicious actors could launch denial-of-service (DoS) attacks with junk queries, return intentionally incorrect answers, or attempt model inversion attacks to steal private data. Future iterations must incorporate robust trust and reputation management systems.
  • Incentive Alignment: The system currently lacks a mechanism to prevent "free-riders"—users who exploit the expertise of remote agents without contributing their own local compute. The authors note that game-theoretic or blockchain-based incentive schemes will be essential for real-world deployment.

Summary updated

BibTeX
@misc{wang2026ppai,
  author = {Zile Wang and Qianli Liu and Kaibin Guo and Haodong Wang and Jian Lin and Zicong Hong and Song Guo},
  title = {{PPAI: Enabling Personalized LLM Agent Interoperability for Collaborative Edge Intelligence}},
  year = {2026},
  eprint = {2605.18067},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.18067},
}
Figure