# Learning to Ask: Metacognitive Action Policy for Large and Small Language Model Collaboration

*Jiayuan Zhang, Jianwei Niu, Xuefeng Liu, Haotian Yang, Guogang Zhu, Yuhui Niu, Wanyu Lin, Xinghao Wu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148711) · [OpenReview](https://openreview.net/forum?id=vd3L9OOtR9) · [Open on the map](../papers.html#p148711)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Self-Evolving Agent Memory](../pgroup/673.md) · Type: new method · Keywords: metacognitive policy, edge-cloud collaboration, on-device language model, query refinement, privacy-preserving rewriting

Areas: [LLM Reasoning](../areas/reasoning.md) › Agentic Reasoning › Skill-Augmented Reasoning; [AI Agents](../areas/agents.md) › Agent Systems and Interactions › Agent Governance

## Summary
AIMA learns a metacognitive policy for on-device SLMs to decide when, what, and how to query LLMs for personalized guidance while protecting privacy.

## Explained to a 5-year-old
A small robot brain lives on your phone and a big brain lives in the cloud. The small brain sometimes doesn't know everything, so it learns to ask the big brain for help. It decides when to ask, what to ask, and how to ask in a safe way. Before asking, it makes sure not to share any secret information. This helps give you better answers while keeping your private stuff safe.

## Explained to a 5-year-old, longer
Imagine you have a tiny helper inside your device that can think a little, but not as much as a super smart computer far away. This tiny helper can notice when it doesn't know something and wants to get help from the big computer. It learns to decide by itself when to ask, what question to ask, and how to phrase that question. The helper also checks its own thoughts to make sure it doesn't accidentally reveal private information. It uses a special rule to rewrite the question so that no secret slips out. All of this happens on the device, so your personal data stays safe. The big computer sends back a helpful answer, and the tiny helper combines it with what it already knows. This way, you get answers that are more personal and useful. The system works without sending all your data to the cloud, keeping your privacy intact. It also works well on devices with limited power, like phones or tablets. Researchers tested it and found it works better than just always asking the big computer for help. This new way of asking smart questions makes AI assistants more friendly and private.

## For a technical reader
The work addresses the limitation of generic LLM guidance in edge-cloud setups by turning the on-device SLM into a metacognitive agent. This agent learns a policy that selects high-level actions (when, what, how to query) and refines queries conditioned on those actions. A privacy-preserving rewrite step sanitizes the refined query to avoid leaking sensitive data. The policy is trained end-to-end on the device, enabling personalized assistance while keeping data local. Experiments show the approach consistently outperforms baseline methods in both accuracy and privacy preservation.

## Problem
Existing edge-cloud collaboration relies on LLMs providing generic guidance, which often does not match users' personalized needs, limiting the benefit of LLM capabilities. The on-device SLM lacks a mechanism to actively request tailored guidance when needed.

## Method
The on-device SLM is turned into a metacognitive inquirer that evaluates its internal state and selects high-level actions to query the LLM. The policy jointly optimizes these actions and refines the query conditioned on them, while a privacy-constrained rewriting step removes sensitive information from the refined query.

## Results
The approach shows superior performance compared to existing edge-cloud collaboration methods across evaluated tasks.

## Contributions
It introduces a metacognitive inquirer agent that actively decides when, what, and how to query LLMs, a joint policy for action selection and query refinement, and a privacy-preserving rewriting mechanism to prevent leakage.

## Practical relevance
Enables on-device personalized AI services that leverage powerful cloud models while preserving user privacy.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148711)
