SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2509.18577 · ICLR · 2025

Prior-based Noisy Text Data Filtering: Fast and Strong Alternative For Perplexity

Jaehyung Kim, Jinyoung Yeo, Yeongbin Seo, Gayoung Kim

arXiv · PDF · Open in the Atlas

Code that ran

11 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 2 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2509.18577.json · badge: /api/ran/2509.18577.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ybseo-ac/prior_filter canonical (classifier label)
classifier basis: census
11 ran · 2 no recorded run
FunctionStatusWhere it lives
calcul_ppl Ran
ran; our contract draft was wrong, not the code
ybseo-ac/prior_filter/s2_ppl.py
pointer only (licence: NONE) · get_code("ae07ec2d7d17e654")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ybseo-ac/prior_filter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

default_parse_example_fn Ran
ran, honoured the contract we drafted
ybseo-ac/prior_filter/dsir/data_selection/base.py
pointer only (licence: NONE) · get_code("f5a5bd23613c626f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ybseo-ac/prior_filter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

fsspec_exists Ran
ran, violated the contract we drafted
ybseo-ac/prior_filter/utils.py
pointer only (licence: NONE) · get_code("dec1de00023a923b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ybseo-ac/prior_filter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_logger Ran
ran; our contract draft was wrong, not the code
ybseo-ac/prior_filter/utils.py
pointer only (licence: NONE) · get_code("60dbd956810fafb6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ybseo-ac/prior_filter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_ngram_counts_from_ids Ran
ran; our contract draft was wrong, not the code
ybseo-ac/prior_filter/dsir/data_selection/hashed_ngram_dsir.py
pointer only (licence: NONE) · get_code("62ea960f9c749fc1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ybseo-ac/prior_filter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

hash_buckets Ran
ran, honoured the contract we drafted
ybseo-ac/prior_filter/dsir/data_selection/hashed_ngram_dsir.py
pointer only (licence: NONE) · get_code("1e29cd51c516016f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ybseo-ac/prior_filter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

lm1b_detokenizer Ran
ran; our contract draft was wrong, not the code
ybseo-ac/prior_filter/dataloader.py
pointer only (licence: NONE); the stored copy get_code serves, from jdeschena/blockgen, is pointer only (licence: NONE) · get_code("576e1b9b9bcae8ff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ybseo-ac/prior_filter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parallelize Ran
ran, honoured the contract we drafted
ybseo-ac/prior_filter/dsir/data_selection/utils.py
pointer only (licence: NONE) · get_code("f843d42053071093")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ybseo-ac/prior_filter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_example Ran
ran, honoured the contract we drafted
ybseo-ac/prior_filter/run_dsir.py
pointer only (licence: NONE) · get_code("413567937d98a31b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ybseo-ac/prior_filter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ptb_detokenizer Ran
ran; our contract draft was wrong, not the code
ybseo-ac/prior_filter/dataloader.py
pointer only (licence: NONE); the stored copy get_code serves, from jdeschena/blockgen, is pointer only (licence: NONE) · get_code("9f7fbdbe7ca280e0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ybseo-ac/prior_filter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

wt_detokenizer Ran
ran; our contract draft was wrong, not the code
ybseo-ac/prior_filter/dataloader.py
pointer only (licence: NONE); the stored copy get_code serves, from jdeschena/blockgen, is pointer only (licence: NONE) · get_code("46c10627206a7795")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ybseo-ac/prior_filter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

count_examples Not yet run
unverified (harvested, no recorded run)
ybseo-ac/prior_filter/run_dsir.py
pointer only (licence: NONE) · get_code("ce518b52ffd5e239")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ybseo-ac/prior_filter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

fsspec_listdir Not yet run
unverified (harvested, no recorded run)
ybseo-ac/prior_filter/utils.py
pointer only (licence: NONE) · get_code("db0136eb80a50383")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ybseo-ac/prior_filter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 3 the same month, 5 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
lm1b_detokenizer 11 other papers
6 dated earlier, 1 the same month, 4 later
2310.16834 (2023-10)
Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution
2406.03736 (2024-06)
Your Absorbing Discrete Diffusion Secretly Models the Conditional Distributions of Clean Data
2412.10193 (2024-12)
Simple Guidance Mechanisms for Discrete Diffusion Models
and 8 more not named here
ptb_detokenizer 10 other papers
5 dated earlier, 1 the same month, 4 later
2310.16834 (2023-10)
Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution
2406.03736 (2024-06)
Your Absorbing Discrete Diffusion Secretly Models the Conditional Distributions of Clean Data
2503.09573 (2025-03)
BLOCK DIFFUSION: INTERPOLATING BETWEEN AU-TOREGRESSIVE AND DIFFUSION LANGUAGE MODELS
and 7 more not named here
wt_detokenizer 10 other papers
5 dated earlier, 1 the same month, 4 later
2310.16834 (2023-10)
Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution
2406.03736 (2024-06)
Your Absorbing Discrete Diffusion Secretly Models the Conditional Distributions of Clean Data
2503.09573 (2025-03)
BLOCK DIFFUSION: INTERPOLATING BETWEEN AU-TOREGRESSIVE AND DIFFUSION LANGUAGE MODELS
and 7 more not named here
fsspec_exists 7 other papers
4 dated earlier, 3 later
2403.03234 (2024-03)
Caduceus: Bi-Directional Equivariant Long-Range DNA Sequence Modeling
2410.13643 (2024-10)
Fine-Tuning Discrete Diffusion Models via Reward Optimization with Applications to DNA and Protein Design
2502.01384 (2025-02)
Fine-Tuning Discrete Diffusion Models with Policy Gradient Methods
and 4 more not named here
fsspec_listdir 6 other papers
4 dated earlier, 2 later
2403.03234 (2024-03)
Caduceus: Bi-Directional Equivariant Long-Range DNA Sequence Modeling
2410.13643 (2024-10)
Fine-Tuning Discrete Diffusion Models via Reward Optimization with Applications to DNA and Protein Design
2502.01384 (2025-02)
Fine-Tuning Discrete Diffusion Models with Policy Gradient Methods
and 3 more not named here
get_logger 3 other papers
3 dated earlier
2410.13643 (2024-10)
Fine-Tuning Discrete Diffusion Models via Reward Optimization with Applications to DNA and Protein Design
2502.01384 (2025-02)
Fine-Tuning Discrete Diffusion Models with Policy Gradient Methods
2505.18883 (2025-05)
Partition Generative Modeling: Masked Modeling Without Masks
hash_buckets 1 other paper
1 dated earlier
2302.03169 (2023-02)
Data Selection for Language Models via Importance Resampling

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

As large language models (LLMs) are pretrained on massive web corpora, careful selection of data becomes essential to ensure effective and efficient learning. While perplexity (PPL)-based filtering has demonstrated strong performance, it suffers from drawbacks: substantial time costs and inherent unreliability of the model when handling noisy or out-of-distribution samples. In this work, we propose a simple yet powerful alternative: a prior-based data filtering method that estimates token priors using corpus-level term frequency statistics, inspired by linguistic insights on word roles and lexical density. Our approach filters documents based on the mean and standard deviation of token priors, serving as a fast proxy to PPL while requiring no model inference. Despite its simplicity, the prior-based filter achieves the highest average performance across 20 downstream benchmarks, while reducing time cost by over 1000× compared to PPL-based filtering. We further demonstrate its applicability to symbolic languages such as code and math, and its dynamic adaptability to multilingual corpora without supervision. The code is available online (https://github.com/ybseo-ac/prior_filter).

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2509.18577")
get_code_for_paper("2509.18577")
have("2509.18577")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2509.18577.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2509.18577.svg)](https://syntology.ai/paper/2509.18577)

Connect an agent — have() is free.