Papers › Unsupervised Tokenization Learning

Unsupervised Tokenization Learning

23 May 2022arXiv:2205.11443archive 2025-07-28

Anton Kolonin, Vignav Ramesh

In the presented study, we discover that the so-called "transition freedom" metric appears superior for unsupervised tokenization purposes in comparison to statistical metrics such as mutual information and conditional probability, providing F-measure scores in range from 0.71 to 1.0 across explored multilingual corpora. We find that different languages require different offshoots of that metric (such as derivative, variance, and "peak values") for successful tokenization. Larger training corpora do not necessarily result in better tokenization quality, while compressing the models by eliminating statistically weak evidence tends to improve performance. The proposed unsupervised tokenization technique provides quality better than or comparable to lexicon-based ones, depending on the language.

PaperPDFCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 23 code samples harvested from 1 repository linked to this paper: 19 ran (of which 0 constructed an object rather than computing a result; 19 with no instrument failure: 0 honoured, 0 violated, 19 with no contract checked; 0 where Syntology's instrument failed) · 4 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code; here there are none.

By repository: found in paper text by Syntology: 23 samples from 1 repository, 19 ran (19 with no instrument failure; 0 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

brightmart/nlp_chinese_cor found in paper text by Syntologynot reachable when probed 2026-09-17 — repositories for recent papers often appear after camera-readySyntology: not harvested report
aigents/pyg found in paper text by Syntologynot reachable when probed 2026-09-17 — repositories for recent papers often appear after camera-readySyntology: not harvested report
aigents/pygents found in paper text by SyntologyMITSyntology: 23 samples, 19 ran (0 instrument-failed) · 4 unverified 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

23 samples harvested: 19 ran (of which 0 constructed an object rather than computing a result; 19 with no instrument failure: 0 honoured, 0 violated, 19 with no contract checked; 0 where Syntology's instrument failed) · 4 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

19ran
4unverified

Licence: 0 of the 23 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 aigents/pygents. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

aigents/pygents found in paper text by Syntology 23 samples, 19 ran (0 instrument-failed) · 4 unverified
build_ngrams pygents/aigents_api.py ran fingerprinted MIT (permissive) · 912b675b8c7c6a75 · report fixture: signature seq:list/1/int, N:int/0/int · returned list · level recorded 2026-09-24
df2labeled pygents/recognition_evaluators.py ran MIT (permissive) · 59926e7aef683e3f · report fixture: signature df:DataFrame/0/?, binary:bool/0/bool · returned list · level recorded 2026-09-24
dict_update in 5 papers pygents/util.py ran MIT (permissive) · 4e172bf386f23e2a · report fixture: signature target:dict/0/?, source:dict/0/? · returned dict · level recorded 2026-09-24
dictval pygents/recognition_evaluators.py ran MIT (permissive) · c7016a4ceaa87df3 · report fixture: signature dic:dict/0/?, key:str/0/str, val:str/0/str · returned str · level recorded 2026-09-24
get_char_grams pygents/text_matching.py ran fingerprinted MIT (permissive) · 924351cd992f8c13 · report fixture: signature items:list/1/str, n:int/0/int · returned list · level recorded 2026-09-24
language_metrics pygents/recognition_evaluators.py ran MIT (permissive) · 3a7ff583d1404eeb · report fixture: signature lang:str/0/str, metrics_list:list/1/str, path:str/0/str · returned dict · level recorded 2026-09-24
listofpairs_compress_with_loss pygents/util.py ran MIT (permissive) · e98c31b3949ba902 · report fixture: signature lst:list/1/tuple, threshold:float/0/float · returned list · level recorded 2026-09-24
make_annotations pygents/plot.py ran MIT (permissive) · 89b3155ee6b61a1e · report fixture: signature pos:list/1/list, text:list/1/str, M:int/0/int, font_size:int/0/int, font_color:str/0/str · returned list · level recorded 2026-09-24
overlap_dic pygents/cluster.py ran MIT (permissive) · cbde932c8e4ed394 · report fixture: signature dic1:dict/0/?, dic2:dict/0/? · returned float · level recorded 2026-09-24
overlap_dic2 pygents/cluster.py ran MIT (permissive) · d3bfdab19b511faf · report fixture: signature dica1:dict/0/?, dicb1:dict/0/?, dica2:dict/0/?, dicb2:dict/0/? · returned float · level recorded 2026-09-24
overlap_dic_parts pygents/cluster.py ran MIT (permissive) · 9e8c248953e7f548 · report fixture: signature dic1:dict/0/?, dic2:dict/0/? · returned tuple · level recorded 2026-09-24
psy_metric_lists pygents/text_metrics.py ran MIT (permissive) · cda2aa6e82050ecf · report fixture: signature metrics:dict/0/?, lang:str/0/str, emojis:bool/0/bool · returned tuple · level recorded 2026-09-24
psy_metric_texts pygents/text_metrics.py ran MIT (permissive) · 31208a071423c4b0 · report fixture: signature metrics:dict/0/?, lang:str/0/str, emojis:bool/0/bool, extended:bool/0/bool, lists:dict/0/?, markup:bool/0/bool · returned list · level recorded 2026-09-24
token_valid pygents/aigents_api.py ran MIT (permissive) · 3d87a7b7834c6ee7 · report fixture: signature token:str/0/str · returned bool · level recorded 2026-09-24
tokenize_detaching_head pygents/token.py ran fingerprinted MIT (permissive) · a2ee6c7e85681666 · report fixture: signature text:str/0/str, chars:str/0/str · returned tuple · level recorded 2026-09-24
tokenize_detaching_tail pygents/token.py ran fingerprinted MIT (permissive) · 0cacbc8c662d91c4 · report fixture: signature text:str/0/str, chars:str/0/str · returned tuple · level recorded 2026-09-24
tokenize_split_with_delimiters_and_quotes pygents/token.py ran fingerprinted MIT (permissive) · 1f256c8b6febc983 · report fixture: signature text:str/0/str · returned list · level recorded 2026-09-24
url_text pygents/text.py ran MIT (permissive) · f1455e9f0f77bdbd · report fixture: signature url:str/0/str, debug:bool/0/bool, linefeeds:bool/0/bool · returned str · level recorded 2026-09-24
vector_proximity pygents/util.py ran MIT (permissive) · bcc2770705085eb4 · report fixture: signature avector:list/1/float, bvector:list/1/float, threshold:float/0/float · returned bool · level recorded 2026-09-24
plot_profile_freedoms pygents/plot.py unverified MIT (permissive) · b6e9d3a1691a13dc · report
plot_profile_probabilities pygents/plot.py unverified MIT (permissive) · da81ffd6065a7b97 · report
url_lines pygents/text.py unverified MIT (permissive) · 243576c5e6ff430f · report
url_text_lines pygents/text.py unverified MIT (permissive) · 3af09d918889fc4f · report

Tasks

Text Segmentation

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