paper-with-me

Papers

PromptBoosting: Black-Box Text Classification with Ten Forward Passes

2022-12-19 · Bairu Hou, Joe O'Connor, Jacob Andreas, Shiyu Chang, Yang Zhang

We describe PromptBoosting, a query-efficient procedure for building a text classifier from a neural language model (LM) without access to the LM's parameters, gradients, or hidden representations. This form of "black-box" classifier training has become increasingly important as the cost of training and inference in large-scale LMs grows. But existing black-box LM classifier learning approaches are themselves computationally inefficient, typically specializing LMs to the target task by searching in a large space of (discrete or continuous) prompts using zeroth-order optimization methods. Instead of directly optimizing in prompt space, PromptBoosting obtains a small pool of prompts via a gradient-free approach and then constructs a large pool of weak learners by pairing these prompts with different elements of the LM's output distribution. These weak learners are then ensembled using the AdaBoost algorithm. The entire learning process requires only a small number of forward passes and no backward pass. Experiments show that PromptBoosting achieves state-of-the-art performance in multiple black-box few-shot classification tasks, and matches or outperforms full fine-tuning in both few-shot and standard learning paradigms, while training 10x faster than existing black-box methods.

📄 PDF Abstract BibTeX arXiv:2212.09257

Code (2)

ucsb-nlp-chang/promptboosting 공식 구현 pytorch
zcrwind/prefer pytorch

Tasks

ClassificationLanguage Modellingtext-classificationText Classification

Similar Papers 제목 키워드 기반

CrossTune: Black-Box Few-Shot Classification with Label Enhancement

2024-03-19 · Danqing Luo, Chen Zhang, Yan Zhang, Haizhou Li

Training or finetuning large-scale language models (LLMs) requires substantial computation resources, motivating recent efforts to explore parameter-efficient adaptation to downstream tasks. One approach is to treat thes…

Few-Shot Text ClassificationIn-Context LearningLanguage Modellingtext-classification+1

One Sample is Enough to Make Conformal Prediction Robust

2025-06-19 · Soroush H. Zargarbashi, Mohammad Sadegh Akhondzadeh, Aleksandar Bojchevski

Given any model, conformal prediction (CP) returns prediction sets guaranteed to include the true label with high adjustable probability. Robust CP (RCP) extends this to inputs with worst-case noise. A well-established a…

Conformal PredictionPrediction

Learning Black-Box Attackers with Transferable Priors and Query Feedback

2020-10-21 · NeurIPS 2020 12 · Jiancheng Yang, Yangzhou Jiang, Xiaoyang Huang, Bingbing Ni 외

This paper addresses the challenging black-box adversarial attack problem, where only classification confidence of a victim model is available. Inspired by consistency of visual saliency between different vision models, …

Adversarial Attack

DV-SFT: Direct Vision Supervision for Fine-Grained Visual Understanding

2026-05-26 · Jianfei Zhao, Feng Zhang, Xin Sun, Chong Feng 외 arxiv

Multimodal large language models are typically trained end-to-end to predict ground-truth answers, yet supervision signals are applied exclusively to text tokens. Visual tokens, the core carriers of visual information, a…

All Birds with One Stone: Multi-task Text Classification for Efficient Inference with One Forward Pass

2022-05-22 · Jiaxin Huang, Tianqi Liu, Jialu Liu, Adam D. Lelkes 외

Multi-Task Learning (MTL) models have shown their robustness, effectiveness, and efficiency for transferring learned knowledge across tasks. In real industrial applications such as web content classification, multiple cl…

AllClassificationMulti-Task Learningtext-classification+1