Lune

KDD2024Top-tier venue

Subspace Selection based Prompt Tuning with Nonconvex Nonsmooth Black-Box Optimization

Haozhen Zhang, Hualin Zhang, Bin Gu, Yi Chang

Abstract

In this paper, we introduce a novel framework for black-box prompt tuning with a subspace learning and selection strategy, leveraging derivative-free optimization algorithms. This approach is crucial for scenarios where user interaction with language models is restricted to API usage, without direct access to their internal structures or gradients, a situation typical in Language-Model-as-a-Service (LMaaS). Our framework focuses on exploring the low-dimensional subspace of continuous prompts. Previous work on black-box prompt tuning necessitates a substantial number of API calls due to the random choice of the subspace. To tackle this problem, we propose to use a simple zeroth-order optimization algorithm to tackle nonconvex optimization challenges with nonsmooth nonconvex regularizers: the Zeroth-Order Mini-Batch Stochastic Proximal Gradient method (ZO-MB-SPG). A key innovation is the incorporation of nonsmooth nonconvex regularizers, including the indicator function of the ℓ 0 constraint, which enhances our ability to select optimal subspaces for prompt optimization. The experimental results show that our proposed black-box prompt tuning method on a few labeled samples can attain similar performance to the methods applicable to LMaaS with much fewer API calls.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Online Black-Box Prompt Optimization with Regret Guarantees under Noisy Feedback cites The Power of Scale for Parameter-Efficient Prompt Tuning
  • Online Black-Box Prompt Optimization with Regret Guarantees under Noisy Feedback cites Language Models are Few-Shot Learners
  • Fine-Tuning Language Models with Just Forward Passes cites The Power of Scale for Parameter-Efficient Prompt Tuning
  • Fine-Tuning Language Models with Just Forward Passes cites Language Models are Few-Shot Learners
  • FedBPT: Efficient Federated Black-box Prompt Tuning for Large Language Models cites The Power of Scale for Parameter-Efficient Prompt Tuning
  • FedBPT: Efficient Federated Black-box Prompt Tuning for Large Language Models cites Language Models are Few-Shot Learners
  • IGU-LoRA: Adaptive Rank Allocation via Integrated Gradients and Uncertainty-Aware Scoring cites Language Models are Few-Shot Learners
  • Collaborative Discrete-Continuous Black-Box Prompt Learning for Language Models cites Language Models are Few-Shot Learners
  • DeepZero: Scaling Up Zeroth-Order Optimization for Deep Model Training cites Fine-Tuning Language Models with Just Forward Passes
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. IGU-LoRA: Adaptive Rank Allocation via Integrated Gradients and Uncertainty-Aware ScoringXuan Cui, Huiyue Li, Run Zeng, Yunfei Zhao et al.ICLR 2026 · 5 citations
  2. Online Black-Box Prompt Optimization with Regret Guarantees under Noisy FeedbackJinjie Fang, Runwen You, Wanli Shi, Wenkang Wang et al.ICLR 2026
  3. DTZO: Distributed Trilevel Zeroth Order Learning with Provable Non-Asymptotic ConvergenceYang Jiao, Kai Yang, Chengtao JianICML 2025
  4. Collaborative Discrete-Continuous Black-Box Prompt Learning for Language ModelsHualin Zhang, Haozhen Zhang, Zhekai Liu, Bin Gu et al.ICLR 2025

Builds on9

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Fine-Tuning Language Models with Just Forward PassesSadhika Malladi, Tianyu Gao, Eshaan Nichani, Alex Damian et al.NeurIPS 2023 · 495 citations
  3. The Power of Scale for Parameter-Efficient Prompt TuningBrian Lester, Rami Al-Rfou, Noah ConstantEMNLP 2021 · 94 citations
  4. DeepZero: Scaling Up Zeroth-Order Optimization for Deep Model TrainingAochuan Chen, Yimeng Zhang, Jinghan Jia, James Diffenderfer et al.ICLR 2024 · 88 citations
  5. FedBPT: Efficient Federated Black-box Prompt Tuning for Large Language ModelsJingwei Sun, Ziyue Xu, Hongxu Yin, Dong Yang et al.ICML 2024 · 38 citations

Related papers

  1. Black-Box Tuning for Language-Model-as-a-ServiceTianxiang Sun, Yunfan Shao, Hong Qian, Xuanjing Huang et al.ICML 2022 · 343 citations
  2. Modality-Agnostic Zeroth-Order LoRA Fine-Tuning for Black-Box Prompt OptimizationXingchen Li, Jia Zhang, Tianxing Man, Wenkang Wang et al.KDD 2026
  3. Unlocking Black-Box Prompt Tuning Efficiency via Zeroth-Order OptimizationHeshen Zhan, Congliang Chen, Tian Ding, Ziniu Li et al.EMNLP Findings 2024 · 3 citations
  4. Leveraging First and Zeroth-Order Gradient to Address Imbalanced Black-Box Prompt Tuning via Minimax OptimizationHaozhen Zhang, Zhaogeng Liu, Bin Gu, Yi ChangAAAI 2025 · 1 citation
  5. Black-Box Test-Time Prompt Tuning for Vision-Language ModelsFan'an Meng, Chaoran Cui, Hongjun Dai, Shuai GongAAAI 2025 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines