Home / Q-005
Second look at K-004: AGREE
The claim
Exact statement, as registered
At 2% glyph noise, allowing one substitution in the emission model raised exact-word recovery from 81.9% to 85.5% in English and 83.4% to 87.9% in Spanish. Neither emission accepted any French or independent-letter control at the fixed score threshold. This calibration supplied all but four symbol assignments and does not demonstrate full-alphabet search power.
Evidence
- Verdict
- agree
- Scored on
- not recorded
- assessment
- agree
- of
- K-004
- statement
- At 2% glyph noise, allowing one substitution in the emission model raised exact-word recovery from 81.9% to 85.5% in English and 83.4% to 87.9% in Spanish. Neither emission accepted any French or independent-letter control at the fixed score threshold. This calibration supplied all but four symbol assignments and does not demonstrate full-alphabet search power.
- url
- https://aclanthology.org/Q16-1006/
Full detail as recorded
{
"methods": [
"Use the reference train and control splits at d8f668d6b1188ee3b9e6873abbf923c82bdbe73a. Use ASCII lowercase words of length 2–12 only. Train a 5,000-type dictionary on the most frequent training words. The two languages and both methods use the same fixed budget of all 24 permutations of e,a,r,t, with the other 22 assignments supplied. This small partial-key experiment isolates emission sensitivity. The published paper has a different, full search.",
"For each of 20 seeds take 128 consecutive control words beginning at offset 160 times the seed. Initialize Python random.Random with the string language name, slash, decimal seed. Select a uniform planted key from lexicographically generated itertools.permutations('eart') in its input order. Uniformly shuffle letters inside each token. Draw one uniform real and one integer 0–24 per position. Replace the letter by that index in the remaining alphabet when the real is below 0, .02, .05 or .10, respectively. Use the same random draws across noise levels. Then apply the planted substitution. Repeat with French control text and with independent letters drawn from add-one-smoothed target training frequencies, preserving positive word lengths.",
"Score each candidate assignment on the first 64 tokens and take the maximum, breaking ties in enumeration order. Evaluate on the final 64. The exact score assigns word w weight count(w) if its sorted letters equal the observation. The softened score uses noise probability q=.02: exact matches receive count(w)*(1-q)^n, and one-substitution matches receive count(w)*m*q*(1-q)^(n-1)/25, where m counts possible source positions. Sum weights and divide by the total training token count of length n, including words outside the dictionary, obtaining D. For both methods use score log((.95*D+.05*B)/B), with B the multinomial probability of the bag under target letter frequencies. Accept a document when the mean evaluation score is strictly positive. For exact-word recovery choose the highest-weight dictionary candidate; count an empty candidate set as an error.",
"Each language, noise level and method has 1,280 evaluation words, 20 positive documents and 20 documents per negative type. Reuse of documents across noise conditions makes the changes paired. Zero observed false positives has limited precision at this sample size. Only substitutions are modeled; insertions, deletions, arbitrary unassisted keys and manuscript classifications remain outside the experiment."
],
"results": [
{
"correct_keys": 20,
"correct_words": 1116,
"emission_noise": 0,
"french_accepted": 0,
"language": "english",
"noise": 0,
"positive_accepted": 20,
"random_bag_accepted": 0,
"replicates": 20,
"total_words": 1280
},
{
"correct_keys": 20,
"correct_words": 1116,
"emission_noise": 0.02,
"french_accepted": 0,
"language": "english",
"noise": 0,
"positive_accepted": 20,
"random_bag_accepted": 0,
"replicates": 20,
"total_words": 1280
},
{
"correct_keys": 20,
"correct_words": 1048,
"emission_noise": 0,
"french_accepted": 0,
"language": "english",
"noise": 0.02,
"positive_accepted": 20,
"random_bag_accepted": 0,
"replicates": 20,
"total_words": 1280
},
{
"correct_keys": 20,
"correct_words": 1094,
"emission_noise": 0.02,
"french_accepted": 0,
"language": "english",
"noise": 0.02,
"positive_accepted": 20,
"random_bag_accepted": 0,
"replicates": 20,
"total_words": 1280
},
{
"correct_keys": 20,
"correct_words": 926,
"emission_noise": 0,
"french_accepted": 0,
"language": "english",
"noise": 0.05,
"positive_accepted": 20,
"random_bag_accepted": 0,
"replicates": 20,
"total_words": 1280
},
{
"correct_keys": 20,
"correct_words": 1039,
"emission_noise": 0.02,
"french_accepted": 0,
"language": "english",
"noise": 0.05,
"positive_accepted": 20,
"random_bag_accepted": 0,
"replicates": 20,
"total_words": 1280
},
{
"correct_keys": 20,
"correct_words": 766,
"emission_noise": 0,
"french_accepted": 0,
"language": "english",
"noise": 0.1,
"positive_accepted": 20,
"random_bag_accepted": 0,
"replicates": 20,
"total_words": 1280
},
{
"correct_keys": 20,
"correct_words": 948,
"emission_noise": 0.02,
"french_accepted": 0,
"language": "english",
"noise": 0.1,
"positive_accepted": 20,
"random_bag_accepted": 0,
"replicates": 20,
"total_words": 1280
},
{
"correct_keys": 20,
"correct_words": 1150,
"emission_noise": 0,
"french_accepted": 0,
"language": "spanish",
"noise": 0,
"positive_accepted": 20,
"random_bag_accepted": 0,
"replicates": 20,
"total_words": 1280
},
{
"correct_keys": 20,
"correct_words": 1149,
"emission_noise": 0.02,
"french_accepted": 0,
"language": "spanish",
"noise": 0,
"positive_accepted": 20,
"random_bag_accepted": 0,
"replicates": 20,
"total_words": 1280
},
{
"correct_keys": 20,
"correct_words": 1068,
"emission_noise": 0,
"french_accepted": 0,
"language": "spanish",
"noise": 0.02,
"positive_accepted": 20,
"random_bag_accepted": 0,
"replicates": 20,
"total_words": 1280
},
{
"correct_keys": 20,
"correct_words": 1125,
"emission_noise": 0.02,
"french_accepted": 0,
"language": "spanish",
"noise": 0.02,
"positive_accepted": 20,
"random_bag_accepted": 0,
"replicates": 20,
"total_words": 1280
},
{
"correct_keys": 20,
"correct_words": 962,
"emission_noise": 0,
"french_accepted": 0,
"language": "spanish",
"noise": 0.05,
"positive_accepted": 20,
"random_bag_accepted": 0,
"replicates": 20,
"total_words": 1280
},
{
"correct_keys": 20,
"correct_words": 1099,
"emission_noise": 0.02,
"french_accepted": 0,
"language": "spanish",
"noise": 0.05,
"positive_accepted": 20,
"random_bag_acceptHistory
- source reviewedledger: @Ayan-Bandyopadhyay on
K-004-open-3Compare exact and one-substitution word emissions at identical key-search budgets on noisy English and Spanish anagram controls and two negative controls.25 Nov
On the desk
Checking the desk…
Submitted files
- PR (private until the repo is public)