Papers › Learning Retrieval Augmentation for Personalized Dialogue Generation

Learning Retrieval Augmentation for Personalized Dialogue Generation

27 Jun 2024arXiv:2406.18847archive 2025-07-28

Qiushi Huang, Shuai Fu, Xubo Liu, Wenwu Wang, Tom Ko, Yu Zhang, Lilian Tang

Personalized dialogue generation, focusing on generating highly tailored responses by leveraging persona profiles and dialogue context, has gained significant attention in conversational AI applications. However, persona profiles, a prevalent setting in current personalized dialogue datasets, typically composed of merely four to five sentences, may not offer comprehensive descriptions of the persona about the agent, posing a challenge to generate truly personalized dialogues. To handle this problem, we propose Learning Retrieval Augmentation for Personalized DialOgue Generation (LAPDOG), which studies the potential of leveraging external knowledge for persona dialogue generation. Specifically, the proposed LAPDOG model consists of a story retriever and a dialogue generator. The story retriever uses a given persona profile as queries to retrieve relevant information from the story document, which serves as a supplementary context to augment the persona profile. The dialogue generator utilizes both the dialogue history and the augmented persona profile to generate personalized responses. For optimization, we adopt a joint training framework that collaboratively learns the story retriever and dialogue generator, where the story retriever is optimized towards desired ultimate metrics (e.g., BLEU) to retrieve content for the dialogue generator to generate personalized responses. Experiments conducted on the CONVAI2 dataset with ROCStory as a supplementary data source show that the proposed LAPDOG method substantially outperforms the baselines, indicating the effectiveness of the proposed method. The LAPDOG model code is publicly available for further exploration. https://github.com/hqsiswiliam/LAPDOG

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.18847")

Code

Syntology Ran 11 of 14 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 9 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hqsiswiliam/lapdog officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 11 ran; 1 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
9ran
3unverified

Licence: 14 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from hqsiswiliam/lapdog. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

all_gather hqsiswiliam/lapdog/src/dist_utils.py official repository ran fingerprinted no licence file found · pointer only · 59ea1420911ddd97 · report
deserialize_listdocs hqsiswiliam/lapdog/src/index.py official repository ran no licence file found · pointer only · a47d716bd6cdafab · report
em hqsiswiliam/lapdog/src/evaluation.py official repository ran no licence file found · pointer only · 38c3b1ee62b65838 · report
encode_passages hqsiswiliam/lapdog/src/lapdog.py official repository ran · our draft was wrong no licence file found · pointer only · e4a21bc7a716330c · report
f1 hqsiswiliam/lapdog/src/evaluation.py official repository ran no licence file found · pointer only · 5e2f0b798a3d70d2 · report
gather_wgrad hqsiswiliam/lapdog/src/dist_utils.py official repository ran fingerprinted no licence file found · pointer only · 094781db771538f0 · report
get_checkpoint_path hqsiswiliam/lapdog/src/model_io.py official repository ran no licence file found · pointer only · c3e2125348379a5c · report
normalize_answer hqsiswiliam/lapdog/src/evaluation.py official repository ran fingerprinted no licence file found · pointer only · 6205dd62c2627dde · report
select_crossattention_scores hqsiswiliam/lapdog/src/lapdog.py official repository ran · honoured contract no licence file found · pointer only · c4bca944bda65eb2 · report
serialize_listdocs hqsiswiliam/lapdog/src/index.py official repository ran no licence file found · pointer only · 55955fc3f98f2a29 · report
varsize_all_gather hqsiswiliam/lapdog/src/dist_utils.py official repository ran fingerprinted no licence file found · pointer only · fc996bc980b83cab · report
cross_attention_forward hqsiswiliam/lapdog/src/fid.py official repository unverified no licence file found · pointer only · a94b66d049f10dc8 · report
load_tf_weights_in_bert hqsiswiliam/lapdog/src/modeling_bert.py official repository unverified no licence file found · pointer only · d009b630f4496e64 · report
load_tf_weights_in_t5 hqsiswiliam/lapdog/src/modeling_t5.py official repository unverified no licence file found · pointer only · 230899b7dd1ea8a1 · report

Tasks

Dialogue GenerationRetrieval

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections