Papers › Towards Reliable Rare Category Analysis on Graphs via Individual Calibration

Towards Reliable Rare Category Analysis on Graphs via Individual Calibration

19 Jul 2023arXiv:2307.09858archive 2025-07-28

Longfeng Wu, Bowen Lei, Dongkuan Xu, Dawei Zhou

Rare categories abound in a number of real-world networks and play a pivotal role in a variety of high-stakes applications, including financial fraud detection, network intrusion detection, and rare disease diagnosis. Rare category analysis (RCA) refers to the task of detecting, characterizing, and comprehending the behaviors of minority classes in a highly-imbalanced data distribution. While the vast majority of existing work on RCA has focused on improving the prediction performance, a few fundamental research questions heretofore have received little attention and are less explored: How confident or uncertain is a prediction model in rare category analysis? How can we quantify the uncertainty in the learning process and enable reliable rare category analysis? To answer these questions, we start by investigating miscalibration in existing RCA methods. Empirical results reveal that state-of-the-art RCA methods are mainly over-confident in predicting minority classes and under-confident in predicting majority classes. Motivated by the observation, we propose a novel individual calibration framework, named CALIRARE, for alleviating the unique challenges of RCA, thus enabling reliable rare category analysis. In particular, to quantify the uncertainties in RCA, we develop a node-level uncertainty quantification algorithm to model the overlapping support regions with high uncertainty; to handle the rarity of minority classes in miscalibration calculation, we generalize the distribution-based calibration metric to the instance level and propose the first individual calibration measurement on graphs named Expected Individual Calibration Error (EICE). We perform extensive experimental evaluations on real-world datasets, including rare category characterization and model calibration tasks, which demonstrate the significance of our proposed framework.

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

Code

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

By repository: official repository: 16 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.

wulongfeng/calirare officialmentioned in paperpytorch 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

16 samples harvested; 9 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.

9ran
7unverified

Licence: 16 of the 16 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 wulongfeng/calirare. “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.

acc wulongfeng/calirare/utils/preprocessing.py official repository ran no licence file found · pointer only · de3484a75de13f94 · report
build_architecture wulongfeng/calirare/utils/parameters.py official repository ran no licence file found · pointer only · 3237374793a55e0f · report
build_gcn wulongfeng/calirare/utils/parameters.py official repository ran no licence file found · pointer only · 7f10ba759a5ee124 · report
dataset_split wulongfeng/calirare/utils/preprocessing.py official repository ran no licence file found · pointer only · af00d6498d03d141 · report
exact_hessian wulongfeng/calirare/influence/influence_utils.py official repository ran no licence file found · pointer only · bf8bf21c20897c02 · report
get_numpy_parameters wulongfeng/calirare/influence/influence_utils.py official repository ran no licence file found · pointer only · c6bac8b71ab06af2 · report
mask2set wulongfeng/calirare/utils/preprocessing.py official repository ran no licence file found · pointer only · 9963b51b20d52dec · report
stack_torch_tensors wulongfeng/calirare/influence/influence_utils.py official repository ran no licence file found · pointer only · 4b261e4a89d5231c · report
test_gcn wulongfeng/calirare/utils/evaluate.py official repository ran no licence file found · pointer only · b9685099d2516738 · report
Deep_ensemble wulongfeng/calirare/models/static.py official repository unverified no licence file found · pointer only · d9af09ac03839d4c · report
ace_calibration wulongfeng/calirare/utils/evaluate.py official repository unverified no licence file found · pointer only · d8b2665ac26fb7fb · report
ece_calibration wulongfeng/calirare/utils/evaluate.py official repository unverified no licence file found · pointer only · 0a9196e066269f1b · report
exact_influence wulongfeng/calirare/influence/influence_computation.py official repository unverified no licence file found · pointer only · 1e24c94d80b958ec · report
get_number_parameters wulongfeng/calirare/utils/parameters.py official repository unverified no licence file found · pointer only · 1f3c0185e000092f · report
influence_function wulongfeng/calirare/influence/influence_computation.py official repository unverified no licence file found · pointer only · 53a5c94c8ed90e38 · report
influence_stochastic_estimation wulongfeng/calirare/influence/influence_computation.py official repository unverified no licence file found · pointer only · 2dbd90e11606090d · report

Tasks

Fraud DetectionIntrusion DetectionNetwork Intrusion DetectionUncertainty Quantification

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