Papers › Dive into the Chasm: Probing the Gap between In- and Cross-Topic Generalization

Dive into the Chasm: Probing the Gap between In- and Cross-Topic Generalization

2 Feb 2024arXiv:2402.01375archive 2025-07-28

Andreas Waldis, Yufang Hou, Iryna Gurevych

Pre-trained language models (LMs) perform well in In-Topic setups, where training and testing data come from the same topics. However, they face challenges in Cross-Topic scenarios where testing data is derived from distinct topics -- such as Gun Control. This study analyzes various LMs with three probing-based experiments to shed light on the reasons behind the In- vs. Cross-Topic generalization gap. Thereby, we demonstrate, for the first time, that generalization gaps and the robustness of the embedding space vary significantly across LMs. Additionally, we assess larger LMs and underscore the relevance of our analysis for recent models. Overall, diverse pre-training objectives, architectural regularization, or data deduplication contribute to more robust LMs and diminish generalization gaps. Our research contributes to a deeper understanding and comparison of language models across different generalization scenarios.

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

Code

Syntology Ran 9 of 12 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 9 ran with no contract checked.

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

ukplab/eacl2024-cross-topic-probing officialmentioned in paperpytorchApache-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; 9 ran; 0 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.

9ran
3unverified

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 ukplab/eacl2024-cross-topic-probing. “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.

assign_labels ukplab/eacl2024-cross-topic-probing/src/amnesic_probing/encoders/control.py official repository ran Apache-2.0 (permissive) · 0dc7954105dd5021 · report
forward_from_specific_layer ukplab/eacl2024-cross-topic-probing/src/amnesic_probing/encoders/bert_encoding.py official repository ran Apache-2.0 (permissive) · 4e602ab97e73567f · report
get_num_labels ukplab/eacl2024-cross-topic-probing/src/amnesic_probing/encoders/control.py official repository ran Apache-2.0 (permissive) · 4c42d81f47c0a093 · report
get_projection_to_intersection_of_nullspaces ukplab/eacl2024-cross-topic-probing/src/amnesic_probing/debias/debias.py official repository ran Apache-2.0 (permissive) · f51466d4f47f3d3d · report
get_rowspace_projection ukplab/eacl2024-cross-topic-probing/src/amnesic_probing/debias/debias.py official repository ran fingerprinted Apache-2.0 (permissive) · 8df841b6db2c9c8a · report
label_sentences ukplab/eacl2024-cross-topic-probing/src/amnesic_probing/encoders/control.py official repository ran Apache-2.0 (permissive) · 1e2440ad06038e17 · report
load_config ukplab/eacl2024-cross-topic-probing/src/parsing/convert_cross_topic_tasks.py official repository ran Apache-2.0 (permissive) · 76f97aa1b9b381f6 · report
load_data ukplab/eacl2024-cross-topic-probing/src/amnesic_probing/debiased_finetuning/utils.py official repository ran Apache-2.0 (permissive) · e57d2979287b15b3 · report
load_labels ukplab/eacl2024-cross-topic-probing/src/amnesic_probing/debiased_finetuning/utils.py official repository ran Apache-2.0 (permissive) · 6686bf211e128ab1 · report
debias_by_specific_directions ukplab/eacl2024-cross-topic-probing/src/amnesic_probing/debias/debias.py official repository unverified Apache-2.0 (permissive) · 32cf84be209e2a2e · report
lm_encoding ukplab/eacl2024-cross-topic-probing/src/amnesic_probing/encoders/bert_encoding.py official repository unverified Apache-2.0 (permissive) · 6d612990f1913f51 · report
lm_masked_encoding ukplab/eacl2024-cross-topic-probing/src/amnesic_probing/encoders/bert_encoding.py official repository unverified Apache-2.0 (permissive) · 35bf6ca8949889cf · report

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