"<!DOCTYPE html>\n<html lang=\"zh\" data-theme=\"light\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>fulltext.txt — Vercel Design System</title>\n<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n<link href=\"https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap\" rel=\"stylesheet\">\n<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css\">\n<style>\n\n:root {\n  /* Vercel Palette */\n  --geist-foreground: #171717;\n  --geist-background: #ffffff;\n  --geist-secondary: #4d4d4d;\n  --geist-tertiary: #666666;\n  --geist-quaternary: #808080;\n  --geist-border: #ebebeb;\n  --geist-surface-tint: #fafafa;\n  \n  /* Workflow Accents */\n  --develop-blue: #0a72ef;\n  --preview-pink: #de1d8d;\n  --ship-red: #ff5b4f;\n  \n  /* Interactive & Status */\n  --link-blue: #0072f5;\n  --ds-focus-color: hsla(212, 100%, 48%, 1);\n  --badge-blue-bg: #ebf5ff;\n  --badge-blue-text: #0068d6;\n  \n  /* Shadow-as-Border Philosophy */\n  --shadow-border: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;\n  --shadow-border-hover: rgba(0, 0, 0, 0.16) 0px 0px 0px 1px;\n  --shadow-card: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.04) 0px 2px 2px, #fafafa 0px 0px 0px 1px;\n  --shadow-card-hover: rgba(0, 0, 0, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.06) 0px 4px 6px, #fafafa 0px 0px 0px 1px;\n  --shadow-card-full: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.04) 0px 2px 2px, rgba(0, 0, 0, 0.04) 0px 8px 8px -8px, #fafafa 0px 0px 0px 1px;\n  --shadow-ring: rgb(235, 235, 235) 0px 0px 0px 1px;\n  \n  /* Radius Scale */\n  --radius-xs: 2px;\n  --radius-sm: 4px;\n  --radius-md: 6px;\n  --radius-lg: 8px;\n  --radius-xl: 12px;\n  --radius-pill: 9999px;\n}\n\n[data-theme=\"dark\"] {\n  --geist-foreground: #ededed;\n  --geist-background: #000000;\n  --geist-secondary: #a1a1a1;\n  --geist-tertiary: #888888;\n  --geist-quaternary: #666666;\n  --geist-border: #222222;\n  --geist-surface-tint: #0a0a0a;\n  \n  --shadow-border: rgba(255, 255, 255, 0.14) 0px 0px 0px 1px;\n  --shadow-border-hover: rgba(255, 255, 255, 0.28) 0px 0px 0px 1px;\n  --shadow-card: rgba(255, 255, 255, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.4) 0px 2px 4px, #111111 0px 0px 0px 1px;\n  --shadow-card-hover: rgba(255, 255, 255, 0.2) 0px 0px 0px 1px, rgba(0, 0, 0, 0.5) 0px 6px 12px, #111111 0px 0px 0px 1px;\n  --shadow-card-full: rgba(255, 255, 255, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.5) 0px 8px 16px -4px, #111111 0px 0px 0px 1px;\n  --shadow-ring: rgb(40, 40, 40) 0px 0px 0px 1px;\n  \n  --badge-blue-bg: rgba(10, 114, 239, 0.15);\n  --badge-blue-text: #70b5ff;\n}\n\n* { box-sizing: border-box; }\nhtml { scroll-behavior: smooth; }\nbody {\n  margin: 0;\n  font-family: \"Geist\", Arial, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif;\n  background-color: var(--geist-background);\n  color: var(--geist-foreground);\n  font-feature-settings: \"liga\" 1;\n  -webkit-font-smoothing: antialiased;\n  min-height: 100vh;\n}\n\na {\n  color: inherit;\n  text-decoration: none;\n  transition: color 0.15s ease;\n}\n\n/* 导航栏 (Vercel Clean Sticky Nav) */\n.vercel-nav {\n  position: sticky;\n  top: 0;\n  background-color: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  z-index: 100;\n  padding: 0 24px;\n  height: 64px;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n}\n.nav-brand {\n  display: flex;\n  align-items: center;\n  gap: 12px;\n}\n.vercel-triangle {\n  width: 22px;\n  height: 19px;\n  fill: var(--geist-foreground);\n}\n.nav-title {\n  font-size: 16px;\n  font-weight: 600;\n  letter-spacing: -0.32px;\n  color: var(--geist-foreground);\n}\n.nav-badge-pill {\n  font-family: \"Geist Mono\", ui-monospace, monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  background: var(--badge-blue-bg);\n  color: var(--badge-blue-text);\n  padding: 2px 8px;\n  border-radius: var(--radius-pill);\n}\n\n.nav-links {\n  display: flex;\n  align-items: center;\n  gap: 24px;\n}\n.nav-link {\n  font-size: 14px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  text-decoration: none;\n  transition: color 0.15s;\n}\n.nav-link:hover, .nav-link.active {\n  color: var(--geist-foreground);\n}\n.nav-link.active {\n  font-weight: 600;\n}\n\n.nav-actions {\n  display: flex;\n  align-items: center;\n  gap: 12px;\n}\n\n/* 按钮规范 */\n.btn-primary-dark {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border: none;\n  padding: 8px 16px;\n  border-radius: var(--radius-md);\n  font-size: 14px;\n  font-weight: 500;\n  cursor: pointer;\n  text-decoration: none;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  transition: opacity 0.15s;\n}\n.btn-primary-dark:hover {\n  opacity: 0.9;\n}\n.btn-secondary-white {\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  box-shadow: var(--shadow-border);\n  border: none;\n  padding: 8px 16px;\n  border-radius: var(--radius-md);\n  font-size: 14px;\n  font-weight: 500;\n  cursor: pointer;\n  text-decoration: none;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  transition: background 0.15s, box-shadow 0.15s;\n}\n.btn-secondary-white:hover {\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border-hover);\n}\n.theme-toggle-btn {\n  background: transparent;\n  border: none;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  width: 36px;\n  height: 36px;\n  cursor: pointer;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  color: var(--geist-foreground);\n}\n\n/* 核心容器 */\n.vercel-container {\n  max-width: 1200px;\n  margin: 0 auto;\n  padding: 56px 24px 100px;\n}\n\n/* Hero Section (Gallery Emptiness + Negative Letter-spacing) */\n.vercel-hero {\n  text-align: center;\n  max-width: 860px;\n  margin: 0 auto 56px;\n}\n.hero-stage-badge {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  padding: 4px 14px;\n  border-radius: var(--radius-pill);\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  margin-bottom: 24px;\n}\n.stage-dot {\n  width: 7px;\n  height: 7px;\n  border-radius: 50%;\n}\n.vercel-hero h1 {\n  font-size: 48px;\n  font-weight: 600;\n  line-height: 1.05;\n  letter-spacing: -2.4px;\n  color: var(--geist-foreground);\n  margin: 0 0 16px;\n}\n.vercel-hero p {\n  font-size: 20px;\n  font-weight: 400;\n  line-height: 1.80;\n  color: var(--geist-secondary);\n  margin: 0 auto 28px;\n}\n\n/* Workflow Pipeline (Develop -> Preview -> Ship) */\n.workflow-pipeline {\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  gap: 16px;\n  margin-bottom: 48px;\n}\n@media (max-width: 768px) {\n  .workflow-pipeline { grid-template-columns: 1fr; }\n}\n.workflow-step {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px 22px;\n  transition: box-shadow 0.2s;\n}\n.workflow-step:hover {\n  box-shadow: var(--shadow-card-hover);\n}\n.step-mono-label {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 12px;\n  font-weight: 500;\n  text-transform: uppercase;\n  letter-spacing: 0.5px;\n  margin-bottom: 8px;\n  display: flex;\n  align-items: center;\n  gap: 6px;\n}\n.step-title {\n  font-size: 20px;\n  font-weight: 600;\n  letter-spacing: -0.96px;\n  color: var(--geist-foreground);\n  margin-bottom: 6px;\n}\n.step-desc {\n  font-size: 14px;\n  color: var(--geist-secondary);\n  line-height: 1.5;\n}\n\n/* Metric Cards (Section 4 Spec) */\n.metric-grid {\n  display: grid;\n  grid-template-columns: repeat(4, 1fr);\n  gap: 16px;\n  margin-bottom: 48px;\n}\n@media (max-width: 900px) {\n  .metric-grid { grid-template-columns: repeat(2, 1fr); }\n}\n.metric-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n}\n.metric-number {\n  font-size: 40px;\n  font-weight: 600;\n  line-height: 1.0;\n  letter-spacing: -2.4px;\n  color: var(--geist-foreground);\n  margin-bottom: 8px;\n  font-feature-settings: \"tnum\" 1;\n}\n.metric-label {\n  font-size: 14px;\n  color: var(--geist-secondary);\n  line-height: 1.4;\n}\n\n/* VAD 专栏 Banner (Ship Red & Vercel Clean) */\n.vad-showcase {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-xl);\n  padding: 32px;\n  margin-bottom: 48px;\n  position: relative;\n}\n.vad-header-row {\n  display: flex;\n  align-items: baseline;\n  justify-content: space-between;\n  flex-wrap: wrap;\n  gap: 12px;\n  margin-bottom: 12px;\n}\n.vad-header-row h2 {\n  font-size: 32px;\n  font-weight: 600;\n  letter-spacing: -1.28px;\n  color: var(--geist-foreground);\n  margin: 0;\n}\n.vad-pillars-grid {\n  display: grid;\n  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));\n  gap: 14px;\n  margin-top: 24px;\n}\n.vad-pillar-item {\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  padding: 14px 16px;\n}\n.vad-pillar-title {\n  font-size: 14px;\n  font-weight: 600;\n  color: var(--ship-red);\n  margin-bottom: 4px;\n}\n.vad-pillar-text {\n  font-size: 13px;\n  color: var(--geist-secondary);\n  line-height: 1.5;\n}\n.vad-filter-bar {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  justify-content: space-between;\n  gap: 12px;\n  margin: 24px 0 16px;\n  padding: 12px 16px;\n  background: var(--geist-surface-tint);\n  border-radius: var(--radius-md);\n  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);\n}\n.vad-filter-btn {\n  font-family: 'Geist', sans-serif;\n  font-size: 13px;\n  font-weight: 500;\n  padding: 6px 14px;\n  border-radius: 9999px;\n  border: none;\n  background: transparent;\n  color: var(--geist-secondary);\n  cursor: pointer;\n  transition: all 0.15s ease;\n}\n.vad-filter-btn:hover {\n  color: var(--geist-foreground);\n  background: rgba(0,0,0,0.05);\n}\n.vad-filter-btn.active {\n  background: #171717;\n  color: #ffffff;\n}\n.vad-search-input {\n  font-family: 'Geist', sans-serif;\n  font-size: 13px;\n  padding: 7px 12px;\n  border-radius: 6px;\n  border: 1px solid var(--geist-border);\n  background: #ffffff;\n  color: var(--geist-foreground);\n  width: 280px;\n  outline: none;\n  transition: border-color 0.15s, box-shadow 0.15s;\n}\n.vad-search-input:focus {\n  border-color: #0a72ef;\n  box-shadow: 0 0 0 2px rgba(10, 114, 239, 0.2);\n}\n\n/* 控制栏：搜索、视图、筛选 */\n.control-bar {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 16px;\n  margin-bottom: 24px;\n  flex-wrap: wrap;\n}\n.search-input-wrap {\n  position: relative;\n  flex: 1;\n  max-width: 480px;\n}\n.search-input {\n  width: 100%;\n  height: 40px;\n  padding: 0 38px 0 14px;\n  font-family: \"Geist\", sans-serif;\n  font-size: 14px;\n  color: var(--geist-foreground);\n  background: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  border: none;\n  border-radius: var(--radius-md);\n  outline: none;\n  transition: box-shadow 0.15s;\n}\n.search-input:focus {\n  outline: 2px solid var(--ds-focus-color);\n  box-shadow: none;\n}\n.search-kbd {\n  position: absolute;\n  right: 12px;\n  top: 50%;\n  transform: translateY(-50%);\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  color: var(--geist-quaternary);\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  padding: 2px 6px;\n  border-radius: var(--radius-sm);\n}\n\n.view-switcher {\n  display: flex;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  background: var(--geist-background);\n  padding: 2px;\n}\n.view-btn {\n  background: transparent;\n  border: none;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-tertiary);\n  padding: 6px 12px;\n  border-radius: var(--radius-sm);\n  cursor: pointer;\n  transition: color 0.15s, background 0.15s;\n}\n.view-btn.active {\n  background: var(--geist-surface-tint);\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n/* 筛选芯片行 (Filter Pill Strip) */\n.filter-group-strip {\n  display: flex;\n  flex-direction: column;\n  gap: 12px;\n  margin-bottom: 28px;\n  padding: 16px 20px;\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-lg);\n}\n.filter-row {\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  flex-wrap: wrap;\n}\n.filter-label-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  color: var(--geist-quaternary);\n  min-width: 68px;\n}\n.pill-badge {\n  background: var(--geist-background);\n  color: var(--geist-secondary);\n  box-shadow: var(--shadow-border);\n  border: none;\n  padding: 3px 12px;\n  border-radius: var(--radius-pill);\n  font-size: 12px;\n  font-weight: 500;\n  cursor: pointer;\n  transition: all 0.15s;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n}\n.pill-badge:hover {\n  color: var(--geist-foreground);\n  box-shadow: var(--shadow-border-hover);\n}\n.pill-badge.active {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  font-weight: 600;\n  box-shadow: none;\n}\n.pill-badge.active-blue {\n  background: var(--develop-blue);\n  color: #ffffff;\n  box-shadow: none;\n}\n.pill-badge.active-red {\n  background: var(--ship-red);\n  color: #ffffff;\n  box-shadow: none;\n}\n\n/* Bento Grid Cards (Section 4 & 6 Spec) */\n.card-grid-bento {\n  display: grid;\n  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));\n  gap: 16px;\n}\n.vercel-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  transition: box-shadow 0.2s, transform 0.2s;\n  text-decoration: none;\n  color: inherit;\n  overflow: hidden;\n  min-width: 0;\n  word-break: break-word;\n}\n.vercel-card:hover {\n  box-shadow: var(--shadow-card-hover);\n  transform: translateY(-2px);\n}\n.card-top {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  margin-bottom: 12px;\n  gap: 8px;\n}\n.card-tag-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  color: var(--geist-quaternary);\n  letter-spacing: 0.5px;\n}\n.status-pill-badge {\n  padding: 2px 8px;\n  border-radius: var(--radius-pill);\n  font-size: 11px;\n  font-weight: 500;\n  flex-shrink: 0;\n}\n.pub-accepted { background: #ebfdf2; color: #027a48; }\n.pub-workshop { background: #eff8ff; color: #175cd3; }\n.pub-submitted { background: #fff8e6; color: #b54708; }\n.pub-preprint { background: #f2f4f7; color: #475467; }\n.pub-other { background: #f9f5ff; color: #6941c6; }\n\n[data-theme=\"dark\"] .pub-accepted { background: rgba(2, 122, 72, 0.2); color: #32d583; }\n[data-theme=\"dark\"] .pub-workshop { background: rgba(23, 92, 211, 0.2); color: #84caff; }\n[data-theme=\"dark\"] .pub-submitted { background: rgba(181, 71, 8, 0.2); color: #fec84b; }\n[data-theme=\"dark\"] .pub-preprint { background: rgba(71, 84, 103, 0.2); color: #98a2b3; }\n[data-theme=\"dark\"] .pub-other { background: rgba(105, 65, 198, 0.2); color: #d6bbfb; }\n\n/* 必读标杆徽章 (Vercel Amber Accent) */\n.milestone-badge {\n  display: inline-flex;\n  align-items: center;\n  gap: 3px;\n  padding: 2px 7px;\n  border-radius: var(--radius-pill);\n  font-size: 11px;\n  font-weight: 600;\n  white-space: nowrap;\n  flex-shrink: 0;\n  transition: all 0.15s ease;\n}\n.milestone-badge.ms-idea, .milestone-badge:not([class*=\"ms-\"]) {\n  color: #b54708;\n  background: #fff8e6;\n  border: 1px solid rgba(247, 144, 9, 0.35);\n  box-shadow: 0 1px 2px rgba(181, 71, 8, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-idea, [data-theme=\"dark\"] .milestone-badge:not([class*=\"ms-\"]) {\n  color: #fec84b;\n  background: rgba(181, 71, 8, 0.22);\n  border-color: rgba(254, 200, 75, 0.35);\n}\n.milestone-badge.ms-writing {\n  color: #6941c6;\n  background: #f9f5ff;\n  border: 1px solid rgba(105, 65, 198, 0.3);\n  box-shadow: 0 1px 2px rgba(105, 65, 198, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-writing {\n  color: #d6bbfb;\n  background: rgba(105, 65, 198, 0.22);\n  border-color: rgba(214, 187, 251, 0.35);\n}\n.milestone-badge.ms-value {\n  color: #027a48;\n  background: #ebfdf2;\n  border: 1px solid rgba(2, 122, 72, 0.3);\n  box-shadow: 0 1px 2px rgba(2, 122, 72, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-value {\n  color: #32d583;\n  background: rgba(2, 122, 72, 0.22);\n  border-color: rgba(50, 213, 131, 0.35);\n}\n\n/* 论文正文图表与插图卡片样式 (Geist Design) */\n.paper-figure, .article-body figure {\n  margin: 32px auto;\n  text-align: center;\n  max-width: 100%;\n}\n.paper-figure img, .article-body img {\n  max-width: 96%;\n  height: auto;\n  border-radius: var(--radius-md);\n  border: 1px solid var(--geist-border);\n  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);\n  background: #ffffff;\n  transition: transform 0.2s ease, box-shadow 0.2s ease;\n  display: block;\n  margin: 0 auto;\n}\n.paper-figure img:hover, .article-body img:hover {\n  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);\n}\n.paper-figure figcaption, .article-body figcaption {\n  font-size: 13px;\n  color: var(--geist-secondary);\n  margin-top: 10px;\n  line-height: 1.6;\n  font-style: italic;\n  max-width: 850px;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n/* VAD 视图切换器 View Switcher */\n.vad-view-switcher {\n  display: inline-flex;\n  padding: 3px;\n  background: var(--geist-secondary-bg);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  margin-bottom: 20px;\n  gap: 2px;\n}\n.view-switch-btn {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  padding: 6px 14px;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  border-radius: 6px;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.view-switch-btn:hover {\n  color: var(--geist-foreground);\n  background: rgba(0, 0, 0, 0.04);\n}\n[data-theme=\"dark\"] .view-switch-btn:hover {\n  background: rgba(255, 255, 255, 0.06);\n}\n.view-switch-btn.active {\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  font-weight: 600;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n/* 关系图谱 Graph View Styles */\n.graph-container {\n  position: relative;\n  width: 100%;\n  height: 720px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: var(--radius-lg);\n  overflow: hidden;\n  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);\n  margin-bottom: 40px;\n}\n.graph-toolbar {\n  position: absolute;\n  top: 14px;\n  left: 14px;\n  right: 14px;\n  z-index: 10;\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  padding: 8px 14px;\n  border-radius: 8px;\n  box-shadow: 0 4px 16px rgba(0,0,0,0.06);\n  flex-wrap: wrap;\n  gap: 8px;\n}\n.graph-tool-title {\n  font-size: 13px;\n  font-weight: 700;\n  display: flex;\n  align-items: center;\n  gap: 6px;\n  color: var(--geist-foreground);\n}\n.graph-filter-group {\n  display: flex;\n  gap: 6px;\n  align-items: center;\n  flex-wrap: wrap;\n}\n.graph-chip {\n  font-size: 11px;\n  padding: 3px 8px;\n  border-radius: 4px;\n  border: 1px solid var(--geist-border);\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  cursor: pointer;\n  transition: all 0.15s ease;\n}\n.graph-chip:hover { background: var(--geist-secondary-bg); }\n.graph-chip.active {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border-color: var(--geist-foreground);\n}\n.graph-search-input {\n  padding: 3px 8px;\n  font-size: 11px;\n  border-radius: 4px;\n  border: 1px solid var(--geist-border);\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  outline: none;\n  width: 150px;\n}\n#vad-graph-svg {\n  width: 100%;\n  height: 100%;\n  cursor: grab;\n}\n#vad-graph-svg:active { cursor: grabbing; }\n.graph-legend {\n  position: absolute;\n  bottom: 14px;\n  left: 14px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  padding: 10px 14px;\n  font-size: 11px;\n  box-shadow: 0 4px 16px rgba(0,0,0,0.06);\n  z-index: 10;\n  line-height: 1.6;\n  pointer-events: none;\n}\n.graph-legend-row { display: flex; align-items: center; gap: 8px; }\n.graph-legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }\n.graph-info-drawer {\n  position: absolute;\n  top: 66px;\n  right: 14px;\n  width: 310px;\n  max-height: 620px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  box-shadow: 0 8px 30px rgba(0,0,0,0.12);\n  z-index: 10;\n  padding: 16px;\n  overflow-y: auto;\n  display: none;\n  backdrop-filter: blur(10px);\n  transition: transform 0.2s ease, opacity 0.2s ease;\n}\n.graph-drawer-close {\n  position: absolute;\n  top: 10px;\n  right: 12px;\n  cursor: pointer;\n  font-size: 16px;\n  color: var(--geist-tertiary);\n}\n.graph-drawer-badge {\n  display: inline-block;\n  padding: 2px 6px;\n  border-radius: 4px;\n  font-size: 10px;\n  font-weight: 600;\n  margin-bottom: 6px;\n}\n.graph-drawer-title {\n  font-size: 13px;\n  font-weight: 700;\n  line-height: 1.4;\n  margin-bottom: 8px;\n  color: var(--geist-foreground);\n}\n.graph-drawer-meta {\n  font-size: 11px;\n  color: var(--geist-secondary);\n  margin-bottom: 12px;\n}\n.graph-drawer-core {\n  font-size: 12px;\n  line-height: 1.6;\n  color: var(--geist-foreground);\n  background: var(--geist-secondary-bg);\n  padding: 8px 10px;\n  border-radius: 6px;\n  margin-bottom: 12px;\n  border: 1px solid var(--geist-border);\n}\n.graph-drawer-link {\n  display: block;\n  text-align: center;\n  padding: 7px 12px;\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border-radius: 6px;\n  font-size: 12px;\n  font-weight: 600;\n  text-decoration: none;\n  transition: opacity 0.15s ease;\n  margin-bottom: 6px;\n}\n.graph-drawer-link:hover { opacity: 0.85; }\n.graph-drawer-pdf-link {\n  display: block;\n  text-align: center;\n  padding: 6px 12px;\n  background: var(--geist-secondary-bg);\n  color: var(--geist-foreground);\n  border: 1px solid var(--geist-border);\n  border-radius: 6px;\n  font-size: 11px;\n  font-weight: 500;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.graph-drawer-pdf-link:hover { background: var(--geist-border); }\n.node-circle {\n  cursor: pointer;\n  transition: r 0.2s, stroke-width 0.2s;\n}\n.node-label {\n  font-size: 10px;\n  font-weight: 600;\n  fill: var(--geist-foreground);\n  pointer-events: none;\n  text-shadow: 0 1px 2px var(--geist-background);\n}\n.link-line {\n  stroke: var(--geist-border);\n  stroke-opacity: 0.6;\n  stroke-width: 1.2;\n  transition: stroke 0.2s, stroke-width 0.2s, stroke-opacity 0.2s;\n}\n.link-label {\n  font-size: 9px;\n  fill: var(--geist-tertiary);\n  pointer-events: none;\n  text-anchor: middle;\n}\n\n/* 引用框与警示框 Alerts */\n.callout-alert {\n  margin: 20px 0;\n  padding: 14px 18px;\n  border-radius: var(--radius-md);\n  transition: all 0.15s ease;\n}\n.callout-important, .callout-idea {\n  border-left: 4px solid #b54708;\n  background: rgba(181, 71, 8, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(247, 144, 9, 0.3);\n}\n[data-theme=\"dark\"] .callout-important, [data-theme=\"dark\"] .callout-idea {\n  border-left-color: #fec84b;\n  background: rgba(181, 71, 8, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(254, 200, 75, 0.25);\n}\n.callout-writing {\n  border-left: 4px solid #6941c6;\n  background: rgba(105, 65, 198, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(105, 65, 198, 0.3);\n}\n[data-theme=\"dark\"] .callout-writing {\n  border-left-color: #d6bbfb;\n  background: rgba(105, 65, 198, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(214, 187, 251, 0.25);\n}\n.callout-value {\n  border-left: 4px solid #027a48;\n  background: rgba(2, 122, 72, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(2, 122, 72, 0.3);\n}\n[data-theme=\"dark\"] .callout-value {\n  border-left-color: #32d583;\n  background: rgba(2, 122, 72, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(50, 213, 131, 0.25);\n}\n\n.card-title {\n  font-size: 16.5px;\n  font-weight: 600;\n  line-height: 1.42;\n  letter-spacing: -0.4px;\n  color: var(--geist-foreground);\n  margin: 0 0 10px;\n  word-break: break-word;\n  overflow-wrap: anywhere;\n  hyphens: auto;\n}\n.card-title a {\n  color: var(--geist-foreground);\n  text-decoration: none;\n  display: inline;\n  transition: color 0.15s ease;\n}\n.card-title a:hover {\n  color: var(--develop-blue);\n  text-decoration: none;\n}\n.card-id-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-quaternary);\n  margin-right: 5px;\n}\n.card-meta-row {\n  display: flex;\n  gap: 6px;\n  flex-wrap: wrap;\n  margin-bottom: 12px;\n}\n.meta-token {\n  font-size: 12px;\n  color: var(--geist-tertiary);\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-ring);\n  padding: 2px 7px;\n  border-radius: var(--radius-sm);\n  white-space: nowrap;\n}\n.card-body-text {\n  font-size: 13.5px;\n  color: var(--geist-secondary);\n  line-height: 1.6;\n  margin-bottom: 16px;\n  flex-grow: 1;\n  word-break: break-word;\n  overflow-wrap: anywhere;\n}\n.card-body-text strong {\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n.card-footer {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  border-top: 1px solid var(--geist-border);\n  padding-top: 14px;\n}\n.card-link-action {\n  font-size: 13.5px;\n  font-weight: 500;\n  color: var(--link-blue);\n  display: inline-flex;\n  align-items: center;\n  gap: 4px;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.card-link-action:hover {\n  opacity: 0.85;\n  transform: translateX(2px);\n}\na.meta-token {\n  transition: all 0.15s ease;\n  cursor: pointer;\n  text-decoration: none;\n}\na.meta-token:hover {\n  background: var(--geist-selection);\n  color: var(--geist-foreground);\n  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);\n}\n\n/* 紧凑列表视图 (List View) */\n.card-list-view {\n  display: flex;\n  flex-direction: column;\n  gap: 8px;\n}\n.list-row-item {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-md);\n  padding: 12px 18px;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 16px;\n  transition: box-shadow 0.15s;\n}\n.list-row-item:hover {\n  box-shadow: var(--shadow-card-hover);\n}\n\n/* 阅读详情页 (Report Detail) */\n.reading-container {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr) 260px;\n  gap: 40px;\n  align-items: start;\n}\n@media (max-width: 960px) {\n  .reading-container { grid-template-columns: 1fr; }\n  .reading-sidebar { display: none; }\n}\n\n.report-header-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 28px 32px;\n  margin-bottom: 28px;\n}\n.crumb-bar {\n  font-size: 13px;\n  color: var(--geist-tertiary);\n  margin-bottom: 10px;\n}\n.report-title {\n  font-size: 32px;\n  font-weight: 600;\n  letter-spacing: -1.28px;\n  margin: 0 0 16px;\n  color: var(--geist-foreground);\n}\n.report-action-buttons {\n  display: flex;\n  align-items: center;\n  gap: 10px;\n  flex-wrap: wrap;\n  border-top: 1px solid var(--geist-border);\n  padding-top: 16px;\n  margin-top: 16px;\n}\n\n.article-body {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-lg);\n  padding: 36px 42px 80px;\n  font-size: 16px;\n  line-height: 1.75;\n  color: var(--geist-foreground);\n}\n.article-body h1, .article-body h2, .article-body h3 {\n  color: var(--geist-foreground);\n  scroll-margin-top: 80px;\n}\n.article-body h1 { font-size: 28px; font-weight: 600; letter-spacing: -1.28px; border-bottom: 1px solid var(--geist-border); padding-bottom: 8px; margin-top: 32px; }\n.article-body h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.96px; border-bottom: 1px solid var(--geist-border); padding-bottom: 6px; margin-top: 36px; }\n.article-body h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.32px; margin-top: 26px; }\n.article-body table {\n  width: 100%;\n  border-collapse: collapse;\n  margin: 24px 0;\n  font-size: 14px;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  overflow: hidden;\n}\n.article-body th, .article-body td {\n  padding: 10px 14px;\n  text-align: left;\n  border-bottom: 1px solid var(--geist-border);\n}\n.article-body th {\n  background: var(--geist-surface-tint);\n  font-weight: 600;\n  color: var(--geist-foreground);\n}\n.article-body blockquote {\n  border-left: 2px solid var(--geist-foreground);\n  margin: 20px 0;\n  padding: 8px 18px;\n  color: var(--geist-secondary);\n  font-style: normal;\n}\n.article-body code {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 13.5px;\n  box-shadow: var(--shadow-ring);\n  background: var(--geist-surface-tint);\n  padding: 2px 6px;\n  border-radius: var(--radius-sm);\n}\n.article-body pre {\n  position: relative;\n  background: #000000;\n  color: #ededed;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  padding: 18px;\n  margin: 24px 0;\n  overflow-x: auto;\n}\n.article-body pre code {\n  background: transparent;\n  box-shadow: none;\n  padding: 0;\n  color: inherit;\n  font-size: 13px;\n}\n.copy-code-btn {\n  position: absolute;\n  top: 8px;\n  right: 10px;\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  background: #171717;\n  color: #ffffff;\n  border: 1px solid #333333;\n  padding: 3px 8px;\n  border-radius: var(--radius-sm);\n  cursor: pointer;\n}\n\n/* 侧边大纲 (TOC) */\n.reading-sidebar {\n  position: sticky;\n  top: 80px;\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n  max-height: calc(100vh - 100px);\n  overflow-y: auto;\n}\n.sidebar-toc-title {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 12px;\n  font-weight: 500;\n  text-transform: uppercase;\n  letter-spacing: 0.5px;\n  color: var(--geist-quaternary);\n  margin-bottom: 12px;\n}\n.reading-sidebar ul {\n  list-style: none;\n  padding-left: 0;\n  margin: 0;\n  font-size: 13px;\n}\n.reading-sidebar li {\n  margin: 6px 0;\n}\n.reading-sidebar ul ul {\n  padding-left: 14px;\n}\n.reading-sidebar a {\n  color: var(--geist-secondary);\n  text-decoration: none;\n  transition: color 0.15s;\n}\n.reading-sidebar a:hover, .reading-sidebar a.active {\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n/* 后台管理 (/admin) */\n.admin-card-container {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-lg);\n  padding: 32px;\n  margin-bottom: 32px;\n}\n.form-row-2 {\n  display: grid;\n  grid-template-columns: 1fr 1fr;\n  gap: 16px;\n  margin-bottom: 16px;\n}\n@media (max-width: 600px) {\n  .form-row-2 { grid-template-columns: 1fr; }\n}\n.form-field {\n  display: flex;\n  flex-direction: column;\n  gap: 6px;\n  margin-bottom: 16px;\n}\n.form-field label {\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-foreground);\n}\n.form-field input, .form-field select, .form-field textarea {\n  font-family: \"Geist\", sans-serif;\n  font-size: 14px;\n  padding: 9px 12px;\n  background: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  border: none;\n  border-radius: var(--radius-md);\n  color: var(--geist-foreground);\n  outline: none;\n}\n.form-field input:focus, .form-field select:focus, .form-field textarea:focus {\n  outline: 2px solid var(--ds-focus-color);\n  box-shadow: none;\n}\n\n/* 语法高亮 (Console Blue / Purple / Pink) */\n.codehilite .k, .codehilite .kd, .codehilite .kn { color: #eb367f; font-weight: 500; }\n.codehilite .s, .codehilite .s1, .codehilite .s2 { color: #0070f3; }\n.codehilite .nf, .codehilite .na { color: #7928ca; font-weight: 500; }\n.codehilite .c, .codehilite .c1 { color: #666666; font-style: italic; }\n.codehilite .mi, .codehilite .mf { color: #ff5b4f; }\n\n</style>\n\n</head>\n<body>\n\n    <nav class=\"vercel-nav\">\n      <div class=\"nav-brand\">\n        <a href=\"/\" style=\"display:flex;align-items:center;gap:10px;text-decoration:none\">\n          <svg class=\"vercel-triangle\" viewBox=\"0 0 76 65\" fill=\"none\">\n            <path d=\"M37.5274 0L75.0548 65H0L37.5274 0Z\" fill=\"currentColor\"/>\n          </svg>\n          <span class=\"nav-title\">Agent Harness KB</span>\n        </a>\n        <span class=\"nav-badge-pill\">Geist 2.0</span>\n      </div>\n\n      <div class=\"nav-links\">\n        <a class=\"nav-link \" href=\"/\">全景总览</a>\n        <a class=\"nav-link \" href=\"/vad\" style=\"color:var(--ship-red)\">🎯 VAD 专栏 (144)</a>\n        <a class=\"nav-link\" href=\"https://m0rtzz.github.io/paper-notes/\" target=\"_blank\" rel=\"noopener\">顶会 669 篇 ↗</a>\n        <a class=\"nav-link\" href=\"/download/all\">整库打包</a>\n        \n      </div>\n\n      <div class=\"nav-actions\">\n        \n        <button class=\"theme-toggle-btn\" id=\"theme-toggle-btn\" onclick=\"toggleTheme()\" title=\"切换亮暗主题\">🌙</button>\n      </div>\n    </nav>\n    \n<main class=\"vercel-container\">\n\n        <div class=\"report-header-card\">\n          <div class=\"crumb-bar\"><a href=\"/\">Home</a> / <b>fulltext.txt</b></div>\n          <h1 class=\"report-title\">fulltext.txt</h1>\n          <div class=\"report-action-buttons\">\n            <a class=\"btn-primary-dark\" href=\"?dl=1\">Download Text</a>\n          </div>\n        </div>\n        <article class=\"article-body\"><pre><code>TextPecker: Rewarding Structural Anomaly Quantification\nfor Enhancing Visual Text Rendering\nHanshen Zhu1,∗ , Yuliang Liu1 , Xuecheng Wu2 , An-Lan Wang2 , Hao Feng2 ,\nDingkang Yang2 , Chao Feng2 , Can Huang2 , Jingqun Tang2,† , Xiang Bai1,B\n1\nHuazhong University of Science and Technology 2 ByteDance\n\narXiv:2602.20903v3 [cs.CV] 26 Feb 2026\n\n{zhs, ylliu, xbai}@hust.edu.cn, jingquntang@bytedance.com\nhttps://github.com/CIawevy/TextPecker\n\nAbstract\n\n（a) Blurry Text\n\nVisual Text Rendering (VTR) remains a critical challenge\nin text-to-image generation, where even advanced models\nfrequently produce text with structural anomalies such as\ndistortion, blurriness, and misalignment. However, we find\nthat leading MLLMs and specialist OCR models largely fail\nto perceive these structural anomalies, creating a critical\nbottleneck for both VTR evaluation and RL-based optimization. As a result, even state-of-the-art generators (e.g., Seedream4.0, Qwen-Image) still struggle to render structurally\nfaithful text. To address this, we propose TextPecker, a\nplug-and-play structural anomaly perceptive RL strategy\nthat mitigates noisy reward signals and works with any textto-image generator. To enable this capability, we construct a\nrecognition dataset with character-level structural-anomaly\nannotations and develop a stroke-editing synthesis engine\nto expand structural-error coverage. Experiments show that\nTextPecker consistently improves diverse text-to-image models; even on the well-optimized Qwen-Image, it significantly\nyields average gains of 4% in structural fidelity and 8.7% in\nsemantic alignment for Chinese text rendering, establishing\na new state-of-the-art in high-fidelity VTR. Our work fills a\ngap in VTR optimization, providing a foundational step towards reliable and structural faithful visual text generation.\n\nOCR Models PPOCRv5: Daily Spuials E J Hot\nMonkeyOCR: Daily Peanut Fruit Bread\nCoconut Tomato Specials Quark Raisin\nSpecial Tea Hot and Fresh\n\nMLLMs\n\n(c) Distorted Text\n\nOCR Models PPOCRv5: … FARMERS ancaiach 01% ofe Strackeraalley Cramie fresh WTH\nTnarebones wha Iklahly OU Organic ARBUJGE As Maurta DESAFHS Hoto\nMUKLNELE MLL\nMonkeyOCR: … FARMERS! Cramie with whu ARBUJGE ORGANIC AS HOTEL\nAnccatnch 01% of B Strawberally Fresh Trarctbones Inklanly Oli y Haurla\n\nQwen3-VL: Hot And Fresh Daily Specials\nGPT-5: Hot And Fresh Daily Specials\nMLLMs\n\nMissing &amp; Misrecognition\n\n(b) Incomplete Text\n\nOCR Models\n\nQwen3-VL: … FARMERS! Cramie WITH wha ARBULGE DESADNIXEONS\nWORLDERE MILI Organic As Hota ancatirch 01% of Striarkernallle fresh\nTrarcbones Inklahty OVI ay Maurta\nGPT-5: … Farmers! Cramie WITH wha ARBUJGE DESANDDFS WOKLDEE\nMU Organic As Hotobe Acacitich 01% of Strackeralille fresh Trarbones\nInklahly Oliv by Maurhal\n\nOCR Models\nPPOCRv5: 赛⻋机 本⽥⻋藏赛⼀级⻔品 运动 银河之旅\n\nPPOCRv5: MECHANILAL AGL\n\nMonkeyOCR: 汽⻋制造运动 本⽥⻋聚会⼀家店 银河之旅\n\nMonkeyOCR: MECHANICAL AGE\nMLLMs\n\nQwen3-VL: MECHANICAL AGE\nGPT-5: MECHANICAL AGE\n\nHallucinations &amp; Fabrications\n\nMLLMs\n\nQwen3-VL: 赛⻋运动 本⽥⻋改装⼀站式 银河之旅\nGPT-5: 爱⻋到 本⽥⻋系⼀站式服务区 运动 银河之旅\n\nOverlooking Structural Anomalies\n\nFigure 1. Existing OCR models and MLLMs struggle to perceive\nfine-grained structural anomalies in rendered text images, creating a\nkey bottleneck for both VTR evaluation and RL-based optimization.\nMisrecognized characters are highlighted in RED.\n\nof specialized image generators (e.g., Flux-series [28]) and\nunified generative models (e.g., GPT-4o [39], BAGEL [12])\nstill struggle with VTR tasks, producing visual text with\ndistortion, blurriness, misalignment, or missing characters\n[65]. Prior works [9, 18, 20, 55] mitigate these issues with\nreinforcement learning (RL): the generated text is first recognized through OCR models [15, 53] or Multimodal Large\nLanguage Models (MLLMs) [1, 60, 69], then rule-based\nscores (e.g., edit distance to the prompt) are computed and\nused as rewards. To evaluate text rendering performance, existing metrics [6, 14, 20] follow an analogous paradigm. This\nprevailing paradigm, however, rests on a flawed premise.\nWe identify a critical bottleneck shared by both VTR\nevaluation and reinforcement learning process: a lack of\nfine-grained structural anomaly perception in rendered\n\n1. Introduction\nText-to-image generation has witnessed remarkable progress\nin producing photorealistic and detail-rich results [2, 10,\n41, 44]. With these advancements, Visual Text Rendering\n(VTR), the task of generating legible and semantically consistent text within images, has emerged as a challenging\nand evolving frontier [3, 55, 65]. However, the recent surge\n∗ Part of this work was done during Hanshen Zhu’s internship at\nByteDance. † Project leader. B Corresponding author.\n\n1\n\n\ftext. As illustrated in Fig. 1, OCR models [15, 53] and\nMLLMs [1, 40] are inherently ill-suited for this task. Their\nfailures manifest in two primary ways: (1) Misinterpretation: They over-rely on linguistic priors to “correct” or hallucinate semantic content from structurally flawed text, thereby\nignoring subtle glyph-level defects (e.g., stroke deletions,\nmisalignments, or spurious attachments). (2) Invisibility:\nThey often fail to detect or simply dismiss low-confidence\ntext regions, such as those with significant blurriness or distortion, treating them as non-existent.\nTherefore, evaluators yield unreliable text-accuracy estimates and fail to assess structural quality, and reward signals\nbecome misleading. As a direct result, even state-of-the-art\ngenerators (e.g., Qwen-Image [55], Seedream4.0 [3]) still\nstruggle to render structurally faithful text. Our quantitative\nanalysis in Tab. 2 further substantiates this issue.\nBuilding on these insights, we propose TextPecker, a\nplug-and-play structural anomaly perceptive RL strategy for\nvisual text rendering. At its core, TextPecker replaces noisy\nOCR-based rewards with a perception-guided composite reward that jointly captures semantic alignment and structural\nfidelity. Its structural term is sensitive to fine-grained glyph\ndeformation and distortion, assigning reliable penalties to\nsubtle defects that deceive structure-blind OCR and destabilize policy learning. This yields stable credit assignment\nand seamlessly integrates into any text-to-image generator\nwithout architectural changes. To construct this reward, we\naddress the scarcity of fine-grained structural annotations\nby building a hybrid dataset that couples two complementary sources: (1) images with authentic generative artifacts\nfrom various text-to-image models, meticulously annotated\nat the character-level, and (2) synthetic data from our strokeediting engine, crafted to expand error diversity while including normal characters for robust recognition.\nExtensive experimental results demonstrate that our introduced TextPecker delivers consistent and significant improvements across diverse generators, including FLUX [28],\nSD3.5 [16], and Qwen-Image [55]. Remarkably, For FLUX,\nour method yields dramatic gains over its base version (e.g.\n+38.3% Sem. and +31.6% Qua.) while also substantially\noutperforming the OCR-reward baseline. This advancement\nbecomes even more pronounced on the highly-optimized\nQwen-Image. In the challenging domain of Chinese text\nrendering, our approach achieves gains of 8.7% in semantic\nalignment and 4% in structural fidelity, establishing a new\nstate-of-the-art in high-fidelity VTR.\n\n• We construct a large-scale dataset with character-level\nstructural anomaly annotations, addressing the data\nscarcity and enabling fine-grained structural perception for\nreward modeling.\n• Our method consistently improves leading generators and\nsets a new state-of-the-art in VTR, with notable gains even\non the highly optimized Qwen-Image.\n\n2. Related Work\n2.1. Visual Text Rendering\nText images are unique and crucial information media in\nmodern digital society. Mainstream text rendering methods\nbroadly fall into two categories. The first focuses on specialized modules to incorporate additional constraints, such\nas glyph information [38, 48, 61, 64] for text morphology\ncontrol, or layout guidelines [7, 19, 52, 63] for precise text\nplacement. The second focuses on improving text encoder\ndesigns. A prevailing explanation for the text rendering’s\ndifficulty is that the text information often degrades or is\ninadequately preserved during encoding. To mitigate this,\nsubsequent works [8, 36, 67] introduce special tokens for\nthe rendered text or adopt tokenizer-free encoders like ByT5\n[59]. With recent advances in generative models, specialized\ngenerators [3, 16, 28, 55] and unified genertative models\n[12, 32, 56] already exhibit substantial text rendering capabilities without relying on ad-hoc designs such as glyph\nconditions. Despite these improvements, they still struggle\nwith text rendering tasks, producing visual text with distortion, blurriness, misalignment, or missing characters [65].\n\n2.2. Evaluations for VTR\nThe assessment of VTR has predominantly centered on textual accuracy [6, 14, 20, 49]. A key challenge, particularly\nin non-glyph-conditioned generation, is the potential order\nmismatch between generated and target text. To address this,\nLex-Art[66] proposed Pairwise Normalized Edit Distance\n(PNED), which combines Hungarian matching [26, 37] with\na penalty for unmatched words. TIIF-Bench added global\nnormalization to yield GNED[54], reducing sensitivity to\ntext-length imbalance. Fang et al. [17] directly use Qwen2.5VL [1] as end-to-end VTR evaluators, yet it suffers from\nhallucination and inaccuracies. Notably, recent works have\nalso recognized the importance of structural quality of text.\nFont-Agent [29] presents a stroke-aware font quality assessor, yet it is limited to single-character evaluations. He et al.\n[24] addresses OCR hallucinations in degraded documents,\nbut is confined to document analysis domain.\nReward models are crucial for aligning generative models\nwith human preferences during post-training optimization.\nNumerous efforts have largely improved reward models for\ngeneral visual quality assessment [51, 57, 58]. Unlike subjective protocols such as aesthetic or quality, existing VTR\n\nWe summarize our contributions as follows:\n• We identify a critical bottleneck in VTR: the lack of finegrained structural perception in current OCR-based evaluators, which hinders effective VTR optimization.\n• We propose TextPecker, a plug-and-play structural\nanomaly perceptive RL strategy that seamlessly integrates\ninto any text-to-image generators.\n2\n\n\f'Free Parking for 2 Hours',\na construction barrier\nlabeled 'Work in Progress:\nSorry for the\nInconvenience', and a taxi\nwith 'Arriving Soon to Your\nLocation.\n\nPolicy Model\n\nO1\n\n…\n\nO2\n\nOG\n\nℒ!\"\nO1\n\nUser\n\nO2\n\n…\n\nOG\n\nReference\nModel\n\nQuery: This is a text-generated\nimage. Please recognize all visible\ntext in the entire image. Marking\nrules: 1. Use &lt;#&gt; for structurally\nflawed (e.g., extra/missing strokes,\ndistortion) unrecognizable Chinese\ncharacters or single English\nletters; 2. Use &lt;###&gt; exclusively\nfor structurally flawed\nunrecognizable single English\nwords (not multi-word phrases,\nlines, or sentences). Output in the\nfollowing JSON format:\n{\"recognized_text\": \"All text in\nthe image (including structural\nerror markers)\"}\n\nRecognize text\n\nText Extraction\n\nPrompt: On a street corner,\na signpost showing 'Main\nStreet to Downtown', a\nbillboard reading 'Grand\nOpening: New Bakery 10\nAM', a parking lot sign with\n\nMain Street Downtown\nParking lo &lt;#&gt;&lt;#&gt;in Grand\nOpening · New Bakery for 2\nHours Fr&lt;#&gt;e Eagliis Work\nin Progress Work Dc i&lt;#&gt;k\nIne Incouc&lt;#&gt;lorantions\nSorry is &lt;#&gt;&lt;#&gt;ccalirmence\nTax.&lt;#&gt; A Jredhact Soo&lt;#&gt;\nTo Yow Location\nQuality score: 0.75\nSemantic score: 0.62\n\nGroup Relative Policy Optimization\n\nℒ#$%&amp;'()*+\nAdvantages\n𝐴-%\n\n𝐴- $\n\n...\n\n𝐴- \"\n\nGroup Computation\n\n𝑅#%\n\n𝑅!%\n\n𝑅#$\n\n𝑅!$\n\n...\n\n𝑅#\"\n\n𝑅!\"\n\nFigure 2. Schematic illustration of the TextPecker framework. Given a generative prompt, we first sample G candidate outputs {oi }G\ni=1\nfrom the reference policy model πθref . Each oi is sent to a structure-aware recognizer to extract fine-grained generated text, with markers\nindicating structurally anomalous text. We then compute the joint reward Ri , comprising a weighted sum of semantic alignment and\nstructural quality scores (Sec. 3.2.1). Each Ri is normalized to a group relative advantage Ai . Finally, we optimize the current policy model\nπθ by maximizing Ai while enforcing proximity to πref via KL divergence.\n\nNe is the edit distance between the target string and the OCRextracted content. As discussed earlier (cf. Fig. 1), existing\nOCR Models [15, 53] and MLLMs [1] prioritize semantic\nrecovery over glyph integrity, hallucinating corrections for\nstructurally flawed text and omitting low-confidence distorted regions. Such behaviors depress the edit distance Ne\nand inflate the reward score S, resulting in biased rewards\nthat hinder effective optimization.\n\nreward modeling [9, 18, 20, 21] has primarily focused on\ntextual accuracy, which is typically assessed by de facto evaluators such as standard OCR models [15, 53] or MLLMs\nlike Qwen2.5-VL [1].\nHowever, these methods for both evaluation and reward\nmodeling are fundamentally constrained by their inability to\nperceive fine-grained structural anomalies, leading to unreliable accuracy estimates and misleading rewards. In response,\nTextPecker’s fine-grained, perception-guided composite reward moves beyond the noisy signals of OCR-based methods,\nenabling the joint quantification of semantic accuracy and\nstructural fidelity.\n\n3.2. TextPecker\nAs shown in Fig. 2, we introduce TextPecker, a plug-andplay RL strategy for enhancing VTR with fine-grained structural perception. Unlike conventional methods that rely on\nnoisy OCR signals and overlook structural flaws, TextPecker\nredefines reward modeling by jointly optimizing semantic\nalignment and structural fidelity. Integrating this perceptionguided composite reward into the RL loop yields consistent\ngains across diverse generators.\n\n3. Methodology\n3.1. Preliminaries\nReinforcement learning (RL) is a common and effective\nparadigm for improving text rendering in text-to-image models [3, 28, 55], with widely adopted variants such as DPO\n[42] and GRPO [22]. We focus on GRPO, a critic-free\non-policy method that stabilizes policy optimization via\ngroup-wise relative advantages and intra-group reward normalization. However, due to the deterministic nature of flowmatching [33, 35] models, they are not intrinsically designed\nfor reinforcement learning. Flow-GRPO [34] extends GRPO\nto the rectified-flow setting by injecting stochasticity into the\nintegration process. Specifically, it converts the deterministic\ndynamics into a stochastic differential equation:\ndxt =\n\n\u0012\n\u0013\nσ2\nvt + t (xt + (1 − t)vt ) dt + σt dwt ,\n2t\n\n3.2.1. Structure-aware Reward Functions\nTo address the structural blindness and overconfident scoring of prior OCR-based methods, our reward formulation is\nbuilt upon a structure-aware assessment module. As illustrated in Fig. 2, this module identifies fine-grained structural\nanomalies in the generated text (e.g., missing or spurious\nstrokes) and flags them with special markers. The detailed\nconstruction of this module is presented in Sec. 3.2.2. Assuming we have such a module, we formulate our composite\nreward as follows.\n\n(1)\nStructural Quality Score (SQ ). An intuitive way to quantify structural quality is to measure the proportion of “bad”\ncharacters. We define the structural quality score, SQ , based\non the ratio of structurally anomalous characters to the total\nnumber of characters. However, for powerful generators,\nstructural errors are often rare but visually jarring when they\ndo occur. To amplify the penalty for such infrequent yet\ncritical failures, we introduce a scaling factor ω &gt; 1. The\n\nwhere vt = vθ (xt , t, c) is the network-predicted\nvelocity,\nq\n\nt\ndwt denotes Brownian motion, and σt = a 1−t\ncontrols\nthe magnitude of stochasticity.\nFor VTR Optimization, prior works [9, 18, 20, 34] predominantly leverage a string-level accuracy reward: S =\n1 − Ne /Nt , where Nt denotes the length of target string and\n\n3\n\n\f1. Text-rich Image Generation\n\nfinal score is thus formulated as:\n\u0001\nNa\nSQ = clip 1 − ω N\n, 0, 1 ,\nP\n\nLeX-10K\n\nwhere NP is the total number of characters in the generated\ntext P, and Na is the number of characters flagged as anomalous by our assessor. Here, clip constrains the value to the\nrange [0, 1].\n\nWanJuan1.0\n\nv\n\nGenerative Models\n\nOCR Model\n\nHuman\nAnnotation\n\nGenerated\nChinese\nImages\n\nStroke Representations\nDeletion\nSwapping\nInsertion\nv\nRendering Engine\n\nFine-grained\nAnnotations for\nStructural Anomalies\n\nSynthetic Text-rich\nImages\n\n2. Structural Anomalies Annotation\n\n3. Synthetic Data Argumentation\n\nFigure 3. The illustration of proposed data construction pipeline.\n\n[60] to generate descriptions of various font styles, which are\nintegrated with the corpus to form final prompts for models\nincluding Cogview4 [13], Kolors [27], Seedream3.0 [18],\nand Qwen-Image [55].\nStep 2: Structural Anomaly Annotation. Generated textrich images exhibit diverse structural anomalies. We define\nsuch anomalies as any structural distortion impairing semantic recognition, caused by blurring, warping, missing\nstrokes, or redundant artifacts. To streamline annotation,\nwe first leverage OCR models [15] to obtain preliminary\nrecognition results. Annotators then identify and rectify\nfine-grained character-level structural flaws with a special\nmarker (as illustrated in Fig. 2). For words with severe\nstructural adhesion that prevents accurate character counting,\nwe use a distinct placeholder, yielding a dataset with refined\nfine-grained labels for structural anomalies.\n\nComposite Reward (R). Finally, we formulate the overall\nTextPecker reward R as a weighted sum of the two scores,\nallowing for a joint optimization of both aspects:\nwE + wQ = 1.\n\nQwen3\n\nGenerative Models\n\nImages\n\nSemantic Alignment Score (SE ). Unlike prior OCRbased rewards that treat text as a simple long string, we\nargue that word-level matching is crucial for accurately assessing text that may not be rendered in the same order as\nthe prompt. Inspired by [54, 66], we also find it necessary\nto penalize any unmatched words, which typically include\nextraneous or repeated texts in the generated output, as well\nas missing textual content from the target prompt. Therefore,\nwe formulate our semantic alignment score as:\nP\n(ti ,pj )∈M NED(ti , pj ) + Penalty(T , P, M)\n.\nSE = 1 −\nmax(|T |, |P|)\n(3)\nHere, T and P are the sets of words in the target and generated text, respectively. M represents the optimal word pairing between T and P, found via the Hungarian algorithm to\nachieve the minimum alignment cost based on Normalized\nEdit Distance (NED). The Penalty(·) term is the count of any\nunmatched words. This ensures that both superfluous generated words and missing target words contribute to the overall\nerror. The final score SE is also clipped to the range of [0, 1],\nwhere a higher value indicates better semantic alignment.\n\nR = wE SE + wQ SQ ,\n\nGenerated\nEnglish\nImages\n\nTextAtlas5M\n\n(2)\n\n(4)\n\nStep 3: Synthetic Data Augmentation. While Step 2’s\nannotations capture common structural anomalies, models\ntrained solely on them exhibit two key limitations: poor generalization to unseen anomalies and degraded recognition\nof Chinese characters (Tab. 4). This stems from the intrinsic complexity of Chinese: unlike the linear morphology of\nEnglish, Chinese characters have a 2D spatial composition\nand a vast inventory of over 8,000, causing a combinatorial\nexplosion of structural anomalies beyond what exhaustive\nannotation can cover. To overcome this, we introduce a\nsynthesis-based augmentation that programmatically generates diverse erroneous and canonical Chinese characters.\nWe start by representing Chinese characters as compositions of fundamental strokes, modeled as ordered sequences\nusing stroke order data from public resources. To streamline\nmanipulation, we uniformly sample points along each stroke\nto enable manipulation. With stroke sequences and their\npoint representations, we define three stroke-level structural\n\n3.2.2. Structural Perceptive Data Construction\nOur structure-aware reward relies on a robust assessor for\nfine-grained structural anomalies, but the requisite labeled\ndata is critically scarce. To construct a large-scale, highquality dataset, we proceed in three steps (Fig. 3):\nStep 1: Text-rich Image Generation. The initial step involves constructing a large-scale dataset of text-rich visual\nimages, covering diverse structural error types. Specifically,\nfor English text generation, we draw prompts from TextAtlas5M [49] and Lex-10k [66], and leverage multiple Englishcapable generative models (Anytext, Stable Diffusion v1-5\n[43], Stable Diffusion 3.5 [16], Flux [28], Seedream3.0 [18],\nQwen-Image [55]) to generate such images. For Chinese\ntext generation, we first sample a comprehensive text corpus\nfrom WanJuan1.0 [23], ensuring coverage of modern Chinese common characters We then use Qwen3-235B-A22B\n4\n\n\finterval [δ × Na′ , Na′ /δ], where δ is a tolerance hyperparameter set to 0.7, with such interval-matched cases used\nto compute Precision, Recall, and F1-scores. For CTR, we\nreport two metrics: Recall and NED for fine-grained assesment. Evaluations are conducted on the test set proposed in\nSec. 3.2.2.\nFor Text Rendering tasks, we first evaluate models on\nthree established benchmarks: OneIG-Bench [6], CVTG2K [14], and LongText-Bench [20]. We identified that their\nreliance on structurally-unaware OCR Models [1, 15] can\nyield unreliable metrics, a critical limitation shared by a\nbroader range of prominent benchmarks [49, 54, 66]. To\naddress this, we first re-evaluate these benchmarks using\nTextPecker, reporting both semantic alignment scores and\nstructural quality scores (defined in Sec. 3.2.1 with ω = 1 for\nevaluation). To streamline this re-evaluation with TextPecker\nand leverage the strengths of existing benchmarks, we integrate English and Chinese prompts curated from these\ndatasets [6, 14, 20, 49, 55, 66], referred to as GenTextEval\nfor brevity. Given the scarcity of Chinese-rendering benchmarks [6, 20, 55], we supplement this integrated set with\nChinese prompts constructed in Sec. 3.2.2, resulting in a total of 314 English prompts and 417 Chinese prompts. More\ndetails are provided in the Appendix.\n\nTable 1. Statistics of our constructed text-rich image recognition\ndataset with structural-anomaly labels at box and image levels.\nProportions are computed over all instances.\nData Type\n\nLevel\n\nSamples\n\nProportion\n\nManual Annotations\n\nBox\nImage\n\n559.6K\n131.1K\n\n39.32%\n9.21%\n\nSynthetic Anomaly Text\n\nBox\nImage\n\n452.5K\n100.0K\n\n31.80%\n7.03%\n\nSynthetic Normal Text\n\nBox\nImage\n\n150.0K\n30.0K\n\n10.54%\n2.10%\n\nTotal\n\n–\n\n1.4M\n\n100%\n\nedit operators. We apply them sequentially and compose\nthem to produce diverse structural anomalies. (1) Stroke\nDeletion: removes a controlled subset of strokes. (2) Stroke\nSwapping: exchanges the locations of disjoint stroke pairs\nby aligning centroids. (3) Stroke Insertion: adds strokes\nsampled from other characters. These operators generate\nstructurally anomalous characters, we then build a rendering engine on top of SynthTIGER [62] and use it to place\nstructurally anomalous and canonical text onto diverse backgrounds and layouts, producing text-rich images. We merge\nthe annotated and synthetic data to form the final training and\ntest splits, with dataset statistics and visualized distributions\nshown in Tab. 1.\n\nBaselines. We compare TextPecker against both specialist\nOCR models and general MLLMs. The former includes\nPPOCRv5 [15], GOT-OCR-2.0 [53], MonkeyOCR [31]. For\nthe latter, we benchmark against leading proprietary models\nsuch as GPT-5 [40], Gemini-2.5-Pro [11], and Doubao-Seed\n-1.6 [4, 5], as well as strong open-source alternatives like\nQwen3-VL [60] and InternVL3[69].\n\n4. Experiments\n4.1. Experimental settings\nAdditional implementation details of our method, Baselines,\ndataset, and metrics are provided in the Appendix.\n\n4.2. Main Results\n\nImplementation Details. We adopt Qwen3-VL-8B [60] and\nInternVL3-8B [69] as the base architecture for TextPecker,\nleveraging their strong general recognition performance, robust cross-modal alignment, and native support for boundary\nbox input. Fully supervised fine-tuning uses a batch size of\n2, gradient accumulation steps of 32, learning rate of 5e-6,\nwarm-up ratio of 0.05, and runs for 2 epochs. For VTR optimization, we employ Flow-GRPO [34] and validate on three\npopular models: SD3.5-M [16], Flux.1[dev] [28], and QwenImage [55]. We set ω = 5 and wE = wQ = 0.5 and adopt\nthe Qwen3-VL-based variant for reward function. Following\nFlow-GRPO [34], other hyperparameters vary across models\nbut are consistent within each; full details are provided in\nthe Appendix. Both the recognizer training and VTR optimization experiments are conducted on 32 NVIDIA H20\nGPUs.\n\nAdditional results on evaluator generalization, RL baselines,\nmulti-reward and ablations are presented in the appendix.\n4.2.1. Quantitative Results\nTSAP and CTR. As illustrated in Tab. 2, our quantitative\nanalysis reveals significant limitations in existing models\nand highlights the superiority of TextPecker.\nFirst, we observe a near-total failure of both leading\nMLLMs and specialist OCR models on the Text Structural\nAnomaly Perception (TSAP) task. While a few MLLMs like\nDoubao-Seed-1.6 [4], GPT-5 [40], and InternVL3 [69] show\na nascent ability for structural anomaly perception, their performance remains rudimentary. This failure stems from a\ncore mismatch in task nature: (1) these models are trained\nfor generalized text recognition, which prioritizes robust semantic extraction over structural authenticity; for instance,\nwhen facing text partially visible due to occlusion, they are\nencouraged to predict the complete semantics corresponding\nto their expected full structure rather than verify structural fidelity (Fig. 1). Moreover, generated text frequently contains\n\nMetrics and Datasets. We design two tasks, Text Structural\nAnomaly Perception (TSAP) and Canonical Text Recognition (CTR), to evaluate models’ fine-grained recognition ability under generated text images. TSAP measures whether\nthe predicted anomalous character count Na lies within the\n5\n\n\fTable 2. Results of Text Structural Anomaly Perception (TSAP) and Canonical Text Recognition (CTR): measuring model’s recognition\nability under generated text images and TSAP-demanding prompts. Box-level results of non-supporting models are marked as ”-”.\nTSAP\nMethods\n\nCTR\n\nImage-level\n\nBox-level\n\nImage-level\n\nBox-level\n\nP\n\nR\n\nF1\n\nP\n\nR\n\nF1\n\nR\n\nNED\n\nR\n\nNED\n\nPP-OCRv5 [15]\nGOT-OCR-2.0 [53]\nMonkeyOCR [31]\nGemini-2.5-pro [11]\nDoubao-Seed-1.6 [4]\nDoubao-Seed-1.6-think [5]\nGPT-5 [40]\nQwen3-VL-8B [60]\nInternVL3-8B [69]\n\n0.000\n0.000\n0.000\n0.179\n0.157\n0.259\n0.196\n0.286\n0.206\n\n0.000\n0.000\n0.000\n0.076\n0.167\n0.183\n0.150\n0.017\n0.165\n\n0.000\n0.000\n0.000\n0.107\n0.162\n0.214\n0.170\n0.032\n0.183\n\n0.342\n0.333\n0.280\n0.419\n0.500\n0.218\n\n0.179\n0.180\n0.095\n0.193\n0.018\n0.443\n\n0.235\n0.234\n0.141\n0.265\n0.034\n0.293\n\n0.720\n0.610\n0.578\n0.415\n0.714\n0.736\n0.556\n0.807\n0.759\n\n0.137\n0.186\n0.209\n0.557\n0.169\n0.119\n0.359\n0.078\n0.102\n\n0.300\n0.376\n0.418\n0.398\n0.761\n0.551\n\n0.571\n0.473\n0.414\n0.450\n0.112\n0.302\n\nTextPecker (InternVL3-8B) [69]\nTextPecker (Qwen3-VL-8B) [60]\n\n0.795\n0.777\n\n0.960\n0.969\n\n0.870\n0.862\n\n0.784\n0.714\n\n0.964\n0.938\n\n0.865\n0.811\n\n0.944\n0.918\n\n0.035\n0.046\n\n0.953\n0.941\n\n0.030\n0.038\n\nPP-OCRv5 [15]\nGOT-OCR-2.0 [53]\nMonkeyOCR [31]\nGemini-2.5-pro [11]\nDoubao-Seed-1.6 [4]\nDoubao-Seed-1.6-think [5]\nGPT-5 [40]\nQwen3-VL-8B[60]\nInternVL3-8B [69]\n\n0.300\n0.500\n1.000\n0.079\n0.306\n0.216\n0.233\n0.400\n0.190\n\n0.013\n0.004\n0.013\n0.048\n0.182\n0.084\n0.220\n0.008\n0.128\n\n0.024\n0.008\n0.025\n0.059\n0.228\n0.121\n0.226\n0.017\n0.153\n\n0.333\n0.310\n0.333\n0.282\n0.000\n0.129\n\n0.099\n0.115\n0.086\n0.165\n0.000\n0.370\n\n0.152\n0.168\n0.137\n0.209\n0.000\n0.191\n\n0.921\n0.853\n0.917\n0.574\n0.918\n0.915\n0.758\n0.943\n0.927\n\n0.067\n0.136\n0.076\n0.422\n0.079\n0.080\n0.239\n0.054\n0.069\n\n0.526\n0.677\n0.758\n0.729\n0.931\n0.729\n\n0.473\n0.322\n0.242\n0.270\n0.068\n0.270\n\nTextPecker (InternVL3-8B) [69]\nTextPecker (Qwen3-VL-8B) [60]\n\n0.889\n0.874\n\n0.968\n0.981\n\n0.927\n0.925\n\n0.912\n0.900\n\n0.988\n0.964\n\n0.949\n0.931\n\n0.962\n0.972\n\n0.037\n0.027\n\n0.991\n0.989\n\n0.009\n0.010\n\nEnglish recognition\n\nChinese recognition\n\nTable 3. Quantitative comparisons of different RL-optimized generative models on OneIG-Bench [6], LongText-Bench [20], CVTG-2k [14],\nand GenTextEval-Bench. Avg.: Average text score from original benchmarks; Qua.: structural Quality score. Sem.: Semantic alignment.\nScore measurement and reward computation are both conducted by TextPecker (Qwen3-VL).\nModels\n\nOneIG\n\nRewards\n\nLongText\n\nCVTG-2K\n\nGenTextEval\n\nAvg.\n\nQua.\n\nSem.\n\nAvg.\n\nQua.\n\nSem.\n\nAvg.\n\nQua.\n\nSem.\n\nQua.\n\nSem.\n\nEnglish Rendering\nSD3.5-M [16]\n\nOCR\nTextPecker\n\n0.441\n0.572\n0.581\n\n0.848\n0.941\n0.957\n\n0.513\n0.627\n0.636\n\n0.296\n0.295\n0.344\n\n0.860\n0.944\n0.957\n\n0.416\n0.498\n0.503\n\n0.368\n0.513\n0.596\n\n0.869\n0.943\n0.944\n\n0.491\n0.671\n0.593\n\n0.671\n0.940\n0.959\n\n0.265\n0.462\n0.506\n\nFlux.1[dev] [28]\n\nOCR\nTextPecker\n\n0.567\n0.754\n0.845\n\n0.875\n0.969\n0.979\n\n0.585\n0.708\n0.734\n\n0.613\n0.736\n0.811\n\n0.929\n0.972\n0.986\n\n0.591\n0.707\n0.672\n\n0.491\n0.778\n0.777\n\n0.908\n0.951\n0.961\n\n0.523\n0.632\n0.704\n\n0.672\n0.976\n0.988\n\n0.336\n0.602\n0.719\n\nOCR\nTextPecker\n\n0.871\n0.986\n0.990\n\n0.955\n0.983\n0.988\n\n0.814\n0.894\n0.910\n\n0.935\n0.949\n0.945\n\n0.970\n0.986\n0.990\n\n0.844\n0.912\n0.918\n\n0.834\n0.893\n0.899\n\n0.964\n0.978\n0.987\n\n0.817\n0.908\n0.932\n\n0.964\n0.989\n0.992\n\n0.729\n0.827\n0.837\n\nOCR\nTextPecker\n\n0.954\n0.984\n0.988\n\n0.894\n0.945\n0.956\n\n0.732\n0.856\n0.875\n\n0.920\n0.967\n0.974\n\n0.924\n0.956\n0.969\n\n0.834\n0.886\n0.908\n\n-\n\n-\n\n-\n\n0.933\n0.953\n0.973\n\n0.810\n0.874\n0.897\n\nQwen-Image [55]\nChinese Rendering\n\nQwen-Image [55]\n\ndiverse structural anomalies that are rarely encountered in\nstandard text recognition scenarios.\n\ncontrollable text editing and translation of text in local areas.\nIn stark contrast, TextPecker’s models excel across all dimensions. They not only achieve high F1 and recall on the TSAP\ntask but also improve recognition of generated text (CTR)\ncompared to their respective baselines, underscoring the\nvalue of our box-level structure-aware dataset. Specifically,\nthe Qwen3-VL-based variant attains state-of-the-art Chinese\nrecognition performance, while the InternVL3-based variant\nexhibits the strongest overall capabilities at the box level.\n\nBesides, we identify a widespread deficiency in box-level\ntext recognition. While traditional OCR models fundamentally lack the ability to process region-specific inputs, modern MLLMs also struggle with structural-anomaly detection.\nAs shown in Tab. 2, their box-level recognition recall is substantially lower than their image-level counterparts. This\nlimitation severely hinders more fine-grained assessments,\nwhich are crucial for evaluating demanding tasks such as\n\nRL for VTR. Tab. 3 quantifies the effectiveness of our RL6\n\n\fQwen-Image\nRL-baseline\nRL-TextPecker\nGt Text\n\n“EXPLORE THE FUTURE OF\nELECTRIC VEHICLES TODAY”,\n“Visit EVExpo2023.com for\ndetails”,\n“Parking Ahead” ,\n“Turn Right for Downtown”\n\n\"Golden Dragon Restaurant\",\n\"Appetizers\",\n\"Main Courses\",\n\"Spring Rolls — Crispy rolls filled\nwith fresh vegetables $5\" ,\n\"Kung Pao Chicken — Stir-fried\nchicken with peanuts and chili\npeppers $14\",\n\"Mango Pudding $6\",\n\"Jasmine Tea $3\"\n\n“甜蜜时光⾯包店”,\n“每⽇供应”,\n“每⽇新鲜烘焙”,\n“⾃1998年成⽴”\n\n“⽤于图像识别的深度残差学习\\n作者名单：\n何恺明，张祥⾬，任少卿，孙剑\\n摘要：更\n深的神经⽹络更难训练。我们提出⼀种残差\n学习框架，以简化⽐以前使⽤的⽹络深度更\n⼤的⽹络训练。我们明确地将层重构为参考\n层输⼊来学习残差函数，⽽不是学习⽆参考\n的函数。我们提供了全⾯的实证证据，显示\n残差⽹络更易优化，且即使深度显著增加也\n能提升准确性。在ImageNet数据集上，我们\n评估了深度⾼达152层的残差⽹络——其深度\n是VGG⽹络[41]的8倍，但复杂性仍然较低。\n这些残差⽹络的集合在ImageNet测试集上达\n到3.57%的错误率。该结果在ILSVRC 2015\n分类任务中获得第⼀名。我们还在CIFAR-10\n上对100层和1000层进⾏了分析。对于许多\n视觉识别任务⽽⾔，表示的深度具有重要意\n义。仅因我们极深的表示，我们在COCO⽬\n标检测数据集上获得了28%的相对改善。”\n\nFigure 4. Qualitative Comparisons of Text Rendering for Qwen-Image and RL-Optimized Variants. Readers are highly recommended to\nrefer to the appendix for extensive comparisons across generative models and RL baselines.\n\nbased optimization across diverse scenarios. Overall, integrating TextPecker’s structure-aware reward yields consistent improvements across four benchmarks, three base\nmodels, and both English and Chinese rendering tasks. For\nFlux.1[dev] [28] on English, gains are pronounced: +38.3%\nSem. and +31.6% Qua. over the base model, and +11.7%\nSem. over the OCR-reward baseline on GenTextEval. While\ngains are consistent overall, we also observe a few seemingly\ncontradictory results when evaluated by different metrics.\nFor example, SD3.5-M [16] on CVTG-2K reports +8.3%\naverage word accuracy across five regions, yet -7.8% Sem.\ncompared to the OCR-reward baseline. This divergence indicates that structure-unaware, OCR-based metrics can overes-\n\ntimate performance on structurally flawed text, underscoring\nthe necessity of a structure-aware assessor for faithful evaluation—despite these localized divergences, the overall benchmark averages still show marked improvement. Notably,\neven for the well-optimized Qwen-Image [55], TextPeckerbased RL delivers significant improvements, especially on\nChinese rendering: +14.3% on OneIG, +7.4% on LongText,\nand +8.7% on GenTextEval over prior SOTA; compared to\nthe OCR-reward baseline, Qua. increases by +2.0% and\nSem. by +2.3%. Taken together, these results establish\nTextPecker as a generalizable, plug-and-play reward that\nadvances structurally faithful and accurate text rendering.\n\n7\n\n\fTable 4. Ablation study on effectiveness of the constructed data:\nImage-level recognition results across different baseline models.\nSettings\n\nEnglish\n\nTable 5. Ablation study on the effectiveness of reward design: PM\nfor Pair-wise Matching, and SQ for Structural Quality reward.\n\nChinese\n\nGenerative Model\n\nModels\nAnno.\n\nInternVL3 [69]\n\nQwen3-VL [60]\n\n✓\n✓\n\n✓\n✓\n\nTSAP\n\nSyn.\n\nCTR\n\nTSAP\n\nP\n\nR\n\nF1\n\nR\n\nNED\n\nP\n\nR\n\nF1\n\nR\n\nNED\n\n✓\n\n0.206\n0.795\n0.795\n\n0.165\n0.970\n0.960\n\n0.183\n0.874\n0.870\n\n0.759\n0.938\n0.944\n\n0.102\n0.042\n0.035\n\n0.190\n0.583\n0.889\n\n0.128\n0.966\n0.968\n\n0.153\n0.727\n0.927\n\n0.927\n0.849\n0.962\n\n0.069\n0.148\n0.037\n\n✓\n\n0.182\n0.706\n0.777\n\n0.018\n0.944\n0.969\n\n0.032\n0.808\n0.862\n\n0.810\n0.899\n0.918\n\n0.076\n0.068\n0.046\n\n0.333\n0.643\n0.874\n\n0.008\n0.942\n0.981\n\n0.017\n0.764\n0.925\n\n0.947\n0.839\n0.972\n\n0.049\n0.117\n0.027\n\nFlux.1[dev] [28]\n\n4.2.2. Qualitative Results\n\nSettings\n\nOCR Model\n\nCTR\n\nPP-OCRv5 [15]\nPP-OCRv5 [15]\nTextPecker\nTextPecker\n\nGenTextEval-EN\n\nNED PM SQ Qua.\n\nSem.\n\n0.672\n0.976\n0.976\n0.984\n✓ 0.988\n\n0.336\n0.602\n0.644\n0.702\n0.719\n\n✓\n✓\n✓\n✓\n\n✓\n✓\n✓\n\nprecise recognition and high accuracy in detecting structural\nanomalies. For English, the impact is model-dependent:\nwhile Qwen3-VL shows consistent enhancement, InternVL3\nexhibits a slight decline in TSAP performance, yet gains\nnotable improvements in CTR.\n\nWe present qualitative comparisons for Qwen-Image and its\nRL-optimized variants in Fig. 4. The vanilla Qwen-Image,\ndespite achieving prior SOTA on several text rendering\nbenchmarks, often produces off-target strings and exhibits\nblurred, distorted, or misaligned text, particularly in small\nand dense text regions. Optimizing with an OCR-based\nreward helps reducing off-target content and semantic alginment is enhanced, yet structural defects persist. In contrast,\nTextPecker-based RL achieves superior structural fidelity\nand semantic consistency (e.g. the English menu and Chinese\npaper cases). These observations align with the quantitative\ngains in Tab. 3 and the component analysis in Tab. 5, and\nwe observe similar trends across other backbones (see Appendix), underscoring TextPecker’s effectiveness as a reward\nfor structurally faithful and accurate text rendering.\nIn stark contrast, further optimization with TextPecker\nachieves a superior level of both structural fidelity and semantic consistency. This is particularly evident in challenging cases where OCR-based rewards falter. For instance, in\nthe “paper rendering” case, our method successfully renders\nclean, aligned paragraphs where the OCR-rewarded model\nstill produces distorted and wavy text lines. Similarly, in\nthe “English menu” example, TextPecker accurately generates crisp, legible items that the baseline struggles to form\ncorrectly.\n\nAnalysis of Reward Components. We deconstruct the\nreward function step-by-step to isolate the impact of each\ncomponent. As shown in Tab. 5, combining a conventional,\nstructure-unaware OCR model with Pairwise Matching (PM)\nyields a 4.2% gain in the semantic alignment score, yet the\nstructural quality score remains stagnant—indicating that\nGNED sharpens semantic feedback but fails to improve structural fidelity when the recognizer lacks structural perception.\nReplacing the OCR model with TextPecker delivers gains\nacross both dimensions (Sem. +5.8%, Qua. +0.8%), as\nTextPecker’s reward is inherently structure-aware: characters identified with special markers directly modulate the\nsemantic score. Finally, incorporating the structural quality\nterm as an auxiliary reward brings further improvements\nand achieves the best overall performance, confirming the\nsynergy of the full TextPecker reward design.\n\n5. Conclusion\nWe pinpoint and address the core bottleneck in VTR evaluation and RL-based optimization: leading MLLMs and\nspecialist OCR models largely fail to perceive fine-grained\nstructural anomalies. We present TextPecker, a plug-andplay, structural-anomaly–aware framework that couples a\nstandardized evaluator with an RL reward, providing complementary reward signals for semantic alignment and structural\nquality. Empirically, TextPecker delivers consistent gains\nacross leading text-to-image generators, including notable\nimprovements on the well-optimized Qwen-Image. Under\nstructure-aware rewards, generation behavior shifts toward\nfewer off-target strings, reduced blur and distortion, and\nimproved alignment. This work provides a foundational\nstep towards structurally faithful visual text rendering and\nsupplies the community with essential tools for rigorous\nevaluation and post-training enhancement.\n\n4.3. Ablation Studies\nWe conduct ablation studies to validate the effectiveness of\nour proposed dataset and to dissect the contribution of each\ncomponent within the TextPecker reward mechanism.\nEffectiveness of Data Composition. As shown in Tab. 4,\ntraining on our annotated data alone yields substantial improvements on the TSAP task, with F1 scores for both models significantly outperforming the baseline. This data also\nenhances English text recognition. However, we observe a\nnoticeable degradation in Chinese recognition performance,\nwhich we attribute to the increased complexity of structural\nanomalies in Chinese characters. The addition of our synthesized data effectively resolves this issue. By training on a\ncombined dataset, both models demonstrate a dramatic boost\nin Chinese performance for both TSAP and CTR, achieving\n8\n\n\fReferences\n\nYang, et al. Cogview: Mastering text-to-image generation via\ntransformers. NIPS, 34:19822–19835, 2021. 4, 15\n[14] Nikai Du, Zhennan Chen, Shan Gao, Zhizhou Chen, Xi Chen,\nZhengkai Jiang, Jian Yang, and Ying Tai. Textcrafter: Accurately rendering multiple texts in complex visual scenes.\narXiv preprint arXiv:2503.23461, 2025. 1, 2, 5, 6, 14, 16, 17\n[15] Yuning Du, Chenxia Li, Ruoyu Guo, Xiaoting Yin, Weiwei\nLiu, Jun Zhou, Yifan Bai, Zilin Yu, Yehua Yang, Qingqing\nDang, et al. Pp-ocr: A practical ultra lightweight ocr system.\narXiv preprint arXiv:2009.09941, 2020. 1, 2, 3, 4, 5, 6, 8, 12,\n17\n[16] Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz,\nAxel Sauer, Frederic Boesel, et al. Scaling rectified flow\ntransformers for high-resolution image synthesis. In ICML,\n2024. 2, 4, 5, 6, 7, 12, 14, 15, 16, 17\n[17] Rongyao Fang, Aldrich Yu, Chengqi Duan, Linjiang Huang,\nShuai Bai, Yuxuan Cai, Kun Wang, Si Liu, Xihui Liu, and\nHongsheng Li. Flux-reason-6m &amp; prism-bench: A millionscale text-to-image reasoning dataset and comprehensive\nbenchmark. arXiv preprint arXiv:2509.09680, 2025. 2\n[18] Yu Gao, Lixue Gong, Qiushan Guo, Xiaoxia Hou, Zhichao\nLai, Fanshi Li, Liang Li, Xiaochen Lian, Chao Liao, Liyang\nLiu, et al. Seedream 3.0 technical report. arXiv preprint\narXiv:2504.11346, 2025. 1, 3, 4, 15\n[19] Yifan Gao, Zihang Lin, Chuanbin Liu, Min Zhou, Tiezheng\nGe, Bo Zheng, and Hongtao Xie. Postermaker: Towards highquality product poster generation with accurate text rendering.\nIn CVPR, pages 8083–8093, 2025. 2\n[20] Zigang Geng, Yibing Wang, Yeyao Ma, Chen Li, Yongming\nRao, Shuyang Gu, Zhao Zhong, Qinglin Lu, Han Hu, Xiaosong Zhang, et al. X-omni: Reinforcement learning makes\ndiscrete autoregressive image generative models great again.\narXiv preprint arXiv:2507.22058, 2025. 1, 2, 3, 5, 6, 12, 14,\n16, 17\n[21] Lixue Gong, Xiaoxia Hou, Fanshi Li, Liang Li, Xiaochen\nLian, Fei Liu, Liyang Liu, Wei Liu, Wei Lu, Yichun Shi, et al.\nSeedream 2.0: A native chinese-english bilingual image generation foundation model. arXiv preprint arXiv:2503.07703,\n2025. 3\n[22] Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi\nWang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma,\nXiao Bi, et al. Deepseek-r1 incentivizes reasoning in llms\nthrough reinforcement learning. Nature, 645(8081):633–638,\n2025. 3\n[23] Conghui He, Zhenjiang Jin, Chao Xu, Jiantao Qiu, Bin Wang,\nWei Li, Hang Yan, Jiaqi Wang, and Dahua Lin. Wanjuan:\nA comprehensive multimodal dataset for advancing english\nand chinese large models. arXiv preprint arXiv:2308.10755,\n2023. 4, 16\n[24] Zhentao He, Can Zhang, Ziheng Wu, Zhenghao Chen, Yufei\nZhan, Yifan Li, Zhao Zhang, Xian Wang, and Minghui\nQiu. Seeing is believing? mitigating ocr hallucinations\nin multimodal large language models. arXiv preprint\narXiv:2506.20168, 2025. 2\n[25] Yuval Kirstain, Adam Polyak, Uriel Singer, Shahbuland Matiana, Joe Penna, and Omer Levy. Pick-a-pic: An open dataset\n\n[1] Shuai Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge,\nSibo Song, Kai Dang, Peng Wang, Shijie Wang, Jun Tang,\nHumen Zhong, Yuanzhi Zhu, Mingkun Yang, Zhaohai Li,\nJianqiang Wan, Pengfei Wang, Wei Ding, Zheren Fu, Yiheng\nXu, Jiabo Ye, Xi Zhang, Tianbao Xie, Zesen Cheng, Hang\nZhang, Zhibo Yang, Haiyang Xu, and Junyang Lin. Qwen2.5vl technical report. arXiv preprint arXiv:2502.13923, 2025.\n1, 2, 3, 5\n[2] James Betker, Gabriel Goh, Li Jing, Tim Brooks, Jianfeng\nWang, Linjie Li, Long Ouyang, Juntang Zhuang, Joyce\nLee, Yufei Guo, et al. Improving image generation with\nbetter captions. Computer Science. https://cdn. openai.\ncom/papers/dall-e-3. pdf, 2(3):8, 2023. 1\n[3] ByteDance. Seedream4.0. https://seed.bytedance.\ncom/en/seedream4_0, 2025. Accessed: 2025-09-22. 1,\n2, 3\nDoubao-seed-1.6.\nhttps : / / seed .\n[4] ByteDance.\nbytedance.com/en/seed1_6, 2025. Accessed: 202509-22. 5, 6\n[5] ByteDance. Doubao-seed-1.6-thinking. https://seed.\nbytedance.com/en/seed1_6, 2025. Accessed: 202509-22. 5, 6\n[6] Jingjing Chang, Yixiao Fang, Peng Xing, Shuhan Wu, Wei\nCheng, Rui Wang, Xianfang Zeng, Gang Yu, and Hai-Bao\nChen. Oneig-bench: Omni-dimensional nuanced evaluation\nfor image generation. arXiv preprint arxiv:2506.07977, 2025.\n1, 2, 5, 6, 12, 14, 16, 17\n[7] Jingye Chen, Yupan Huang, Tengchao Lv, Lei Cui, Qifeng\nChen, and Furu Wei. Textdiffuser: Diffusion models as text\npainters. NIPS, 36:9353–9387, 2023. 2\n[8] Jingye Chen, Yupan Huang, Tengchao Lv, Lei Cui, Qifeng\nChen, and Furu Wei. Textdiffuser-2: Unleashing the power of\nlanguage models for text rendering. In ECCV, pages 386–402.\nSpringer, 2024. 2\n[9] Jiuhai Chen, Le Xue, Zhiyang Xu, Xichen Pan, Shusheng\nYang, Can Qin, An Yan, Honglu Zhou, Zeyuan Chen, Lifu\nHuang, et al. Blip3o-next: Next frontier of native image\ngeneration. arXiv preprint arXiv:2510.15857, 2025. 1, 3\n[10] Gheorghe Comanici, Eric Bieber, Mike Schaekermann, Ice\nPasupat, Noveen Sachdeva, Inderjit Dhillon, Marcel Blistein,\nOri Ram, Dan Zhang, Evan Rosen, et al. Gemini 2.5: Pushing\nthe frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. arXiv preprint\narXiv:2507.06261, 2025. 1, 18\n[11] Gheorghe Comanici, Eric Bieber, Mike Schaekermann, Ice\nPasupat, Noveen Sachdeva, Inderjit Dhillon, Marcel Blistein,\nOri Ram, Dan Zhang, Evan Rosen, et al. Gemini 2.5: Pushing\nthe frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. arXiv preprint\narXiv:2507.06261, 2025. 5, 6, 12, 13\n[12] Chaorui Deng, Deyao Zhu, Kunchang Li, Chenhui Gou, Feng\nLi, Zeyu Wang, Shu Zhong, Weihao Yu, Xiaonan Nie, Ziang\nSong, et al. Emerging properties in unified multimodal pretraining. arXiv preprint arXiv:2505.14683, 2025. 1, 2\n[13] Ming Ding, Zhuoyi Yang, Wenyi Hong, Wendi Zheng, Chang\nZhou, Da Yin, Junyang Lin, Xu Zou, Zhou Shao, Hongxia\n\n9\n\n\f[40] OpenAI. Gpt-5. https://openai.com/gpt-5, 2025.\nAccessed: 2025-09-22. 2, 5, 6\n[41] Dustin Podell, Zion English, Kyle Lacey, Andreas Blattmann,\nTim Dockhorn, Jonas Müller, Joe Penna, and Robin Rombach.\nSDXL: improving latent diffusion models for high-resolution\nimage synthesis. In ICLR, 2024. 1\n[42] Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D\nManning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward\nmodel. Advances in neural information processing systems,\n36:53728–53741, 2023. 3\n[43] Robin Rombach, Andreas Blattmann, Dominik Lorenz,\nPatrick Esser, and Björn Ommer. High-resolution image\nsynthesis with latent diffusion models. In CVPR, pages 10674–\n10685, 2022. 4, 15\n[44] Chitwan Saharia, William Chan, Saurabh Saxena, Lala Li, Jay\nWhang, Emily L. Denton, Seyed Kamyar Seyed Ghasemipour,\nRaphael Gontijo Lopes, Burcu Karagol Ayan, Tim Salimans,\nJonathan Ho, David J. Fleet, and Mohammad Norouzi. Photorealistic text-to-image diffusion models with deep language\nunderstanding. In NeurIPS, 2022. 1\n[45] Christoph Schuhmann. Laion-aesthetics. LAION Blog, 2022.\n12, 13, 14\n[46] Yichun Shi, Peng Wang, and Weilin Huang. Seededit:\nAlign image re-generation to image editing. arXiv preprint\narXiv:2411.06686, 2024. 18\n[47] Yuxiang Tuo, Wangmeng Xiang, Jun-Yan He, Yifeng Geng,\nand Xuansong Xie. Anytext: Multilingual visual text generation and editing. arXiv preprint arXiv:2311.03054, 2023. 15,\n18\n[48] Yuxiang Tuo, Yifeng Geng, and Liefeng Bo. Anytext2: Visual\ntext generation and editing with customizable attributes. arXiv\npreprint arXiv:2411.15245, 2024. 2\n[49] Alex Jinpeng Wang, Dongxing Mao, Jiawei Zhang, Weiming\nHan, Zhuobai Dong, Linjie Li, Yiqi Lin, Zhengyuan Yang,\nLibo Qin, Fuwei Zhang, Lijuan Wang, and Min Li. Textatlas5m: A large-scale dataset for dense text image generation.\narXiv preprint arXiv:2502.07870, 2025. 2, 4, 5, 14, 16\n[50] Jing Wang, Jiajun Liang, Jie Liu, Henglin Liu, Gongye\nLiu, Jun Zheng, Wanyuan Pang, Ao Ma, Zhenyu Xie, Xintao Wang, et al. Grpo-guard: Mitigating implicit overoptimization in flow matching via regulated clipping. arXiv\npreprint arXiv:2510.22319, 2025. 12, 17\n[51] Yibin Wang, Yuhang Zang, Hao Li, Cheng Jin, and Jiaqi\nWang. Unified reward model for multimodal understanding\nand generation. arXiv preprint arXiv:2503.05236, 2025. 2\n[52] Yibin Wang, Weizhong Zhang, Honghui Xu, and Cheng Jin.\nDreamtext: High fidelity scene text synthesis. In CVPR, pages\n28555–28563, 2025. 2\n[53] Haoran Wei, Chenglong Liu, Jinyue Chen, Jia Wang, Lingyu\nKong, Yanming Xu, Zheng Ge, Liang Zhao, Jianjian Sun,\nYuang Peng, et al. General ocr theory: Towards ocr-2.0 via a\nunified end-to-end model. arXiv preprint arXiv:2409.01704,\n2024. 1, 2, 3, 5, 6\n[54] Xinyu Wei, Jinrui Zhang, Zeqing Wang, Hongyang Wei, Zhen\nGuo, and Lei Zhang. Tiif-bench: How does your t2i model\nfollow your instructions? arXiv preprint arXiv:2506.02161,\n2025. 2, 4, 5, 14\n\nof user preferences for text-to-image generation. Advances\nin neural information processing systems, 36:36652–36663,\n2023. 12, 13, 14\n[26] Harold W Kuhn. The hungarian method for the assignment\nproblem. Naval research logistics quarterly, 2(1-2):83–97,\n1955. 2\n[27] Kwai-Kolors Kolors. Kolors. https://huggingface.\nco/Kwai-Kolors/Kolors, 2025. Accessed: 2025-0922. 4, 15\n[28] Black Forest Labs. Flux. https://github.com/\nblack-forest-labs/flux, 2024. 1, 2, 3, 4, 5, 6, 7, 8,\n12, 13, 14, 15, 17, 18\n[29] Yingxin Lai, Cuijie Xu, Haitian Shi, Guoqing Yang, Xiaoning\nLi, Zhiming Luo, and Shaozi Li. Font-agent: Enhancing font\nunderstanding with large language models. In CVPR, pages\n19670–19680, 2025. 2\n[30] Junzhe Li, Yutao Cui, Tao Huang, Yinping Ma, Chun Fan,\nMiles Yang, and Zhao Zhong. Mixgrpo: Unlocking flowbased grpo efficiency with mixed ode-sde. arXiv preprint\narXiv:2507.21802, 2025. 12, 17\n[31] Zhang Li, Yuliang Liu, Qiang Liu, Zhiyin Ma, Ziyang\nZhang, Shuo Zhang, Zidun Guo, Jiarui Zhang, Xinyu Wang,\nand Xiang Bai. Monkeyocr: Document parsing with a\nstructure-recognition-relation triplet paradigm. arXiv preprint\narXiv:2506.05218, 2025. 5, 6\n[32] Bin Lin, Zongjian Li, Xinhua Cheng, Yuwei Niu, Yang Ye,\nXianyi He, Shenghai Yuan, Wangbo Yu, Shaodong Wang,\nYunyang Ge, et al. Uniworld: High-resolution semantic encoders for unified visual understanding and generation. arXiv\npreprint arXiv:2506.03147, 2025. 2\n[33] Yaron Lipman, Ricky TQ Chen, Heli Ben-Hamu, Maximilian\nNickel, and Matt Le. Flow matching for generative modeling.\narXiv preprint arXiv:2210.02747, 2022. 3\n[34] Jie Liu, Gongye Liu, Jiajun Liang, Yangguang Li, Jiaheng Liu,\nXintao Wang, Pengfei Wan, Di Zhang, and Wanli Ouyang.\nFlow-grpo: Training flow matching models via online rl.\narXiv preprint arXiv:2505.05470, 2025. 3, 5, 12, 13, 14,\n16\n[35] Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight\nand fast: Learning to generate and transfer data with rectified\nflow. arXiv preprint arXiv:2209.03003, 2022. 3\n[36] Zeyu Liu, Weicong Liang, Yiming Zhao, Bohan Chen, Lin\nLiang, Lijuan Wang, Ji Li, and Yuhui Yuan. Glyph-byt5-v2:\nA strong aesthetic baseline for accurate multilingual visual\ntext rendering. arXiv preprint arXiv:2406.10208, 2024. 2\n[37] Dongliang Luo, Hanshen Zhu, Ziyang Zhang, Dingkang\nLiang, Xudong Xie, Yuliang Liu, and Xiang Bai. Semiets:\nIntegrating spatial and content consistencies for semisupervised end-to-end text spotting. In Proceedings of the\nComputer Vision and Pattern Recognition Conference, pages\n9329–9338, 2025. 2\n[38] Jian Ma, Yonglin Deng, Chen Chen, Nanyang Du, Haonan\nLu, and Zhenyu Yang. Glyphdraw2: Automatic generation\nof complex glyph posters with diffusion models and large\nlanguage models. In AAAI, pages 5955–5963, 2025. 2\n[39] OpenAI. Gpt-4o. https://openai.com/index/\nhello-gpt-4o, 2024. Accessed: 2025-09-22. 1\n\n10\n\n\f[55] Chenfei Wu, Jiahao Li, Jingren Zhou, Junyang Lin, Kaiyuan\nGao, Kun Yan, Sheng-ming Yin, Shuai Bai, Xiao Xu, Yilei\nChen, et al. Qwen-image technical report. arXiv preprint\narXiv:2508.02324, 2025. 1, 2, 3, 4, 5, 6, 7, 12, 14, 15, 16, 17,\n18\n[56] Chenyuan Wu, Pengfei Zheng, Ruiran Yan, Shitao Xiao, Xin\nLuo, Yueze Wang, Wanli Li, Xiyan Jiang, Yexin Liu, Junjie\nZhou, et al. Omnigen2: Exploration to advanced multimodal\ngeneration. arXiv preprint arXiv:2506.18871, 2025. 2\n[57] Tianhe Wu, Jian Zou, Jie Liang, Lei Zhang, and Kede Ma.\nVisualquality-r1: Reasoning-induced image quality assessment via reinforcement learning to rank. arXiv preprint\narXiv:2505.14460, 2025. 2\n[58] Xiaoshi Wu, Yiming Hao, Keqiang Sun, Yixiong Chen, Feng\nZhu, Rui Zhao, and Hongsheng Li. Human preference score\nv2: A solid benchmark for evaluating human preferences of\ntext-to-image synthesis. arXiv preprint arXiv:2306.09341,\n2023. 2\n[59] Linting Xue, Aditya Barua, Noah Constant, Rami Al-Rfou,\nSharan Narang, Mihir Kale, Adam Roberts, and Colin Raffel.\nByt5: Towards a token-free future with pre-trained byte-tobyte models. Transactions of the Association for Computational Linguistics, 10:291–306, 2022. 2\n[60] An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan\nHui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang,\nChenxu Lv, et al. Qwen3 technical report. arXiv preprint\narXiv:2505.09388, 2025. 1, 4, 5, 6, 8, 16\n[61] Yukang Yang, Dongnan Gui, Yuhui Yuan, Weicong Liang,\nHaisong Ding, Han Hu, and Kai Chen. Glyphcontrol: Glyph\nconditional control for visual text generation. Advances in\nNeural Information Processing Systems, 36:44050–44066,\n2023. 2\n[62] Moonbin Yim, Yoonsik Kim, Han-Cheol Cho, and Sungrae\nPark. Synthtiger: Synthetic text image generator towards\nbetter text recognition models. In International conference on\ndocument analysis and recognition, pages 109–124. Springer,\n2021. 5, 15\n[63] Weichao Zeng, Yan Shu, Zhenhang Li, Dongbao Yang, and\nYu Zhou. Textctrl: Diffusion-based scene text editing with\nprior guidance control. NIPS, 37:138569–138594, 2024. 2\n[64] Lingjun Zhang, Xinyuan Chen, Yaohui Wang, Yue Lu, and Yu\nQiao. Brush your text: Synthesize any scene text on images\nvia diffusion model. In AAAI, pages 7215–7223, 2024. 2\n[65] Peirong Zhang, Haowei Xu, Jiaxin Zhang, Guitao Xu, Xuhan\nZheng, Zhenhua Yang, Junle Liu, Yuyi Zhang, and Lianwen\nJin. Aesthetics is cheap, show me the text: An empirical\nevaluation of state-of-the-art generative models for ocr. arXiv\npreprint arXiv:2507.15085, 2025. 1, 2\n[66] Shitian Zhao, Qilong Wu, Xinyue Li, Bo Zhang, Ming Li,\nQi Qin, Dongyang Liu, Kai Zhang, Hongsheng Li, Yu Qiao,\nPeng Gao, Bin Fu, and Zhen Li. Lex-art: Rethinking text\ngeneration via scalable high-quality data synthesis. arXiv\npreprint arXiv:2503.21749, 2025. 2, 4, 5, 14\n[67] Yiming Zhao and Zhouhui Lian. Udifftext: A unified framework for high-quality text synthesis in arbitrary images via\ncharacter-aware diffusion models. In ECCV, pages 217–233.\nSpringer, 2024. 2\n\n[68] Hanshen Zhu, Zhen Zhu, Kaile Zhang, Yiming Gong, Yuliang\nLiu, and Xiang Bai. Training-free geometric image editing on\ndiffusion models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 19130–19140,\n2025. 18\n[69] Jinguo Zhu, Weiyun Wang, Zhe Chen, Zhaoyang Liu, Shenglong Ye, Lixin Gu, Hao Tian, Yuchen Duan, Weijie Su,\nJie Shao, et al. Internvl3: Exploring advanced training and\ntest-time recipes for open-source multimodal models. arXiv\npreprint arXiv:2504.10479, 2025. 1, 5, 6, 8, 12\n\n11\n\n\fTextPecker: Rewarding Structural Anomaly Quantification\nfor Enhancing Visual Text Rendering\n(Supplementary Materials)\nA. Additional Results\n\nfor font variability, our dataset spans a large and diverse font\npool across training and evaluation (Tab. 14)\n\nWe provide additional visualizations of manually annotated\nstructural anomalies from diverse generative models and\nsynthetic structural anomalies generated by our rendering engine in Fig. 12, evaluation samples of TextPecker in Fig. 13,\nand qualitative comparisons between Flux.1[dev] [28] and\nits RL-optimized variants in Fig. 5.\n\nTable 7. Robustness evaluation of TextPecker on Gemini-2.5-flashimage [11]: Performance under normal condition, extreme stylization, and low-contrast layouts.\n\nInternVL-3-8B [69]\nTextPecker-8B\n\nB. Additional Ablation Studies\n\nSD3.5-M [16]\n\nSettings\n\nOCR Model\nPP-OCRv5 [15]\nPP-OCRv5 [15]\nTextPecker\nTextPecker\n\nGenTextEval-EN\n\nNED PM SQ Qua.\n\nSem.\n\n0.671\n0.907\n0.910\n0.956\n✓ 0.959\n\n0.265\n0.470\n0.482\n0.498\n0.506\n\n✓\n✓\n✓\n✓\n\n✓\n✓\n✓\n\nExtreme Stylization\n\nLow Contrast\n\nTSAP-F1\n\nCTR-R\n\nTSAP-F1\n\nCTR-R\n\nTSAP-F1\n\nCTR-R\n\n0.000\n0.752\n\n0.666\n0.833\n\n0.087\n0.571\n\n0.588\n0.577\n\n0.364\n0.800\n\n0.742\n0.839\n\nTable 8. Additional Quantitative Comparisons of RL-Optimized\nGenerative Models on Chinese Visual Text Benchxmarks (OneIG\n[6], LongText [20], GenTextEval) with multi reward setting. O:\nOCR Reward [34], S: TextPecker Semantic Reward, Q: TextPecker\nStructural Quality reward, P: Pickscore Reward [25], A: Aethetic\nReward [45]. Results measurement and reward computation are\nboth conducted by TextPecker (InternVL-3).\n\nTable 6. Ablation study on the effectiveness of reward design:\nPM for Pair-wise Matching, and SQ for Structural Quality reward,\nmeasured by TextPecker (InternVL3).\nGenerative Model\n\nNormal\n\nTab. A &amp; Methods\n\nmethod\n\nrewards weights\n\nOneIG\nQua.\n\nQwen-Image [55]\n\nWe also provide additional ablation studies to deconstruct\nthe reward function step-by-step and isolate the impact of\neach component, using StableDiffusion3.5-Medium [16] as\nthe baseline, as shown in Tab. 6. Combining a conventional,\nstructure-unaware OCR model with Pairwise Matching (PM)\nyields a 1.2% gain in semantic alignment, while structural\nquality sees a marginal 0.3% improvement—indicating PM\nenhances semantic feedback but minimally boosts structural\nfidelity without structural perception. Replacing the OCR\nmodel with TextPecker delivers gains across both dimensions (Sem. +1.6%, Qua. +4.6%), demonstrating the value\nof our structure-aware assessor. Finally, incorporating the\nstructural quality term as an auxiliary reward brings further\nimprovements (Sem. +0.8%, Qua. +0.3%) and achieves the\nbest overall performance, confirming the synergy of the full\nTextPecker reward design.\n\n–\nOPA\nSQPA\n\nSem.\n\nLongText\n\nGenTextEval\n\nQua.\n\nQua.\n\nSem.\n\nSem.\n\n–\n0.888 0.747 0.900 0.815 0.922 0.805\n7:1:2 0.898 0.788 0.912 0.845 0.944 0.859\n5:2:1:2 0.943 0.828 0.941 0.889 0.970 0.893\n\nD. Additional Results on RL for VTR\nTo further validate the efficacy of TextPecker and attain more\nrobust performance in Visual Text Rendering, we conduct\nadditional experiments under a strengthened RL baseline\nsetting, with key design choices elaborated as follows:\nBackbone enhancement. We adopt recent GRPO-related\ntechniques[30, 50] to substantially enhance the efficiency\nand stability of the VTR optimization process, with implementation details supplemented in Sec. G:\n(i) Flow-GRPO-Fast [30] is employed to accelerate training convergence by injecting stochasticity only on partial\noptimization steps instead of all steps;\n(ii) GRPO-Guard [50] is employed to stabilize the training\ndynamics and mitigate implicit over-optimization issues in\nflow matching;\n(iii) KL regularization enhancement (discussed in FlowGRPO’s [34] GitHub issues) is introduced to further alleviate\nover-optimization and reward hacking problems. The original formulation is:\n\nC. Additional Generalization Results\nWe conduct cross-model validation on Gemini-2.5-flashimage [11] renderings to assess robustness under normal\nand extreme conditions (Tab. 7), and the results are consistent across these settings, with failures mainly on extremely\nstylized fonts where artistic deformations distort canonical\nglyph structure and blur the boundary between style and true\nstructural errors (see Fig. 6, cases are all from Gemini). As\n\nDKL (πθ ∥ πref ) =\n\n∥x̄t+∆t,θ − x̄t+∆t,ref ∥\n2σt2 ∆t\n\n2\n\nTo stabilize training dynamics and mitigate overoptimization more effectively, we redefine the KL divergence\n12\n\n\fFlux.1 [dev]\nRL-baseline\nRL-TextPecker\nGt Text\n\n\"Enchantment of the Unicorn\nForest\"\n\n\"Echoes of Time by Amelia Hart,\nOil on Canvas”,\n\"Created in 2022”,\n\"Beyond Horizons by J. Rivera”,\n\"Fragmented Realities by L.\nTanaka”,\n\"Silent Reflections by M. Weber\"\n\n\"Above the customs counter at\nthe bustling international airport,\na blank digital display stands\nsilently, offering no flight\nupdates or travel tips to the\nweary passengers\"\n\n“Wanderlust Travels”,\n“Discover the World”,\nSave 20% This Month\n\n\"GreenFields Farm\",\n\"Lily Wang\",\n\"+1 800 123 4567\",\n\"info@greenfields.com\"\n\n\"'Terror from the Dark Depths\",\n\"its monstrous wrath. \",\n\"In the coastal village of Ravens\nCove, a legendary sea monster,\nthought to be a mere myth,\nawakens from the depths to\nwreak havoc and destroy the\nlives of the villagers, who must\nband together to survive its\nmonstrous wrath. \"\n\nFigure 5. Qualitative Comparisons of Text Rendering for Flux.1[dev] [28] and RL-Optimized Variants.\n\npropose a multi-reward regularization strategy: we augment\nthe original TextPecker reward with PickScore [25] and Aesthetic Score [45], implicitly regularizing the VTR model to\nyield more robust RL optimization results.\n\n(a) Extreme Stylization\n\nWe present quantitative results of TextPecker under this\nenhanced RL baseline in Tab. 8 and Tab. 9. Please note\nthat all figures in the main paper and appendix are based\non our original RL baseline, except for the additional visual\ncomparisons between the two TextPecker variants provided\nin Fig. 7 and Fig. 8.\n\n(b) Low Contrast\n\nFigure 6. Hard Cases of TextPecker on Gemini-Rendered [11]\nVisual Text with Extreme Stylization and Low Contrast Layout.\n\nto operate over velocity-based policy distributions:\n\nE. Details of Dataset\n\n2\n\nDKL (πθ ∥ πref ) = ∥vθ (xt , t) − vref (xt , t)∥\n\nwhere all symbols follow the definitions in the FlowGRPO [34] paper, with the core adjustment being the switch\nfrom state (x̄) to velocity (v) as the regularization target.\nMulti-Reward Regularization. In the main paper, we validated TextPecker’s efficacy via experiments exclusive to\ntext-rendering rewards. However, this single-reward setup\ninevitably degrades the model’s aesthetic and image quality\nperformance. To yield more robust VTR optimization, we\n\nE.1. Details on Text-rich Image Generation\nThis section supplements the text-rich image generation\ndataset construction details in the main text. We present\ndetailed statistics on the number of generated images categorized by language and various generative models employed.\nEnglish dataset statistics in Tab. 10 and Chinese dataset\nstatistics shown in Tab. 11.\n13\n\n\fTable 9. Additional Quantitative Comparisons of RL-Optimized Generative Models on English VTR Benchmarks (OneIG [6], LongText\n[20], CVTG [14], GenTextEval, TIIF [54], TextAtlas [49], LeX [66]) with multi reward setting. O: OCR Reward [34], S: TextPecker\nSemantic Reward, Q: TextPecker Structural Quality reward, P: Pickscore Reward [25], A: Aethetic Reward [45]. Results measurement and\nreward computation are both conducted by TextPecker (InternVL-3).\nmethod\n\nrewards weights\n\nOneIG\n\nLongText\n\nCVTG\n\nQua. Sem. Qua. Sem. Qua. Sem.\n\nGenTextEval\n\nTIIF\n\nTextAtlas\n\nLeX\n\nQua. Sem. Qua. Sem. Qua. Sem. Qua. Sem.\n\n–\nOPA\nSQPA\n\n–\n0.840 0.507 0.836 0.407 0.843 0.466 0.666 0.262 0.758 0.347 0.646 0.269 0.810 0.454\n7:1:2 0.908 0.588 0.913 0.508 0.895 0.621 0.896 0.461 0.886 0.483 0.916 0.436 0.894 0.563\n5:2:1:2 0.940 0.607 0.959 0.534 0.926 0.587 0.954 0.519 0.941 0.506 0.954 0.462 0.940 0.591\n\nFlux.1[dev] [28]\n\n–\nOPA\nSQPA\n\n–\n0.870 0.578 0.925 0.584 0.889 0.510 0.664 0.332 0.933 0.540 0.683 0.307 0.946 0.667\n7:1:2 0.977 0.739 0.977 0.763 0.974 0.780 0.982 0.739 0.986 0.719 0.983 0.640 0.988 0.741\n5:2:1:2 0.990 0.775 0.992 0.780 0.993 0.824 0.991 0.762 0.991 0.735 0.993 0.649 0.991 0.807\n\nQwen-Image [55]\n\n–\nOPA\nSQPA\n\n–\n0.954 0.812 0.961 0.831 0.960 0.817 0.958 0.723 0.933 0.682 0.953 0.665 0.927 0.760\n7:1:2 0.963 0.840 0.967 0.858 0.962 0.848 0.974 0.808 0.964 0.764 0.970 0.728 0.958 0.850\n5:2:1:2 0.983 0.888 0.982 0.891 0.976 0.889 0.990 0.876 0.975 0.800 0.982 0.746 0.968 0.883\n\nGt Text\n\nRL-SQPA\n\nRL-TextPecker\n\nQwen-Image\n\nSD3.5-M [16]\n\nBy embracing the power of art\nand creativity, we can break\ndown barriers, challenge societal\nnorms, and foster a deeper\nunderstanding of the world\n\n20 MINS WORKOUT 525252.\n\nThe ancient city of Angkor Wat,\nhidden away in the Cambodian jungle, The beach was a place of freedom, the\nis a testament to the artistic and\nsand stretching out as far as the eye\narchitectural genius of the Khmer\ncould see. The sound of the waves\npeople, who built a vast network of\ncrashing against the shore created a\ntemples, moats, and canals over 800\nsense of exhilaration, making it the\nyears ago. This majestic complex, a perfect place to let loose and have fun.\nUNESCO World Heritage Site, is a\nIt was a place of adventure and\nmasterpiece of Khmer architecture,\nexcitement, where the cares of the\nfeaturing intricate carvings, basworld seemed to melt away.\nreliefs, and sculptures that\n\nAs we navigate the complexities\nof modern\n\n\"In a small, seaside town where the air\nwas sweet with the scent of saltwater\nand the sound of seagulls filled the air,\na group of strangers had gathered,\neach one drawn by a shared sense of\npurpose, a sense that they were all\nconnected in ways they couldnt yet\nunderstand\n\nFigure 7. Qualitative comparisons of text rendering results (English) among different RL baseline settings. RL-TextPecker denotes the RL\nsetting in the main paper, and RL-SQPA refers to our enhanced RL setting as described in Sec. D.\n\nE.2. Details on Synthetic Data Augmentation\n\ntural anomalies. This limitation is particularly acute for\nChinese characters, whose 2D structure and vast inventory\n( 8,000 common characters) create a combinatorial explosion\nof anomalies impossible to annotate exhaustively. To over-\n\nAs demonstrated in the main paper, models trained solely on\nmanually annotated data generalize poorly to unseen struc14\n\n\fQwen-Image\nRL-TextPecker\nRL-SQPA\nGt Text\n\n花园餐厅 新鲜⻝材，地道⻛味，\n难忘美味 前菜 主菜 甜点 前菜 烤\n师均表示，作出认定的依据是北\n2025海洋现场\n⾯包⽚ 新鲜出炉的⾯包搭配成熟\n⻘铜时代早期古代⼯艺的陶器⽂\n⾳乐、沙滩和⽆尽的夏夜期待着你。 京语⾔⼤学考试安全研究中⼼作\n的番茄和橄榄油 主菜 ⾹煎三⽂⻥\n物 陶器容器：约公元前2100年 装\n7⽉8-9⽇在珊瑚湾海滨举⾏—— 出的“2017年天津市考试录⽤公务\n排 嫩滑的三⽂⻥搭配快炒芦笋和\n饰陶碗 印度河流域⽂明祭祀器⽫\n⻔票正在热销，赶紧抢购吧！\n员雷同答\n迷迭⾹⼟⾖ 甜点 法式⾹草布丁 顺\n滑的⾹草蛋奶冻搭配焦糖脆壳\n\n⽤量是否合适，应当检测空腹⾎\n糖。\\n2、为了解餐前⽤药量和进\n⻝量（或运动量）是否合适，应\n当检测餐后 2 ⼩时⾎糖以及下⼀\n餐前⾎糖。此外，检测餐前⾎糖\n还可⽤于指导病⼈是否需要在两\n餐中间加餐。\\n3、为了解是\n\n探索威尼斯的历史奇迹！ 在运河、\n⽂化与咖啡中开启难忘的旅程 清晨\n在迷⼈咖啡馆品尝正宗的意式浓缩\n咖啡，登上浪漫的贡多拉船穿⾏于\n如画的⽔道，欣赏隐藏教堂中的⽂\n艺复兴杰作\n\nFigure 8. Qualitative comparisons of text rendering results (Chinese) among different RL baseline settings. RL-TextPecker denotes the RL\nsetting in the main paper, and RL-SQPA refers to our enhanced RL setting as described in Sec. D.\nTable 10. Statistics of English text-rich images generated by different models, labeled at box and image levels. Proportions are\ncomputed over all instances.\n\nTable 11. Statistics of Chinese text-rich images generated by different models, labeled at box and image levels. Proportions are\ncomputed over all instances.\n\nModel\n\nLevel\n\nSamples\n\nProportion\n\nModel\n\nLevel\n\nSamples\n\nProportion\n\nAnyText [47]\n\nBox-level\nImage-level\n\n30647\n7405\n\n7.38%\n1.78%\n\nCogView4 [13]\n\nBox-level\nImage-level\n\n36000\n17005\n\n11.14%\n5.26%\n\nFlux.1[dev] [28]\n\nBox-level\nImage-level\n\n91705\n19181\n\n22.07%\n4.62%\n\nKolors [27]\n\nBox-level\nImage-level\n\n35549\n19312\n\n10.99%\n5.98%\n\nQwen-Image [55]\n\nBox-level\nImage-level\n\n20308\n2647\n\n4.89%\n0.64%\n\nQwen-Image [55]\n\nBox-level\nImage-level\n\n26597\n6225\n\n8.23%\n1.93%\n\nSD3 [16]\n\nBox-level\nImage-level\n\n105725\n17766\n\n25.45%\n4.28%\n\nSeedream3.0 [18]\n\nBox-level\nImage-level\n\n146395\n36032\n\n45.31%\n11.15%\n\nSDv15 [43]\n\nBox-level\nImage-level\n\n61961\n6033\n\n14.91%\n1.45%\n\nSeedream3.0 [18]\n\nBox-level\nImage-level\n\n47921\n4144\n\n11.53%\n1.00%\n\nstructural errors in Chinese.\nKey parameters for our rendering engine, covering both\ncanonical text generation and structural anomaly construction, are detailed in Table 14. Our parameter choices are\nguided by the goal of training precise structural perception,\nnot robust text extraction. Consequently, to preserve clear\nstructural features, we intentionally disabled heavy postprocessing (e.g., noise, blur) and certain style effects (e.g.,\n\ncome this, we extend the SynthTIGER [62] renderer with\ntwo key enhancements: (1) image-level layout arrangements\nto simulate complex scenes, (2) Structural Anomaly Construction engine tailored to systematically generate diverse\n15\n\n\fextrusion), while limiting geometric transformations (e.g.,\nskew, rotation) to moderate ranges. Notably, we have a font\npool of 976 types to enhance font diversity. This ensures\nthe rendered text maintains high structural clarity amidst\nrealistic diversity, which is critical for our training objective.\n\nWe present the statistics of the curated prompt set used\nfor RL-based VTR optimization in Fig. 9. The prompt set is\ndesigned to encompass diverse text lengths and content for\neffective reinforcement learning.\nFor English text rendering, we curate prompts from TextAtlas5M [49], ensuring a rich and varied dataset. For Chinese text rendering, we adopt a similar paradigm as described\nin the main paper, starting with a comprehensive text corpus\nsampled from WanJuan1.0 [23], which covers a wide range\nof modern Chinese common characters. Additionally, we\nuse Qwen3-235B-A22B [60] to generate diverse style descriptions of fonts. These style descriptions are integrated\nwith the corpus to create the final prompt set. The statistics\nare visualized in Fig. 9.\n\nE.3. Structural Anomaly Perception Test Set\nTable 12. Statistics of our constructed text-rich image structural\nperception test dataset with structural-anomaly labels at box and\nimage levels. Proportions are computed over all instances.\nData Type\n\nLevel\n\nSamples\n\nProportion\n\nManual Annotations\n\nBox\nImage\n\n444\n417\n\n41.85%\n39.29%\n\nSynthetic Anomaly Text\n\nBox\nImage\n\n50\n50\n\n4.71%\n4.71%\n\nSynthetic Normal Text\n\nBox\nImage\n\n50\n50\n\n4.71%\n4.71%\n\nTotal\n\n–\n\n1061\n\n100%\n\nE.5. Statistics of the GenTextEval Dataset\nTo facilitate re-evaluation with TextPecker and build upon\nthe strengths of existing benchmarks, we construct a dataset\nnamed GenTextEval, which integrates English and Chinese\nprompts from multiple sources [6, 14, 20, 49]. In light of\nthe limited availability of Chinese-rendering benchmarks\n[6, 20, 55] (with ChineseWord remaining unavailable for\nopen-source at the time of our experiments), this dataset is\nfurther enriched with Chinese prompts curated as described\nin Sec. E.4. The final GenTextEval dataset comprises 314\nprompts for English rendering and 417 prompts for Chinese\nrendering. Following the traditional paradigm, each prompt\ngenerates four distinct image outputs to ensure fairer assessment. We offer a statistical overview of the GenTextEval\ndataset in Fig. 10.\n\nWe provide detailed statistics of the structural perception\ntest set in Tab. 12. To further validate the fairness and effectiveness of our results, we additionally conduct evaluations\non a real-only test split (all synthetic samples excluded),\nwith results presented in Tab. 13.\nTable 13. Performance of TextPecker on Real-only Test Splits\nChinese\n\nEnglish\n\nMethods\nImage\n\nBox\n\nImage\n\nBox\n\nTSAP-F1 CTR-R TSAP-F1 CTR-R TSAP-F1 CTR-R TSAP-F1 CTR-R\nInternVL3-8B (Baseline)\nTextPecker-8B (Anno)\nTextPecker-8B (Anno + Syn)\n\n0.106\n0.866\n0.901\n\n0.955\n0.849\n0.917\n\n0.244\n0.906\n0.955\n\n0.791\n0.815\n0.995\n\n0.183\n0.874\n0.850\n\n0.759\n0.938\n0.931\n\n0.304\n0.809\n0.840\n\nF. Prompt Template for TextPecker\n\n0.570\n0.918\n0.944\n\nWe present the prompting templates used for TextPecker’s\ntraining and testing in Fig. 11. To ensure consistency and\ncomparability across evaluations, we adopt the identical\ntemplate for all other MLLM baselines.\n\nE.4. Statistics of the RL Prompt Set for VTR\n\nG. Additional Implementation Details\nThis section provides further implementation details, supplementing the overview in the main paper. We employ the\nFlow-GRPO [34] framework for all Reinforcement Learning\n(RL) based VTR optimization experiments. Notably, FlowGRPO is an actively evolving repository, and the implementations reported here reflect the stable version available at\nthe time of our experiments. As noted in the main paper, the\noverall methodology adheres to Flow-GRPO’s core design,\nwhile the specific hyperparameters are carefully tuned for\neach base model (building upon the framework’s default\nconfigurations) to ensure stable and effective training. The\nresolution for all generated images is set to 512 × 512 pixels.\nThe model-specific configurations are detailed below.\n\nDistributions %\n\n\"\n!\n\nLength of rendered texts\n\nFigure 9. Statistics of the RL prompt set for RL-based VTR optimization (English: word-level; Chinese: character-level).\n\nSD3.5-M [16]: We use 30 sampling steps for training and\n16\n\n\fDistributions %\n\n\"\n\nDistributions %\n\n\"\n!\n\n!\n\nLength of rendered texts (words)\n\nLength of rendered texts (characters)\n\nFigure 10. Comparison among CVTG-2K[14], OneIG-Bench[6], LongText-Bench[20], and Our Proposed GenTextEval-Bench with Respect\nto the Length of Rendered Texts in English (Left) and Chinese (Right).\nImage-level Prompt for TextPecker\n\nBox-level Prompt for TextPecker\n\nQuery: This is a text-generated image.\nPlease recognize all visible text in the\nentire image. Marking rules: 1. Use &lt;#&gt;\nfor structurally flawed (e.g.,\nextra/missing strokes, distortion)\nunrecognizable Chinese characters or\nsingle English letters; 2. Use &lt;###&gt;\nexclusively for structurally flawed\nunrecognizable single English words\n(not multi-word phrases, lines, or\nsentences). Output in the following\nJSON format: {\"recognized_text\":\n\"All text in the image (including\nstructural error markers)\"}\n\nQuery: This is a text-generated image.\nPlease recognize all visible text in the\nlocal area \"bbox_2d:[x1, y1, x2, y2]”.\nMarking rules: 1. Use &lt;#&gt; for\nstructurally flawed (e.g., extra/missing\nstrokes, distortion) unrecognizable\nChinese characters or single English\nletters; 2. Use &lt;###&gt; exclusively for\nstructurally flawed unrecognizable\nsingle English words (not multi-word\nphrases, lines, or sentences). Output in\nthe following JSON format:\n{\"recognized_text\": \" Text in\n\"bbox_2d:[x1, y1, x2, y2]\" (including\nstructural error markers)\"}\n\nFigure 11. The prompting template used for our TextPecker.\n\nG.1. Computational cost and latency.\n\n40 for evaluation. The noise level is set to 0.8, and the guidance scale is 1.0 (following the Flow-GRPO-Fast framework,\nCPS sampling and No-CFG are adopted to improve training\nefficiency). The KL ratio β is 0.04. For LoRA, we adopt a\nrank r of 32 and an alpha α of 64. Training is conducted\nusing the Flow-GRPO-Fast framework.\n\nThe evaluator is used only during RL training and run as\na separate asynchronous service, hence it adds negligible\noverhead and does not affect inference latency; on SD3.5M[16], 100 RL steps take 5.52 h (TextPecker) vs. 5.40 h\n(PPOCRv5[15]).\n\nFlux.1[dev] [28]: We set 14 sampling steps for training and\n28 for evaluation. The noise level is 0.9, the guidance scale\nis 3.5, and the KL ratio β remains 0.04. For LoRA, we use a\nrank r of 64 and an alpha α of 128. No Flow-GRPO variant\nis employed for this model.\n\nH. Additional Implementation Details on Sec. D\nAs mentioned in Sec. D, we conducted additional experiments utilizing an enhanced RL baseline. This baseline\nincorporates several advanced techniques including FlowGRPO-Fast [30], GRPO-Guard [50], Velocity KL loss, and\nmulti-reward regularization. This section provides the specific hyperparameter details for experiments in Tab. 8 and\nTab. 9. LoRA configurations remain identical to those described in Sec. D.\n\nQwen-Image [55]: We employ 10 sampling steps for training and 50 for evaluation. The noise level is set to 1.2, with a\nguidance scale of 4.0 and a KL ratio β of 0.004. For LoRA,\nwe adopt a rank r of 64 and an alpha α of 128. Training is\nconducted using the Flow-GRPO-Fast framework.\n\nSD3.5-M [16]: We use 40 sampling steps for both training\n17\n\n\fand evaluation. An SDE window of size 12 is applied during\nthe first half of the sampling process. The key hyperparameters are set as follows: a noise level of 0.9, a guidance scale\nof 4.5, and a learning rate of 10−4 . The ratio β for the Velocity KL loss is set to 10−4 , and the clipping range is set to\n2 × 10−6 .\n\nyet impactful research direction, necessitating the integration of creative expression with principles of structure-aware\ntextual modeling.\n\nFlux.1[dev] [28]: We set the number of sampling steps to\n28 for both training and evaluation. An SDE window of size\n9 is used in the first half of the sampling steps. The noise\nlevel is 0.9, the guidance scale is 3.5, and the learning rate\nis 10−4 . The Velocity KL loss ratio β is configured to 10−4 ,\nand the clipping range is set to 2 × 10−6 .\nQwen-Image [55]: We employ 20 sampling steps for training and 50 for evaluation. During training, an SDE window\nof size 5 is applied to the initial half of the sampling steps.\nThe noise level is set to 1.2, the guidance scale is 4, and the\nlearning rate is 10−4 . The Velocity KL ratio β is 10−3 , and\nthe clipping range is set to 2 × 10−5 .\n\nI. Limitations\nTextPecker paves a novel path for addressing the core bottleneck in VTR evaluation and RL-based optimization, leveraging a structural-anomaly-aware RL reward that delivers\ncomplementary signals for semantic alignment and structural\nquality. While providing a foundational step towards structurally faithful VTR, our work still has several limitations\nthat point to meaningful directions to be explored.\nFirst, our structural anomaly synthesis is contingent upon\nthe availability of stroke-level font data. This dependency\ncurrently restricts its application to standard fonts, precluding the generation of anomalies in artistic or proprietary\ntypefaces lacking such data.\nSecond, our work is currently confined to Chinese and\nEnglish text rendering, with efficient multilingual extension\nas a key area for future exploration.\nThird, our TextPecker evaluator is equipped with boxlevel perception ability, which theoretically enables it to\nsupport downstream VTR-related tasks such as text translation and local text editing, which are often challenging for\ngeneral editing methods [10, 28, 46, 47, 68]. Validating the\neffectiveness of evaluation and RL optimization on these\ndownstream tasks is left for future work.\nFourth, challenges arise in handling artistic text generation (see Fig. 6 above), which is an increasingly demanded\nscenario. Artistic text often involves deliberate modifications\nto standard structures, such as connected strokes, added symbols, or pictorial variations, making it inherently difficult to\ndefine a single standard or ground truth. Furthermore, artistic designs are continuously evolving, presenting a moving\ntarget that conflicts with the structural consistency objectives\nof our current framework. Addressing the evaluation and\noptimization of artistic text generation remains a challenging\n18\n\n\fTable 14. Key parameters for canonical text rendering and structural anomaly construction.\nParameter Category\n\nCanonical Chinese Text\n\nCanonical English Text\n\nStructural Anomaly Construction\n\n10%\n3–10\n1–25 characters\n\n10%\n3–10\n3–25 characters\n\n10%\n3–10\n1–25 characters\n\nFont Settings\nNumber of font types\nFont size range\n\n976\n50–100 pt\n\n976\n50–100 pt\n\n976\n50–100 pt\n\nLayout Parameters\nHorizontal spacing between elements\nVertical line spacing\nLength ratio range\nRandom offset probability\nRandom offset range\nImage margin\nFlow layout probability\nCurve layout probability\n\n50–200 px\n10–20 px\n0.8–1.0\n20%\n10–30 px\n15 px\n80%\n20%\n\n50–200 px\n10–20 px\n0.8–1.0\n20%\n10–30 px\n15 px\n80%\n20%\n\n50–200 px\n10–20 px\n0.8–1.0\n20%\n10–30 px\n15 px\n80%\n20%\n\nStyle Effects\nStyle application probability\n- Text border (probability)\nSize ratio\nAlpha\n- Text shadow (probability)\n- Text extrusion (probability)\n\n25%\n100%\n5–15%\n1.0\n0%\n0%\n\n25%\n100%\n5–15%\n1.0\n0%\n0%\n\n25%\n100%\n5–15%\n1.0\n0%\n0%\n\nGeometric Transformation\nTransformation application probability\n- Perspective x (weight)\nPercents\n- Perspective y (weight)\nPercents\n- Trapezoidate x (weight)\nPercent\n- Trapezoidate y (weight)\nPercent\n- Skew x (weight)\nAngle\n- Skew y (weight)\nAngle\n- Rotate (weight)\nAngle\n\n50%\n1\n0.8\n1\n0.8–1\n1\n0.8–1\n1\n0.8–1\n2\n0–30°\n2\n0–10°\n3\n0–10°\n\n50%\n1\n0.8\n1\n0.8–1\n1\n0.8–1\n1\n0.8–1\n2\n0–30°\n2\n0–10°\n3\n0–10°\n\n50%\n1\n0.8\n1\n0.8–1\n1\n0.8–1\n1\n0.8–1\n2\n0–30°\n2\n0–10°\n3\n0–10°\n\nStructural Anomaly Generation\nAnomaly generation probability\n- Deletion (probability)\n- Insertion (probability)\n- Swapping (probability)\n\n0%\n–\n–\n–\n\n0%\n–\n–\n–\n\n50%\n40%\n40%\n40%\n\nBasic Text Configuration\nVertical text probability\nNumber of elements per sample\nText length range\n\n19\n\n\fStructural Anomaly Annotation (Box-Level)\n\n```json\\n{\\\"recognized_text\\\":\n\\\"our st&lt;#&gt;dio‘s wcheulee\\\"}\\n ```\n\n```json\\n{\\\"recognized_text\\\": \\\"LF\n7b &lt;#&gt;I&lt;#&gt; OD\\\"}\\n```\n\n``` Json\\n{“recognized_text\":\n“&lt;#&gt;&lt;#&gt;&lt;#&gt;&lt;#&gt;&lt;#&gt;4&lt;#&gt;&lt;#&gt;。&lt;#&gt;电\n&lt;#&gt;&lt;#&gt;&lt;#&gt;&lt;#&gt;&lt;#&gt;。”}\\n```\n\n```json\\n{\\\"recognized_text\\\":\n\\\"&lt;#&gt;&lt;#&gt;区⼈⺠检&lt;#&gt;\\\"}\\n```\n\n```json\\n{\\\"recognized_text\\\":\n\\\"“⽴陶&lt;#&gt;⽬前世界排场局134\n位”\\\"}\\n```\n\n```json\\n{\\\"recognized_text\\\":\n\\\"The Smithsonnian Instiuton is\nthe\\\\nworlds museeu&lt;#&gt;, largest\nresearch\\\\nmuseu&lt;#&gt;m, educcation,\nand ecahon,cat with\\\\nconplex. x, 1\nmuseuns a the National Zoo a,\nZn..\\\\nwelle &lt;#&gt;alleries in\nWashington, D.C.\\\"}\\n```\n\n```json\\n{\\\"recognized_text\\\": \\\"亚\n&lt;#&gt;湖&lt;#&gt;⻛&lt;#&gt;⼚\\\\n有限公司\n&lt;#&gt;&lt;#&gt;\\\"}\\n```\n\n```json\\n{\\\"recognized_text\\\":\n\\\"“性债务、虚构租赁物、租赁物低值\n⾼买\\\\n等违法违规⾏为，着⼒整治⾦\n融租赁公司融”\\\\n租赁\\\\n4K-，\n&lt;#&gt;&lt;#&gt;）\\\\n&lt;#&gt;物\\\"}\\n```\n\n```json\\n{\\\"recognized_text\\\":\n\\\"Town酒店距离拥\\\"}\\n```\n\n```json\\n{\\\"recognized_text\\\": \\\"\n信息&lt;#&gt;⼯&lt;#&gt;⽹\\\"}\\n```\n\n```json\\n{\\\"recognized_text\\\":\n\\”GRAVITY\\\"}\\n```\n\n```json\\n{\\\"recognized_text\\\": \\\"\n表现。\\\\n活动价:￥679\\\\n&lt;#&gt;约同⾏\n\\\\n&lt;#&gt;达博&lt;#&gt;馆，&lt;#&gt;&lt;#&gt;\\\\nELEC\n卫星和IPTV接&lt;#&gt;&lt;#&gt;\\\"}\\n```\n\n```json\\n{\\\"recognized_text\\\": \\\"\n慈善彩票⼤奖\n\\\\nReservatio\\\\n≥50mm，或按&lt;#&gt;\n求&lt;#&gt;&lt;#&gt;\\\\ng Resi\\\\n动&lt;#&gt;&lt;#&gt;&lt;#&gt;：\n\\\"}\\n```\n\n```json\\n{\\\"recognized_text\\\": \\\"e\n须知查看。\\\\n基础命令\\\\n平板学习\n机\\\\n。这...\\\\n略\\\"}\\n```\n\nStructural Anomaly Annotation (Image-Level)\n\n```json\\n{\\\"recognized_text\\\":\n\\\"CAN\\\\n&lt;#&gt;E&lt;#&gt;OI&lt;#&gt;E&lt;#&gt;\\\\nA&lt;#\n&gt;YTHIN&lt;#&gt;\\\"}\\n```\n\n```json\\n{\\\"recognized_text\\\":\n\\”&lt;#&gt;&lt;#&gt;\\\\ng&lt;#&gt;&lt;#&gt;ng\nveawing\\\\nLOOKING\\\\nCroale&lt;#&gt;&lt;\n#&gt;\\\\no\\\\nTOILETS\\\\nBuillding\\\\n\n&lt;#&gt;&lt;#&gt;y\\\\nCst&lt;#&gt;ni&lt;#&gt;n&lt;#&gt;g\\\\n&lt;#\n&gt;dI&lt;#&gt;&lt;#&gt; pnning\nL&lt;#&gt;&lt;#&gt;lteninve\\\\nCreating\\\\nPer&lt;\n#&gt;for&lt;#&gt;ing\\\\nInvent&lt;#&gt;e\\\\nmagi\nnine ning\\\\nReaading\\\\nr\nDisrupting\\\\n[xperiment&lt;#&gt;i&lt;#&gt;\\\\n\n&lt;#&gt;ay Plavering\\\\n&lt;###&gt; Lau&lt;#&gt;ng\nan&lt;#&gt;&lt;#&gt;ar.\\\"}\\n```\n\nSynthetic Data Augmentation (Box-Level)\n\n```json\\n{\\\"recognized_text\\\": \\\"\n业中&lt;#&gt;要同&lt;#&gt;的\\\"}\\n```\n\n```json\\n{\\\"recognized_text\\\": \\\"\n热情期待您&lt;#&gt;光&lt;#&gt;！\\\"}\\n```\n\nSynthetic Data Augmentation (Image-Level)\n\n```json\\n{\\\"recognized_text\\\":\n\\\"&lt;#&gt;城市&lt;#&gt;⼼仅5&lt;#&gt;&lt;#&gt;\\\\n申请⽂\n件&lt;#&gt;&lt;#&gt;&lt;#&gt;\\\\nhino 3D、\nZbrush\\\\n迷你&lt;#&gt;&lt;#&gt;&lt;#&gt;电\\\\n关闭\n&lt;#&gt;的⼿&lt;#&gt;&lt;#&gt;打&lt;#&gt;\\\"}\\n```\n\n```json\\n{\\\"recognized_text\\\":\n\\\"4-50% 关闭! \\\\n它&lt;#&gt;环保认证\\\\n\n⻔: 新&lt;#&gt;元国\\\\n关&lt;#&gt;志&lt;#&gt;\\\\n⽤\n&lt;#&gt;&lt;#&gt;。\\\\n7.0oC 培&lt;#&gt;箱\\\"}\\n```\n\nFigure 12. This figure shows manually annotated structural anomalies (box-level and image-level) from various generative models, alongside\nsynthetic structural anomalies generated by our rendering engine for data augmentation.\n\n20\n\n\f\"prompt\": \"⼀幅充满奇思妙想的漫画⻛格插图，描绘两位办公室员⼯在公园⻓椅上共进午餐时的幽默互动。对话框⾃然地按照对话流程排列。画⾯左\n上⻆，第⼀位员⼯的对话框内容为：“我带了⼀份新鲜沙拉，开始健康⽣活！”右上⻆第⼆位员⼯的对话框位置，其略显怀疑的表情下写着：“早上会议\n时你不是在吃甜甜圈吗？”左下⻆第⼀位员⼯防御性地回应：“平衡是关键！绿叶蔬菜可以抵消甜甜圈的糖分。”右下⻆第⼆位员⼯带着笑意和调侃的语\n⽓说：“啊，我搞错了。你应该给HR发邮件，建议推出新的甜甜圈沙拉健康计划。”诙谐的⾯部表情伴随着机智的对话，对话框以对⻆线排列⽅式⾃然\n引导观者体验这场幽默互动。\",\n\"target\": \"我带了⼀份新鲜沙拉，开始健康⽣活！早上会议时你不是在吃甜甜圈吗？平衡是关键！绿叶蔬菜可以抵消甜甜圈的糖分。啊，我搞错了。\n你应该给HR发邮件，建议推出新的甜甜圈沙拉健康计划。\",\n\"pecker_qua\": 0.8888888888888888,\n\"pecker_sem\": 0.5802469135802469,\n\"recognized_text\": \"早上会议时你不是在我带了⼀份新鲜沙吃甜甜圈吗开始健康⽣活啊我搞错了你&lt;#&gt;&lt;#&gt;HR 平衡是关键绿叶蔬菜可以抵涂甜圈的\n糖分&lt;#&gt;&lt;#&gt;&lt;#&gt;&lt;#&gt;&lt;#&gt;&lt;#&gt;&lt;#&gt;\"\n\n\"prompt\": \"阳光明媚的⼀天，繁忙的游乐园⼊⼝处挂满了五彩缤纷的横幅。⼊⼝上⽅悬挂着⼀条醒⽬的横幅，⽤清晰粗体的字⺟写着：“欢迎来到冒险\n王国，乐趣永⽆⽌境！”在问候语下⽅，稍⼩⼀些的⽂字写着：“体验惊险刺激的游乐设施、美味可⼝的美⻝和难忘的家庭时光”。售票处附近的⼩型横\n幅⽤易读的⽂字标明：“⼯作⽇折扣：12岁以下⼉童五折！”以及“年卡持有者专属通道”。其他附近标识牌显示着“园区每⽇上午10点⾄晚上9点开放”等信\n息。游客们稍作停留，阅读这些引⼈注⽬且充满吸引⼒的⽂字信息后，兴奋地朝公园⼊⼝⾛去。\",\n\"target\": \"欢迎来到冒险王国，乐趣永⽆⽌境！体验惊险刺激的游乐设施、美味可⼝的美⻝和难忘的家庭时光⼯作⽇折扣：12岁以下⼉童五折！年卡\n持有者专属通道园区每⽇上午10点⾄晚上9点开放\",\n\"pecker_qua\": 0.9864864864864865,\n\"pecker_sem\": 0.8227848101265822,\n\"recognized_text\": \"欢迎来到冒险王国乐趣永⽆⽌境体验惊险刺激的游乐设施、美味可⼝的美⻝和难忘的家庭时光⼯作⽇折扣：12岁以&lt;#&gt;⼉童五折\n&lt;#&gt;卡每⽇上午10点⾄&lt;#&gt;晚上9属通道\"\n\n\"prompt\": \"A humorous cartoon-style comic panel set inside an art museum, depicting a confused visitor engaging in playful dialogue with the\nenthusiastic tour guide about an abstract painting. Speech bubbles are positioned naturally to guide viewers easily through their conversation. At the\nupper-left, the puzzled visitor's speech bubble reads, \\\"Are you sure this upside-down triangle represents humanity's struggle?\\\" In the top-right corner,\nthe smiling guide replies confidently, \\\"Precisely! Humanity often struggles between deep meaning and pizza cravings\\\". Lower-left corner speech\nbubble shows the visitor responding thoughtfully, \\\"Well, in that case, I deeply resonate with this masterpiece\\\". Finally, bottom-right side next to the\nguide, a cheerful bubble summarizes, \\\"Excellent! True art speaks clearly to those who hunger for understanding\\\". The humorous expressions and clear\ndiagonal speech bubble arrangement naturally guide viewers through the amusing exchange from top-left to bottom-right.\",\n\"target\": \"Are you sure this upside-down triangle represents humanitys struggle? Precisely! Humanity often struggles between deep meaning and pizza\ncravings Well, in that case, I deeply resonate with this masterpiece Excellent! True art speaks clearly to those who hunger for understanding\",\n\"pecker_qua\": 0.9915966386554622,\n\"pecker_sem\": 0.4777591036414566,\n\"recognized_text\": \"THE YOU OFF ARE WrAMGuS STRuGGLE, SUEE THIS THEYAI IE PESINOUT UPSIDE-DOWN HUMANITY,G&lt;#&gt;&lt;#&gt;ides. STRVGGLES\nDEEP MEANING AND PIZZA CRAVINGS? WELL, IN THAT CASE, I DEEPLY REMOTANTE WITH THIS MASTERPIECES EXPELLENT! \\\"TRUE ART\nCLEARLY\\\" NEXTES TO THOSE WHO HUNGER FOR UNDERSTANDING!\"\n\n\"prompt\": \"⼀个精⼼陈列的矿物和晶体标本的玻璃展柜。每个标本都配有详细且易于阅读的信息标签；其中⼀个显眼的标签清晰标注着“紫⽔晶⽯英晶体\n簇，巴⻄⽶纳斯吉拉斯州”，下⽅附有更⼩字号的说明⽂字明确写着“约1.3亿年前形成”。附近的其他信息标签精准标注着诸如“蓝铜矿伴孔雀⽯，产⾃中\n国云南”、“闪电脊⽊化⽯，约1亿年前，产⾃澳洲”以及“萤⽯⼋⾯体晶体，产⾃中国湖南”等展品信息。这些印刷整⻬、简洁明了的标签有效吸引并教育着\n观众，增强他们在欣赏展示矿物标本时的互动体验与理解深度。\",\n\"target\": \"紫⽔晶⽯英晶体簇，巴⻄⽶纳斯吉拉斯州约1.3亿年前形成蓝铜矿伴孔雀⽯，产⾃中国云南闪电脊⽊化⽯，约1亿年前，产⾃澳洲萤⽯⼋⾯体\n晶体，产⾃中国湖南\",\n\"pecker_qua\": 0.9333333333333333,\n\"pecker_sem\": 0.44285714285714284,\n\"recognized_text\": \"蓝铜矿伴孔雀环产⾄中国云南闪电脊⽊&lt;#&gt;⽯紫⽔晶⽯奉晶体簇约1亿年&lt;#&gt; 产⾄&lt;#&gt; 巴⻄⽶&lt;#&gt;吉拉斯州约1.3亿年前形成荧晶⼋\n⾯体晶体产⾄中&lt;#&gt;湖南\"\n\n\"prompt\": \"A lively, crowded outdoor marketplace fills a sunny plaza, bustling energetically with shoppers weaving among vibrant vendor stands\noverflowing with fresh, colorful goods. Drawing clear attention at the heart of this dynamic market scene is a large, rustic wooden sign prominently\nhung above a popular stall, displaying attractive, easily readable lettering that warmly announces \\\"Farm Fresh &amp; Locally Produce\\\". Beneath this\nmain headline, elegant yet simple text proclaims encouraging messages, clearly stating \\\"Taste Nature's Best Support Local Farmers!\\\" and the\nenticing incentive \\\"Special Offer: Organic 10% Off Today Only!\\\" Scattered artfully around the stall are smaller, charmingly handwritten chalkboardstyle signs clearly displaying inviting additional notes such as \\\"Fresh Apples, Strawberries and Seasonal Veggies Available\\\" further engaging and\ndrawing in curious visitors. Shoppers frequently pause to thoughtfully read and appreciate these inviting, vividly presented signs, adding warmth and\nauthenticity to the overall bustling marketplace atmosphere.\",\n\"target\": \"Farm Fresh &amp; Locally Produce Taste Natures Best Support Local Farmers! Special Offer: Organic 10% Off Today Only! Fresh Apples,\nStrawberries and Seasonal Veggies Available\",\n\"pecker_qua\": 1.0,\n\"pecker_sem\": 0.71,\n\"recognized_text\": \"Farm Fresh &amp; Locally Produce. Taste Nature's Best Support Local Farmers! Special Offer: Organic 10% Off Today Only!\"\n\nFigure 13. This figure presents evaluation samples of TextPecker, showcasing its performance in detecting structural anomalies across\ndiverse text rendering scenarios. ω = 1 for structural quality score visualization.\n\n21\n\n\f</code></pre></article>\n        \n</main>\n\n<script src=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js\"></script>\n<script>\n\nfunction initTheme() {\n  const saved = localStorage.getItem('kb-theme') || 'light';\n  document.documentElement.setAttribute('data-theme', saved);\n  updateThemeIcon(saved);\n}\nfunction toggleTheme() {\n  const cur = document.documentElement.getAttribute('data-theme') || 'light';\n  const next = cur === 'light' ? 'dark' : 'light';\n  document.documentElement.setAttribute('data-theme', next);\n  localStorage.setItem('kb-theme', next);\n  updateThemeIcon(next);\n}\nfunction updateThemeIcon(t) {\n  const btn = document.getElementById('theme-toggle-btn');\n  if (btn) btn.innerHTML = t === 'dark' ? '☀️' : '🌙';\n}\ndocument.addEventListener('DOMContentLoaded', initTheme);\n\nfunction setViewMode(m) {\n  const grid = document.getElementById('bento-grid-view');\n  const list = document.getElementById('list-table-view');\n  const bGrid = document.getElementById('view-grid-btn');\n  const bList = document.getElementById('view-list-btn');\n  if (m === 'list') {\n    if (grid) grid.style.display = 'none';\n    if (list) list.style.display = 'flex';\n    if (bGrid) bGrid.classList.remove('active');\n    if (bList) bList.classList.add('active');\n  } else {\n    if (grid) grid.style.display = 'grid';\n    if (list) list.style.display = 'none';\n    if (bGrid) bGrid.classList.add('active');\n    if (bList) bList.classList.remove('active');\n  }\n  localStorage.setItem('kb-view', m);\n}\ndocument.addEventListener('DOMContentLoaded', () => {\n  const s = localStorage.getItem('kb-view') || 'grid';\n  setViewMode(s);\n});\n\ndocument.addEventListener('DOMContentLoaded', () => {\n  document.querySelectorAll('pre').forEach(pre => {\n    const b = document.createElement('button');\n    b.className = 'copy-code-btn';\n    b.innerText = 'Copy';\n    b.onclick = () => {\n      const c = pre.querySelector('code') ? pre.querySelector('code').innerText : pre.innerText;\n      navigator.clipboard.writeText(c).then(() => {\n        b.innerText = 'Copied!';\n        setTimeout(() => { b.innerText = 'Copy'; }, 2000);\n      });\n    };\n    pre.appendChild(b);\n  });\n});\n\nwindow.addEventListener('keydown', (e) => {\n  if ((e.key === '/' || (e.metaKey && e.key === 'k')) && document.activeElement.tagName !== 'INPUT' && document.activeElement.tagName !== 'TEXTAREA') {\n    e.preventDefault();\n    const q = document.getElementById('global-search-input');\n    if (q) q.focus();\n  }\n});\n\n// Scrollspy for TOC\nwindow.addEventListener('scroll', () => {\n  const headers = document.querySelectorAll('.article-body h1, .article-body h2, .article-body h3');\n  const scrollPos = window.scrollY + 100;\n  headers.forEach(h => {\n    if (h.offsetTop <= scrollPos) {\n      const id = h.getAttribute('id');\n      if (id) {\n        document.querySelectorAll('.reading-sidebar a').forEach(a => {\n          a.classList.toggle('active', a.getAttribute('href') === '#' + id);\n        });\n      }\n    }\n  });\n});\n\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n  if (window.renderMathInElement) {\n    renderMathInElement(document.body, {\n      delimiters: [\n        {left: '$$', right: '$$', display: true},\n        {left: '$', right: '$', display: false},\n      ],\n      throwOnError : false\n    });\n  }\n});\n</script>\n\n</body>\n</html>\n"