Datasets:

Modalities:
Image
Text
Formats:
parquet
Languages:
Japanese
ArXiv:
License:
Silviase commited on
Commit
627ca7e
·
verified ·
1 Parent(s): 12fb14d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +159 -1
README.md CHANGED
@@ -426,4 +426,162 @@ language:
426
  - ja
427
  size_categories:
428
  - 1K<n<10K
429
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
426
  - ja
427
  size_categories:
428
  - 1K<n<10K
429
+ ---
430
+
431
+ # JaWildText
432
+
433
+ JaWildText is a Japanese scene text understanding benchmark for evaluating vision-language models (VLMs) on text-rich real-world images. It is designed to diagnose Japanese OCR, scene text visual question answering, and structured information extraction in practical conditions such as dense signboards, handwritten text, and mobile-captured receipts.
434
+
435
+ For details on the dataset construction, evaluation protocol, and baseline results, see the paper:
436
+ [JaWildText: A Benchmark for Vision-Language Models on Japanese Scene Text Understanding](https://arxiv.org/abs/2603.27942).
437
+
438
+ ## Dataset Summary
439
+
440
+ Japanese scene text poses challenges that are not fully captured by existing multilingual or document-centric benchmarks, including mixed writing systems, vertical writing, dense layouts, and a large character inventory. JaWildText provides three complementary evaluation tasks:
441
+
442
+ - **Dense STVQA / Board VQA**: question answering over text-rich signboards, posters, bulletin boards, and product/package images.
443
+ - **Receipt KIE**: key information extraction from real-world photographs of Japanese receipts.
444
+ - **Handwriting OCR**: page-level transcription of handwritten Japanese text across different writing media and directions.
445
+
446
+ The dataset contains 3,241 examples across the three task configurations. The `default` configuration is the union of all task subsets.
447
+
448
+ ## Configurations
449
+
450
+ | Configuration | Split | Examples | Description |
451
+ |---|---:|---:|---|
452
+ | `default` | `train` | 3,241 | All examples from the three task subsets |
453
+ | `board_vqa` | `train` | 1,025 | Dense scene text visual question answering |
454
+ | `handwriting_ocr` | `train` | 1,065 | Handwritten Japanese OCR |
455
+ | `receipt_kie` | `train` | 1,151 | Receipt key information extraction |
456
+
457
+ Although the dataset is distributed with a `train` split for compatibility with Hugging Face Datasets, JaWildText is intended as an evaluation benchmark.
458
+
459
+ ## Usage
460
+
461
+ ```python
462
+ from datasets import load_dataset
463
+
464
+ board_vqa = load_dataset("llm-jp/jawildtext", "board_vqa")
465
+ sample = board_vqa["train"][0]
466
+
467
+ image = sample["image"]
468
+ question = sample["question"]
469
+ answer = sample["answer"]
470
+ ```
471
+
472
+ To load all examples:
473
+
474
+ ```python
475
+ from datasets import load_dataset
476
+
477
+ dataset = load_dataset("llm-jp/jawildtext", "default")
478
+ ```
479
+
480
+ ## Data Fields
481
+
482
+ All configurations share a common schema. Fields that are not used by a particular task may be `null`, empty strings, or empty lists.
483
+
484
+ - `subset`: subset name, such as `board_vqa`, `handwriting_ocr`, or `receipt_kie`.
485
+ - `image_id`: image identifier.
486
+ - `filename`: original image filename.
487
+ - `image`: input image.
488
+ - `polygons`: text-region annotations.
489
+ - `polygon_id`: unique text-region identifier within the example.
490
+ - `polygon`: polygon coordinates in image coordinates.
491
+ - `text`: annotated text string.
492
+ - `direction`: writing direction annotation when available.
493
+ - `question`: question text for Dense STVQA / Board VQA examples.
494
+ - `answer`: reference answer for Dense STVQA / Board VQA examples.
495
+ - `evidence`: list of `polygon_id` values that provide the minimum textual evidence needed to answer the question.
496
+ - `tool`: writing medium/tool metadata for Handwriting OCR examples when available.
497
+ - `writer_id`: anonymized writer identifier for Handwriting OCR examples when available.
498
+ - `fields`: structured receipt fields for Receipt KIE examples.
499
+ - `store_name`
500
+ - `store_address`
501
+ - `receipt_id`
502
+ - `date`
503
+ - `time`
504
+ - `total_amount`
505
+ - `tax_amount`
506
+ - `line_items`
507
+
508
+ Each receipt field contains a `value` and `polygon_ids`. The `polygon_ids` values refer to entries in `polygons`.
509
+
510
+ ## Task Details
511
+
512
+ ### Dense STVQA / Board VQA
513
+
514
+ The `board_vqa` configuration evaluates whether a model can read and reason over dense Japanese scene text. Each example contains an image, a natural-language question, a reference answer, and evidence region IDs. Questions are designed to require integrating information from one or more text regions rather than simply copying a single visible string.
515
+
516
+ ### Receipt KIE
517
+
518
+ The `receipt_kie` configuration evaluates structured extraction from Japanese receipt images. The target output is a JSON object containing header fields such as store name, date, time, total amount, and tax amount, as well as line-item information where available.
519
+
520
+ ### Handwriting OCR
521
+
522
+ The `handwriting_ocr` configuration evaluates page-level transcription of handwritten Japanese text. The subset includes multiple writing media and writing directions, including horizontal and vertical Japanese text.
523
+
524
+ ## Evaluation
525
+
526
+ We follow the evaluation protocol described in the JaWildText paper.
527
+
528
+ For **Dense STVQA / Board VQA**, models are prompted to enclose the final answer in `\boxed{...}`. The extracted answer is evaluated with judge-based accuracy: an LLM verifier compares the model prediction with the reference answer and returns a binary correctness label. Outputs that cannot be parsed receive a score of 0.
529
+
530
+ For **Receipt KIE**, models are prompted to output a single JSON object following the predefined schema. Outputs that cannot be parsed as JSON receive a score of 0. We report overall F1 over extracted fields and line items, and field-level accuracy for major header fields.
531
+
532
+ For **Handwriting OCR**, models output plain text transcriptions. We compute character-level similarity as `max(0, 1 - CER)`, where CER is the Levenshtein distance between the prediction and reference divided by the reference length. Unicode NFKC normalization is applied before scoring.
533
+
534
+ The overall score is the unweighted average of Dense STVQA accuracy, Receipt KIE F1, and Handwriting OCR character-level similarity.
535
+
536
+ ## Intended Uses
537
+
538
+ JaWildText is intended for:
539
+
540
+ - evaluating Japanese scene text understanding in VLMs;
541
+ - evaluating Japanese OCR in real-world image conditions;
542
+ - evaluating text-centric visual question answering over Japanese scene text;
543
+ - evaluating receipt key information extraction and document understanding;
544
+ - diagnostic analysis of recognition, reasoning, formatting, and script-specific errors.
545
+
546
+ ## Out-of-Scope Uses
547
+
548
+ JaWildText should not be used for:
549
+
550
+ - identifying individuals, writers, stores, or customers;
551
+ - inferring personal attributes or purchasing behavior;
552
+ - surveillance or profiling;
553
+ - treating visible trademarks, store names, or product names as endorsement by the rightsholders;
554
+ - training or deploying systems in high-stakes settings without additional validation.
555
+
556
+ ## Limitations and Ethical Considerations
557
+
558
+ JaWildText consists of real-world Japanese images and may contain store names, addresses, dates, prices, product names, logos, signs, and other third-party visual information. The dataset is released under Apache-2.0, but the license does not grant trademark rights or imply endorsement by any third-party entities visible in the images.
559
+
560
+ The dataset reflects images collected in Japan and should not be assumed to represent all Japanese text usage, all receipt formats, or all handwriting styles. Image quality, perspective, lighting, occlusion, and layout complexity vary across examples.
561
+
562
+ If you identify privacy-sensitive content or other issues in the dataset, please contact the maintainers.
563
+
564
+ TODO: add contact / takedown address.
565
+
566
+ ## License
567
+
568
+ JaWildText, including both annotations/metadata and images, is released under the Apache License 2.0.
569
+
570
+ ## Citation
571
+
572
+ If you use JaWildText, please cite:
573
+
574
+ ```bibtex
575
+ @inproceedings{maeda-etal-2026-jawildtext,
576
+ title = {{JaWildText}: A Benchmark for Vision-Language Models on Japanese Scene Text Understanding},
577
+ author = {Maeda, Koki and Okazaki, Naoaki},
578
+ booktitle = {Proceedings of the 20th International Conference on Document Analysis and Recognition (ICDAR)},
579
+ year = {2026},
580
+ note = {To appear}
581
+ }
582
+ ```
583
+
584
+ ## References
585
+
586
+ - Paper: https://arxiv.org/abs/2603.27942
587
+ - Dataset: https://huggingface.co/datasets/llm-jp/jawildtext