Papers › Generating Diverse and Consistent QA pairs from Contexts with Information-Maximizing...

Generating Diverse and Consistent QA pairs from Contexts with Information-Maximizing Hierarchical Conditional VAEs

28 May 2020ACL 2020 6arXiv:2005.13837archive 2025-07-28

Dong Bok Lee, Seanie Lee, Woo Tae Jeong, Donghwan Kim, Sung Ju Hwang

One of the most crucial challenges in question answering (QA) is the scarcity of labeled data, since it is costly to obtain question-answer (QA) pairs for a target text domain with human annotation. An alternative approach to tackle the problem is to use automatically generated QA pairs from either the problem context or from large amount of unstructured texts (e.g. Wikipedia). In this work, we propose a hierarchical conditional variational autoencoder (HCVAE) for generating QA pairs given unstructured texts as contexts, while maximizing the mutual information between generated QA pairs to ensure their consistency. We validate our Information Maximizing Hierarchical Conditional Variational AutoEncoder (Info-HCVAE) on several benchmark datasets by evaluating the performance of the QA model (BERT-base) using only the generated QA pairs (QA-based evaluation) or by using both the generated and human-labeled pairs (semi-supervised learning) for training, against state-of-the-art baseline models. The results show that our model obtains impressive performance gains over all baselines on both tasks, using only a fraction of data for training.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 16 code samples harvested from 1 repository linked to this paper: 11 ran (of which 0 constructed an object rather than computing a result; 11 with no instrument failure: 0 honoured, 0 violated, 11 with no contract checked; 0 where Syntology's instrument failed) · 5 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code; here there are none.

By repository: official repository: 16 samples from 1 repository, 11 ran (11 with no instrument failure; 0 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-25 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

seanie12/Info-HCVAE officialmentioned in papermentioned on GitHubpytorchApache-2.0Syntology: 16 samples, 11 ran (0 instrument-failed) · 5 unverified 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

16 samples harvested: 11 ran (of which 0 constructed an object rather than computing a result; 11 with no instrument failure: 0 honoured, 0 violated, 11 with no contract checked; 0 where Syntology's instrument failed) · 5 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

11ran
5unverified

Licence: 3 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. For 3 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from seanie12/Info-HCVAE. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

seanie12/Info-HCVAE official repository 16 samples, 11 ran (0 instrument-failed) · 5 unverified
batch_to_device in 18 papers vae/utils.py ran Apache-2.0 (permissive) · 7cef89edf29127bc · report fixture: signature batch:tuple/1/Tensor, device:str/0/str · returned tuple · level recorded 2026-09-25
cal_attn vae/models.py ran Apache-2.0 (permissive) · 1f734017a6f68175 · report fixture: signature query:Tensor/2/float, memories:Tensor/3/float, mask:Tensor/2/float · returned tuple · level recorded 2026-09-25
convert_examples_to_features_answer_id qa-eval/squad_utils.py ran Apache-2.0 (permissive) · 1e2aae97388cfe6e · report fixture: signature examples:list/1/Example, tokenizer:SimpleTokenizer/0/?, max_seq_length:int/0/int, doc_stride:int/0/int, max_query_length:int/0/int, max_ans_length:int/0/int, is_training:bool/0/bool · returned list · level recorded 2026-09-25
get_linear_schedule_with_warmup in 39 papers qa-eval/trainer.py ran Apache-2.0 (permissive) · a3c458ae06a14711 · report fixture: signature optimizer:SGD/0/?, num_warmup_steps:int/0/int, num_training_steps:int/0/int, last_epoch:int/0/int · returned LambdaLR · level recorded 2026-09-26
gumbel_softmax in 82 papers
census: 19 implementations from 20 papers, 12 distinct outputs across 2 buckets, one shared input per bucket
vae/models.py ran Apache-2.0 (permissive) · 7b8c9c000eba3141 · report fixture: signature logits:Tensor/2/float, tau:float/0/float, hard:bool/0/bool, eps:float/0/float, dim:int/0/int · returned Tensor · level recorded 2026-09-25
post_process in 56 papers vae/translate.py ran Apache-2.0 (permissive) · 845c524066f993b4 · report fixture: signature q_ids:Tensor/2/int, start_positions:Tensor/1/int, end_positions:Tensor/1/int, c_ids:Tensor/2/int, total_max_len:int/0/int · returned tuple · level recorded 2026-09-25
progress_bar in 7 papers qa-eval/utils.py ran Apache-2.0 (permissive) · 58fb608bcfbbdffe · report fixture: signature completed:int/0/int, total:int/0/int, step:int/0/int · returned str · level recorded 2026-09-25
return_mask_lengths vae/models.py ran fingerprinted Apache-2.0 (permissive) · b058372cf5b99e2b · report fixture: signature ids:Tensor/2/float · returned tuple · level recorded 2026-09-25
return_mask_lengths vae/translate.py ran fingerprinted Apache-2.0 (permissive) · c058fcfe8ca35ccf · report fixture: signature ids:Tensor/2/float · returned tuple · level recorded 2026-09-25
time_since in 5 papers qa-eval/utils.py ran fingerprinted Apache-2.0 (permissive) · 3d69d712283cfd10 · report fixture: signature t:float/0/float · returned float · level recorded 2026-09-25
user_friendly_time qa-eval/utils.py ran fingerprinted Apache-2.0 (permissive) · 0a7669f48a1dc3a1 · report fixture: signature s:int/0/int · returned str · level recorded 2026-09-25
convert_examples_to_features in 134 papers qa-eval/squad_utils.py unverified Apache-2.0 (permissive) · 72c5000d831f12e0 · report
convert_examples_to_harv_features qa-eval/squad_utils.py unverified Apache-2.0 (permissive) · 4481bd2f1ff50f5b · report
cook_refs in 36 papers vae/qgevalcap/cider/cider_scorer.py unverified Apache-2.0 (permissive) here; the stored copy is pointer only · 5172aba957a32d9e · report
cook_test in 35 papers vae/qgevalcap/cider/cider_scorer.py unverified Apache-2.0 (permissive) here; the stored copy is pointer only · 90a4bcbf05586ff3 · report
precook in 38 papers vae/qgevalcap/cider/cider_scorer.py unverified Apache-2.0 (permissive) here; the stored copy is pointer only · 422c41f5b22cf9c3 · report

Tasks

Question AnsweringQuestion GenerationQuestion-Answer-Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Question Generation Natural Questions Info-HCVAE QAE 37.18 #1 of 2 Archive leaderboard report
Question Generation Natural Questions Info-HCVAE R-QAE 29.39 #1 of 2 Archive leaderboard report
Question Generation Natural Questions HCVAE QAE 31.45 #2 of 2 Archive leaderboard report
Question Generation Natural Questions HCVAE R-QAE 32.78 #2 of 2 Archive leaderboard report
Question Generation SQuAD Info-HCVAE QAE 71.18 #1 of 2 Archive leaderboard report
Question Generation SQuAD Info-HCVAE R-QAE 38.8 #1 of 2 Archive leaderboard report
Question Generation SQuAD HCVAE QAE 69.46 #2 of 2 Archive leaderboard report
Question Generation SQuAD HCVAE R-QAE 37.57 #2 of 2 Archive leaderboard report
Question Generation TriviaQA Info-HCVAE QAE 35.45 #1 of 2 Archive leaderboard report
Question Generation TriviaQA Info-HCVAE R-QAE 21.65 #1 of 2 Archive leaderboard report
Question Generation TriviaQA HCVAE QAE 30.2 #2 of 2 Archive leaderboard report
Question Generation TriviaQA HCVAE R-QAE 34.41 #2 of 2 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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