paper-with-me

홈 › Papers

Black-box Optimization of LLM Outputs by Asking for Directions

2025-10-19 · Jie Zhang, Meng Ding, Yang Liu, Jue Hong, Florian Tramèr arxiv

We present a novel approach for attacking black-box large language models (LLMs) by exploiting their ability to express confidence in natural language. Existing black-box attacks require either access to continuous model outputs like logits or confidence scores (which are rarely available in practice), or rely on proxy signals from other models. Instead, we demonstrate how to prompt LLMs to express their internal confidence in a way that is sufficiently calibrated to enable effective adversarial optimization. We apply our general method to three attack scenarios: adversarial examples for vision-LLMs, jailbreaks and prompt injections. Our attacks successfully generate malicious inputs against systems that only expose textual outputs, thereby dramatically expanding the attack surface for deployed LLMs. We further find that better and larger models exhibit superior calibration when expressing confidence, creating a concerning security paradox where model capability improvements directly enhance vulnerability. Our code is available at this link.

📄 PDF Abstract BibTeX arXiv:2510.16794

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Diversity can be Transferred: Output Diversification for White- and Black-box Attacks

2020-03-15 · NeurIPS 2020 12 · Yusuke Tashiro, Yang song, Stefano Ermon

Adversarial attacks often involve random perturbations of the inputs drawn from uniform or Gaussian distributions, e.g., to initialize optimization-based white-box attacks or generate update directions in black-box attac…

Diversity

Evolutionary Multitask Optimization: a Methodological Overview, Challenges and Future Research Directions

2021-02-04 · Eneko Osaba, Aritz D. Martinez, Javier Del Ser

In this work we consider multitasking in the context of solving multiple optimization problems simultaneously by conducting a single search process. The principal goal when dealing with this scenario is to dynamically ex…

Neural Process for Black-Box Model Optimization Under Bayesian Framework

2021-04-03 · Zhongkai Shangguan, Lei Lin, Wencheng Wu, Beilei Xu

There are a large number of optimization problems in physical models where the relationships between model parameters and outputs are unknown or hard to track. These models are named as black-box models in general becaus…

Bayesian OptimizationModel Optimization

Distributed Black-Box Optimization via Error Correcting Codes

2019-07-13 · Burak Bartan, Mert Pilanci

We introduce a novel distributed derivative-free optimization framework that is resilient to stragglers. The proposed method employs coded search directions at which the objective function is evaluated, and a decoding st…

From Complexity to Simplicity: Adaptive ES-Active Subspaces for Blackbox Optimization

2019-03-07 · NeurIPS 2019 12 · Krzysztof Choromanski, Aldo Pacchiano, Jack Parker-Holder, Yunhao Tang

We present a new algorithm ASEBO for optimizing high-dimensional blackbox functions. ASEBO adapts to the geometry of the function and learns optimal sets of sensing directions, which are used to probe it, on-the-fly. It …

compressed sensingMulti-Armed BanditsReinforcement Learning