ACM Multimedia 2026 · Rio de Janeiro, Brazil

Enhanced Product Information Retrieval via
Image-to-Searchable Layout Reconstruction

1 Major in Data Science Convergence, Kyungpook National University
2 Cutib Inc.

* Equal contribution† Corresponding author

Explore the results

From pixels to product information

Keep the look. Unlock the text.

Turn image-based product pages into searchable, editable layouts
while preserving their typography and visual organization.

A product image is decomposed into OCR text, style and alignment groups, and a restored background, then reconstructed as a structured web layout.
Text extraction, grouping, and background restoration work together to recover a structured layout. Original PDF
11–14% fewer

input tokens than OCR-only

0.9394 SSIM

visual reconstruction fidelity

3 foundation models

improved QA with GCP-based layouts

The idea

A readable layer for visual commerce.

Product details often live inside images. Reconstructing their layout makes the text available to search and language models.

Abstract

Modern online shopping platforms increasingly embed product descriptions and specifications within images, making their text content inaccessible to conventional keyword-based search engines. This leads to degraded search engine optimization (SEO) and limited visibility in generative engine optimization (GEO) environments. To address this problem, we introduce a novel, style- and alignment-aware framework that reconstructs structured web layouts from product page images, enabling machine-readable access to text content otherwise locked inside images.

Our framework integrates (1) hierarchical structure-aware text extraction, (2) vision-language model (VLM)-based text clustering informed by visual attributes, and (3) segmentation-guided text removal and inpainting for clean background restoration. We also construct a dedicated ECTL dataset, a style-annotated product page dataset with word-level labels for style clustering, alignment clustering, and text filtering.

Experimental results demonstrate accurate color and font recognition (99.7% and 99.3% Top-1 accuracy), clean text removal (FID = 0.954 on the Easy subset), and visually faithful reconstruction (LPIPS = 0.0399, SSIM = 0.9394). QA-based evaluations across three foundation models show that reconstructed layouts improve factual retrievability (e.g., BERT-Score 0.883 → 0.928 on Gemma-3-27B) while reducing input tokens by 11–14% relative to OCR-only inputs.

See the reconstruction

Same visual story.
Now machine-readable.

Our reconstruction preserves the page’s text, styling, and alignment. Text becomes real HTML content that can be selected, edited, and searched.

Drag the divider to compare the original image with the live HTML reconstruction. Choose HTML to select and copy the reconstructed text.

An example from the QA evaluation

In the “Local Cafe” description, what kind of shoe is it called?

Image-only
“The shoe is called a Local Cafe.”
Layout (ours)
“The ultimate daily shoe.”
Ground truth
“The ultimate daily shoe”

Llama 3.2-11B · Main paper, qualitative QA example

Read all 5 answer comparisons in Experiments ↓

Original product page image containing shoe reviews and product descriptions.
ReconstructedOriginal
Explore every stage
Reconstructed text is rendered as HTML over the restored background.

Method

Five stages. One searchable layout.

A modular pipeline combines text recognition, visual reasoning, and background restoration.

Method diagram: hierarchical OCR feeds Qwen2.5-VL clustering and filtering, SAM2 and LaMa restore the background, and EfficientNetV2 predicts styles for the layout reconstructor.
Full pipeline. Open the figure for a closer look, or view the original PDF.
  1. 01

    Read the text

    Hierarchical OCR extracts sentences, words, and characters, assigning each word a unique ID.

  2. 02

    Group and filter jointly

    A fine-tuned Qwen2.5-VL (7B) produces style groups, alignment groups, and word filtering together in one pass.

  3. 03

    Restore the background

    Fine-tuned SAM2 segments the text pixels. LaMa inpaints the masked regions to recover a clean background.

  4. 04

    Recover the style

    EfficientNetV2-S predicts font, hue, and brightness. Group-level voting and height normalization improve consistency.

  5. 05

    Reconstruct the layout

    The reconstructor combines line blocks, word spans, fonts, and colors into editable, searchable HTML.

OCR-agnostic: EasyOCR and PaddleOCR can replace the OCR stage without retraining the downstream modules.

Experiments

Does the recovered structure make a difference?

We evaluate factual QA, visual reconstruction, and the grouping decisions that connect them. The results below follow the main paper’s full comparisons and input configurations.

ECTL 2,755 train / 300 validation imagesQA 100 images · 500 questionsCoverage 20 product categories

Main paper · Table 1 · Conf. 2

More faithful answers with a smaller input.

Layout (GCP OCR) achieves the highest BLEU, ROUGE-L, and BERT-Score among the tested inputs on all three evaluators. The summary below compares OCR-only → Layout (GCP OCR).

Gemma 3-27B

+0.0114 BERT-Score

0.9163 → 0.9277

284 → 247 tokens −13.0%

Qwen3-VL-32B

+0.0056 BERT-Score

0.9158 → 0.9214

302 → 264 tokens −12.6%

Llama 3.2-11B

+0.0102 BERT-Score

0.9123 → 0.9225

307 → 272 tokens −11.4%

Protocol: select the five most text-dense validation images in each category, then ask five factual questions per image. QA uses Conf. 2; the alternative OCR engines replace the first stage without retraining downstream modules.

Full QA results

CSV ↓
QA performance across input modalities and foundation models
EvaluatorInputBLEU ↑ROUGE-L ↑BERT-Score ↑Latency (ms) ↓Input tokens ↓
Gemma 3-27BImage-only0.03450.35380.88342353316
OCR-only0.12970.55740.91631410284
GPT-5.3 (E2E)0.14260.57520.92191335253
Layout (GCP OCR)0.14550.58180.92771305247
Layout (EasyOCR)0.11560.52610.91591445251
Layout (PaddleOCR)0.14120.54490.92111410242
Qwen3-VL-32BImage-only0.07830.43960.907829051281
OCR-only0.10980.47940.91581768302
GPT-5.3 (E2E)0.10970.47520.91511774271
Layout (GCP OCR)0.11320.48300.92141706264
Layout (EasyOCR)0.09540.44950.91451736266
Layout (PaddleOCR)0.09190.44120.91601715257
Llama 3.2-11BImage-only0.00930.13380.8575190759*
OCR-only0.10190.47820.9123340307
GPT-5.3 (E2E)0.08650.47190.9091357278
Layout (GCP OCR)0.10790.50460.9225309272
Layout (EasyOCR)0.07380.43380.9152357276
Layout (PaddleOCR)0.08960.44640.9198322270

Bold marks the best value within each evaluator; token highlights compare text-based inputs only. Latency is the QA model’s response time, separate from the reconstruction pipeline’s preprocessing cost.

* Llama 3.2 image inputs use fixed-length visual tokens. Its image-only token count is not directly comparable with text token counts.

A closer look at the answers · Table 2

Five qualitative Llama 3.2-11B examples from the main paper. The reference column is ground truth; answers are saved model outputs. View the associated image and HTML comparison →

Image-only and layout answers compared with reference answers
QuestionImage-onlyLayout (ours)Reference
Q1. According to the Design Team review, what do the feet not feel?The feet do not feel crampy until the end of the day.Cramped, even in the afternoon.cramped
Q2. In the `Local Cafe' description, what kind of shoe is it called?The shoe is called a Local Cafe.The ultimate daily shoe.The ultimate daily shoe
Q3. What is the exact heading shown under the `STAFF REVIEW' label?**STAFF REVIEW** — The exact heading shown under the `STAFF REVIEW' label is: **“We tried them on first.”**We tried them on first.We tried them on first.
Q4. According to the `Workout' description, name one activity explicitly mentioned.One activity explicitly mentioned is a bike ride. The description states that the shoes provide firm, reliable support through all kinds of activities, including a morning jog or an active bike ride.A morning jog.a light morning jog
Q5. In the `Everyday Life' description, what kind of shoe is it called?The shoe is called “Everyday Life: A versatile hybrid shoe redesigned for daily movement, perfectly retaining the high-performance DNA of a dedicated running shoe.”A versatile hybrid shoe.A versatile hybrid shoe

Literal ** markers reproduce markdown emitted in the model answer.

Component checks on synthetic data · Section 4.1

These component results use the synthetic datasets, distinct from the ECTL reconstruction and QA evaluations.

Style classification · Top-1

Style recognition accuracy on synthetic text
AttributeAccuracy ↑
Color99.7%
Font99.3%

SAM2 + LaMa · Text removal

Text removal on synthetic subsets
SubsetFID ↓LPIPS ↓
Easy0.9540.0024
Normal1.7700.0047
Hard6.8650.0152

The main paper reports NVIDIA H100 GPUs for the experiments. Full training and ablation details are provided in the supplementary material.

Amazon · Exploratory examples

More E-Commerce Domains

Explore 12 Amazon examples →

We also applied the pipeline to product images posted on Amazon that were not used in training. Explore how it handles different imagery and typography, including the details it does not fully recover.

These are qualitative examples outside the ECTL benchmark. They illustrate transfer and its limitations, including differences in font weight, spacing, and grouping; they do not establish quantitative generalization performance.

The ECTL dataset

Real product pages.
Word-level structure.

ECTL (E-Commerce Text Layout) provides annotations for text filtering, style clustering, and alignment clustering. It is curated from 36,424 OCR-processed product images collected from South Korean e-commerce platforms.

The text is predominantly Korean, with occasional English product names and specifications. The split contains 2,755 training images and 300 validation images.

ECTL on Hugging Face Coming soon
3,055
annotated product images
20
product categories
47 → 35
average words before and after filtering
500
factual QA pairs from 100 images

Practical considerations

Process once.
Retrieve many times.

The pipeline takes approximately 5.8 seconds per image on a single NVIDIA H100, including the OCR API call. Reconstruction can be performed when a product page is listed, before downstream queries arrive.

Where it can struggle

Large text regions over faces or complex textures can introduce inpainting artifacts. Dense banners can cause grouping errors, and gradient, 3D, or calligraphic fonts may be approximated by the fixed style vocabulary.

Future directions include broader document domains, non-Korean scripts, and cross-lingual reconstruction.

Preview of the ACM MM 2026 poster covering motivation, method, dataset, and experimental results.

ACM Multimedia 2026

The research at a glance.

Explore the full method and results in the conference poster.

View poster

A0 poster · PDF · 1.8 MB

Citation

BibTeX

Coming soon