Papers › WR-ONE2SET: Towards Well-Calibrated Keyphrase Generation

WR-ONE2SET: Towards Well-Calibrated Keyphrase Generation

13 Nov 2022arXiv:2211.06862archive 2025-07-28

Binbin Xie, Xiangpeng Wei, Baosong Yang, Huan Lin, Jun Xie, Xiaoli Wang, Min Zhang, Jinsong Su

Keyphrase generation aims to automatically generate short phrases summarizing an input document. The recently emerged ONE2SET paradigm (Ye et al., 2021) generates keyphrases as a set and has achieved competitive performance. Nevertheless, we observe serious calibration errors outputted by ONE2SET, especially in the over-estimation of ∅ token (means "no corresponding keyphrase"). In this paper, we deeply analyze this limitation and identify two main reasons behind: 1) the parallel generation has to introduce excessive ∅ as padding tokens into training instances; and 2) the training mechanism assigning target to each slot is unstable and further aggravates the ∅ token over-estimation. To make the model well-calibrated, we propose WR-ONE2SET which extends ONE2SET with an adaptive instance-level cost Weighting strategy and a target Re-assignment mechanism. The former dynamically penalizes the over-estimated slots for different instances thus smoothing the uneven training distribution. The latter refines the original inappropriate assignment and reduces the supervisory signals of over-estimated slots. Experimental results on commonly-used datasets demonstrate the effectiveness and generality of our proposed paradigm.

PaperPDFCodeCode 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

The archive's official repository (deeplearnxmu/wr-one2set) was not harvested; the 23 samples below come from 1 repository the archive does not mark official.

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

By repository: found in paper text by Syntology: 23 samples from 1 repository, 14 ran (14 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 on 2026-09-25 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

deeplearnxmu/wr-one2set officialmentioned in paperpytorchSyntology: not harvested 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

23 samples harvested: 14 ran (of which 0 constructed an object rather than computing a result; 14 with no instrument failure: 0 honoured, 0 violated, 14 with no contract checked; 0 where Syntology's instrument failed) · 9 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.

14ran
9unverified

Licence: 0 of the 23 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 nltk/nltk. “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.

nltk/nltk found in paper text by Syntology 23 samples, 14 ran (0 instrument-failed) · 9 unverified
add_py3_data nltk/compat.py ran fingerprinted Apache-2.0 (permissive) · 29d14c568ff3c26d · report fixture: signature path:str/0/str · returned str · level recorded 2026-09-25
get_unique_counter_from_url nltk/app/wordnet_app.py ran Apache-2.0 (permissive) · 76883cb05519fa38 · report fixture: returned int · level recorded 2026-09-25
getinfo nltk/decorators.py ran Apache-2.0 (permissive) · 812db6a64bc01735 · report fixture: signature func:callable/0/? · returned dict · level recorded 2026-09-25
gzip_open_unicode nltk/data.py ran Apache-2.0 (permissive) · b6b27e73b8b1f128 · report fixture: signature filename:str/0/str, mode:str/0/str, compresslevel:int/0/int, encoding:str/0/str, fileobj:NoneType/0/?, errors:NoneType/0/?, newline:NoneType/0/? · returned TextIOWrapper · level recorded 2026-09-25
is_nonterminal nltk/grammar.py ran Apache-2.0 (permissive) · 98838bd7b4059742 · report fixture: signature item:Nonterminal/0/? · returned bool · level recorded 2026-09-25
is_terminal nltk/grammar.py ran Apache-2.0 (permissive) · 5b83e882c4f9abe9 · report fixture: signature item:str/0/str · returned bool · level recorded 2026-09-25
md5_hexdigest nltk/downloader.py ran Apache-2.0 (permissive) · 70b20a57413a5121 · report fixture: signature file:BytesIO/0/? · returned str · level recorded 2026-09-25
nonterminals nltk/grammar.py ran Apache-2.0 (permissive) · 7999d71a2f4c64f8 · report fixture: signature symbols:str/0/str · returned list · level recorded 2026-09-25
py3_data nltk/compat.py ran Apache-2.0 (permissive) · 36df03e9211b40cc · report fixture: signature init_func:callable/0/? · returned function · level recorded 2026-09-25
read_int nltk/internals.py ran Apache-2.0 (permissive) · e63f9c2bc6f6139d · report fixture: signature s:str/0/str, start_position:int/0/int · returned tuple · level recorded 2026-09-25
read_str nltk/internals.py ran Apache-2.0 (permissive) · 9943062084766680 · report fixture: signature s:str/0/str, start_position:int/0/int · returned tuple · level recorded 2026-09-25
split_resource_url nltk/data.py ran Apache-2.0 (permissive) · 3dcb634a36a6a72c · report fixture: signature resource_url:str/0/str · returned tuple · level recorded 2026-09-25
startBrowser nltk/app/wordnet_app.py ran Apache-2.0 (permissive) · 2dac237f85aacdec · report fixture: signature url:str/0/str, server_ready:Event/0/? · returned Thread · level recorded 2026-09-25
update_wrapper nltk/decorators.py ran Apache-2.0 (permissive) · af98a50cad455589 · report fixture: signature wrapper:DummyWrapper/0/?, model:callable/0/?, infodict:dict/0/? · returned DummyWrapper · level recorded 2026-09-25
build_index in 7 papers nltk/downloader.py unverified Apache-2.0 (permissive) · ff6d789137bb395a · report
find_variables nltk/featstruct.py unverified Apache-2.0 (permissive) · 1ff9acc1d305c9e7 · report
java nltk/internals.py unverified Apache-2.0 (permissive) · aa289b9329d76aaa · report
lemma_property nltk/app/wordnet_app.py unverified Apache-2.0 (permissive) · 324f21aa2e194452 · report
make_staging_dir nltk/data.py unverified Apache-2.0 (permissive) · c861d8a96a1ab57e · report
new_wrapper nltk/decorators.py unverified Apache-2.0 (permissive) · 428fc6e8457731e1 · report
retract_bindings nltk/featstruct.py unverified Apache-2.0 (permissive) · 91695047e3e6ee40 · report
sha256_hexdigest nltk/downloader.py unverified Apache-2.0 (permissive) · 65fc3b2fe69259b9 · report
substitute_bindings nltk/featstruct.py unverified Apache-2.0 (permissive) · e4e6d2a3602596af · report

Tasks

Keyphrase 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