shongdr commited on
Commit
d706bbc
·
verified ·
1 Parent(s): 738c2e3

Trim to essentials: keep Usage, cut the reference scorer and the per-task table

Browse files
Files changed (1) hide show
  1. README.md +529 -593
README.md CHANGED
@@ -1,593 +1,529 @@
1
- ---
2
- license: mit
3
- language:
4
- - ko
5
- - en
6
- pretty_name: NOLLI
7
- size_categories:
8
- - 1K<n<10K
9
- task_categories:
10
- - question-answering
11
- tags:
12
- - reasoning
13
- - logic
14
- - puzzles
15
- - korean
16
- configs:
17
- - config_name: array_formula
18
- data_files:
19
- - split: test
20
- path: array_formula/test-*
21
- - config_name: causal_dag
22
- data_files:
23
- - split: test
24
- path: causal_dag/test-*
25
- - config_name: cipher
26
- data_files:
27
- - split: test
28
- path: cipher/test-*
29
- - config_name: cryptarithmetic
30
- data_files:
31
- - split: test
32
- path: cryptarithmetic/test-*
33
- - config_name: inequality
34
- data_files:
35
- - split: test
36
- path: inequality/test-*
37
- - config_name: jamo
38
- data_files:
39
- - split: test
40
- path: jamo/test-*
41
- - config_name: kinship
42
- data_files:
43
- - split: test
44
- path: kinship/test-*
45
- - config_name: korean_units
46
- data_files:
47
- - split: test
48
- path: korean_units/test-*
49
- - config_name: minesweeper
50
- data_files:
51
- - split: test
52
- path: minesweeper/test-*
53
- - config_name: number_baseball
54
- data_files:
55
- - split: test
56
- path: number_baseball/test-*
57
- - config_name: saju
58
- data_files:
59
- - split: test
60
- path: saju/test-*
61
- - config_name: sat_puzzles
62
- data_files:
63
- - split: test
64
- path: sat_puzzles/test-*
65
- - config_name: sudoku
66
- data_files:
67
- - split: test
68
- path: sudoku/test-*
69
- - config_name: time
70
- data_files:
71
- - split: test
72
- path: time/test-*
73
- - config_name: yacht_dice
74
- data_files:
75
- - split: test
76
- path: yacht_dice/test-*
77
- dataset_info:
78
- - config_name: array_formula
79
- features:
80
- - name: id
81
- dtype: string
82
- - name: task
83
- dtype: string
84
- - name: language
85
- dtype: string
86
- - name: difficulty
87
- dtype: string
88
- - name: question
89
- dtype: string
90
- - name: answer
91
- dtype: string
92
- - name: solution
93
- dtype: string
94
- splits:
95
- - name: test
96
- num_bytes: 13407331
97
- num_examples: 600
98
- download_size: 3956244
99
- dataset_size: 13407331
100
- - config_name: causal_dag
101
- features:
102
- - name: id
103
- dtype: string
104
- - name: task
105
- dtype: string
106
- - name: language
107
- dtype: string
108
- - name: difficulty
109
- dtype: string
110
- - name: question
111
- dtype: string
112
- - name: answer
113
- dtype: string
114
- - name: solution
115
- dtype: string
116
- splits:
117
- - name: test
118
- num_bytes: 10991552
119
- num_examples: 600
120
- download_size: 2486519
121
- dataset_size: 10991552
122
- - config_name: cipher
123
- features:
124
- - name: id
125
- dtype: string
126
- - name: task
127
- dtype: string
128
- - name: language
129
- dtype: string
130
- - name: difficulty
131
- dtype: string
132
- - name: question
133
- dtype: string
134
- - name: answer
135
- dtype: string
136
- - name: solution
137
- dtype: string
138
- splits:
139
- - name: test
140
- num_bytes: 2191175
141
- num_examples: 600
142
- download_size: 277124
143
- dataset_size: 2191175
144
- - config_name: cryptarithmetic
145
- features:
146
- - name: id
147
- dtype: string
148
- - name: task
149
- dtype: string
150
- - name: language
151
- dtype: string
152
- - name: difficulty
153
- dtype: string
154
- - name: question
155
- dtype: string
156
- - name: answer
157
- dtype: string
158
- - name: solution
159
- dtype: string
160
- splits:
161
- - name: test
162
- num_bytes: 2697176
163
- num_examples: 600
164
- download_size: 545993
165
- dataset_size: 2697176
166
- - config_name: inequality
167
- features:
168
- - name: id
169
- dtype: string
170
- - name: task
171
- dtype: string
172
- - name: language
173
- dtype: string
174
- - name: difficulty
175
- dtype: string
176
- - name: question
177
- dtype: string
178
- - name: answer
179
- dtype: string
180
- - name: solution
181
- dtype: string
182
- splits:
183
- - name: test
184
- num_bytes: 2259573
185
- num_examples: 600
186
- download_size: 436357
187
- dataset_size: 2259573
188
- - config_name: jamo
189
- features:
190
- - name: id
191
- dtype: string
192
- - name: task
193
- dtype: string
194
- - name: language
195
- dtype: string
196
- - name: difficulty
197
- dtype: string
198
- - name: question
199
- dtype: string
200
- - name: answer
201
- dtype: string
202
- - name: solution
203
- dtype: string
204
- splits:
205
- - name: test
206
- num_bytes: 384368
207
- num_examples: 300
208
- download_size: 52641
209
- dataset_size: 384368
210
- - config_name: kinship
211
- features:
212
- - name: id
213
- dtype: string
214
- - name: task
215
- dtype: string
216
- - name: language
217
- dtype: string
218
- - name: difficulty
219
- dtype: string
220
- - name: question
221
- dtype: string
222
- - name: choices
223
- dtype: string
224
- - name: answer
225
- dtype: string
226
- - name: solution
227
- dtype: string
228
- splits:
229
- - name: test
230
- num_bytes: 3188738
231
- num_examples: 300
232
- download_size: 496080
233
- dataset_size: 3188738
234
- - config_name: korean_units
235
- features:
236
- - name: id
237
- dtype: string
238
- - name: task
239
- dtype: string
240
- - name: language
241
- dtype: string
242
- - name: difficulty
243
- dtype: string
244
- - name: question
245
- dtype: string
246
- - name: answer
247
- dtype: string
248
- - name: solution
249
- dtype: string
250
- splits:
251
- - name: test
252
- num_bytes: 1401654
253
- num_examples: 300
254
- download_size: 639655
255
- dataset_size: 1401654
256
- - config_name: minesweeper
257
- features:
258
- - name: id
259
- dtype: string
260
- - name: task
261
- dtype: string
262
- - name: language
263
- dtype: string
264
- - name: difficulty
265
- dtype: string
266
- - name: question
267
- dtype: string
268
- - name: answer
269
- dtype: string
270
- - name: solution
271
- dtype: string
272
- splits:
273
- - name: test
274
- num_bytes: 2570080
275
- num_examples: 600
276
- download_size: 424457
277
- dataset_size: 2570080
278
- - config_name: number_baseball
279
- features:
280
- - name: id
281
- dtype: string
282
- - name: task
283
- dtype: string
284
- - name: language
285
- dtype: string
286
- - name: difficulty
287
- dtype: string
288
- - name: question
289
- dtype: string
290
- - name: answer
291
- dtype: string
292
- - name: solution
293
- dtype: string
294
- splits:
295
- - name: test
296
- num_bytes: 1299609
297
- num_examples: 600
298
- download_size: 220324
299
- dataset_size: 1299609
300
- - config_name: saju
301
- features:
302
- - name: id
303
- dtype: string
304
- - name: task
305
- dtype: string
306
- - name: language
307
- dtype: string
308
- - name: difficulty
309
- dtype: string
310
- - name: question
311
- dtype: string
312
- - name: answer
313
- dtype: string
314
- - name: solution
315
- dtype: string
316
- splits:
317
- - name: test
318
- num_bytes: 180478
319
- num_examples: 300
320
- download_size: 26018
321
- dataset_size: 180478
322
- - config_name: sat_puzzles
323
- features:
324
- - name: id
325
- dtype: string
326
- - name: task
327
- dtype: string
328
- - name: language
329
- dtype: string
330
- - name: difficulty
331
- dtype: string
332
- - name: question
333
- dtype: string
334
- - name: answer
335
- dtype: string
336
- - name: solution
337
- dtype: string
338
- splits:
339
- - name: test
340
- num_bytes: 28051763
341
- num_examples: 600
342
- download_size: 4931284
343
- dataset_size: 28051763
344
- - config_name: sudoku
345
- features:
346
- - name: id
347
- dtype: string
348
- - name: task
349
- dtype: string
350
- - name: language
351
- dtype: string
352
- - name: difficulty
353
- dtype: string
354
- - name: question
355
- dtype: string
356
- - name: answer
357
- dtype: string
358
- - name: solution
359
- dtype: string
360
- splits:
361
- - name: test
362
- num_bytes: 1446800
363
- num_examples: 600
364
- download_size: 291709
365
- dataset_size: 1446800
366
- - config_name: time
367
- features:
368
- - name: id
369
- dtype: string
370
- - name: task
371
- dtype: string
372
- - name: language
373
- dtype: string
374
- - name: difficulty
375
- dtype: string
376
- - name: question
377
- dtype: string
378
- - name: answer
379
- dtype: string
380
- - name: solution
381
- dtype: string
382
- splits:
383
- - name: test
384
- num_bytes: 258002
385
- num_examples: 300
386
- download_size: 39819
387
- dataset_size: 258002
388
- - config_name: yacht_dice
389
- features:
390
- - name: id
391
- dtype: string
392
- - name: task
393
- dtype: string
394
- - name: language
395
- dtype: string
396
- - name: difficulty
397
- dtype: string
398
- - name: question
399
- dtype: string
400
- - name: answer
401
- dtype: string
402
- - name: solution
403
- dtype: string
404
- splits:
405
- - name: test
406
- num_bytes: 2112133
407
- num_examples: 600
408
- download_size: 374101
409
- dataset_size: 2112133
410
- ---
411
-
412
- # NOLLI
413
-
414
- **NOLLI (논리)** is a benchmark of rule-based logical puzzles in **Korean and English**, designed with
415
- difficulty calibration in mind. It covers **15 task types x 3 difficulty tiers (easy / medium / hard)
416
- x 100 examples** each, for a total of **7,500 examples** (EN 3,000 + KO 4,500).
417
-
418
- All examples are programmatically generated with solver-verified answers. If you need more data,
419
- the generators in the GitHub repository can produce additional examples for any task, language,
420
- and difficulty tier.
421
-
422
- 📄 Paper: [https://arxiv.org/abs/2608.04397](https://arxiv.org/abs/2608.04397)\
423
- 💻 Code: [https://github.com/HAE-RAE/NOLLI](https://github.com/HAE-RAE/NOLLI)
424
-
425
- ## Tasks
426
-
427
- Tasks follow a three-level cross-lingual spectrum: **direct translations**, **script adaptations**,
428
- and **Korean-only** tasks.
429
-
430
- ### 1. Direct Translations (8 tasks · EN + KO)
431
-
432
- Same generators and parameters in both languages, so performance gaps isolate presentation language.
433
-
434
- | task | description | en (easy/med/hard) | ko (easy/med/hard) | total |
435
- |---|---|---|---|---|
436
- | `array_formula` | Apply row/column aggregation formulas (SUM/MEAN/MAX/...) to a 2D array in sequence | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
437
- | `causal_dag` | Infer event-propagation time through a causal graph with per-edge delays | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
438
- | `inequality` | CSP: place numbers 1..N satisfying inequality constraints (unique solution) | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
439
- | `minesweeper` | Minesweeper with minimal hints preserving a unique solution | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
440
- | `number_baseball` | Infer a hidden N-digit number from Strike/Ball hints | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
441
- | `sat_puzzles` | Boolean satisfiability (CNF) framed as a natural-language scenario | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
442
- | `sudoku` | 9x9 Sudoku with guaranteed-unique solutions; report the digits at 4-6 spot-checked cells | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
443
- | `yacht_dice` | Assign 12 dice rolls to 12 scoring categories to maximize total score; report the partial sum over spot-checked rounds | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
444
-
445
- ### 2. Script Adaptations (2 tasks · EN + KO)
446
-
447
- Not translation-equivalent: English uses Roman letters; Korean uses Hangul *jamo*.
448
- Calibrated independently per language.
449
-
450
- | task | description | en (easy/med/hard) | ko (easy/med/hard) | total |
451
- |---|---|---|---|---|
452
- | `cipher` | Decode stacked ciphers (Substitution, Vigenere, Reverse, Playfair, Transposition) | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
453
- | `cryptarithmetic` | Letters-for-digits arithmetic (SEND+MORE=MONEY style); Korean maps *jamo* groups | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
454
-
455
- ### 3. Korean-Only (5 tasks · KO)
456
-
457
- No English counterpart — built on structures specific to the Korean language and culture
458
- (kinship terminology, the sexagenary calendar, traditional units, Hangul orthography).
459
-
460
- | task | description | ko (easy/med/hard) | total |
461
- |---|---|---|---|
462
- | `jamo` | Decompose a Hangul syllable into 초성/중성/종성, shift 초성, recompose | 100 / 100 / 100 | 300 |
463
- | `kinship` | Infer a Korean kinship term from a chain of family relationships (26-way multiple choice) | 100 / 100 / 100 | 300 |
464
- | `korean_units` | Convert traditional Korean units (평·마지기·되·자·냥, ...) with randomized rates | 100 / 100 / 100 | 300 |
465
- | `saju` | Compute the four 사주(四柱) pillars from a birth date/time | 100 / 100 / 100 | 300 |
466
- | `time` | Korean calendar reasoning: holiday anchor + relative-day expression → date / 60갑자 일진 | 100 / 100 / 100 | 300 |
467
-
468
- ## Usage
469
-
470
- There is no default config — a config name is always required.
471
-
472
- ```python
473
- from datasets import load_dataset, get_dataset_config_names
474
-
475
- # one task
476
- ds = load_dataset("HAERAE-HUB/NOLLI", "sudoku", split="test")
477
-
478
- # filter by language / difficulty (both are columns)
479
- ko_hard = ds.filter(lambda x: x["language"] == "ko" and x["difficulty"] == "hard")
480
-
481
- # all 15 tasks
482
- tasks = get_dataset_config_names("HAERAE-HUB/NOLLI")
483
- all_ds = {t: load_dataset("HAERAE-HUB/NOLLI", t, split="test") for t in tasks}
484
- ```
485
-
486
- Note that `kinship` carries an extra `choices` column, so the configs cannot be merged
487
- with `concatenate_datasets` without first aligning the schema.
488
-
489
- ## Structure
490
-
491
- Each config corresponds to one task. All configs share a single `test` split and the same schema
492
- (the `choices` column exists only in `kinship`):
493
-
494
- | column | type | description |
495
- |---|---|---|
496
- | `id` | str | unique example id, e.g. `sudoku_ko_0000` |
497
- | `task` | str | task name (same as config name) |
498
- | `language` | str | `ko` or `en` |
499
- | `difficulty` | str | `easy` / `medium` / `hard` |
500
- | `question` | str | full prompt for the model |
501
- | `choices` | str | JSON-encoded answer choices only present in the `kinship` config |
502
- | `answer` | str | gold answer — format varies by task, see [Answer format](#answer-format) |
503
- | `solution` | str | step-by-step reference solution |
504
-
505
- ## Answer format
506
-
507
- The `answer` string is not free text: each task has its own gold format, and the prompt in
508
- `question` already tells the model which one to produce. Two things differ across tasks and
509
- matter when scoring.
510
-
511
- **1. Final-line protocol.** Seven tasks instruct the model to end its response with a literal
512
- `Answer: ...` line; the other eight ask for the bare value with no prefix. Parsing every task
513
- as if it used `Answer:` or as if none did — silently drops half the benchmark.
514
-
515
- | protocol | tasks |
516
- |---|---|
517
- | ends with `Answer: <value>` | `inequality`, `jamo`, `korean_units`, `minesweeper`, `number_baseball`, `sudoku`, `yacht_dice` |
518
- | bare value, no prefix | `array_formula`, `causal_dag`, `cipher`, `cryptarithmetic`, `kinship`, `saju`, `sat_puzzles`, `time` |
519
-
520
- **2. Gold value shape.**
521
-
522
- | task | gold format | example |
523
- |---|---|---|
524
- | `array_formula` | integer (545/600) **or** a category string (55/600, from prompts that ask for "the exact value" rather than "only a number"); no commas, no decimals | `7395000`, `Fruit`, `실버` |
525
- | `causal_dag` | single integer | `19` |
526
- | `cipher` | ciphertext plaintext, no spaces — EN uppercase `A-Z`, KO Hangul syllables | `NOWHQXVOKMVDLLKBKCDMTVQ`, `문화시장관리지도` |
527
- | `cryptarithmetic` | integer (the value of the target word) | `3203254` |
528
- | `inequality` | flattened N x N grid, space-separated — 25 tokens (5x5) or 36 (6x6) | `3 1 2 5 4 2 5 1 ...` |
529
- | `jamo` | Hangul string | `딓떼` |
530
- | `kinship` | a single choice letter `A`-`Z` (always 26 options; `choices` maps letter to term) | `F` |
531
- | `korean_units` | integer **with its unit suffix**; the unit varies per item (`돈` 81, `푼` 77, `평` 75, `홉` 67) | `465373918평` |
532
- | `minesweeper` | 0-based `(row,col)` mine coordinates, comma-separated; 6-24 mines per item; order is not significant | `(0,2), (0,6), (2,3)` |
533
- | `number_baseball` | the secret number — 7 digits (200 items) or 8 digits (400) | `3264579` |
534
- | `saju` | 2-character 간지 | `정미` |
535
- | `sat_puzzles` | JSON object mapping each name to a boolean; 9, 11, or 14 keys | `{"Alice": false, "Bob": true, ...}` |
536
- | `sudoku` | space-separated digits at the 4-6 spot-checked 1-based `(row,col)` coordinates listed in the prompt — **not** the full grid | `3 7 3 6 5` |
537
- | `time` | one of three shapes depending on the item: `YYYY.M.D` date (82), 2-character 60갑자 일진 (177), or a `요일` weekday (41) | `1999.1.24`, `을유`, `목요일` |
538
- | `yacht_dice` | integer — the partial sum of per-round scores over the spot-checked rounds under the optimal 12-round assignment (2 rounds for easy/medium, 8 for hard); **not** the 12-round total | `42` |
539
-
540
- **Reference extraction.** A minimal exact-match scorer that covers all 15 tasks:
541
-
542
- ```python
543
- import json, re
544
-
545
- ANSWER_LINE = {"inequality", "jamo", "korean_units", "minesweeper",
546
- "number_baseball", "sudoku", "yacht_dice"}
547
-
548
- def extract(task: str, output: str) -> str | None:
549
- lines = [l for l in output.strip().splitlines() if l.strip()]
550
- if not lines:
551
- return None
552
- if task in ANSWER_LINE:
553
- for line in reversed(lines): # last `Answer:` wins
554
- m = re.match(r"\s*Answer\s*:\s*(.*)$", line)
555
- if m:
556
- return m.group(1).strip()
557
- return None
558
- return lines[-1].strip()
559
-
560
- def is_correct(task: str, pred: str | None, gold: str) -> bool:
561
- if pred is None:
562
- return False
563
- if task == "sat_puzzles": # key order is not significant
564
- try:
565
- return json.loads(pred) == json.loads(gold)
566
- except json.JSONDecodeError:
567
- return False
568
- if task == "minesweeper": # coordinate order is not significant
569
- coords = lambda s: set(re.findall(r"\(\s*\d+\s*,\s*\d+\s*\)", s.replace(" ", "")))
570
- return coords(pred) == coords(gold)
571
- if task in {"inequality", "sudoku"}: # whitespace-insensitive token list
572
- return pred.split() == gold.split()
573
- if task in {"causal_dag", "cryptarithmetic", "yacht_dice"}:
574
- try:
575
- return int(pred.replace(",", "")) == int(gold)
576
- except ValueError:
577
- return False
578
- return pred.strip() == gold.strip() # incl. the `korean_units` unit suffix
579
- ```
580
-
581
- ## Citation
582
-
583
- ```bibtex
584
- @misc{choi2026nolli,
585
- title={NOLLI: A Difficulty-Calibrated Puzzle Benchmark for Diagnosing the English-Korean Performance Gap},
586
- author={Dasol Choi and Joonyong Park and Daegon Yu and Soo Yong Kim and Youngsook Song and Seunghyeok Hong},
587
- year={2026},
588
- eprint={2608.04397},
589
- archivePrefix={arXiv},
590
- primaryClass={cs.CL},
591
- url={https://arxiv.org/abs/2608.04397},
592
- }
593
- ```
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - ko
5
+ - en
6
+ pretty_name: NOLLI
7
+ size_categories:
8
+ - 1K<n<10K
9
+ task_categories:
10
+ - question-answering
11
+ tags:
12
+ - reasoning
13
+ - logic
14
+ - puzzles
15
+ - korean
16
+ configs:
17
+ - config_name: array_formula
18
+ data_files:
19
+ - split: test
20
+ path: array_formula/test-*
21
+ - config_name: causal_dag
22
+ data_files:
23
+ - split: test
24
+ path: causal_dag/test-*
25
+ - config_name: cipher
26
+ data_files:
27
+ - split: test
28
+ path: cipher/test-*
29
+ - config_name: cryptarithmetic
30
+ data_files:
31
+ - split: test
32
+ path: cryptarithmetic/test-*
33
+ - config_name: inequality
34
+ data_files:
35
+ - split: test
36
+ path: inequality/test-*
37
+ - config_name: jamo
38
+ data_files:
39
+ - split: test
40
+ path: jamo/test-*
41
+ - config_name: kinship
42
+ data_files:
43
+ - split: test
44
+ path: kinship/test-*
45
+ - config_name: korean_units
46
+ data_files:
47
+ - split: test
48
+ path: korean_units/test-*
49
+ - config_name: minesweeper
50
+ data_files:
51
+ - split: test
52
+ path: minesweeper/test-*
53
+ - config_name: number_baseball
54
+ data_files:
55
+ - split: test
56
+ path: number_baseball/test-*
57
+ - config_name: saju
58
+ data_files:
59
+ - split: test
60
+ path: saju/test-*
61
+ - config_name: sat_puzzles
62
+ data_files:
63
+ - split: test
64
+ path: sat_puzzles/test-*
65
+ - config_name: sudoku
66
+ data_files:
67
+ - split: test
68
+ path: sudoku/test-*
69
+ - config_name: time
70
+ data_files:
71
+ - split: test
72
+ path: time/test-*
73
+ - config_name: yacht_dice
74
+ data_files:
75
+ - split: test
76
+ path: yacht_dice/test-*
77
+ dataset_info:
78
+ - config_name: array_formula
79
+ features:
80
+ - name: id
81
+ dtype: string
82
+ - name: task
83
+ dtype: string
84
+ - name: language
85
+ dtype: string
86
+ - name: difficulty
87
+ dtype: string
88
+ - name: question
89
+ dtype: string
90
+ - name: answer
91
+ dtype: string
92
+ - name: solution
93
+ dtype: string
94
+ splits:
95
+ - name: test
96
+ num_bytes: 13407331
97
+ num_examples: 600
98
+ download_size: 3956244
99
+ dataset_size: 13407331
100
+ - config_name: causal_dag
101
+ features:
102
+ - name: id
103
+ dtype: string
104
+ - name: task
105
+ dtype: string
106
+ - name: language
107
+ dtype: string
108
+ - name: difficulty
109
+ dtype: string
110
+ - name: question
111
+ dtype: string
112
+ - name: answer
113
+ dtype: string
114
+ - name: solution
115
+ dtype: string
116
+ splits:
117
+ - name: test
118
+ num_bytes: 10991552
119
+ num_examples: 600
120
+ download_size: 2486519
121
+ dataset_size: 10991552
122
+ - config_name: cipher
123
+ features:
124
+ - name: id
125
+ dtype: string
126
+ - name: task
127
+ dtype: string
128
+ - name: language
129
+ dtype: string
130
+ - name: difficulty
131
+ dtype: string
132
+ - name: question
133
+ dtype: string
134
+ - name: answer
135
+ dtype: string
136
+ - name: solution
137
+ dtype: string
138
+ splits:
139
+ - name: test
140
+ num_bytes: 2191175
141
+ num_examples: 600
142
+ download_size: 277124
143
+ dataset_size: 2191175
144
+ - config_name: cryptarithmetic
145
+ features:
146
+ - name: id
147
+ dtype: string
148
+ - name: task
149
+ dtype: string
150
+ - name: language
151
+ dtype: string
152
+ - name: difficulty
153
+ dtype: string
154
+ - name: question
155
+ dtype: string
156
+ - name: answer
157
+ dtype: string
158
+ - name: solution
159
+ dtype: string
160
+ splits:
161
+ - name: test
162
+ num_bytes: 2697176
163
+ num_examples: 600
164
+ download_size: 545993
165
+ dataset_size: 2697176
166
+ - config_name: inequality
167
+ features:
168
+ - name: id
169
+ dtype: string
170
+ - name: task
171
+ dtype: string
172
+ - name: language
173
+ dtype: string
174
+ - name: difficulty
175
+ dtype: string
176
+ - name: question
177
+ dtype: string
178
+ - name: answer
179
+ dtype: string
180
+ - name: solution
181
+ dtype: string
182
+ splits:
183
+ - name: test
184
+ num_bytes: 2259573
185
+ num_examples: 600
186
+ download_size: 436357
187
+ dataset_size: 2259573
188
+ - config_name: jamo
189
+ features:
190
+ - name: id
191
+ dtype: string
192
+ - name: task
193
+ dtype: string
194
+ - name: language
195
+ dtype: string
196
+ - name: difficulty
197
+ dtype: string
198
+ - name: question
199
+ dtype: string
200
+ - name: answer
201
+ dtype: string
202
+ - name: solution
203
+ dtype: string
204
+ splits:
205
+ - name: test
206
+ num_bytes: 384368
207
+ num_examples: 300
208
+ download_size: 52641
209
+ dataset_size: 384368
210
+ - config_name: kinship
211
+ features:
212
+ - name: id
213
+ dtype: string
214
+ - name: task
215
+ dtype: string
216
+ - name: language
217
+ dtype: string
218
+ - name: difficulty
219
+ dtype: string
220
+ - name: question
221
+ dtype: string
222
+ - name: choices
223
+ dtype: string
224
+ - name: answer
225
+ dtype: string
226
+ - name: solution
227
+ dtype: string
228
+ splits:
229
+ - name: test
230
+ num_bytes: 3188738
231
+ num_examples: 300
232
+ download_size: 496080
233
+ dataset_size: 3188738
234
+ - config_name: korean_units
235
+ features:
236
+ - name: id
237
+ dtype: string
238
+ - name: task
239
+ dtype: string
240
+ - name: language
241
+ dtype: string
242
+ - name: difficulty
243
+ dtype: string
244
+ - name: question
245
+ dtype: string
246
+ - name: answer
247
+ dtype: string
248
+ - name: solution
249
+ dtype: string
250
+ splits:
251
+ - name: test
252
+ num_bytes: 1401654
253
+ num_examples: 300
254
+ download_size: 639655
255
+ dataset_size: 1401654
256
+ - config_name: minesweeper
257
+ features:
258
+ - name: id
259
+ dtype: string
260
+ - name: task
261
+ dtype: string
262
+ - name: language
263
+ dtype: string
264
+ - name: difficulty
265
+ dtype: string
266
+ - name: question
267
+ dtype: string
268
+ - name: answer
269
+ dtype: string
270
+ - name: solution
271
+ dtype: string
272
+ splits:
273
+ - name: test
274
+ num_bytes: 2570080
275
+ num_examples: 600
276
+ download_size: 424457
277
+ dataset_size: 2570080
278
+ - config_name: number_baseball
279
+ features:
280
+ - name: id
281
+ dtype: string
282
+ - name: task
283
+ dtype: string
284
+ - name: language
285
+ dtype: string
286
+ - name: difficulty
287
+ dtype: string
288
+ - name: question
289
+ dtype: string
290
+ - name: answer
291
+ dtype: string
292
+ - name: solution
293
+ dtype: string
294
+ splits:
295
+ - name: test
296
+ num_bytes: 1299609
297
+ num_examples: 600
298
+ download_size: 220324
299
+ dataset_size: 1299609
300
+ - config_name: saju
301
+ features:
302
+ - name: id
303
+ dtype: string
304
+ - name: task
305
+ dtype: string
306
+ - name: language
307
+ dtype: string
308
+ - name: difficulty
309
+ dtype: string
310
+ - name: question
311
+ dtype: string
312
+ - name: answer
313
+ dtype: string
314
+ - name: solution
315
+ dtype: string
316
+ splits:
317
+ - name: test
318
+ num_bytes: 180478
319
+ num_examples: 300
320
+ download_size: 26018
321
+ dataset_size: 180478
322
+ - config_name: sat_puzzles
323
+ features:
324
+ - name: id
325
+ dtype: string
326
+ - name: task
327
+ dtype: string
328
+ - name: language
329
+ dtype: string
330
+ - name: difficulty
331
+ dtype: string
332
+ - name: question
333
+ dtype: string
334
+ - name: answer
335
+ dtype: string
336
+ - name: solution
337
+ dtype: string
338
+ splits:
339
+ - name: test
340
+ num_bytes: 28051763
341
+ num_examples: 600
342
+ download_size: 4931284
343
+ dataset_size: 28051763
344
+ - config_name: sudoku
345
+ features:
346
+ - name: id
347
+ dtype: string
348
+ - name: task
349
+ dtype: string
350
+ - name: language
351
+ dtype: string
352
+ - name: difficulty
353
+ dtype: string
354
+ - name: question
355
+ dtype: string
356
+ - name: answer
357
+ dtype: string
358
+ - name: solution
359
+ dtype: string
360
+ splits:
361
+ - name: test
362
+ num_bytes: 1446800
363
+ num_examples: 600
364
+ download_size: 291709
365
+ dataset_size: 1446800
366
+ - config_name: time
367
+ features:
368
+ - name: id
369
+ dtype: string
370
+ - name: task
371
+ dtype: string
372
+ - name: language
373
+ dtype: string
374
+ - name: difficulty
375
+ dtype: string
376
+ - name: question
377
+ dtype: string
378
+ - name: answer
379
+ dtype: string
380
+ - name: solution
381
+ dtype: string
382
+ splits:
383
+ - name: test
384
+ num_bytes: 258002
385
+ num_examples: 300
386
+ download_size: 39819
387
+ dataset_size: 258002
388
+ - config_name: yacht_dice
389
+ features:
390
+ - name: id
391
+ dtype: string
392
+ - name: task
393
+ dtype: string
394
+ - name: language
395
+ dtype: string
396
+ - name: difficulty
397
+ dtype: string
398
+ - name: question
399
+ dtype: string
400
+ - name: answer
401
+ dtype: string
402
+ - name: solution
403
+ dtype: string
404
+ splits:
405
+ - name: test
406
+ num_bytes: 2112133
407
+ num_examples: 600
408
+ download_size: 374101
409
+ dataset_size: 2112133
410
+ ---
411
+
412
+ # NOLLI
413
+
414
+ **NOLLI (논리)** is a benchmark of rule-based logical puzzles in **Korean and English**, designed with
415
+ difficulty calibration in mind. It covers **15 task types x 3 difficulty tiers (easy / medium / hard)
416
+ x 100 examples** each, for a total of **7,500 examples** (EN 3,000 + KO 4,500).
417
+
418
+ All examples are programmatically generated with solver-verified answers. If you need more data,
419
+ the generators in the GitHub repository can produce additional examples for any task, language,
420
+ and difficulty tier.
421
+
422
+ 📄 Paper: [https://arxiv.org/abs/2608.04397](https://arxiv.org/abs/2608.04397)\
423
+ 💻 Code: [https://github.com/HAE-RAE/NOLLI](https://github.com/HAE-RAE/NOLLI)
424
+
425
+ ## Tasks
426
+
427
+ Tasks follow a three-level cross-lingual spectrum: **direct translations**, **script adaptations**,
428
+ and **Korean-only** tasks.
429
+
430
+ ### 1. Direct Translations (8 tasks · EN + KO)
431
+
432
+ Same generators and parameters in both languages, so performance gaps isolate presentation language.
433
+
434
+ | task | description | en (easy/med/hard) | ko (easy/med/hard) | total |
435
+ |---|---|---|---|---|
436
+ | `array_formula` | Apply row/column aggregation formulas (SUM/MEAN/MAX/...) to a 2D array in sequence | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
437
+ | `causal_dag` | Infer event-propagation time through a causal graph with per-edge delays | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
438
+ | `inequality` | CSP: place numbers 1..N satisfying inequality constraints (unique solution) | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
439
+ | `minesweeper` | Minesweeper with minimal hints preserving a unique solution | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
440
+ | `number_baseball` | Infer a hidden N-digit number from Strike/Ball hints | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
441
+ | `sat_puzzles` | Boolean satisfiability (CNF) framed as a natural-language scenario | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
442
+ | `sudoku` | 9x9 Sudoku with guaranteed-unique solutions; graded on the digits at 4-6 spot-checked cells, not the full grid | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
443
+ | `yacht_dice` | Assign 12 dice rolls to 12 scoring categories to maximize total score; graded on the partial sum over spot-checked rounds, not the 12-round total | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
444
+
445
+ ### 2. Script Adaptations (2 tasks · EN + KO)
446
+
447
+ Not translation-equivalent: English uses Roman letters; Korean uses Hangul *jamo*.
448
+ Calibrated independently per language.
449
+
450
+ | task | description | en (easy/med/hard) | ko (easy/med/hard) | total |
451
+ |---|---|---|---|---|
452
+ | `cipher` | Decode stacked ciphers (Substitution, Vigenere, Reverse, Playfair, Transposition) | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
453
+ | `cryptarithmetic` | Letters-for-digits arithmetic (SEND+MORE=MONEY style); Korean maps *jamo* groups | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
454
+
455
+ ### 3. Korean-Only (5 tasks · KO)
456
+
457
+ No English counterpart — built on structures specific to the Korean language and culture
458
+ (kinship terminology, the sexagenary calendar, traditional units, Hangul orthography).
459
+
460
+ | task | description | ko (easy/med/hard) | total |
461
+ |---|---|---|---|
462
+ | `jamo` | Decompose a Hangul syllable into 초성/중성/종성, shift 초성, recompose | 100 / 100 / 100 | 300 |
463
+ | `kinship` | Infer a Korean kinship term from a chain of family relationships (26-way multiple choice) | 100 / 100 / 100 | 300 |
464
+ | `korean_units` | Convert traditional Korean units (평·마지기·되·자·냥, ...) with randomized rates | 100 / 100 / 100 | 300 |
465
+ | `saju` | Compute the four 사주(四柱) pillars from a birth date/time | 100 / 100 / 100 | 300 |
466
+ | `time` | Korean calendar reasoning: holiday anchor + relative-day expression → date / 60갑자 일진 | 100 / 100 / 100 | 300 |
467
+
468
+ ## Usage
469
+
470
+ ```python
471
+ from datasets import load_dataset, get_dataset_config_names
472
+
473
+ # one task `kinship` is one of the five Korean-only tasks
474
+ ds = load_dataset("HAERAE-HUB/NOLLI", "kinship", split="test")
475
+
476
+ # language and difficulty are columns; the 10 bilingual tasks carry both en and ko
477
+ cipher = load_dataset("HAERAE-HUB/NOLLI", "cipher", split="test")
478
+ ko_hard = cipher.filter(lambda x: x["language"] == "ko" and x["difficulty"] == "hard")
479
+
480
+ # all 15 tasks
481
+ tasks = get_dataset_config_names("HAERAE-HUB/NOLLI")
482
+ all_ds = {t: load_dataset("HAERAE-HUB/NOLLI", t, split="test") for t in tasks}
483
+ ```
484
+
485
+ Note that `kinship` carries an extra `choices` column, so the configs cannot be merged
486
+ with `concatenate_datasets` without first aligning the schema.
487
+
488
+ ## Structure
489
+
490
+ Each config corresponds to one task. All configs share a single `test` split and the same schema
491
+ (the `choices` column exists only in `kinship`):
492
+
493
+ | column | type | description |
494
+ |---|---|---|
495
+ | `id` | str | unique example id, e.g. `sudoku_ko_0000` |
496
+ | `task` | str | task name (same as config name) |
497
+ | `language` | str | `ko` or `en` |
498
+ | `difficulty` | str | `easy` / `medium` / `hard` |
499
+ | `question` | str | full prompt for the model |
500
+ | `choices` | str | JSON-encoded answer choices — only present in the `kinship` config |
501
+ | `answer` | str | gold answer — format varies by task, see [Answer format](#answer-format) |
502
+ | `solution` | str | step-by-step reference solution |
503
+
504
+ ## Answer format
505
+
506
+ `answer` is not free text — the format is task-specific, and `question` already tells the model
507
+ which one to produce. Two things to know before scoring.
508
+
509
+ **Final line.** Seven tasks require a literal `Answer: <value>` last line — `inequality`, `jamo`,
510
+ `korean_units`, `minesweeper`, `number_baseball`, `sudoku`, `yacht_dice`. The other eight take the
511
+ bare value with no prefix.
512
+
513
+ **Comparison.** Exact string match, with three exceptions: `sat_puzzles` (a JSON object) and
514
+ `minesweeper` (a coordinate list) are order-insensitive, and `korean_units` carries a unit suffix
515
+ that varies per item (`465373918평`).
516
+
517
+ ## Citation
518
+
519
+ ```bibtex
520
+ @misc{choi2026nolli,
521
+ title={NOLLI: A Difficulty-Calibrated Puzzle Benchmark for Diagnosing the English-Korean Performance Gap},
522
+ author={Dasol Choi and Joonyong Park and Daegon Yu and Soo Yong Kim and Youngsook Song and Seunghyeok Hong},
523
+ year={2026},
524
+ eprint={2608.04397},
525
+ archivePrefix={arXiv},
526
+ primaryClass={cs.CL},
527
+ url={https://arxiv.org/abs/2608.04397},
528
+ }
529
+ ```