paper-with-me

홈 › Papers

Aligning LLMs through Multi-perspective User Preference Ranking-based Feedback for Programming Question Answering

2024-05-27 · Hongyu Yang, Liyang He, Min Hou, Shuanghong Shen, Rui Li, Jiahui Hou, Jianhui Ma, Junda Zhao

Code Community Question Answering (CCQA) seeks to tackle programming-related issues, thereby boosting productivity in both software engineering and academic research. Recent advancements in Reinforcement Learning from Human Feedback (RLHF) have transformed the fine-tuning process of Large Language Models (LLMs) to produce responses that closely mimic human behavior. Leveraging LLMs with RLHF for practical CCQA applications has thus emerged as a promising area of study. Unlike standard code question-answering tasks, CCQA involves multiple possible answers, with varying user preferences for each response. Additionally, code communities often show a preference for new APIs. These challenges prevent LLMs from generating responses that cater to the diverse preferences of users in CCQA tasks. To address these issues, we propose a novel framework called Aligning LLMs through Multi-perspective User Preference Ranking-based Feedback for Programming Question Answering (ALMupQA) to create user-focused responses. Our approach starts with Multi-perspective Preference Ranking Alignment (MPRA), which synthesizes varied user preferences based on the characteristics of answers from code communities. We then introduce a Retrieval-augmented In-context Learning (RIL) module to mitigate the problem of outdated answers by retrieving responses to similar questions from a question bank. Due to the limited availability of high-quality, multi-answer CCQA datasets, we also developed a dataset named StaCCQA from real code communities. Extensive experiments demonstrated the effectiveness of the ALMupQA framework in terms of accuracy and user preference. Compared to the base model, ALMupQA showed nearly an 11% improvement in BLEU, with increases of 20% and 17.5% in BERTScore and CodeBERTScore, respectively.

📄 PDF Abstract BibTeX arXiv:2406.00037

Code (0)

등록된 구현이 없습니다.

Tasks

Community Question AnsweringIn-Context LearningQuestion Answering

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

PROBE-Web: An Interactive System for Probing Evaluation Landscapes of Knowledge Graph Completion Models

2026-06-08 · Sooho Moon, Yunyong Ko arxiv

Knowledge graph completion (KGC) models are commonly evaluated using rank-based metrics such as MRR and Hits@K, despite different users often requiring different evaluation perspectives. In this demo, we present PROBE-We…

Knowledge Graph Completion

Aligning LLMs with Individual Preferences via Interaction

2024-10-04 · Shujin Wu, May Fung, Cheng Qian, Jeonghwan Kim 외

As large language models (LLMs) demonstrate increasingly advanced capabilities, aligning their behaviors with human values and preferences becomes crucial for their wide adoption. While previous research focuses on gener…

WildFeedback: Aligning LLMs With In-situ User Interactions And Feedback

2024-08-28 · Taiwei Shi, Zhuoer Wang, Longqi Yang, Ying-Chun Lin 외

As large language models (LLMs) continue to advance, aligning these models with human preferences has emerged as a critical challenge. Traditional alignment methods, relying on human or LLM annotated datasets, are limite…

Agent Alignment in Evolving Social Norms

2024-01-09 · ShiMin Li, Tianxiang Sun, Qinyuan Cheng, Xipeng Qiu

Agents based on Large Language Models (LLMs) are increasingly permeating various domains of human production and life, highlighting the importance of aligning them with human values. The current alignment of AI systems p…

Black-Box Prompt Optimization: Aligning Large Language Models without Model Training

2023-11-07 · Jiale Cheng, Xiao Liu, Kehan Zheng, Pei Ke 외

Large language models (LLMs) have shown impressive success in various applications. However, these models are often not well aligned with human intents, which calls for additional treatments on them; that is, the alignme…

GPU