paper-with-me

Papers

Improving Complex Reasoning with Dynamic Prompt Corruption: A soft prompt Optimization Approach

2025-03-17 · Sinan Fan, Liang Xie, Chen Shen, Ge Teng, Xiaosong Yuan, Xiaofeng Zhang, Chenxi Huang, Wenxiao Wang, Xiaofei He, Jieping Ye

Prompt-tuning (PT) for large language models (LLMs) can facilitate the performance on various conventional NLP tasks with significantly fewer trainable parameters. However, our investigation reveals that PT provides limited improvement and may even degrade the primitive performance of LLMs on complex reasoning tasks. Such a phenomenon suggests that soft prompts can positively impact certain instances while negatively affecting others, particularly during the later phases of reasoning. To address these challenges, We first identify an information accumulation within the soft prompts. Through detailed analysis, we demonstrate that this phenomenon is often accompanied by erroneous information flow patterns in the deeper layers of the model, which ultimately lead to incorrect reasoning outcomes. we propose a novel method called Dynamic Prompt Corruption (DPC) to take better advantage of soft prompts in complex reasoning tasks, which dynamically adjusts the influence of soft prompts based on their impact on the reasoning process. Specifically, DPC consists of two stages: Dynamic Trigger and Dynamic Corruption. First, Dynamic Trigger measures the impact of soft prompts, identifying whether beneficial or detrimental. Then, Dynamic Corruption mitigates the negative effects of soft prompts by selectively masking key tokens that interfere with the reasoning process. We validate the proposed approach through extensive experiments on various LLMs and reasoning tasks, including GSM8K, MATH, and AQuA. Experimental results demonstrate that DPC can consistently enhance the performance of PT, achieving 4%-8% accuracy gains compared to vanilla prompt tuning, highlighting the effectiveness of our approach and its potential to enhance complex reasoning in LLMs.

📄 PDF Abstract BibTeX arXiv:2503.13208

Code (0)

등록된 구현이 없습니다.

Tasks

GSM8KMath

Similar Papers 제목 키워드 기반

Can Transformer Memory Be Corrupted? Investigating Cache-Side Vulnerabilities in Large Language Models

2025-10-20 · Elias Hossain, Swayamjit Saha, Somshubhra Roy, Ravi Prasad arxiv

Even when prompts and parameters are secured, transformer language models remain vulnerable because their key-value (KV) cache during inference constitutes an overlooked attack surface. This paper introduces Malicious To…

Chain-of-Defensive-Thought: Structured Reasoning Elicits Robustness in Large Language Models against Reference Corruption

2025-04-29 · Wenxiao Wang, Parsa Hosseini, Soheil Feizi

Chain-of-thought prompting has demonstrated great success in facilitating the reasoning abilities of large language models. In this work, we explore how these enhanced reasoning abilities can be exploited to improve the …

Natural Questions

DSPrompt: Dynamic Soft Prompt Defense Against M-RAG Corruption

2026-08-17 · Chang Liu, Yuni Lai, Mingyue Cui, Cong Tian 외 arxiv

Multimodal Retrieval Augmented Generation (M-RAG) is increasingly vulnerable to adversarial attacks where malicious data are crafted to produce embeddings that align with benign entries in the vector space, deceiving ret…

Soft-Prompting with Graph-of-Thought for Multi-modal Representation Learning

2024-04-06 · Juncheng Yang, Zuchao Li, Shuai Xie, Wei Yu 외

The chain-of-thought technique has been received well in multi-modal tasks. It is a step-by-step linear reasoning process that adjusts the length of the chain to improve the performance of generated prompts. However, hum…

Domain GeneralizationImage RetrievalQuestion AnsweringRepresentation Learning+2

Nemesis: Normalizing the Soft-prompt Vectors of Vision-Language Models

2024-08-26 · Shuai Fu, Xiequn Wang, Qiushi Huang, Yu Zhang

With the prevalence of large-scale pretrained vision-language models (VLMs), such as CLIP, soft-prompt tuning has become a popular method for adapting these models to various downstream tasks. However, few works delve in…

Language Modelling