Papers › Peek Across: Improving Multi-Document Modeling via Cross-Document Question-Answering

Peek Across: Improving Multi-Document Modeling via Cross-Document Question-Answering

24 May 2023arXiv:2305.15387archive 2025-07-28

Avi Caciularu, Matthew E. Peters, Jacob Goldberger, Ido Dagan, Arman Cohan

The integration of multi-document pre-training objectives into language models has resulted in remarkable improvements in multi-document downstream tasks. In this work, we propose extending this idea by pre-training a generic multi-document model from a novel cross-document question answering pre-training objective. To that end, given a set (or cluster) of topically-related documents, we systematically generate semantically-oriented questions from a salient sentence in one document and challenge the model, during pre-training, to answer these questions while "peeking" into other topically-related documents. In a similar manner, the model is also challenged to recover the sentence from which the question was generated, again while leveraging cross-document information. This novel multi-document QA formulation directs the model to better recover cross-text informational relations, and introduces a natural augmentation that artificially increases the pre-training data. Further, unlike prior multi-document models that focus on either classification or summarization tasks, our pre-training objective formulation enables the model to perform tasks that involve both short text generation (e.g., QA) and long text generation (e.g., summarization). Following this scheme, we pre-train our model -- termed QAmden -- and evaluate its performance across several multi-document tasks, including multi-document QA, summarization, and query-focused summarization, yielding improvements of up to 7%, and significantly outperforms zero-shot GPT-3.5 and GPT-4.

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

Code

Syntology Ran 1 of 18 code samples harvested from 1 repository linked to this paper; 17 have no recorded run. Of those that ran: 1 ran · fixture could not drive it.

By repository: official repository: 18 samples from 1 repository, 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.

aviclu/peekacross officialmentioned in papermentioned on GitHubpytorchMIT 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

18 samples harvested; 1 ran; 0 honoured the contract we drafted; 17 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 · fixture could not drive it
17unverified

Licence: 0 of the 18 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 aviclu/peekacross. “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.

label_smoothed_nll_loss aviclu/peekacross/finetune_summarization.py official repository ran · fixture could not drive it MIT (permissive) · 5e9a5fc2ab282ff2 · report
collate_fn aviclu/peekacross/dataloader.py official repository unverified MIT (permissive) · dd5fe1a76839bea4 · report
compute_rouge_scores aviclu/peekacross/compute_scores.py official repository unverified MIT (permissive) · 7dc4c3b7d24d7a61 · report
compute_scores aviclu/peekacross/compute_scores.py official repository unverified MIT (permissive) · 827e0090858aabdc · report
exact_match_score aviclu/peekacross/trainer_seq2seq_qa.py official repository unverified MIT (permissive) · 8fad2994edad57e5 · report
f1_score aviclu/peekacross/trainer_seq2seq_qa.py official repository unverified MIT (permissive) · e3ad4a101c45630f · report
get_dataloader_pretrain aviclu/peekacross/dataloader.py official repository unverified MIT (permissive) · 0ddc90e33f8f62f2 · report
get_dataloader_summ aviclu/peekacross/dataloader.py official repository unverified MIT (permissive) · 389f2c92478eb394 · report
get_doc_sep_token aviclu/peekacross/pretrain_qamden.py official repository unverified MIT (permissive) · 1ee9eda681e11e7b · report
get_entities aviclu/peekacross/compute_scores.py official repository unverified MIT (permissive) · 58fc74bade60d243 · report
get_global_attention_mask aviclu/peekacross/pretrain_qamden.py official repository unverified MIT (permissive) · 45a54c7c02b59ae7 · report
normalize_answer aviclu/peekacross/trainer_seq2seq_qa.py official repository unverified MIT (permissive) · 83cfdd6d3dfa70e0 · report
remove_all_extra_spaces aviclu/peekacross/preprocess_and_filter_data.py official repository unverified MIT (permissive) · 82c9ae018e16d079 · report
remove_end_spaces aviclu/peekacross/preprocess_and_filter_data.py official repository unverified MIT (permissive) · 7999a2027aeca45a · report
remove_first_end_spaces aviclu/peekacross/preprocess_and_filter_data.py official repository unverified MIT (permissive) · 12249aea6ac3655c · report
sanitize_text aviclu/peekacross/pretrain_qamden.py official repository unverified MIT (permissive) · 31e3adacd2841d84 · report
select_sent_with_entities aviclu/peekacross/pretrain_preprocess_qasem.py official repository unverified MIT (permissive) · 6f751053716f926f · report
select_sent_with_entities_per_doc aviclu/peekacross/pretrain_preprocess_qasem.py official repository unverified MIT (permissive) · 8c7c0e3aca247bef · report

Tasks

Query-focused SummarizationQuestion AnsweringSentenceText Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionAttention DropoutBPECosine AnnealingDense ConnectionsDropoutFocusGPT-3GPT-4Label SmoothingLayer NormalizationLinear LayerLinear Warmup With Cosine AnnealingMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformerWeight 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