Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ValueError
Message:      Invalid string class label TIQA_Text-in-Image_Quality_Assessment@8576234f7dd5473d3ecf1e6df5197f3f339df29a
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2951, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2474, in __iter__
                  example = _apply_feature_types_on_example(
                      example, self.features, token_per_repo_id=self.token_per_repo_id
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2391, in _apply_feature_types_on_example
                  encoded_example = features.encode_example(example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2192, in encode_example
                  return encode_nested_example(self, example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1472, in encode_nested_example
                  {k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
                      ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1495, in encode_nested_example
                  return schema.encode_example(obj) if obj is not None else None
                         ~~~~~~~~~~~~~~~~~~~~~^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1168, in encode_example
                  example_data = self.str2int(example_data)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1105, in str2int
                  output = [self._strval2int(value) for value in values]
                            ~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1126, in _strval2int
                  raise ValueError(f"Invalid string class label {value}")
              ValueError: Invalid string class label TIQA_Text-in-Image_Quality_Assessment@8576234f7dd5473d3ecf1e6df5197f3f339df29a

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

TIQA: Text-in-Image Quality Assessment

arXiv GitHub

Datasets from the paper "TIQA: Human-Aligned Perceptual Text Quality Assessment in Generated Images" (Kirill Koltsov, Aleksandr Gushchin, Dmitriy Vatolin, Anastasia Antsiferova).

Text-to-image models produce globally realistic images, but rendered text often has malformed glyphs, broken strokes and irregular spacing. TIQA is a no-reference task: predict a human-aligned perceptual quality score for text regions in generated images. The score measures how the text looks, not whether it says the right thing.

The repository has two parts:

Archive Content Labels
crops.tar.gz β€” TIQA-Crops 120,197 horizontal text crops from AI-generated images, 16 generators ~10k MOS from subjective study + ~110k proxy labels
images.zip β€” TIQA-Images 1,440 text-heavy images from 12 recent T2I models, including proprietary ones overall-quality and text-quality MOS

Baseline model: ANTIQA β€” code and checkpoint. It reaches PLCC/SROCC 0.942/0.935 on TIQA-Crops and 0.842/0.837 on TIQA-Images text-quality MOS (unseen generators).


TIQA-Crops

Text crops detected with PP-OCRv5 on images from open-source generators. Every crop has a quality score on a 0–5 scale (higher is better).

  • 9,978 crops have a MOS from a crowdsourced subjective study (about 50 ratings per crop).
  • 110,219 crops have proxy labels: PP-OCRv5 recognition confidence mapped to the MOS scale with a 5-parameter logistic (5PL) fit. Use them for pretraining.

Generators: CogView4, DeepFloyd IF, FLUX.1-dev, Kandinsky 2, OmniGen, PixArt-Ξ±, PixArt-Ξ£, Qwen-Image, SD 2.1, SD 3 Medium, SD 3.5 Medium, SD 3.5 Large, SD 3.5 Large Turbo, SDXL 1.0, SDXL Turbo, SDXL Lightning.

Folders with the real_world_ prefix use prompts from a different distribution (real-world scenes with text) than folders without the prefix.

Structure

tiqa_crops/
β”œβ”€β”€ dataset.csv
β”œβ”€β”€ info.txt
└── crops/
    └── <generator>/<image_id>/
        β”œβ”€β”€ <image_id>_crop_<k>.png
        └── ocr_texts.txt

dataset.csv

Column Description
path Crop path relative to crops/
ocr_score PP-OCRv5 recognition confidence
rating_real True β€” score is a MOS from the subjective study; False β€” proxy label from the 5PL mapping of ocr_score
rating Crop quality score, 0–5
for_test True if the crop is in the test split
ocr_text Text recognized by PP-OCRv5
import pandas as pd

df = pd.read_csv("tiqa_crops/dataset.csv")
mos   = df[df.rating_real]            # human-labelled crops
proxy = df[~df.rating_real]           # proxy-labelled crops for pretraining
test  = df[df.for_test]

TIQA-Images

Text-heavy prompts rendered by recent text-to-image models, including proprietary APIs. Each image has two subjective scores: overall quality and text quality.

For most models there are 30 prompts Γ— 5 seeds (150 images); this set supports the best-of-5 selection experiment in the paper. Three models have one image per prompt (30 images).

Model Images
FLUX 1.1 Pro, FLUX.2 Max, Ideogram v3 Turbo, Imagen 4 Fast, Nano Banana, Qwen-Image, SDXL, Seedream 4.5, Z-Image-Turbo 150 each
GPT Image (ChatGPT), FLUX.1 Kontext Pro, Nano Banana Pro 30 each

Structure

tiqa_images/
β”œβ”€β”€ <model>/p<NN>/<seed>.png      # NN = prompt id 01–30, seed = 0–4
└── scores.csv                    # TODO: add MOS file

Citation

@article{koltsov2026tiqa,
  title   = {TIQA: Human-Aligned Perceptual Text Quality Assessment in Generated Images},
  author  = {Koltsov, Kirill and Gushchin, Aleksandr and Vatolin, Dmitriy and Antsiferova, Anastasia},
  journal = {arXiv preprint arXiv:2603.07119},
  year    = {2026}
}
Downloads last month
33

Paper for cmcshnik/TIQA_Text-in-Image_Quality_Assessment