paper-with-me

홈 › Papers

Enhancing the Capability and Robustness of Large Language Models through Reinforcement Learning-Driven Query Refinement

2024-07-01 · Zisu Huang, Xiaohua Wang, Feiran Zhang, Zhibo Xu, Cenyuan Zhang, Xiaoqing Zheng, Xuanjing Huang

The capacity of large language models (LLMs) to generate honest, harmless, and helpful responses heavily relies on the quality of user prompts. However, these prompts often tend to be brief and vague, thereby significantly limiting the full potential of LLMs. Moreover, harmful prompts can be meticulously crafted and manipulated by adversaries to jailbreak LLMs, inducing them to produce potentially toxic content. To enhance the capabilities of LLMs while maintaining strong robustness against harmful jailbreak inputs, this study proposes a transferable and pluggable framework that refines user prompts before they are input into LLMs. This strategy improves the quality of the queries, empowering LLMs to generate more truthful, benign and useful responses. Specifically, a lightweight query refinement model is introduced and trained using a specially designed reinforcement learning approach that incorporates multiple objectives to enhance particular capabilities of LLMs. Extensive experiments demonstrate that the refinement model not only improves the quality of responses but also strengthens their robustness against jailbreak attacks. Code is available at: https://github.com/Huangzisu/query-refinement .

📄 PDF Abstract BibTeX arXiv:2407.01461

Code (1)

huangzisu/query-refinement 공식 구현 pytorch

Similar Papers 제목 키워드 기반

R1-Omni: Explainable Omni-Multimodal Emotion Recognition with Reinforcement Learning

2025-03-07 · Jiaxing Zhao, Xihan Wei, Liefeng Bo

In this work, we present the first application of Reinforcement Learning with Verifiable Reward (RLVR) to an Omni-multimodal large language model in the context of emotion recognition, a task where both visual and audio …

Emotion RecognitionLanguage ModelingLanguage ModellingLarge Language Model+4

ChatRetriever: Adapting Large Language Models for Generalized and Robust Conversational Dense Retrieval

2024-04-21 · Kelong Mao, Chenlong Deng, Haonan Chen, Fengran Mo 외

Conversational search requires accurate interpretation of user intent from complex multi-turn contexts. This paper presents ChatRetriever, which inherits the strong generalization capability of large language models to r…

Contrastive LearningConversational SearchRetrieval

Evaluating the Instruction-Following Robustness of Large Language Models to Prompt Injection

2023-08-17 · Zekun Li, Baolin Peng, Pengcheng He, Xifeng Yan

Large Language Models (LLMs) have demonstrated exceptional proficiency in instruction-following, becoming increasingly crucial across various applications. However, this capability brings with it the risk of prompt injec…

Instruction Following

From Passive Response to Proactive Correction: Enhancing LLM Robustness Against Input Fact Perturbations

2026-08-26 · Ping Wang, Xiangguo Sun, Bingbing Xu, Guocong Li 외 arxiv

Large language models (LLMs) frequently produce confident yet factually incorrect responses when user inputs contain misleading premises, a phenomenon we attribute to fact perturbations in the input. Existing approaches …

FEALLM: Advancing Facial Emotion Analysis in Multimodal Large Language Models with Emotional Synergy and Reasoning

2025-05-19 · Zhuozhao Hu, Kaishen Yuan, Xin Liu, Zitong Yu 외

Facial Emotion Analysis (FEA) plays a crucial role in visual affective computing, aiming to infer a person's emotional state based on facial data. Scientifically, facial expressions (FEs) result from the coordinated move…

Emotion Recognition