Papers › Simplifying Paragraph-level Question Generation via Transformer Language Models

Simplifying Paragraph-level Question Generation via Transformer Language Models

3 May 2020arXiv:2005.01107archive 2025-07-28

Luis Enrico Lopez, Diane Kathryn Cruz, Jan Christian Blaise Cruz, Charibeth Cheng

Question generation (QG) is a natural language generation task where a model is trained to ask questions corresponding to some input text. Most recent approaches frame QG as a sequence-to-sequence problem and rely on additional features and mechanisms to increase performance; however, these often increase model complexity, and can rely on auxiliary data unavailable in practical use. A single Transformer-based unidirectional language model leveraging transfer learning can be used to produce high quality questions while disposing of additional task-specific complexity. Our QG model, finetuned from GPT-2 Small, outperforms several paragraph-level QG baselines on the SQuAD dataset by 0.95 METEOR points. Human evaluators rated questions as easy to answer, relevant to their context paragraph, and corresponding well to natural human speech. Also introduced is a new set of baseline scores on the RACE dataset, which has not previously been used for QG tasks. Further experimentation with varying model capacities and datasets with non-identification type questions is recommended in order to further verify the robustness of pretrained Transformer-based LMs as question generators.

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="2005.01107")

Code

Syntology Ran 1 of 8 code samples harvested from 2 repositories linked to this paper; 7 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: community (archive-listed): 8 samples from 2 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

AndreasInk/Quiz-APIv2 mentioned on GitHubpytorchMIT report
biswa380/t5_multitask_api mentioned on GitHubpytorch report
liamdugan/question_generation mentioned on GitHubpytorchMIT report
patil-suraj/question_generation mentioned on GitHubpytorch 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

8 samples harvested; 1 ran; 0 honoured the contract we drafted; 7 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
7unverified

Licence: 0 of the 8 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

trim_batch AndreasInk/Quiz-APIv2/data_collator.py community (archive-listed) ran MIT (permissive) · eeb8dc60c6ef1fa4 · report
filter_e2e_qg AndreasInk/Quiz-APIv2/prepare_data.py community (archive-listed) unverified MIT (permissive) · adf103ca18b5fd78 · report
filter_qa AndreasInk/Quiz-APIv2/prepare_data.py community (archive-listed) unverified MIT (permissive) · 4643e380618fe0c5 · report
filter_qg AndreasInk/Quiz-APIv2/prepare_data.py community (archive-listed) unverified MIT (permissive) · 7ab6ed8c2d373657 · report
grad_status AndreasInk/Quiz-APIv2/utils.py community (archive-listed) unverified MIT (permissive) · 3e6b2aa920dd0f89 · report
label_smoothed_nll_loss AndreasInk/Quiz-APIv2/utils.py community (archive-listed) unverified MIT (permissive) · 2e8522233e82d5b1 · report
pipeline AndreasInk/Quiz-APIv2/pipelines.py community (archive-listed) unverified MIT (permissive) · 9bdd29f2eb570b1d · report
pipeline liamdugan/question_generation/pipelines.py community (archive-listed) unverified MIT (permissive) · 0b723c5ee79bdf83 · report

Tasks

Language ModelingLanguage ModellingQuestion GenerationQuestion-GenerationText GenerationTransfer Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamAttentionAttention DropoutBPECosine AnnealingDense ConnectionsDiscriminative Fine-TuningDropoutGPT-2Layer NormalizationLinear LayerLinear Warmup With Cosine AnnealingMulti-Head AttentionResidual ConnectionSigmoid ActivationSoftmaxTanh ActivationWeight Decay

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