Papers › Counterfactual Explanations Under Concept Drift

Counterfactual Explanations Under Concept Drift

17 May 2026arXiv:2605.17651added by Syntology

Marcin Kostrzewa, Jerzy Stefanowski, Maciej Zięba

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Counterfactual explanations (CFEs) provide actionable recourse, but most methods assume a static framework with fixed data and a trained classifier. This assumption breaks in evolving data environments, such as data streams, where online models are repeatedly updated under concept drift. We identify CFE maintenance in this setting as a previously overlooked problem: explanations that are valid when generated may silently become invalid as the model evolves, including robust CFEs, which are not designed for continuous drift. We propose a lightweight, model-agnostic update scheme that repairs existing CFEs using local sampling to estimate validity and plausibility directions while preserving proximity to the original instance. Experiments on synthetic drifting streams show that initially created CFEs rapidly lose validity, whereas maintained CFEs preserve validity and local plausibility at a lower cost than repeated regeneration.

PaperPDFCode 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="2605.17651")

Code

Syntology Ran 20 of 21 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 3 ran · honoured contract; 4 ran · violated contract; 4 ran · our draft was wrong; 4 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: found in paper text by Syntology: 21 samples from 1 repository, 20 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

genwro-ai/concept-drift-cfes found in paper text by Syntology report

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

21 samples harvested; 20 ran; 3 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
4ran · violated contract
4ran · our draft was wrong
4ran · fixture could not drive it
5ran
1unverified

Licence: 21 of the 21 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 genwro-ai/concept-drift-cfes. “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.

CFEUpdateConfig genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran no licence file found · pointer only · 18ffba0f8c995a5f · report
CachedBufferNeighborhood genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran no licence file found · pointer only · ee09e8c540b53671 · report
CounterfactualState genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran no licence file found · pointer only · c281ff8078d31fd3 · report
CurrentBufferIndex genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran no licence file found · pointer only · 57f0eddf0fb40c78 · report
GaussianNeighborhood genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran no licence file found · pointer only · 56b83fa2fa17cbef · report
buffer_target_region_vector genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · b5ee934d6d92cca1 · report
clip_candidate genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · f474840a9f12ec05 · report
combine_direction_components genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · honoured contract no licence file found · pointer only · 722660f30a6f74d4 · report
correction_components genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · fixture could not drive it no licence file found · pointer only · b9c265ae12420a3d · report
epanechnikov_kernel_values genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · 01c1519a923a156d · report
fallback_distance_weights genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · honoured contract fingerprinted no licence file found · pointer only · 9c60dc20e1de863b · report
gaussian_sampling_validity_vector genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · honoured contract no licence file found · pointer only · 18a772e88fe4cdbd · report
normalize_direction genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · violated contract fingerprinted no licence file found · pointer only · 91099cf8422c2a30 · report
plausibility_vector genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 6a0b1f1abf3b661a · report
proximity_direction genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · violated contract fingerprinted no licence file found · pointer only · c211df8907ecd3d3 · report
query_cached_buffer_neighborhood genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · fixture could not drive it no licence file found · pointer only · d70fee3cf3ae4513 · report
sample_gaussian_neighborhood genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · fixture could not drive it no licence file found · pointer only · 1c8394cf3a81842a · report
scheduled_step_due genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · violated contract fingerprinted no licence file found · pointer only · 784d06d075cc13e3 · report
target_class_probabilities genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · be96d4232f1a7690 · report
target_region_mask genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology ran · violated contract no licence file found · pointer only · 8117fafec464bb71 · report
update_counterfactual_state genwro-ai/concept-drift-cfes/src/concept_drift_cfes/update.py found in paper text by Syntology unverified no licence file found · pointer only · f82edf0f47c58bfe · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.17651, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

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