paper-with-me

홈 › Papers

Crafting a Good Prompt or Providing Exemplary Dialogues? A Study of In-Context Learning for Persona-based Dialogue Generation

2024-02-15 · Jiashu Pu, Yajing Wan, Yuru Zhang, Jing Chen, Ling Cheng, Qian Shao, Yongzhu Chang, Tangjie Lv, Rongsheng Zhang

Previous in-context learning (ICL) research has focused on tasks such as classification, machine translation, text2table, etc., while studies on whether ICL can improve human-like dialogue generation are scarce. Our work fills this gap by systematically investigating the ICL capabilities of large language models (LLMs) in persona-based dialogue generation, conducting extensive experiments on high-quality real human Chinese dialogue datasets. From experimental results, we draw three conclusions: 1) adjusting prompt instructions is the most direct, effective, and economical way to improve generation quality; 2) randomly retrieving demonstrations (demos) achieves the best results, possibly due to the greater diversity and the amount of effective information; counter-intuitively, retrieving demos with a context identical to the query performs the worst; 3) even when we destroy the multi-turn associations and single-turn semantics in the demos, increasing the number of demos still improves dialogue performance, proving that LLMs can learn from corrupted dialogue demos. Previous explanations of the ICL mechanism, such as $n$-gram induction head, cannot fully account for this phenomenon.

📄 PDF Abstract BibTeX arXiv:2402.09954

Code (0)

등록된 구현이 없습니다.

Tasks

Dialogue GenerationDiversityIn-Context LearningMachine Translation

Similar Papers 제목 키워드 기반

Sketch Then Generate: Providing Incremental User Feedback and Guiding LLM Code Generation through Language-Oriented Code Sketches

2024-05-07 · Chen Zhu-Tian, Zeyu Xiong, Xiaoshuo Yao, Elena Glassman

Crafting effective prompts for code generation or editing with Large Language Models (LLMs) is not an easy task. Particularly, the absence of immediate, stable feedback during prompt crafting hinders effective interactio…

Code Generation

PromptMap: An Alternative Interaction Style for AI-Based Image Generation

2025-03-12 · Krzysztof Adamkiewicz, Paweł W. Woźniak, Julia Dominiak, Andrzej Romanowski 외

Recent technological advances popularized the use of image generation among the general public. Crafting effective prompts can, however, be difficult for novice users. To tackle this challenge, we developed PromptMap, a …

Image GenerationSemantic SimilaritySemantic Textual Similarity

TV-Dialogue: Crafting Theme-Aware Video Dialogues with Immersive Interaction

2025-01-31 · Sai Wang, Fan Ma, Xinyi Li, Hehe Fan 외

Recent advancements in LLMs have accelerated the development of dialogue generation across text and images, yet video-based dialogue generation remains underexplored and presents unique challenges. In this paper, we intr…

Dialogue Generation

Dialogue Injection Attack: Jailbreaking LLMs through Context Manipulation

2025-03-11 · Wenlong Meng, Fan Zhang, Wendao Yao, Zhenyuan Guo 외

Large language models (LLMs) have demonstrated significant utility in a wide range of applications; however, their deployment is plagued by security vulnerabilities, notably jailbreak attacks. These attacks manipulate LL…

Automatic Summarization of Doctor-Patient Encounter Dialogues Using Large Language Model through Prompt Tuning

2024-03-19 · Mengxian Lyu, Cheng Peng, Xiaohan Li, Patrick Balian 외

Automatic text summarization (ATS) is an emerging technology to assist clinicians in providing continuous and coordinated care. This study presents an approach to summarize doctor-patient dialogues using generative large…

Language ModelingLanguage ModellingLarge Language ModelText Summarization