Papers › Pretrained Generalized Autoregressive Model with Adaptive Probabilistic Label Clusters...

Pretrained Generalized Autoregressive Model with Adaptive Probabilistic Label Clusters for Extreme Multi-label Text Classification

5 Jul 2020arXiv:2007.02439archive 2025-07-28

Hui Ye, Zhiyu Chen, Da-Han Wang, Brian D. Davison

Extreme multi-label text classification (XMTC) is a task for tagging a given text with the most relevant labels from an extremely large label set. We propose a novel deep learning method called APLC-XLNet. Our approach fine-tunes the recently released generalized autoregressive pretrained model (XLNet) to learn a dense representation for the input text. We propose Adaptive Probabilistic Label Clusters (APLC) to approximate the cross entropy loss by exploiting the unbalanced label distribution to form clusters that explicitly reduce the computational time. Our experiments, carried out on five benchmark datasets, show that our approach has achieved new state-of-the-art results on four benchmark datasets. Our source code is available publicly at https://github.com/huiyegit/APLC_XLNet.

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

Code

Syntology Ran 3 of 14 code samples harvested from 2 repositories linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong.

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

huiyegit/APLC_XLNet officialmentioned in papermentioned on GitHubpytorchMIT report
xmc-aalto/adv-xmtc 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

14 samples harvested; 3 ran; 1 honoured the contract we drafted; 11 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 · honoured contract
2ran · our draft was wrong
11unverified

Licence: 1 of the 14 samples is 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.

count_parameters huiyegit/APLC_XLNet/code/utils_multi_label.py official repository ran · honoured contract MIT (permissive) · f6b944f50d3f15ae · report
prune_linear_layer huiyegit/APLC_XLNet/code/pytorch_transformers/modeling_utils.py official repository ran · our draft was wrong MIT (permissive) · d30d6c3098df2c42 · report
url_to_filename huiyegit/APLC_XLNet/code/pytorch_transformers/file_utils.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 5eff22fa0a651276 · report
build_tf_xlnet_to_pytorch_map huiyegit/APLC_XLNet/code/pytorch_transformers/modeling_xlnet.py official repository unverified MIT (permissive) · c92ba449e48ecffe · report
cached_path huiyegit/APLC_XLNet/code/pytorch_transformers/file_utils.py official repository unverified MIT (permissive) · 2345788978cb5056 · report
clean_up_tokenization huiyegit/APLC_XLNet/code/pytorch_transformers/tokenization_utils.py official repository unverified MIT (permissive) · c16630f5bccfef87 · report
convert_examples_to_features huiyegit/APLC_XLNet/code/utils_multi_label.py official repository unverified MIT (permissive) · 8eaf09fc07e42122 · report
eval_precision huiyegit/APLC_XLNet/code/utils_multi_label.py official repository unverified MIT (permissive) · 621132bc94fe080b · report
filename_to_url huiyegit/APLC_XLNet/code/pytorch_transformers/file_utils.py official repository unverified MIT (permissive) · a6aab787fcf8b10d · report
gelu huiyegit/APLC_XLNet/code/pytorch_transformers/modeling_xlnet.py official repository unverified MIT (permissive) · b05b2bb38c0e4e72 · report
load_tf_weights_in_xlnet huiyegit/APLC_XLNet/code/pytorch_transformers/modeling_xlnet.py official repository unverified MIT (permissive) · 4a94662ff3b5c5cf · report
prune_conv1d_layer huiyegit/APLC_XLNet/code/pytorch_transformers/modeling_utils.py official repository unverified MIT (permissive) · 7183a17dd79327a8 · report
prune_layer huiyegit/APLC_XLNet/code/pytorch_transformers/modeling_utils.py official repository unverified MIT (permissive) · e31093ffc8275cff · report
AdaptiveBCEWithLogitsLoss xmc-aalto/adv-xmtc/utils/aplc_scripts/models/Adapative_label_clusters.py community (archive-listed) unverified no licence file found · pointer only · d936cc90c2b43022 · report

Tasks

Multi-Label Text ClassificationText Classification

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