Papers › Repairing Systematic Outliers by Learning Clean Subspaces in VAEs

Repairing Systematic Outliers by Learning Clean Subspaces in VAEs

17 Jul 2022arXiv:2207.08050archive 2025-07-28

Simao Eduardo, Kai Xu, Alfredo Nazabal, Charles Sutton

Data cleaning often comprises outlier detection and data repair. Systematic errors result from nearly deterministic transformations that occur repeatedly in the data, e.g. specific image pixels being set to default values or watermarks. Consequently, models with enough capacity easily overfit to these errors, making detection and repair difficult. Seeing as a systematic outlier is a combination of patterns of a clean instance and systematic error patterns, our main insight is that inliers can be modelled by a smaller representation (subspace) in a model than outliers. By exploiting this, we propose Clean Subspace Variational Autoencoder (CLSVAE), a novel semi-supervised model for detection and automated repair of systematic errors. The main idea is to partition the latent space and model inlier and outlier patterns separately. CLSVAE is effective with much less labelled data compared to previous related models, often with less than 2% of the data. We provide experiments using three image datasets in scenarios with different levels of corruption and labelled set sizes, comparing to relevant baselines. CLSVAE provides superior repairs without human intervention, e.g. with just 0.25% of labelled data we see a relative error decrease of 58% compared to the closest baseline.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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

Code

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

By repository: official repository: 19 samples from 1 repository, 15 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

sfme/clsvae-error-repair officialmentioned 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

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

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

Licence: 1 of the 20 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 sfme/clsvae-error-repair. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

BernoulliDistModule sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran MIT (permissive) · 8481946e737c208b · report
GaussDiagDistModule sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran MIT (permissive) · cfb56fff21e907ec · report
baseDecoder sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran fingerprinted MIT (permissive) · 531f02e64d7cb8c2 · report
baseEncoder sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran MIT (permissive) · a49e297e81d9704b · report
distance_correlation sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · e043d45b15d6b755 · report
kl_bern sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 53481f45062c91b6 · report
kl_gauss_diag sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran · honoured contract MIT (permissive) · e9f356ae0089c419 · report
logit_fn sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 5dad1c9bfeeba510 · report
masker sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · f44725a1fe393af6 · report
merge_leading_dims sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · b6cc480db383d7f8 · report
modSeq sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran fingerprinted MIT (permissive) · 015859f1f739f8d4 · report
nll_binary_global sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 8f191236fc907a34 · report
nll_categ_global sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran · our draft was wrong MIT (permissive) · d4257574f5fb26e9 · report
nll_gauss_global sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran · our draft was wrong MIT (permissive) · 494226cd33056112 · report
repeat_rows sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 82ebdfc64ea97bb7 · report
VAE sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository unverified MIT (permissive) · 7b62da118d40ebcf · report
nll_batch_noreduce sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository unverified MIT (permissive) · 4084058cfba14167 · report
semi_y_vae_partitioned_ELBO sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository unverified MIT (permissive) · 93debe3df0d62ace · report
y_weighted_nll sfme/clsvae-error-repair/src/repair_syserr_models/semi_y_CLSVAE.py official repository unverified MIT (permissive) · ecb04549beebc113 · report
split_leading_dim identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · a27183852b672b4c · report

Tasks

Outlier Detection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Repair

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