potentialpaper

HalluciText: Mitigating Text Hallucinations in Diffusion-Based Image Restoration

Zhiming Hu, Angela Ning Ye, Ran Zhang, Tristan Ty Aumentado-Armstrong, Samrudhdhi B. Rangrej, Faraz Ali, Dong Huo, Konstantinos G. Derpanis, Alex Levinshtein, Iqbal Mohomed

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. HalluciText is a training-free inference framework that mitigates text hallucinations in diffusion-based image restoration without degrading overall perceptual quality.

Abstract. Diffusion-based image restoration models produce visually compelling results but systematically hallucinate text, generating characters that appear sharp and legible yet are factually incorrect. As text fidelity emerges as a key requirement for real-world image restoration, this failure mode poses a fundamental barrier to wide deployments of diffusion-based models: a model that replaces degraded-but-faithful text with sharp-but-wrong text misleads users and erodes trust. Recent text-aware models mitigate this by feeding text extracted from intermediate outputs or low-resolution (LR) images into the prompt, but they provide no mechanism to detect or correct the hallucinations that still commonly arise. In this work, we present a systematic study on how to improve text restoration during denoising, demonstrating that standard global conditioning alone is inadequate and that optical character recognition (OCR) confidence scores reliably predict word-level correctness. Grounded in these findings, we propose HalluciText, a training-free framework consisting of two complementary interventions: (i) Confidence-Weighted Classifier-Free Guidance (CW-CFG), which concentrates guidance energy on text regions weighted by OCR confidence to improve text recall; and (ii) VLM-Guided Test-Time Guidance (V-TTG), which leverages a vision-language model (VLM) to identify hallucinated regions and corrects them towards a faithful reference, improving text precision. Both operate solely on the noise prediction or latent representation, making them agnostic to the diffusion backbone and text spotting model. We demonstrate the effectiveness of HalluciText on state-of-the-art (SOTA) text-aware models, achieving up to 4.42 points of improvement in end-to-end text recognition F1 on several datasets without degrading image quality.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper aims to address text restoration in text-aware image restoration. The authors propose Confidence-Weighted Classifier-Free Guidance (CW-CFG) and VLM-Guided Test-Time Guidance (V-TTG). Two reviewers are concerned about the design of CW-CFG. The authors need to clarify the actual performance gains of CW-CFG compared with other CFG variants. Both reviewers MW8o and kNK7 point out that the proposed method relies heavily on OCR. Therefore, a comprehensive ablation study on OCR should be provided. In particular, how much does OCR accuracy affect CW-CFG and V-TTG? How do different OCR algorithms influence text restoration performance? In addition, the deployment limitations raised by Reviewer QPdA also affect its applicability in mobile scenarios. In real mobile scenarios, it is difficult to deploy such a large model with a VLM.

Final justification

This paper addresses an important task in text-aware image restoration, with a particular focus on text restoration. The authors propose two effective techniques, Confidence-Weighted Classifier-Free Guidance (CW-CFG) and VLM-Guided Test-Time Guidance (V-TTG), to tackle this problem.While the initial version of the paper contained several unclear details, the authors responded well during the rebuttal phase. Following the rebuttal, all reviewers gave positive scores and leaned toward acceptance. In particular, the key concerns regarding the actual role of OCR and the clarification of CW-CFG were adequately addressed. Overall, this paper makes a meaningful contribution to an important problem and presents an effective solution. The AC therefore recommends acceptance.

Area Chair jkCc · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper aims to address text restoration in text-aware image restoration. The authors propose Confidence-Weighted Classifier-Free Guidance (CW-CFG) and VLM-Guided Test-Time Guidance (V-TTG). Two reviewers are concerned about the design of CW-CFG. The authors need to clarify the actual performance gains of CW-CFG compared with other CFG variants. Both reviewers MW8o and kNK7 point out that the proposed method relies heavily on OCR. Therefore, a comprehensive ablation study on OCR should be provided. In particular, how much does OCR accuracy affect CW-CFG and V-TTG? How do different OCR algorithms influence text restoration performance? In addition, the deployment limitations raised by Reviewer QPdA also affect its applicability in mobile scenarios. In real mobile scenarios, it is difficult to deploy such a large model with a VLM.

Final justification

This paper addresses an important task in text-aware image restoration, with a particular focus on text restoration. The authors propose two effective techniques, Confidence-Weighted Classifier-Free Guidance (CW-CFG) and VLM-Guided Test-Time Guidance (V-TTG), to tackle this problem.While the initial version of the paper contained several unclear details, the authors responded well during the rebuttal phase. Following the rebuttal, all reviewers gave positive scores and leaned toward acceptance. In particular, the key concerns regarding the actual role of OCR and the clarification of CW-CFG were adequately addressed. Overall, this paper makes a meaningful contribution to an important problem and presents an effective solution. The AC therefore recommends acceptance.

1 comment
Authors · CommentOpenReview ↗

Response to Meta Review

We thank the AC for the constructive comments and address the three action items below. Details and full tables are in the per-reviewer responses.

(a) Gains of CW-CFG vs. other CFG variants.

Regarding the impact of CW-CFG, we note that the paper ablation tested CW-CFG in isolation, without V-TTG. We therefore benchmarked alternative spatial guidance policies in the full pipeline (each + V-TTG) on SA-Text L2:

Method (+ V-TTG) OCR-P ↑\uparrow OCR-R ↑\uparrow OCR-F1 ↑\uparrow
STCFG-style 50.83 24.89 33.41
Two-Level CFG 49.65 25.39 33.59
CW-CFG (ours) 54.09 24.89 34.09

As in the table, CW-CFG outperforms the baselines in precision and OCR-F1.

  • Most notably, CW-CFG yields significant gains in OCR-P (+3.26 and +4.44 over STCFG and Two-Level, respectively). Though the F1 impact seems modest, this is a substantial improvement to precision, with little cost to recall.
  • Specifically, the precision gap over Two-Level is wider in this composite setup (with V-TTG) than in the standalone ones (+4.44 VS. +3.79 of OCR-P in Tab. 3). This suggests that binary gating often creates "committed" hallucinations (i.e., wrong text rendered sharply) that can deceive downstream judges, whereas CW-CFG suppresses these errors during denoising by weakening guidance where OCR confidence is low.
  • Uniform-low/high baselines are shown in Fig. 2b; furthermore, attention-derived S-CFG focused on text-to-image generation with no LR reference and carries no conditioning-reliability signal. It is thus orthogonal to our mechanism (see response to R-QPdA).

(b) Comprehensive OCR ablation.

We conduct a detailed study over three OCR front-ends (UniT-TSM, TeReDiff-TSM, PaddleOCRv5), along two axes: (i) each module's detection/recognition quality on inputs of varying quality and noise level (table in response to R-kNK7); and (ii) pipeline performance under CW-CFG-only / V-TTG-only / full per front-end (table in response to R-MW8o). Pairing (i) with (ii) quantifies how OCR accuracy propagates into each module separately. Results show that our modules work robustly with various OCR models.

cc Mobile deployment.

To clarify: the paper does not propose HalluciText for on-device deployment. The intro's mobile/camera reference (L34-37) cites the field's trajectory [1,8] to motivate why text fidelity matters, which does not indicate where our method runs; all costs are reported on server-class hardware. We will state the intended setting explicitly: server-side, quality-critical pipelines (document/receipt archival, accessibility, cloud photo enhancement). Our goal is to be competitive with the state-of-the-art in terms of quality.

However, we do consider several aspects of computational cost: (1) note that the VLM is not the dominant component in runtime. For the +3.78s overhead, +3.39s is CW-CFG's second branch and only +0.35s is V-TTG at K=10 (Supp. Tab. 6); (2) we provide a measured cheaper configuration, a TSM-threshold judge (which replaces the heavier VLM) that achieves an OCR-F1 of 55.90 vs. 57.11; (3) for mobile specifically, HalluciText can serve offline as a teacher model, generating hallucination-suppressed pseudo-GT for training lightweight on-device models on real-world inputs where GT is unavailable, amortizing its cost over the training corpus, which we will add to the revision as future work.

We believe (a) resolves the meta-review's main technical question, and (b)/cc are provided in the reviewer responses. We thank the AC and reviewers for feedback that has concretely strengthened the paper.

Reviewer MW8oOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies text hallucination in diffusion-based image restoration, where the model produces sharp but factually incorrect characters. The authors observe that OCR confidence scores correlate with word-level correctness, and based on this they propose HalluciText, a training-free framework with two inference-time interventions. CW-CFG replaces the scalar CFG with a spatially varying guidance map weighted by per-word OCR confidence, and V-TTG uses a VLM to flag distorted text regions and pulls the corresponding latents toward a SwinIR reference. Experiments are conducted on top of UniT and TeReDiff using the SA-Text and Real-Text benchmarks.

Strengths and weaknesses

Strengths The problem is well chosen and motivated. Sharp-but-wrong text is a real and largely unstudied failure mode of diffusion restoration, and the practical implications for signage, receipts and documents are convincing.

The Section 3 analysis is solid. The findings that GT-prompt conditioning still leaves substantial residual errors, that OCR confidence is well calibrated with word correctness, and that spatial CFG alone leaves committed hallucinations together build a clear empirical motivation for the two-module design.

The framework is fully training-free and works on top of multiple backbones such as UniT and TeReDiff. The PaddleOCR variant also shows it does not strictly rely on UniT's built-in TSM, which is a useful generalization signal.

Weaknesses The contribution of the confidence-weighted design is much smaller than the paper suggests. From the ablation table, a naive Two-Level CFG that only separates text and non-text regions, without any confidence weighting, already recovers most of the gain, while CW-CFG only adds a small additional improvement on top. The whole "confidence weighting" story therefore seems to buy very little over a one-line baseline, which weakens the case for treating it as a core contribution.

The cost benefit ratio of V-TTG is questionable. According to the supplementary, replacing the VLM judge with a simple TSM-confidence threshold gets within roughly one F1 point of the full V-TTG, while V-TTG itself invokes a large VLM every K denoising steps and substantially increases inference latency. Given how marginal the gap is, it is hard to justify the additional compute that the VLM-based design demands, and the paper does not really engage with this trade-off.

The framework's robustness depends heavily on the specific external components chosen, but this is not stress-tested. The text spotter is the built-in TSM from UniT, which is based on a 2022-era model, and the regression reference and the VLM judge are also fixed to specific choices. There is no analysis of what happens when the OCR fails on harder cases, when the VLM mislabels distorted regions, or when the reference model itself becomes unreliable under heavy degradation. As a result, the "agnostic to backbone and OCR" claim is more of a design intention than an empirically demonstrated property.

Questions

Questions The "confidence-weighted" design is positioned as one of the core contributions of CW-CFG. However, ablation results show that a naive baseline that only distinguishes text and non-text regions, without any confidence weighting, already recovers most of the gain, and the additional contribution of confidence weighting is fairly limited. Could the authors better justify the necessity of the confidence signal itself, rather than a simple binary text mask?

According to the supplementary results, replacing the VLM judge with a lightweight TSM-confidence threshold achieves performance very close to the full V-TTG, while incurring substantially lower inference cost. Could the authors directly compare the two designs under matched latency, and justify whether the additional cost of invoking a large VLM is warranted by the actual quality gain?

The proposed pipeline relies on several external modules at inference time, including a text spotter, a VLM judge, and a regression-based reference, some of which are not the most recent options. Could the authors provide robustness experiments where these external components are swapped with stronger or weaker versions? This would help isolate whether the reported improvements stem from the proposed framework itself or from the specific combination of external tools used.

Recently there have been several OCR-specialized VLMs such as dots.ocr, PaddleOCR-VL, and HunyuanOCR that demonstrate strong OCR capabilities. It would be interesting to see whether plugging these stronger OCR-specialized VLMs into the proposed framework provides further benefits, both as the OCR signal source for CW-CFG and as the judge for V-TTG. Have the authors explored this direction?

There is a closely related work, "HalluText: Towards Benchmarking and Mitigating OCR Hallucination for LVLMs," which also leverages OCR signals to mitigate hallucinations, though in the context of LVLMs rather than diffusion-based image restoration. Despite the highly similar title and overlapping motivation, this work is not discussed in the paper. Could the authors clarify the conceptual and technical differences between the two approaches beyond the difference in target task?

Limitations

No

Final justification

After reading the authors’ rebuttal, I believe they have adequately addressed my concern regarding the potential impact of the OCR tool on the proposed method. Therefore, I raise my score to 4.

Formatting concerns

No

8 comments
Authors · CommentOpenReview ↗

Response to Reviewer - Part 1

We thank the reviewer for the detailed comments. We use Q# throughout; results for each question are below.

[Q1]: Two-Level CFG recovers most of the gain; justify confidence weighting over a binary mask.

First, we remark that the table in the paper looked at the effect of CW-CFG in isolation, without V-TTG. For completeness, we provide the direct comparison in the full pipeline on SA-Text L2 (with V-TTG) below:

Method (+ V-TTG) OCR-P ↑\uparrow OCR-R ↑\uparrow OCR-F1 ↑\uparrow
STCFG-style 50.83 24.89 33.41
Two-Level CFG 49.65 25.39 33.59
CW-CFG (ours) 54.09 24.89 34.09

From this table and Table 3 (main paper), we wish to better clarify the impact of CW-CFG:

  1. CW-CFG provides a large precision boost over Two-Level CFG. There is a substantial improvement to OCR-Precision, +4.44 and +3.79 points in the two table respectively. Notice that this improvement is larger in composition with V-TTG, compared to the standalone ablation.
  2. Precision outweighs recall in importance. Compared to Two-Level, this +4.44 precision boost is traded for with a small -0.5 loss to recall, resulting in a relatively modest improvement to F1 overall. However, for text hallucination specifically, precision is a more relevant metric: though Two-Level "recovers" more text, it often renders hallucinations. Since we argue that sharp hallucinations of fake text or text-like image content is more offensive to users than blurred or "lost" text, we suggest that this large precision boost (nearly 10x the recall loss) is a good tradeoff.
  3. Zero marginal cost: Since the confidences are already produced by the OCR module, in the context of our method, there is no additional computational cost to utilizing them.

In summary, confidence weighting is a zero-cost refinement that can greatly improve OCR precision (reducing text hallucinations) in the standalone mode or when combined with V-TTG.

[Q2]: VLM cost-benefit analysis.

The VLM's marginal cost in runtime is a small portion of our overall pipeline. Recall that K is the interval (number of steps) between VLM calls. At K=10 (our default setting), V-TTG adds a mere +0.35s to the pipeline (6.94 vs. 6.59s, Supp. Tab. 6), representing only ~5% of the total run-time, since the bulk of the overhead is CW-CFG's second branch.

Compared to the faster TSM-threshold approach, where we use OCR confidence to detect hallucinations (based on our analysis in Sec. 3), our default K=10 approach boosts precision by around three points, while the heavier K=1 setting improves precision by around 4 points and has better recall (see Table 8 for details).

Therefore, for the two methods we proposed in this paper, the VLM-based approach is a better fit if we aim for the best performance, while the TSM-threshold is a cheap alternative if efficiency is the priority. Indeed, the VLM approach has its own controllable tradeoff parameter, K; since our default K=10 only adds ~5% run-time overhead, but substantially improves precision over the faster TSM-threshold, we suggest it as a strong starting point with a balanced cost-benefit ratio.

Authors · CommentOpenReview ↗

Response to Reviewer - Part 2

[Q3]: Robustness to external components not stress-tested.

As requested by the reviewer, we provide a series of experiments, switching in stronger and weaker versions of various components. We see that our modules are indeed robust to such swaps and are able to provide improvements under a variety of conditions.

  • Spotter (SA-Text L2; OCR-F1):
Text Spotter CW-CFG only V-TTG only Full
UniT (Baseline) N/A N/A 30.56
TSM (UniT) 32.92 31.99 34.09
TSM (TeReDiff) 33.00 32.25 33.67
PaddleOCRv5 33.20 32.05 33.09

The table above shows that either or both of our algorithmic improvements improve on the baseline, with any of the three spotters.

On the recency point: we would gently note that UniT's TSM is not a 2022-era model. The authors adopt TESTR's spotting head, but replace TESTR's ResNet backbone with diffusion features from UniT's DiT and train the model on degraded inputs — which is why it is robust on the intermediate outputs our modules consume, whereas an off-the-shelf spotter is not (quantified in the LR/step-10/GT comparison in our response to R-kNK7). Independently, PaddleOCRv5 (2025), among the state-of-the-art text spotters, already substitutes for it at <1 F1 end-to-end cost (Tabs. 1/2/7) despite never being trained on degraded images. This suggests our results are not only independent of a specific spotter, but can work with off-the-shelf non-degradation-specialized ones.

  • VLM judge (SA-Text L2; OCR-F1):
VLM Judge V-TTG only Full
UniT (Baseline) N/A 30.56
Qwen3-VL-4B 32.00 33.85
Qwen3-VL-8B (default) 31.99 34.09
Qwen3-VL-32B 32.31 34.49

All three judges improve substantially over the baseline (+3.29 to +3.93 F1) and differ from each other by at most 0.64, suggesting the judge is a replaceable component our method uses rather than one it depends on. What V-TTG contributes is the per-region verification interface and the correction toward a non-generative reference, not the particular VLM.

  • Reference Image Source (SA-Text L2):
Reference model OCR-P OCR-R OCR-F1
UniT (Baseline) 47.08 22.62 30.56
Bicubic (weakest) 52.68 24.03 33.00
SwinIR (default) 54.09 24.89 34.09
Swin2SR (stronger) 55.14 24.80 34.21

Regardless of the choice of the reference, we see an improvement over the baseline by a wide margin (+2.44 to +3.65 F1). A stronger reference (Swin2SR) buys 0.12 F1 over our default SwinIR, and bicubic, which has no learned prior at all, still beats the baseline by 2.44. The reason is that V-TTG pulls toward the reference only inside flagged regions and only as a target, so the text are still rendered by the diffusion model. A weaker reference therefore makes a correction blurrier rather than wrong, which is why performance falls off slowly instead of collapsing.

Conclusion. Across all three substitutions, every configuration beats the UniT baseline by at least 2.44 OCR-F1, while the spread within each component is at most 1.21. Thus, the gains provided by our method do not depend on any particular external component and persist across all tested scenarios, with both stronger and weaker components.

Authors · CommentOpenReview ↗

Response to Reviewer - Part 3

[Q4]: Would OCR-specialized VLMs (dots.ocr, PaddleOCR-VL, HunyuanOCR) help as OCR source and judge?

We thank the reviewer for the interesting suggestion. We have tested this and report a negative result, which clarifies the interface requirements for V-TTG judge and CW-CFG.

As a V-TTG judge: we prompted PaddleOCR-VL to return the indices of the annotated regions containing distorted text. It does not follow the instruction. Instead, it reverts to its trained behavior and transcribes all text it detects, rather than returning per-region verdicts. It therefore cannot serve as the judge without further adaptation (e.g., instruction tuning for verification). This supports our observation (response to R-QPdA) that judging distorted text is a distinct task lacking data and baselines, which strong OCR alone cannot solve.

As a CW-CFG confidence source: CW-CFG requires a calibrated per-instance scalar. These OCR-specialized models are autoregressive generators that emit structured text (Markdown/JSON) with no confidence field, and PaddleOCR-VL's output contains none. Deriving one from token log-probabilities is possible but needs calibration validation before it can drive guidance weights; we leave this to future work. The natural choice remains classic PaddleOCRv5, where one lightweight pass yields polygons plus per-instance confidence (dt_scores/rec_score), which is exactly CW-CFG's interface.

We will add this analysis to the revision, as it delineates what each plug-in point demands: the judge needs instruction-following region-level verification, and the confidence source needs calibrated scores — neither of which follows from OCR accuracy alone.

[Q5]: Missing discussion of "HalluText" (LVLM OCR hallucination).

We thank the reviewer for the pointer. HalluText is an unpublished submission, and it addresses a different problem. It studies OCR hallucination in LVLM question answering, where the model answers from its language prior instead of from reading the text in the image. We address hallucination in the generated pixels, and we intervene in the denoising trajectory rather than in language decoding. Furthermore, HalluText passes OCR outputs as context to text decoding, whereas our OCR confidence modulates spatial CFG weights and our VLM decision drives masked latent guidance toward a non-generative reference. Notably, the task V-TTG requires is to judge whether a rendered region contains distorted text, which is neither benchmarked nor mitigated there, consistent with our observation (response to R-QPdA) that this problem currently lacks data and baselines. We will cite and differentiate the work in Sec. 2 and, given the similar titles, state the distinction explicitly.

We are happy to answer any further questions.

Reviewer kNK7OpenReview ↗
Rating
5/6
Confidence
5/5
Quality
4/4
Clarity
4/4
Significance
4/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper addresses the important real-world task of Text-Aware Image Restoration (TAIR), which aims to restore degraded images containing textual content by accurately recovering both the visual background and the embedded text. The authors first conduct a comprehensive and systematic analysis of recent TAIR approaches, identifying three key limitations of existing methods. To address these challenges, they propose Confidence-Weighted Classifier-Free Guidance (CW-CFG) and VLM-Guided Test-Time Guidance (V-TTG), which enable text-focused restoration and correction, thereby enhancing the effectiveness of text-aware image restoration. Notably, the proposed training-free approach achieves state-of-the-art text recognition performance while maintaining competitive image restoration quality, demonstrating both the validity of the identified limitations and the effectiveness of the proposed techniques.

Strengths and weaknesses

Strengths

S1. The paper presents a clearly defined problem setting, well-motivated objectives, comprehensive analysis, and clearly articulated contributions.

S2. The authors conduct extensive and detailed experimental analyses, including numerous ablation studies and additional investigations provided in the supplementary material. These analyses effectively identify important limitations of existing approaches for the TAIR task and provide valuable insights into design choices, such as the impact of prompting strategies and individual components. Such findings are likely to benefit the research community and facilitate future advancements in this area.

Weaknesses

W1. Although OCR-F1 captures the combined effects of text localization and text recognition performance, it does not disentangle these two aspects. Consequently, it remains unclear whether the reported performance improvements are primarily attributable to enhanced text localization, improved text recognition, or a combination of both. Furthermore, previous TAIR approaches, such as Terediff and UniT, employed text spotting metrics for evaluation. The rationale for adopting different evaluation metrics in this work should therefore be clarified.

W2. Since accurate text detection is crucial for providing reliable textual guidance during restoration, it would be valuable to include an experimental comparison of the text detection performance among the three text detection modules: the TSM used in Terediff, the TSM employed in UniT, and PaddleOCR. As the TSM models were trained on degraded images using diffusion features, they achieve robust text detection performance, in contrast, PaddleOCR was not specifically trained on degraded images. Therefore, how does PaddleOCR maintain competitive performance under such conditions? Additionally, how do these methods compare in terms of OCR performance on clean scene text images?

Questions

Refer to the weaknesses

Limitations

yes

Final justification

The authors have adequately addressed my concerns through detailed explanations and additional experimental analysis. In particular, the follow-up clarification resolved my confusion regarding the interpretation of PaddleOCR's recognition capability. I now understand that the intended claim was that PaddleOCR exhibits relatively high recognition accuracy conditional on its detections, rather than superior recognition performance on degraded inputs in an absolute sense. I also appreciate the clarification that the PaddleOCR experiments were included to demonstrate the generality of the proposed framework, showing that it remains beneficial even when paired with an off-the-shelf text spotter that is not specialized for degraded text. Overall, I am satisfied that my concerns have been addressed and will keep my current accept score.

Formatting concerns

No concerns

5 comments
Authors · CommentOpenReview ↗

Response to Reviewer

We thank the reviewer for the positive and thorough assessment. We use W# for weaknesses throughout.

[W1]: OCR-F1 does not disentangle localization vs. recognition; why different metrics from TeReDiff/UniT?

First, a clarification: our OCR-P/R/F1 uses the same TESTR evaluator protocol as TeReDiff and UniT (Sec. 5), so our numbers are directly comparable. In other words, we use the same text-spotting evaluations as prior work; however, we focused on E2E OCR and standard image quality metrics, because detection alone does not sufficiently penalize hallucinations. Specifically, a highly hallucinatory model is very likely to output text (or text-like image content) into areas prone to have real text - such outputs will thus score well on detection, no matter how unrelated to the true text the generated content is, as long as the hallucinated text is detectable.

Nevertheless, we agree that it is a good idea to disentangle the two aspects. We therefore add detection-only (polygon P/R/H-mean @IoU 0.5) and end-to-end spotting under standard "None"/"Full" lexicons. The Det-vs-E2E gap isolates recognition in the following table:

Config Det-P Det-R Det-H E2E "None" E2E "Full"
Baseline (UniT) 91.16 57.19 70.28 53.74 58.77
+CW-CFG 91.28 59.72 72.20 56.45 61.46
+V-TTG 91.11 56.33 69.62 54.71 59.90
Full (ours) 91.17 58.91 71.57 57.11 61.96

We observe that CW-CFG improves both detection and recognition performance; while V-TTG's gains concentrate in end-to-end recognition. However, note that V-TTG actually slightly reduces detection performance, despite E2E results improving. This is because V-TTG, when activated, replaces sharp-but-unsupported (hallucinated) text with blurrier-but-faithful content; when the LR evidence is sufficiently small, no detectable text will be generated.

These analyses will be incorporated into the revision.

[W2]: Compare TeReDiff-TSM / UniT-TSM / PaddleOCR detection; why does PaddleOCR stay competitive on degraded inputs? Clean-image comparison?

As the reviewer suggested, we provide an experimental comparison of the text detection modules considered in the paper. We compare all three modules on fixed, pipeline-independent inputs, ordered from hardest to easiest: LR (degraded), Step 10, and GT (clean). Step 10 is the image decoded from the latent at denoising step 10 of the 40-step baseline (i.e., partially restored intermediate). Early intermediates resemble LR and late ones approach GT, so these three inputs span the operating range inside the denoising loop. LR and Step 10 quantify robustness to input degradation, while GT answers the clean-image question. We further include TESTR, the model used for downstream evaluation, as reference.

OCR module LR: Det-H / OCR-F1 Step 10: Det-H / OCR-F1 GT: Det-H / OCR-F1
TSM (TeReDiff) 61.1 / 42.5 76.0 / 59.4 89.3 / 67.4
TSM (UniT) 68.8 / 50.1 74.8 / 57.3 73.1 / 55.5
PaddleOCRv5 49.1 / 42.3 54.2 / 46.2 65.4 / 60.2
TESTR 37.5 / 30.3 69.4 / 54.8 84.8 / 72.9

From the table, we observe that off-the-shelf TESTR is the strongest module on clean images (E2E OCR-F1 72.9) yet collapses under degradation to last place, losing 47.3 Det-H from GT to LR, whereas UniT's TSM (trained on degraded diffusion features) loses only 4.3. This suggests that the text spotter's training distribution determines robustness to the degraded inputs our modules operate on.

Although PaddleOCR is a weaker detector than the TSMs, it gives up only 5-8 points from Det-H to OCR-F1, compared with 16-22 points for the TSMs. This suggests that PaddleOCR's strength is recognition: it reads almost everything it detects. Finally and most importantly, PaddleOCR's confidence remains well-correlated with correctness on our pipeline's inputs (Supp. Fig. 6). We will include both analyses in the revision.

We thank the reviewer again for the suggestions, which we believe have strengthened the evaluation, and we are happy to answer any further questions.

Reviewer kNK7 · CommentOpenReview ↗

Response to the Authors Regarding W2

[PaddleOCR's strength is recognition? – Response to W2]

Thank you for clarifying W1. Lastly, I would appreciate further clarification regarding W2, as the table does not appear to support the argument you provided. While PaddleOCR shows competitive recognition performance (e.g., OCR-F1) in the GT setting, its recognition performance is relatively low on both LR and Step 10, particularly on Step 10. I assume that the Step 10 OCR-F1 is computed by decoding the (x_0) image at denoising step 10.

As you mentioned, the training distribution of the text spotter is important. Therefore, PaddleOCR's lower performance on LR images and intermediate denoising outputs is expected. Given that your method operates on degraded inputs throughout the denoising process, I am therefore unclear why the authors conclude that PaddleOCR's primary strength is its recognition ability. The experimental results instead suggest that PaddleOCR performs well on clean images but is considerably less effective on the degraded inputs, which is our task setting.

Authors · CommentOpenReview ↗

Response to Reviewer

Thank you for pointing this out. We apologize for the unclear statement. The reviewer is, of course, correct that PaddleOCR has lower performance on the LR and denoising intermediates (as one would expect). We merely wanted to note that PaddleOCR may be a worse detector overall, but specifically among the detections it does produce, it is relatively capable in terms of recognition (see table below - "Rec-Acc" refers to recognition accuracy for the model detections). In other words, it mostly seems to detect things it can later recognize. However, in an absolute sense, it unsurprisingly remains inferior to the diffusion TSMs on degraded images in both detection and recognition, as the reviewer notes.

Just to reiterate our intention regarding PaddleOCR, we wished to show that our added modules are not bound to a specific spotter. In particular, despite it being a fairly weak spotter on degraded text, using PaddleOCR with our framework still boosts full-pipeline OCR-F1 by ~2.5 points (33.09 vs. 30.56) over the baseline model. In other words, our method is still beneficial, even when using a non-degradation-specialized, off-the-shelf spotter. We will correct the wording accordingly in the revision.

OCR module LR: Det-H / Rec-Acc / OCR-F1 Step 10: Det-H / Rec-Acc / OCR-F1 GT: Det-H / Rec-Acc / OCR-F1
TSM (TeReDiff) 61.1 / 69.5 / 42.5 76.0 / 78.2 / 59.4 89.3 / 75.5 / 67.4
TSM (UniT) 68.8 / 72.8 / 50.1 74.8 / 76.7 / 57.3 73.1 / 76.0 / 55.5
PaddleOCRv5 49.1 / 86.2 / 42.3 54.2 / 85.3 / 46.2 65.4 / 92.0 / 60.2
TESTR 37.5 / 80.8 / 30.3 69.4 / 78.9 / 54.8 84.8 / 86.0 / 72.9
Reviewer QPdAOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper studies text hallucination in diffusion-based image restoration: restored text may look sharp and plausible while being factually wrong. The authors propose HalluciText, a training-free inference-time framework with two interventions. CW-CFG builds a spatial CFG map weighted by OCR confidence to improve text recall. V-TTG uses a VLM at selected denoising steps to flag hallucinated text regions and guides those latent regions toward a faithful non-generative reference such as SwinIR, aiming to improve precision.

Strengths and weaknesses

Strengths

  1. The problem is important and well motivated. Sharp but incorrect text in restored images is a practical reliability failure for camera enhancement, document restoration, receipts, street signs, and accessibility tools.

  2. The method has a plausible error decomposition: CW-CFG targets under-rendered text and recall, while V-TTG targets confidently wrong text and precision. The ablations broadly support this division of labor.

Weakness

  1. Incremental novelty relative to spatial CFG and test-time guidance. CW-CFG is essentially spatially masked CFG with OCR confidence, and V-TTG is masked latent MSE guidance driven by a VLM decision. The related-work section discusses S-CFG/STCFG and test-time guidance, but the paper should more sharply articulate what is algorithmically new beyond adapting these ideas to text restoration.

  2. The VLM distortion detector is not strong enough to be treated as reliable. Appendix Table 11 reports Qwen3-VL-8B distorted-region detection F1 around 0.61-0.63 on Real-Text and 0.70-0.71 on SA-Text. For a core correction module, this leaves many false positives and false negatives. The paper should quantify how these errors affect text fidelity, background quality, and user trust.

  3. The deployment story is heavier than the motivation suggests. The default full method takes about 10.37 seconds per image versus 6.59 seconds for UniT, and it also requires extra diffusion passes, a VLM, OCR, and a reference restoration model. For camera-app or mobile scenarios, the paper should discuss latency, memory, batching, and lower-resource hardware more concretely.

Minor Weakness

  1. The supplement heading contains a typo: 'Broder Impacts' should be 'Broader Impacts'.
  2. There are minor naming issues such as 'SA-Text-Text' and 'Unit's TSM'.
  3. The phrase 'unprecedented text generation accuracy' is too strong given that absolute OCR-F1 remains modest.
Questions

See the weakness above.

Limitations

The authors acknowledge that they only evaluate English text. It is unclear whether OCR confidence calibration, VLM judgments, and SwinIR-based references will remain reliable for Chinese, Japanese, Arabic, handwriting, curved text, stylized signage, mixed-language scenes, or very low-resolution text.

Final justification

The authors have addressed my main concerns, so I am raising my score.

Formatting concerns

NA

5 comments
Authors · CommentOpenReview ↗

Response to Reviewer - Part 1

We thank the reviewer for the comments, including the practicality of our task and the plausibility of our algorithmic formulation. We use W# for weaknesses throughout.

[W1]: Incremental novelty relative to spatial CFG and test-time guidance.

We wish to highlight the novelty of our contributions from a few angles.

  1. Analysis
  • Our study in Sec. 3 is, to our knowledge, the first systematic analysis of diffusion-based text hallucination dynamics. It provides several findings that are novel to the literature, including the presence of hallucinations despite oracle text, the predictive power of OCR confidence for text correctness, and the resilience of high-confidence hallucinations. These novel results provide the motivation for our algorithmic changes.
  1. CW-CFG Novelty
  • While a variety of altered forms of CFG, including spatial weights and masking, have been considered in the literature, our formulation is novel in mechanism, not just application.
  • First, prior variants derive spatial weights from attention maps or binary region gating - no prior CFG conditions its weights on a measured reliability estimate of the conditioning content itself (here, OCR confidence).
  • Second, regarding the closest similar approaches: (a) Attention-derived S-CFG carries no reliability signal and targets text-to-image generation without an LR reference, which is orthogonal (combinable), not an alternative; indeed, their goal is equalizing guidance, whereas ours is to attain explicitly _un_equal weights. Further, utilizing internal attention weights is architecture-dependent, whereas our method is agnostic to the network instantiation and is thus more widely applicable. (b) STCFG is static and binary, while ours is continuous and per-instance. Importantly, our spatial signal weights are dynamic - they adapt to the current state of the generated image as it evolves, unlike methods relying on fixed external signals.
  • Finally, compared to baseline spatial guidance approaches, we empirically find that ours provides a 3-4 point improvement in OCR precision. Specifically, we benchmarked alternative spatial guidance policies in the full pipeline (each + V-TTG; OCR-P/R/F1) on SA-Text L2:
Method (+ V-TTG) OCR-P ↑\uparrow OCR-R ↑\uparrow OCR-F1 ↑\uparrow
STCFG-style 50.83 24.89 33.41
Two-Level CFG 49.65 25.39 33.59
CW-CFG (ours) 54.09 24.89 34.09
  • Altogether, CW-CFG is substantively different than existing spatial guidance approaches, both in terms of formulation and impact.
  1. V-TTG Novelty
  • Similarly to the point above, test-time ("classifier") guidance is a well-studied area in generative modelling. Most define a static energy (e.g., observation consistency), which is optimized throughout the process. However, our approach is not a trivial adaptation of an existing approach - it has several bespoke properties, specializing it to our situation.
  • First, to the best of our knowledge, we are the first to specifically propose the problem of identifying hallucinated text regions, as well as the first to utilize TTG in an effort to solve it.
  • Second, we provide a novel decoupled framing of the problem: (i) what needs to be corrected (i.e., the mask) and (ii) how to correct it (i.e., the loss function). For (i), we explored two methods, VLM-based and TSM-threshold-based, establishing the first strong baselines for this problem without using any training data. For (ii), we propose a masked MSE loss with a latent reference image, which empirically improves OCR precision significantly, with little to no degradation in recall or perceptual quality.
  • Importantly, this latter energy (ii) is specifically designed to prioritize faithful outputs, yet be applied only to hallucinated text regions, all while maintaining harmonization with the rest of the image. In other words, unlike the energies in other applications, ours is designed to change the image as little as possible, in as few places as possible - just enough to remove the hallucinations and no more - which we enforce explicitly. This is in contrast to existing work that, say, optimizes through semantic perception models to add certain entities to an image (e.g., Universal Guidance), as they tend to implicitly impact the whole image.
  • Similar to CFG, our approach is adaptive. Unlike straightforward measurement consistency energies, which are usually globally impactful and fixed over diffusion time, our method is spatio-temporally dynamic, changing based on the VLM decision. It also avoids differentiating through the VLM.
  • Overall, while we agree that V-TTG is mechanistically "a masked latent MSE guidance driven by a VLM decision", we would argue that our specific formulation is still a non-trivial design and is a novel contribution to our problem.

We will add an explicit "what is algorithmically new" paragraph to Sec. 2.

Authors · CommentOpenReview ↗

Response to Reviewer - Part 2

[W2]: VLM detector F1 0.61–0.71 is not reliable enough; quantify error impact on fidelity, background, trust.

We agree that the VLM detector is far from perfect. However, we find that it is still a highly impactful and useful component - in fact, we can show that the VLM is only a few points off from achieved with oracle labels. Further it is superior to the other obvious baseline, based on OCR confidence (as shown with our TSM-threshold experiments in Tab. 8b of the supplement).

First, notice that the two VLM error types manifest differently. Since V-TTG corrects toward a faithful non-generative reference (SwinIR), a false positive costs sharpness, not factuality (correct text becomes blurrier but remains content-faithful; see Supp. Fig. 9), whereas a false negative is a no-op (i.e., the SR output is simply kept the same). This asymmetry is why OCR-P rises 6–18 points despite imperfect detection. Further, background image quality is unaffected by judge accuracy, since corrections are masked to text polygons. In other words, the judge only determines which text regions are corrected (see Supp. D.6, which isolates this).

To quantify what the judge's imperfection costs on text, we compare against an oracle judge using GT distortion labels (Real-Text). More specifically, we first run the pipeline with V-TTG off and score its output, which tells us exactly which text regions come out wrong; a second run then guides precisely those regions. This isolates hallucinated text detection while holding the correction mechanism fixed.

V-TTG judge OCR-P OCR-R OCR-F1
VLM (Qwen3-VL-8B, ours) 72.75 47.01 57.11
Oracle (GT labels) 75.08 49.81 59.89

The above table shows that our VLM based judge achieves strong performance with only a small gap to the Oracle case. We also note hallucinated-text detection on intermediate diffusion outputs is itself a new problem — no training data, benchmark, or prior baseline exists. We thus report the first quantitative evaluation in Supp. Tab. 11. The oracle row quantifies what stronger detectors (including task-specific training, future work) could unlock. We will add this discussion to the revision.

[W3]: Deployment heavier than the motivation suggests.

We respectfully argue that our paper does not aim for a mobile ready solution. The introduction's mobile reference cites the field's trajectory [1,8] to motivate why text fidelity matters, not where our method runs; hence, all reported costs are on server-class hardware. We will state the intended setting explicitly in the revision, which are server-side, quality-critical applications such as document and receipt archival, accessibility services, and cloud photo pipelines where a ~3.8s overhead for factual text is acceptable. We therefore did not conduct a lower-resource hardware study, which is out of scope for this paper.

Importantly, however, we wish to emphasize that the VLM is not the dominant component in terms of computational cost. For the +3.78s overhead, only +0.35s is V-TTG at K=10, the remainder being CW-CFG's second branch (Supp. Tab. 6). That branch is the conditional/unconditional pair, which batches into a single forward pass in standard implementations. For settings where a VLM is unavailable, our supplementary already reports that a cheaper TSM-threshold-based approach achieves OCR-F1 of 55.90, compared to 57.11 for the VLM-based approach (see Tab. 8 in the supplement for more details).

We will present these explicitly as configuration options in the revision. For mobile specifically, HalluciText can also serve offline as a teacher generating hallucination-suppressed pseudo-GT for training lightweight on-device models on real-world low-quality inputs where GT images are unavailable, amortizing its cost over the training corpus. We will add the discussion in the paper.

[Minor]: All accepted with thanks: "Broader Impacts"; "SA-Text-Test"; "UniT's TSM"; "unprecedented text generation accuracy" → "state-of-the-art text recognition performance among restoration methods on these benchmarks."

[Limitations]: Extending our solution to other languages is an interesting future direction. As the ecosystem develops (e.g., detectors, datasets, benchmarks, VLMs, text-aware restorers), this should becomes easier - indeed, PaddleOCR and Qwen3-VL already support multiple languages. Regarding curved/stylized/handwritten text, this depends on the capabilities of the text localizer. In our dataset, we do see some examples of cursive text (Supp. Fig. 7) and stylized signage (Supp. Fig 10).

We are happy to answer any further questions.

Authors · CommentOpenReview ↗

Respond to Reviewer

Dear Reviewer QPdA,

Thanks for your time in reviewing our paper and your constructive comments. We have submitted point-by-point responses. We would appreciate it if you could let us know whether your concerns have been addressed, and we are happy to answer any further questions.

Best regards,

Authors of Paper #29374

Comments on the paper

2 comments
Area Chair jkCc · CommentOpenReview ↗

Dear reviewers,
As the discussion period is coming to an end soon, if you have not responded to the authors' latest rebuttal, please provide your response. Your response is very important for the final decision.
AC

Authors · CommentOpenReview ↗

Response Summary to Reviewers and Area Chairs

Dear Reviewers and Area Chairs,

We sincerely thank the Area Chair for the guidance in the meta-review, and all reviewers for their time and thoughtful feedback throughout the discussion. We are grateful that our responses have addressed the reviewers' concerns.

  • R-kNK7: confirmed all concerns were addressed and maintained an accept rating.
  • R-MW8o: confirmed satisfaction with the rebuttal and raised the score to 4.
  • R-QPdA: confirmed the main concerns were addressed and raised the score to 4.

All the concerns highlighted by the Area Chair have been addressed. We summarize the main additions below; all will be incorporated into the revision.

New experiments and analyses:

  • CW-CFG vs. other CFG variants: CW-CFG outperforms STCFG-style and Two-Level policies by 3-4 OCR-P points.
  • Robustness to external components: results of swapping the spotter, VLM judge, and reference model all stay above baseline.
  • Robustness of our gains: improvements over the baseline hold across text size, degradation level, and per-image spotter reliability.
  • Spotter comparison: intrinsic detection/recognition of each spotter on LR, intermediate, and clean inputs.
  • Metric decomposition: detection-only and end-to-end spotting on the final SR outputs, isolating localization from recognition.
  • Oracle judge comparison: our VLM judge is within ~3 OCR-F1 of a ground-truth-label oracle.
  • OCR-specialized VLMs: tested PaddleOCR-VL, clarifying each plug-in point's interface requirements.

Clarifications:

  • Deployment: the method targets server-side pipelines; the mobile reference motivates text fidelity, not on-device use.
  • Novelty: a more detailed discussion of what is algorithmically new in CW-CFG and V-TTG.
  • Metrics: our OCR-P/R/F1 uses the same TESTR evaluator as prior work and is directly comparable.
  • Related work: cited and differentiated HalluText.
  • Writing: corrected the minor typos and wording points noted by R-QPdA.

We thank the reviewers again for the feedback that has substantively strengthened the paper.

Best regards,

Authors of paper #29374

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…