CWM: Controllable White-Box Meta-Prompting for Adaptive Retrieval-Augmented Generation and Reasoning Ability

Keuntae Kim, Eunhye Jeong, Yong Suk Choi
9/14/2026
cs.AI
rag

Official code: JeongEunhye00/CWM (0 stars, Python, Apache-2.0, last commit 2026-10-26).

Abstract

Recently, Large Language Models (LLMs) have gained significant attention due to their strong language understanding and generation capabilities, demonstrating impressive reasoning abilities as well as effective utilization of external knowledge. Many studies have proposed methods that specialize in improving performance for individual tasks.

Show full abstract

However, ironically, only a limited number of attempts have explored general-purpose, task-agnostic methods. In this work, we present a unified framework integrating reasoning and Retrieval-Augmented Generation (RAG) tasks. We further propose Controllable White-Box Meta-Prompting (CWM), a low-cost white-box method for adaptive RAG tasks previously dominated by black-box approaches, without requiring external decision modules or multi-sampling. CWM achieves state-of-the-art performance on three adaptive RAG benchmarks across recent LLMs, including GPT-oss-20b, Qwen3-14b, and Llama3.1-8b, while also demonstrating strong generality by extending to reasoning tasks. In addition, CWM provides controllability by enabling retrieval decisions to be regulated through the manipulation of internal model signals. Our code is available at https://github.com/JeongEunhye00/CWM.

View on arXivView PDF

Code Implementations(1)

JeongEunhye00/CWMOfficial100%
Apache-2.0

[2026 EMNLP Findings] CWM: Controllable White-Box Meta-Prompting for Adaptive Retrieval-Augmented Generation and Reasoning Ability

00PythonAug 21, 20261 months agoApache-2.0

Similar Papers

Cite this paper

@article{kim2026cwm,
  title  = {CWM: Controllable White-Box Meta-Prompting for Adaptive Retrieval-Augmented Generation and Reasoning Ability},
  author = {Keuntae Kim and Eunhye Jeong and Yong Suk Choi},
  year   = {2026},
  eprint = {2609.15234},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.15234v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.15234.svg)](https://codeofpaper.com/paper/2609.15234)

Discussion