RASP-Tuner: Retrieval-Augmented Soft Prompts for Context-Aware Black-Box Optimization in Non-Stationary Environments
On the map: Retrieval-augmented generation → Agentic RAG, agents and memory
Abstract (arXiv)
Many deployed systems expose black-box objectives whose minimizing configuration shifts with an externally observed context. When contexts revisit a small set of latent regimes, an optimizer that discards history pays repeated adaptation cost; when each step must remain inexpensive, full Gaussian-process (GP) refits at high observation counts are difficult to sustain. We cast online tuning as context-conditioned regret minimization and present RASP-Tuner, which instantiates a decomposition motivated by first principles: (i) identify a regime proxy by retrieving similar past contexts; (ii) predict short-horizon loss with a mixture-of-experts surrogate whose input concatenates parameters, context, and a retrieved soft prompt; (iii) adapt chiefly in a low-dimensional prompt subspace, invoking full surrogate updates only when scalarized error or disagreement spikes. A RealErrorComposer maps heterogeneous streaming metrics to [0,1] via EMA-stabilized logistic scores, supplying a single differentiable training target. On nine synthetic non-stationary benchmarks, an adversarial-context sanity check, and three tabular real-world streams (Section on real-world experiments), RASP-Tuner improves or matches cumulative regret relative to our GP-UCB and CMA-ES implementations on seven of nine synthetic tasks under paired tests at horizon T=100, while recording 8-12 times lower wall-clock per step than sliding-window GP-UCB on identical hardware. Idealized analysis in a cluster-separated, strongly convex regime model (RA-GD) supplies sufficient conditions for bounded dynamic regret; the deployed pipeline violates several of these premises, and we articulate which gaps remain open.
Key facts. No citing papers in the map yet (data through 13 Oct 2026). Placed in Agentic RAG, agents and memory, one of 15 directions in Retrieval-augmented generation. Builds on 19 of its 30 references that are in the map. First posted on arXiv 20 Apr 2026.
Builds on
19 of 30 references.
Closest ancestors · 1
Same direction, newest first
Other references · 18
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,221
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,870
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,785
- 2019Introduction to Online Convex Optimizationcited by 798
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 797
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 790
- 2015Deep Kernel Learningcited by 441
- 2013Non-stationary Stochastic Optimizationcited by 173
- 2021Non-stationary Reinforcement Learning without Prior Knowledge: An Optimal Black-box Approachcited by 98
- 2022PromptBoosting: Black-Box Text Classification with Ten Forward Passescited by 36
- 2024CARMO: Dynamic Criteria Generation for Context-Aware Reward Modellingcited by 21
- 2024Few-Shot Recognition via Stage-Wise Retrieval-Augmented Finetuningcited by 15
6 more
- 2022Context-Tuning: Learning Contextualized Prompts for Natural Language Generationcited by 12
- 2022Time-aware Prompting for Text Generationcited by 10
- 2025Direct Retrieval-augmented Optimization: Synergizing Knowledge Selection and Language Modelscited by 9
- 2023Online Reinforcement Learning in Non-Stationary Context-Driven Environmentscited by 6
- 2025LLM Program Optimization via Retrieval Augmented Searchcited by 4
- 2025PRESTO: Preimage-Informed Instruction Optimization for Prompting Black-Box LLMscited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026PRECEPT: Planning Resilience via Experience, Context Engineering & Probing Trajectories A Unified Framework for Test-Time Adaptation with Compositional Rule Learning and Pareto-Guided Prompt Evolution
- 2025Prompt-Tuning Bandits: Enabling Few-Shot Generalization for Efficient Multi-Task Offline RL
- 2025Rethinking Prompt Optimizers: From Prompt Merits to Optimization
- 2026Generalizable Self-Evolving Memory for Automatic Prompt Optimization
- 2026DynaContext: Self-Improving Dynamic Contextualization of Optimized Prompts for Heterogeneous Parameter Extraction
- 2026Filtering Beats Fine Tuning: A Bayesian Kalman View of In Context Learning in LLMs
- 2026ContextBudget: Budget-Aware Context Management for Long-Horizon Search Agents
- 2026FOCUS: Training-Free Decision-Preserving Context Compression for LLM Agents