paper-with-me

홈 › Papers

ConstitutionalExperts: Training a Mixture of Principle-based Prompts

2024-03-07 · Savvas Petridis, Ben Wedin, Ann Yuan, James Wexler, Nithum Thain

Large language models (LLMs) are highly capable at a variety of tasks given the right prompt, but writing one is still a difficult and tedious process. In this work, we introduce ConstitutionalExperts, a method for learning a prompt consisting of constitutional principles (i.e. rules), given a training dataset. Unlike prior methods that optimize the prompt as a single entity, our method incrementally improves the prompt by surgically editing individual principles. We also show that we can improve overall performance by learning unique prompts for different semantic regions of the training data and using a mixture-of-experts (MoE) architecture to route inputs at inference time. We compare our method to other state of the art prompt-optimization techniques across six benchmark datasets. We also investigate whether MoE improves these other techniques. Our results suggest that ConstitutionalExperts outperforms other prompt optimization techniques by 10.9% (F1) and that mixture-of-experts improves all techniques, suggesting its broad applicability.

📄 PDF Abstract BibTeX arXiv:2403.04894

Code (0)

등록된 구현이 없습니다.

Tasks

Mixture-of-Experts

Similar Papers 제목 키워드 기반

ATTEMPT: Parameter-Efficient Multi-task Tuning via Attentional Mixtures of Soft Prompts

2022-05-24 · Akari Asai, Mohammadreza Salehi, Matthew E. Peters, Hannaneh Hajishirzi

This work introduces a new multi-task, parameter-efficient language model (LM) tuning method that learns to transfer knowledge across different tasks via a mixture of soft prompts-small prefix embedding vectors pre-train…

Few-Shot LearningLanguage ModellingMulti-Task LearningTransfer Learning

In-Context Learning Is Provably Bayesian Inference: A Generalization Theory for Meta-Learning

2025-10-13 · Tomoya Wakayama, Taiji Suzuki arxiv

This paper develops a finite-sample statistical theory for in-context learning (ICL), analyzed within a meta-learning framework that accommodates mixtures of diverse task types. We introduce a principled risk decompositi…

Bayesian Inference

MoPD: Mixture-of-Prompts Distillation for Vision-Language Models

2024-12-26 · Yang Chen, Shuai Fu, Yu Zhang

Soft prompt learning methods are effective for adapting vision-language models (VLMs) to downstream tasks. Nevertheless, empirical evidence reveals a tendency of existing methods that they overfit seen classes and exhibi…

Prompt Learning

Learning How to Ask: Querying LMs with Mixtures of Soft Prompts

2021-04-14 · NAACL 2021 4 · Guanghui Qin, Jason Eisner

Natural-language prompts have recently been used to coax pretrained language models into performing other AI tasks, using a fill-in-the-blank paradigm (Petroni et al., 2019) or a few-shot extrapolation paradigm (Brown et…

Language ModelingLanguage Modelling

Diffusion Model Patching via Mixture-of-Prompts

2024-05-28 · Seokil Ham, Sangmin Woo, Jin-Young Kim, Hyojun Go 외

We present Diffusion Model Patching (DMP), a simple method to boost the performance of pre-trained diffusion models that have already reached convergence, with a negligible increase in parameters. DMP inserts a small, le…

Denoisingmodel