Leveraging Self-Attention for Input-Dependent Soft Prompting in LLMs

The performance of large language models in domain-specific tasks necessitates finetuning, which is computationally expensive and technically challenging.This paper focuses on parameter-efficient fine-tuning using soft prompting, a promising approach that adapts pre-trained models to downstream tasks by learning a small set of parameters.We propose a novel Input Dependent Soft Prompting technique with a self-Attention Mechanism (ID-SPAM) that generates soft prompts based on the input tokens and attends different tokens with varying importance.Our method is simple and efficient, keeping the number of trainable parameters small.We show the merits of the proposed approach compared to state-of-theart techniques on various tasks and show the improved zero shot domain transfer capability.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-short.74
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Leveraging Self-Attention for Input-Dependent Soft Prompting in LLMs

Abhilash Nandy, Sambaran Bandyopadhyay, Ananth Muppidi
Topic Modeling
article

Leveraging Self-Attention for Input-Dependent Soft Prompting in LLMs

Abhilash Nandy, Sambaran Bandyopadhyay, Ananth Muppidi
article en

Abstract

The performance of large language models in domain-specific tasks necessitates finetuning, which is computationally expensive and technically challenging.This paper focuses on parameter-efficient fine-tuning using soft prompting, a promising approach that adapts pre-trained models to downstream tasks by learning a small set of parameters.We propose a novel Input Dependent Soft Prompting technique with a self-Attention Mechanism (ID-SPAM) that generates soft prompts based on the input tokens and attends different tokens with varying importance.Our method is simple and efficient, keeping the number of trainable parameters small.We show the merits of the proposed approach compared to state-of-theart techniques on various tasks and show the improved zero shot domain transfer capability.

Openalex Percentile: Top 90%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.