paper-with-me

홈 › Papers

Use Your INSTINCT: INSTruction optimization for LLMs usIng Neural bandits Coupled with Transformers

2023-10-02 · Xiaoqiang Lin, Zhaoxuan Wu, Zhongxiang Dai, Wenyang Hu, Yao Shu, See-Kiong Ng, Patrick Jaillet, Bryan Kian Hsiang Low

Large language models (LLMs) have shown remarkable instruction-following capabilities and achieved impressive performances in various applications. However, the performances of LLMs depend heavily on the instructions given to them, which are typically manually tuned with substantial human efforts. Recent work has used the query-efficient Bayesian optimization (BO) algorithm to automatically optimize the instructions given to black-box LLMs. However, BO usually falls short when optimizing highly sophisticated (e.g., high-dimensional) objective functions, such as the functions mapping an instruction to the performance of an LLM. This is mainly due to the limited expressive power of the Gaussian process (GP) which is used by BO as a surrogate to model the objective function. Meanwhile, it has been repeatedly shown that neural networks (NNs), especially pre-trained transformers, possess strong expressive power and can model highly complex functions. So, we adopt a neural bandit algorithm which replaces the GP in BO by an NN surrogate to optimize instructions for black-box LLMs. More importantly, the neural bandit algorithm allows us to naturally couple the NN surrogate with the hidden representation learned by a pre-trained transformer (i.e., an open-source LLM), which significantly boosts its performance. These motivate us to propose our INSTruction optimization usIng Neural bandits Coupled with Transformers (INSTINCT) algorithm. We perform instruction optimization for ChatGPT and use extensive experiments to show that INSTINCT consistently outperforms baselines in different tasks, e.g., various instruction induction tasks and the task of improving zero-shot chain-of-thought instructions. Our code is available at https://github.com/xqlin98/INSTINCT.

📄 PDF Abstract BibTeX arXiv:2310.02905

Code (1)

xqlin98/INSTINCT 공식 구현 pytorch

Tasks

Bayesian OptimizationInstruction Following

Methods 이 논문이 사용한 방법론

Gaussian Process Gaussian Processes are non-parametric models for approximating functions. They rely upon a measure of similarity between points (the kernel function) to predict the value for…

Similar Papers 제목 키워드 기반

Prompt Codebooks: Discrete Compositional Optimization for Language Model Instruction Refinement

2026-05-27 · Jyotirmoy Nath, Neeraj Kumar, Brejesh Lall arxiv

Automatic prompt optimization (APO) has driven significant gains in LLM-based agentic workflows. However, existing methods treat each task's prompt as a monolithic, instance-blind string optimized through global edits, p…

PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimization

2023-10-25 · Xinyuan Wang, Chenxi Li, Zhen Wang, Fan Bai 외

Highly effective, task-specific prompts are often heavily engineered by experts to integrate detailed instructions and domain insights based on a deep understanding of both instincts of large language models (LLMs) and t…

Navigate

May I have your Attention? Breaking Fine-Tuning based Prompt Injection Defenses using Architecture-Aware Attacks

2025-07-10 · Nishit V. Pandya, Andrey Labunets, Sicun Gao, Earlence Fernandes arxiv

A popular class of defenses against prompt injection attacks on large language models (LLMs) relies on fine-tuning to separate instructions and data, so that the LLM does not follow instructions that might be present wit…

Instinct vs. Reflection: Unifying Token and Verbalized Confidence in Multimodal Large Models

2026-04-19 · Yunkai Dang, Yifan Jiang, Yizhu Jiang, Anqi Chen 외 arxiv

Multimodal Large Language Models (MLLMs) have demonstrated exceptional capabilities in various perception and reasoning tasks. Despite this success, ensuring their reliability in practical deployment necessitates robust …

Focus on Your Instruction: Fine-grained and Multi-instruction Image Editing by Attention Modulation

2023-12-15 · CVPR 2024 1 · Qin Guo, Tianwei Lin

Recently, diffusion-based methods, like InstructPix2Pix (IP2P), have achieved effective instruction-based image editing, requiring only natural language instructions from the user. However, these methods often inadverten…

Denoising