IntPro: A Proxy Agent for Context-Aware Intent Understanding via Retrieval-conditioned Inference

Guanming Liu, Meng Wu, Peng Zhang, Yu Zhang, Yubo Shu, Xianliang Huang, Kainan Tu, Ning Gu, Liuxin Zhang, Qianying Wang, Tun LuarXiv 2026

TL;DR

The authors introduce IntPro, a lightweight, on-device proxy agent designed to understand user intent by dynamically balancing direct inference with the retrieval of personalized historical intent patterns. By combining supervised fine-tuning with multi-turn Group Relative Policy Optimization (GRPO) and a novel tool-aware reward function, IntPro outperforms massive cloud-based LLMs in context-aware intent understanding while preserving user privacy and minimizing latency.

What Problem Does This Paper Address?

Accurately capturing user intent is the cornerstone of effective human-AI collaboration. However, intent is rarely explicit; it is deeply intertwined with situational context and a user's unique behavioral history.

Existing systems face two major hurdles:

  1. Static Classification: Most current approaches treat intent recognition as a simple discriminative classification task over fixed labels, completely ignoring a user's evolving, long-term behavioral patterns.
  2. The Cloud Dilemma: Relying on massive cloud-based Large Language Models (LLMs) to parse this context introduces significant financial costs, high latency, and severe privacy risks when handling sensitive personal histories.

To bridge this gap, the paper proposes a Human-Proxy-LLM framework. Instead of sending raw, ambiguous queries directly to the cloud, a dedicated local proxy agent processes the context, infers the underlying intent, and generates structured explanations to guide the downstream cloud LLM.

Fig. 1. Current Human-LLM Collaboration (A) VS Human-Proxy-LLM Collaboration with context-aware intent understanding (B).

Methods

IntPro achieves personalized, context-aware intent understanding through a two-stage training paradigm:

  1. Supervised Fine-Tuning (SFT) with Trajectory Generation: The authors built a Retrieval-conditioned Intent Inference Trajectory Generation framework. It teaches the agent two distinct reasoning paths: direct inference (answering immediately when confident) and retrieval-conditioned inference (invoking a retrieval tool to query past user patterns when uncertain).
  2. Reinforcement Learning via Multi-Turn GRPO: To refine this decision-making process, the agent is trained using Group Relative Policy Optimization (GRPO). Crucially, they introduce a tool-aware reward function that dynamically adjusts based on context difficulty. If a context is "easy" (high group accuracy), the model is rewarded for direct answers and penalized for wasting time on retrieval. If the context is "hard" (low group accuracy), the model is rewarded for successfully retrieving historical patterns and penalized for guessing incorrectly.

The historical patterns are stored in a per-user Intent History Library. Instead of storing raw text, it stores structured "intent explanations"—natural language descriptions generated by a teacher model that abstract how specific contextual signals connect to an expressed intent.

Fig. 2. Overview of our data construction pipeline for context-aware intent understanding, including intent history library construction and retrieval-conditioned intent inference trajectory generation.

Datasets

The framework was evaluated across three distinct scenarios:

  • MIntRec2.0: A benchmark for multimodal intent recognition in multi-party dialogues, featuring 30 fine-grained intent labels.
  • Weibo Post-Sync: A social media-based dataset containing 7 primary posting intents (e.g., emotional venting, advertisement) along with hashtags and user IDs.
  • Highlight-Intent: A newly introduced, self-constructed bilingual (English/Chinese) dataset designed for reading assistance. It tracks 23 users across 2,695 queries, mapping text highlights to 12 distinct reading motivations (such as "analyzing trends" or "tracing controversies").

Key Insights and Ideas

  • Explanations make better retrieval keys than raw text: A preliminary t-SNE analysis revealed that raw user utterances are too diverse and noisy to serve as effective retrieval targets. Abstracting behaviors into structured "intent explanations" creates highly discriminative semantic representations that form distinct, clean clusters.
  • Personalization beats raw scale: Massive models like GPT-4o struggle in zero-shot settings because they treat user history as passive prompt context. IntPro actively manages and reasons over an evolving history library, allowing a 3B or 4B model to outperform cloud models multiple times its size.
  • Continuous Adaptation: As a user interacts more with the system, the Intent History Library grows richer. Experiments simulating a streaming deployment showed a steady +5.5 percentage point gain in accuracy as the history accumulated, proving the agent continuously adapts to individual users.

Key Results

IntPro was tested using Qwen-2.5 (3B), Llama-3.2 (3B), and Qwen3 (4B) as base models, consistently achieving state-of-the-art or near-SOTA results:

  • Outperforming Cloud LLMs: On the Highlight-Intent dataset, IntPro (Qwen3-4B) achieved 48.28% Accuracy, significantly outperforming zero-shot GPT-4o (30.62%) and Qwen3-30B-A3B (28.45%). Even when these cloud models were augmented with the same retrieval mechanism, IntPro maintained a clear lead.
  • Differentiating Rare Intents: Thanks to the structured reasoning enforced during SFT and GRPO, IntPro showed massive improvements in identifying low-frequency, "tail" intents (like "Refuse" or "Emphasize") where standard SFT models typically fail due to data imbalance.
  • On-Device Feasibility: IntPro models operate within a tight 8.5 to 11.2 GB memory footprint with a local inference latency of just 145–178 ms per query on a single GPU. This completely bypasses the variable 200–500 ms network overhead typical of cloud APIs.

Limitations and Future Work

While IntPro demonstrates robust performance, the authors note two primary limitations:

  • Closed Taxonomy: The system currently relies on predefined intent categories across the datasets. The authors plan to extend IntPro to open-vocabulary intent generation in future iterations.
  • Cold-Start Problem: The retrieval mechanism naturally depends on having an existing user history. For entirely new users, the authors intend to explore few-shot adaptation mechanisms to mitigate performance drops during early interactions.

Summary updated

BibTeX
@misc{liu2026intpro,
  author = {Guanming Liu and Meng Wu and Peng Zhang and Yu Zhang and Yubo Shu and Xianliang Huang and Kainan Tu and Ning Gu and Liuxin Zhang and Qianying Wang and Tun Lu},
  title = {{IntPro: A Proxy Agent for Context-Aware Intent Understanding via Retrieval-conditioned Inference}},
  year = {2026},
  eprint = {2603.03325},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.03325},
}
Figure