Papers › BoB: BERT Over BERT for Training Persona-based Dialogue Models from Limited Personalized Data

BoB: BERT Over BERT for Training Persona-based Dialogue Models from Limited Personalized Data

11 Jun 2021ACL 2021 5arXiv:2106.06169archive 2025-07-28

Haoyu Song, Yan Wang, Kaiyan Zhang, Wei-Nan Zhang, Ting Liu

Maintaining consistent personas is essential for dialogue agents. Although tremendous advancements have been brought, the limited-scale of annotated persona-dense data are still barriers towards training robust and consistent persona-based dialogue models. In this work, we show how the challenges can be addressed by disentangling persona-based dialogue generation into two sub-tasks with a novel BERT-over-BERT (BoB) model. Specifically, the model consists of a BERT-based encoder and two BERT-based decoders, where one decoder is for response generation, and another is for consistency understanding. In particular, to learn the ability of consistency understanding from large-scale non-dialogue inference data, we train the second decoder in an unlikelihood manner. Under different limited data settings, both automatic and human evaluations demonstrate that the proposed model outperforms strong baselines in response quality and persona consistency.

PaperPDFConference PDFCodeCode 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="2106.06169")

Code

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

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

songhaoyu/BoB officialmentioned in papermentioned on GitHubjaxApache-2.0 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

12 samples harvested; 3 ran; 0 honoured the contract we drafted; 9 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 · violated contract
2ran · our draft was wrong
9unverified

Licence: 0 of the 12 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 songhaoyu/BoB. “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.

invert_mask songhaoyu/BoB/xlibs/modeling_bart.py official repository ran · violated contract Apache-2.0 (permissive) · 874a42377fa0659f · report
make_padding_mask songhaoyu/BoB/xlibs/modeling_bart.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · f20c9b1aead27fea · report
shift_tokens_right songhaoyu/BoB/xlibs/modeling_bart.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · e00ccf7847d12b59 · report
corpus_bleu songhaoyu/BoB/evaluations.py official repository unverified Apache-2.0 (permissive) · f6c5033f9640b16f · report
modified_precision songhaoyu/BoB/evaluations.py official repository unverified Apache-2.0 (permissive) · d52e5869b9bdda18 · report
pad_sequence songhaoyu/BoB/evaluations.py official repository unverified Apache-2.0 (permissive) · 82c47c8c6308eca1 · report
prepare_data_batch songhaoyu/BoB/bertoverbert.py official repository unverified Apache-2.0 (permissive) · a4729bdc1b94786a · report
prepare_inference_batch songhaoyu/BoB/bertoverbert.py official repository unverified Apache-2.0 (permissive) · 771312b20c293c01 · report
read_convai2_split songhaoyu/BoB/dataloader.py official repository unverified Apache-2.0 (permissive) · 9a18389a1aeae94a · report
read_ecdt2019_split songhaoyu/BoB/dataloader.py official repository unverified Apache-2.0 (permissive) · 21bf793899236407 · report
read_nli_split songhaoyu/BoB/dataloader.py official repository unverified Apache-2.0 (permissive) · dd28ddd90347931e · report
set_tokenier_and_model songhaoyu/BoB/bertoverbert.py official repository unverified Apache-2.0 (permissive) · 2d2b420c01bf3bdc · report

Tasks

DecoderDialogue GenerationResponse Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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