Handwritten archival tables contain rich historical information, yet transforming them into structured representations, such as Knowledge Graphs, requires integrating table structure recognition, handwriting recognition, and semantic interpretation - a complex multimodal process. End-to-end AI implementations can obscure these steps, resulting in opaque algorithmic operations that hinder human oversight, critical assessment, and trust. To address this, we present a modular, provenance-aware pipeline to convert handwritten tabular images into KGs supporting human-AI collaboration. The pipeline decomposes the workflow into three stages - table reconstruction, information extraction, and KG construction - while exposing intermediate representations for inspection, evaluation, and correction. A key contribution of our approach is the systematic integration of data provenance at every stage, ensuring that all extracted entities and literals remain traceable to their visual and textual origins. The proposed pipeline is demonstrated through a number of experiments on real-world archival material concerning military careers. The results across three different table reconstruction variants highlight the importance of modularisation. By coupling modularity with data provenance, our work advances transparent and collaboratively controllable image-to-KG pipelines for complex historical data.
https://arxiv.org/abs/2605.08222
Generative Adversarial Networks (GANs) offer a pragmatic route to mitigate data scarcity in vision tasks. We study generative augmentation across two low-resource domains: Bangla handwritten characters and chest X-ray imaging using DCGAN-style models trained at 64x64 resolution. We evaluate fidelity and diversity via Inception Score (IS), Fr'echet Inception Distance (FID), and embedding visualizations (t-SNE/UMAP), and assess downstream utility by training classifiers on real versus real synthetic data. Our experiments show that generative augmentation improves sample diversity and yields consistent gains in classifier performance under limited-data regimes. We analyze stability enhancements (e.g., gradient-penalized objectives and spectral normalization) and report ablations on synthetic-to-real ratios and sample filtering. We discuss evaluation caveats for medical images, dataset licensing, and privacy risks associated with synthetic data. The resulting protocol is simple to reproduce and provides a strong baseline for applying generative augmentation to resource-constrained imaging tasks.
https://arxiv.org/abs/2605.01815
The record of the beginning of the most widespread legal system in the world is contained in millions of pages of handwritten text. Most of the records of the first centuries of the Anglo-American legal system are hand-written in a highly abbreviated form of medieval Latin which only a few dozen scholars in the world are trained to read. In this interdisciplinary project, we construct a dataset of 4029 lines of text across 193 medieval criminal and civil cases. We then use the dataset to train an open-source end-to-end pipeline for transcribing these manuscripts. We first train standard neural network architectures for line segmentation and handwriting recognition (R-Blla and CNN+LSTM with CTC decoding, respectively) and show that they can already achieve 79% word accuracy, despite the relatively small training set and the challenge of expanding abbreviations. We then demonstrate that simple post-processing significantly boosts accuracy: adding an n-gram language model to the CTC decoder improves word accuracy to 82%, while asking Gemini Pro 3 to correct mistakes boosts accuracy to 88%. Finally, we compare the CNN+LSTM architecture with TrOCR, a transformer-based OCR architecture, demonstrating that TrOCR shows comparable word accuracy but worse character accuracy due to its over-willingness to guess, making it harder for humans to infer the correct reading. We incorporated our pipeline into a web portal (this http URL), opening up the English legal tradition to legal scholars, medievalists, and students.
https://arxiv.org/abs/2605.00977
Historical encrypted manuscripts require both paleographic interpretation of cipher symbols and cryptanalytic recovery of plaintext. Most existing computational workflows rely on a transcription-first paradigm, in which handwritten symbols are transcribed prior to decipherment. This intermediate step is labor-intensive, error-prone, and not always aligned with the goal of direct plaintext recovery. We propose an end-to-end, transcription-free approach that directly maps handwritten cipher images to plaintext. Using the Copiale cipher as a case study, we introduce the first text-line-level dataset pairing cipher images with German plaintext. We show that pretraining on generic handwriting data followed by cipher-specific fine-tuning substantially improves decipherment accuracy. Our results demonstrate that transcription-free image-to-plaintext decipherment is both feasible and effective for historical substitution ciphers, offering a simplified and scalable alternative to traditional pipelines. this https URL
https://arxiv.org/abs/2604.23683
Manual digitisation of structured handwritten documents is slow and costly. We benchmark 17 leading frontier multi-modal large language models and open-source models against a very challenging real-world medical form that mixes dates; structured, printed text; hand-written responses and significant variability challenges. None of the smaller or older models perform well but the latest Google and OpenAI models reach accuracies around $85\%$ with weighted F1 scores $\simeq 90\%$ across the discrete or predefined fields despite the very challenging nature of the responses. Clear task specific strengths emerge: GPT 5.4 excels in noisy date extraction as well as reliability with the lowest hallucination rate ($6\%$). Claude Sonnet 4.6 had the best average performance across formatted fields (dates and numerical values), while Gemini 3.1 delivered the best overall performance, with the lowest free text error rates (WER = $0.50$ and CER = $0.31$) and the strongest results across discrete classification metrics. We further show that prompt optimisation dramatically improves macro precision, recall and F1 by over $60\%$, but has little impact on weighted metrics (only $\sim2-5\%$ improvement). These results provide evidence that the rapid improvements of multimodal large language models offer a compelling pathway toward fully automated digitisation of complex handwritten workflows that is particularly relevant in low- and middle-income countries.
https://arxiv.org/abs/2604.16504
Handwritten Text Recognition (HTR) models trained on synthetic handwriting often struggle to generalize to real text, and existing adaptation methods still require real samples from the target domain. In this work, we tackle the fully zero-shot synthetic-to-real generalization setting, where no real data from the target language is available. Our approach learns how model parameters change when moving from synthetic to real handwriting in one or more source languages and transfers this learned correction to new target languages. When using multiple sources, we rely on linguistic similarity to weigh their contrubition when combining them. Experiments across five languages and six architectures show consistent improvements over synthetic-only baselines and reveal that the transferred corrections benefit even languages unrelated to the sources.
https://arxiv.org/abs/2604.09713
Online handwriting represents strokes as time-ordered trajectories, which makes handwritten content easier to transform and reuse in a wide range of applications. However, generating natural sentence-level online handwriting that faithfully reflects a writer's style remains challenging, since sentence synthesis demands context-dependent characters with stroke continuity and spacing. Prior methods treat these boundary properties as implicit outcomes of sequence modeling, which becomes unreliable at the sentence scale and under limited compositional diversity. We propose CASHG, a context-aware stylized online handwriting generator that explicitly models inter-character connectivity for style-consistent sentence-level trajectory synthesis. CASHG uses a Character Context Encoder to obtain character identity and sentence-dependent context memory and fuses them in a bigram-aware sliding-window Transformer decoder that emphasizes local predecessor--current transitions, complemented by gated context fusion for sentence-level this http URL proceeds through a three-stage curriculum from isolated glyphs to full sentences, improving robustness under sparse transition coverage. We further introduce Connectivity and Spacing Metrics (CSM), a boundary-aware evaluation suite that quantifies cursive connectivity and spacing similarity. Under benchmark-matched evaluation protocols, CASHG consistently improves CSM over comparison methods while remaining competitive in DTW-based trajectory similarity, with gains corroborated by a human evaluation.
在线手写将笔迹表示为时间有序的轨迹,这使得手写内容在众多应用中更易于转换和复用。然而,生成能忠实反映书写者风格的、自然的句子级在线手写仍具挑战性,因为句子合成需要具备笔划连贯性和间距的、依赖上下文的字符。先前方法将这些边界特性视为序列建模的隐式结果,这在句子尺度上及组合多样性有限时变得不可靠。我们提出了CASHG,一个上下文感知的、风格化的在线手写生成器,它通过显式建模字符间连接性,来实现风格一致的句子级轨迹合成。CASHG使用一个字符上下文编码器来获取字符身份和句子依赖的上下文记忆,并在一个关注二元组的滑动窗口Transformer解码器中融合它们,该解码器强调局部前字-当前字过渡,并辅以门控上下文融合以实现句子级一致性。训练通过一个从独立字形到完整句子的三阶段渐进式方案进行,提高了稀疏过渡覆盖下的鲁棒性。我们还引入了连通与间距度量(CSM),一个边界感知的评估套件,用于量化草书连接性和间距相似性。在匹配基准的评估协议下,CASHG在CSM上持续优于对比方法,同时在基于动态时间规整的轨迹相似度上保持竞争力,这些提升也通过人工评估得到了证实。
https://arxiv.org/abs/2604.02103
While state-of-the-art Handwritten Text Recognition (HTR) models perform well on standard benchmarks, they frequently struggle with writers exhibiting highly specific styles that are underrepresented in the training data. To handle unseen and atypical writers, writer adaptation techniques personalize HTR models to individual handwriting styles. Leading writer adaptation methods require either offline fine-tuning or parameter updates at inference time, both involving gradient computation and backpropagation, which increase computational costs and demand careful hyperparameter tuning. In this work, we propose a novel context-driven HTR framework3 inspired by multimodal in-context learning, enabling inference-time writer adaptation using only a few examples from the target writer without any parameter updates. We further demonstrate the impact of context length, design a compact 8M-parameter CNN-Transformer that enables few-shot in-context adaptation, and show that combining context-driven and standard OCR training strategies leads to complementary improvements. Experiments on IAM and RIMES validate our approach with Character Error Rates of 3.92% and 2.34%, respectively, surpassing all writer-independent HTR models without requiring any parameter updates at inference time.
尽管最先进的手写文本识别(HTR)模型在标准基准测试中表现良好,但它们经常难以处理在训练数据中代表性不足的高度特定书写风格。为应对未见且非典型的书写者,书写者自适应技术能够将HTR模型个性化以适应个体书写风格。领先的书写者自适应方法需要离线微调或在推理时进行参数更新,两者都涉及梯度计算和反向传播,这会增加计算成本并需要仔细的超参数调优。在本研究中,我们提出了一种新颖的、受多模态上下文学习启发的上下文驱动HTR框架,能够在推理时仅使用目标书写者的少量示例实现书写者自适应,且无需任何参数更新。我们进一步展示了上下文长度的影响,设计了一个紧凑的8M参数CNN-Transformer模型以实现少样本上下文自适应,并证明结合上下文驱动与标准OCR训练策略能带来互补性改进。在IAM和RIMES数据集上的实验验证了我们的方法,分别达到3.92%和2.34%的字符错误率,超越了所有无需在推理时进行参数更新的书写者无关HTR模型。
https://arxiv.org/abs/2603.29450
Optical character recognition remains critical infrastructure for document digitization, yet state-of-the-art performance is often restricted to well-resourced institutions by prohibitive computational barriers. End-to-end transformer architectures achieve strong accuracy but demand hundreds of GPU hours for domain adaptation, limiting accessibility for practitioners and digital humanities scholars. We present a modular detection-and-correction framework that achieves near-SOTA accuracy with single-GPU training. Our approach decouples lightweight visual character detection (domain-agnostic) from domain-specific linguistic correction using pretrained sequence models including T5, ByT5, and BART. By training the correctors entirely on synthetic noise, we enable annotation-free domain adaptation without requiring labeled target images. Evaluating across modern clean handwriting, cursive script, and historical documents, we identify a critical "Pareto frontier" in architecture selection: T5-Base excels on modern text with standard vocabulary, whereas ByT5-Base dominates on historical documents by reconstructing archaic spellings at the byte level. Our results demonstrate that this decoupled paradigm matches end-to-end transformer accuracy while reducing compute by approximately 95%, establishing a viable, resource-efficient alternative to monolithic OCR architectures.
光学字符识别仍是文档数字化的重要基础设施,然而最先进的性能往往因高昂的计算门槛而局限于资源充足的机构。端到端Transformer架构虽能实现高精度,但领域自适应需消耗数百GPU小时,限制了实践者与数字人文研究者的使用。我们提出一种模块化的检测-校正框架,仅用单GPU训练即可实现接近SOTA的准确率。该方法将轻量级的视觉字符检测(领域无关)与基于预训练序列模型(包括T5、ByT5和BART)的领域特定语言校正解耦。通过完全在合成噪声数据上训练校正器,我们实现了无需标注目标图像的免标注领域自适应。在现代清晰手写体、草书及历史文档的跨领域评估中,我们识别出架构选择的关键"帕累托前沿":T5-Base模型在标准词汇的现代文本上表现卓越,而ByT5-Base则凭借字节级重建古旧拼写,在历史文档中占据优势。结果表明,这种解耦范式在匹配端到端Transformer精度的同时,将计算量降低约95%,为整体式OCR架构提供了可行且资源高效的替代方案。
https://arxiv.org/abs/2603.28028
Japanese scene text poses challenges that multilingual benchmarks often fail to capture, including mixed scripts, frequent vertical writing, and a character inventory far larger than the Latin alphabet. Although Japanese is included in several multilingual benchmarks, these resources do not adequately capture the language-specific complexities. Meanwhile, existing Japanese visual text datasets have primarily focused on scanned documents, leaving in-the-wild scene text underexplored. To fill this gap, we introduce JaWildText, a diagnostic benchmark for evaluating vision-language models (VLMs) on Japanese scene text understanding. JaWildText contains 3,241 instances from 2,961 images newly captured in Japan, with 1.12 million annotated characters spanning 3,643 unique character types. It comprises three complementary tasks that vary in visual organization, output format, and writing style: (i) Dense Scene Text Visual Question Answering (STVQA), which requires reasoning over multiple pieces of visual text evidence; (ii) Receipt Key Information Extraction (KIE), which tests layout-aware structured extraction from mobile-captured receipts; and (iii) Handwriting OCR, which evaluates page-level transcription across various media and writing directions. We evaluate 14 open-weight VLMs and find that the best model achieves an average score of 0.64 across the three tasks. Error analyses show recognition remains the dominant bottleneck, especially for kanji. JaWildText enables fine-grained, script-aware diagnosis of Japanese scene text capabilities, and will be released with evaluation code.
日语场景文本面临着多语言基准测试常难以捕捉的挑战,包括混合文字系统、频繁的竖排书写,以及远超拉丁字母的字符总量。尽管日语已被纳入多个多语言基准测试,但这些资源未能充分体现该语言特有的复杂性。与此同时,现有日语视觉文本数据集主要聚焦扫描文档,对现实场景中的文本探索不足。为填补这一空白,我们推出JaWildText——一个用于评估视觉-语言模型(VLMs)日语场景文本理解能力的诊断基准。该数据集包含2,961张在日本新采集图像中的3,241个实例,覆盖3,643种独特字符类型,共标注112万个字符。数据集包含三个互补任务,在视觉组织、输出格式和书写风格上各有差异:(i)密集场景文本视觉问答(STVQA),需对多段视觉文本证据进行推理;(ii)收据关键信息提取(KIE),测试对手机拍摄收据的布局感知结构化提取;(iii)手写OCR,评估跨媒介和书写方向的整页转录。我们评估了14个开源视觉-语言模型,发现最佳模型在三项任务上的平均得分仅为0.64。错误分析表明,识别仍是主要瓶颈,尤其是对汉字。JaWildText支持细粒度、感知文字系统的日语场景文本能力诊断,并将随评估代码一并开源。
https://arxiv.org/abs/2603.27942
Assessing student handwritten scratchwork is crucial for personalized educational feedback but presents unique challenges due to diverse handwriting, complex layouts, and varied problem-solving approaches. Existing educational NLP primarily focuses on textual responses and neglects the complexity and multimodality inherent in authentic handwritten scratchwork. Current multimodal large language models (MLLMs) excel at visual reasoning but typically adopt an "examinee perspective", prioritizing generating correct answers rather than diagnosing student errors. To bridge these gaps, we introduce ScratchMath, a novel benchmark specifically designed for explaining and classifying errors in authentic handwritten mathematics scratchwork. Our dataset comprises 1,720 mathematics samples from Chinese primary and middle school students, supporting two key tasks: Error Cause Explanation (ECE) and Error Cause Classification (ECC), with seven defined error types. The dataset is meticulously annotated through rigorous human-machine collaborative approaches involving multiple stages of expert labeling, review, and verification. We systematically evaluate 16 leading MLLMs on ScratchMath, revealing significant performance gaps relative to human experts, especially in visual recognition and logical reasoning. Proprietary models notably outperform open-source models, with large reasoning models showing strong potential for error explanation. All evaluation data and frameworks are publicly available to facilitate further research.
评估学生手写草稿演算对个性化教育反馈至关重要,但由于字迹多样、布局复杂及解题思路各异,该任务面临独特挑战。现有教育自然语言处理研究主要聚焦文本作答,忽视了真实手写草稿演算中固有的复杂性与多模态特性。当前多模态大语言模型虽擅长视觉推理,但通常采用"应试视角",优先生成正确答案而非诊断学生错误。为弥补这些差距,我们推出ScratchMath——首个专为解释和分类真实手写数学草稿演算错误而设计的基准数据集。该数据集包含1720份中国中小学生的数学样本,支持错误归因解释(ECE)与错误归因分类(ECC)两项核心任务,涵盖七类明确定义的错误类型。数据集通过专家标注、复核与验证的多阶段人机协作流程精心标注。我们在ScratchMath上系统评估了16个主流多模态大语言模型,发现其与人类专家存在显著性能差距,尤其在视觉识别与逻辑推理方面。专有模型普遍优于开源模型,大型推理模型在错误解释方面展现强劲潜力。所有评估数据与框架均已公开,以推动后续研究。
https://arxiv.org/abs/2603.24961
The handwriting of Chinese characters is a fundamental aspect of learning the Chinese language. Previous automated assessment methods often framed scoring as a regression problem. However, this score-only feedback lacks actionable guidance, which limits its effectiveness in helping learners improve their handwriting skills. In this paper, we leverage vision-language models (VLMs) to analyze the quality of handwritten Chinese characters and generate multi-level feedback. Specifically, we investigate two feedback generation tasks: simple grade feedback (Task 1) and enriched, descriptive feedback (Task 2). We explore both low-rank adaptation (LoRA)-based fine-tuning strategies and in-context learning methods to integrate aesthetic assessment knowledge into VLMs. Experimental results show that our approach achieves state-of-the-art performances across multiple evaluation tracks in the CCL 2025 workshop on evaluation of handwritten Chinese character quality.
汉字书写是学习汉语的基础。以往自动化评估方法常将评分定义为回归问题,但仅提供分数的反馈缺乏可操作的指导,限制了其在提升书写技能方面的效果。本文利用视觉-语言模型(VLMs)分析手写汉字质量并生成多层级反馈。具体而言,我们研究了两种反馈生成任务:简单等级反馈(任务1)和丰富的描述性反馈(任务2)。我们探索了基于低秩适应(LoRA)的微调策略与上下文学习方法,以将审美评估知识融入VLMs。实验结果表明,该方法在CCL 2025手写汉字质量评估工作坊的多项评测赛道中达到最先进水平。
https://arxiv.org/abs/2603.26768
Digital handwriting acquisition enables the capture of detailed temporal and kinematic signals reflecting the motor processes underlying writing behavior. While handwriting analysis has been extensively explored in clinical or adult populations, its potential for studying developmental and educational characteristics in children remains less investigated. In this work, we examine whether handwriting dynamics encode information related to student characteristics using a large-scale online dataset collected from Japanese students from elementary school to junior high school. We systematically compare three families of handwriting-derived features: basic statistical descriptors of kinematic signals, entropy-based measures of variability, and parameters obtained from the sigma-lognormal model. Although the dataset contains dense stroke-level recordings, features are aggregated at the student level to enable a controlled comparison between representations. These features are evaluated across three prediction tasks: grade prediction, gender classification, and academic performance classification, using Linear or Logistic Regression and Random Forest models under consistent experimental settings. The results show that handwriting dynamics contain measurable signals related to developmental stage and individual differences, especially for the grade prediction task. These findings highlight the potential of kinematic handwriting analysis and confirm that through their development, children's handwriting evolves toward a lognormal motor organization.
数字手写采集使得能够捕捉到反映书写行为背后运动过程的详细时间与动力学信号。尽管在临床或成人人群中,手写分析已经被广泛研究,但它在儿童发展和教育特征研究中的潜力尚未得到充分探索。在这项工作中,我们考察了学生的特性信息是否通过手写动态编码,并使用了一套大规模在线数据集,该数据来自日本从小学到初中阶段的学生。我们系统地比较了三种类型的手写衍生特征:运动信号的基本统计描述符、基于熵的可变性度量以及从sigma-对数正态模型中获得的参数。 尽管数据集中包含密集的笔画级记录,但为了实现表示之间的可控对比,这些特征是在学生级别上进行聚合。使用一致的实验设置,在线性和逻辑回归及随机森林模型下评估了这三个预测任务:年级预测、性别分类以及学业成绩分类。 研究结果表明,手写动态中包含了与发展阶段和个体差异相关的可测量信号,特别是在年级预测任务中尤为明显。这些发现突出了运动学手写分析的潜力,并确认了通过发展过程,儿童的手写字迹向着对数正态运动组织进化这一事实。
https://arxiv.org/abs/2603.11519
While handwriting has traditionally been studied for character recognition and disease classification, its potential to reflect day-to-day physiological fluctuations in healthy individuals remains unexplored. This study examines whether daily variations in sleep-related recovery states can be inferred from online handwriting dynamics. % We propose a personalized binary classification framework that detects low-recovery days using features derived from the Sigma-Lognormal model, which captures the neuromotor generation process of pen strokes. In a 28-day in-the-wild study involving 13 university students, handwriting was recorded three times daily, and nocturnal cardiac indicators were measured using a wearable ring. For each participant, the lowest (or highest) quartile of four sleep-related metrics -- HRV, lowest heart rate, average heart rate, and total sleep duration -- defined the positive class. Leave-One-Day-Out cross-validation showed that PR-AUC significantly exceeded the baseline (0.25) for all four variables after FDR correction, with the strongest performance observed for cardiac-related variables. Importantly, classification performance did not differ significantly across task types or recording timings, indicating that recovery-related signals are embedded in general movement dynamics. These results demonstrate that subtle within-person autonomic recovery fluctuations can be detected from everyday handwriting, opening a new direction for non-invasive, device-independent health monitoring.
虽然手写通常被研究用于字符识别和疾病分类,但它在反映健康个体日常生理波动方面的潜力尚未得到探索。本研究探讨了是否可以通过在线书写动态来推断与睡眠相关的恢复状态的日常变化。 在这项为期28天的野外研究中,13名大学学生每天记录三次手写,并通过可穿戴戒指测量夜间心脏指标。每位参与者的心率变异(HRV)、最低心率、平均心率和总睡眠时间这四个睡眠相关指标中的最低(或最高)四分位数定义了阳性类别。 在留一法交叉验证中,经过FDR校正后,所有四个变量的PR-AUC值显著高于基线(0.25),其中心脏相关的变量表现最强。值得注意的是,不同任务类型和记录时间的分类性能差异不大,表明与恢复相关的信号嵌入了一般的运动动态之中。 这些结果证明了可以通过日常书写检测到个体内部微妙的自主神经系统恢复波动,为非侵入性、设备独立性的健康监测开辟了一个新方向。
https://arxiv.org/abs/2603.11512
One-shot styled handwriting image generation, despite achieving impressive results in recent years, remains challenging due to the difficulty in capturing the intricate and diverse characteristics of human handwriting by using solely a single reference image. Existing methods still struggle to generate visually appealing and realistic handwritten images and adapt to complex, unseen writer styles, struggling to isolate invariant style features (e.g., slant, stroke width, curvature) while ignoring irrelevant noise. To tackle this problem, we introduce Patch Contrastive Enhancement and Style-Aware Quantization via Denoising Diffusion (CONSTANT), a novel one-shot handwriting generation via diffusion model. CONSTANT leverages three key innovations: 1) a Style-Aware Quantization (SAQ) module that models style as discrete visual tokens capturing distinct concepts; 2) a contrastive objective to ensure these tokens are well-separated and meaningful in the embedding style space; 3) a latent patch-based contrastive (LLatentPCE) objective help improving quality and local structures by aligning multiscale spatial patches of generated and real features in latent space. Extensive experiments and analysis on benchmark datasets from multiple languages, including English, Chinese, and our proposed ViHTGen dataset for Vietnamese, demonstrate the superiority of adapting to new reference styles and producing highly detailed images of our method over state-of-the-art approaches. Code is available at GitHub
近年来,一次性风格化手写图像生成虽然取得了令人瞩目的成果,但仍然面临着挑战。由于仅使用单一参考图像难以捕捉人类书写中细微而多样的特征,现有的方法在生成视觉上吸引人且逼真的手写图像以及适应复杂的、未见过的写作风格方面仍存在困难。它们难以分离不变的风格特征(如倾斜度、笔画宽度和曲线),同时忽略无关的噪声。 为了应对这一问题,我们提出了一种名为“Patch Contrastive Enhancement and Style-Aware Quantization via Denoising Diffusion”(CONSTANT)的新颖一次性手写生成方法,该方法基于扩散模型。CONSTANT采用三个关键创新: 1. **风格感知量化(SAQ)模块**:通过捕捉不同概念的离散视觉令牌来建模风格。 2. 对比性目标确保这些令牌在嵌入式风格空间中彼此分离且有意义。 3. 基于潜在补丁对比的目标 (LLatentPCE),通过在潜空间中对齐生成和真实特征的多尺度空间补丁,提高图像质量和局部结构。 我们在多个语言的数据集上进行了广泛的实验和分析,包括英语、中文以及我们提出的越南语ViHTGen数据集。这些实验证明了我们的方法在适应新参考风格和产生高质量详细图像方面优于现有的最佳方法。代码可在GitHub上获取。
https://arxiv.org/abs/2603.07543
Document intelligence requires accurate text extraction and reliable reasoning over document content. We introduce \textbf{DISCO}, a \emph{Document Intelligence Suite for COmparative Evaluation}, that evaluates optical character recognition (OCR) pipelines and vision-language models (VLMs) separately on parsing and question answering across diverse document types, including handwritten text, multilingual scripts, medical forms, infographics, and multi-page documents. Our evaluation shows that performance varies substantially across tasks and document characteristics, underscoring the need for complexity-aware approach selection. OCR pipelines are generally more reliable for handwriting and for long or multi-page documents, where explicit text grounding supports text-heavy reasoning, while VLMs perform better on multilingual text and visually rich layouts. Task-aware prompting yields mixed effects, improving performance on some document types while degrading it on others. These findings provide empirical guidance for selecting document processing strategies based on document structure and reasoning demands.
文档智能需要精确的文本提取和对文档内容的可靠推理。我们推出了\textbf{DISCO}(\emph{面向对比评估的文档智能套件}),该工具分别评估光学字符识别(OCR)流水线和视觉-语言模型(VLMs)在多样化文档类型上的解析与问答能力,涵盖手写文本、多语言文本、医疗表格、信息图表及多页文档。评估结果显示,性能因任务和文档特征差异显著,凸显了选择复杂度感知方法的必要性。OCR流水线在手写内容及长文档或多页文档中通常更可靠,其中显式文本锚定支持文本密集型推理;而VLMs在多语言文本和视觉丰富布局上表现更优。任务感知提示产生混合效果:虽提升部分文档类型性能,却在另一些类型中导致下降。这些发现为基于文档结构与推理需求选择文档处理策略提供了实证指导。
https://arxiv.org/abs/2603.23511
Inertial measurement unit-based online handwriting recognition enables the recognition of input signals collected across different writing surfaces but remains challenged by uneven character distributions and inter-writer variability. In this work, we systematically investigate two strategies to address these issues: sub-word tokenization and concatenation-based data augmentation. Our experiments on the OnHW-Words500 dataset reveal a clear dichotomy between handling inter-writer and intra-writer variance. On the writer-independent split, structural abstraction via Bigram tokenization significantly improves performance to unseen writing styles, reducing the word error rate (WER) from 15.40% to 12.99%. In contrast, on the writer-dependent split, tokenization degrades performance due to vocabulary distribution shifts between the training and validation sets. Instead, our proposed concatenation-based data augmentation acts as a powerful regularizer, reducing the character error rate by 34.5% and the WER by 25.4%. Further analysis shows that short, low-level tokens benefit model performance and that concatenation-based data augmentation performance gain surpasses those achieved by proportionally extended training. These findings reveal a clear variance-dependent effect: sub-word tokenization primarily mitigates inter-writer stylistic variability, whereas concatenation-based data augmentation effectively compensates for intra-writer distributional sparsity.
https://arxiv.org/abs/2603.16883
Despite having hundreds of millions of speakers, handwritten Devanagari text remains severely underrepresented in publicly available benchmark datasets. Existing resources are limited in scale, focus primarily on isolated characters or short words, and lack controlled lexical content and writer level diversity, which restricts their utility for modern data driven handwriting analysis. As a result, they fail to capture the continuous, fused, and structurally complex nature of Devanagari handwriting, where characters are connected through a shared shirorekha (horizontal headline) and exhibit rich ligature formations. We introduce DohaScript, a large scale, multi writer dataset of handwritten Hindi text collected from 531 unique contributors. The dataset is designed as a parallel stylistic corpus, in which all writers transcribe the same fixed set of six traditional Hindi dohas (couplets). This controlled design enables systematic analysis of writer specific variation independent of linguistic content, and supports tasks such as handwriting recognition, writer identification, style analysis, and generative modeling. The dataset is accompanied by non identifiable demographic metadata, rigorous quality curation based on objective sharpness and resolution criteria, and page level layout difficulty annotations that facilitate stratified benchmarking. Baseline experiments demonstrate clear quality separation and strong generalization to unseen writers, highlighting the dataset's reliability and practical value. DohaScript is intended to serve as a standardized and reproducible benchmark for advancing research on continuous handwritten Devanagari text in low resource script settings.
尽管有数亿使用者,手写的德瓦纳加里文本在公开可用的基准数据集中仍然严重不足。现有的资源规模有限,主要集中在孤立字符或短词上,并且缺乏控制词汇内容和书写者多样性,这限制了它们在现代基于数据的手写分析中的实用性。因此,这些数据集无法捕捉到德瓦纳加里手写的连续性、融合性和结构复杂性的特点,在这种文本中,字符通过共享的水平标题(shirorekha)连接,并且呈现出丰富的连字形式。 我们引入了DohaScript,这是一个大规模、多书写者的手写印地文数据集,由531位独特的贡献者提供。该数据集被设计为平行风格语料库,在其中所有书写者都会转录六组传统的印地文双行诗(dohas)。这种受控的设计能够系统分析独立于语言内容的特定书写者的变异性,并支持诸如手写识别、书写者鉴别、风格分析和生成模型等任务。该数据集还附带了不可识别的人口统计数据,基于客观清晰度和分辨率标准进行严格的质量筛选,并提供了页面级别的布局难度注释,以促进分层基准测试。 基线实验显示出了明显的质量差异,并且在未见过的书写者上具有强大的泛化能力,突显了该数据集的可靠性和实际价值。DohaScript旨在作为低资源脚本环境中推进连续手写德瓦纳加里文本研究的标准和可重复基准。
https://arxiv.org/abs/2602.18089
This report evaluates PDF-to-Markdown conversion using recent Vision-Language Models (VLMs) on challenging French documents. Document parsing is a critical step for Retrieval-Augmented Generation (RAG) pipelines, where transcription and layout errors propagate to downstream retrieval and grounding. Existing benchmarks often emphasize English or Chinese and can over-penalize benign formatting and linearization choices (e.g., line breaks, list segmentation, alternative table renderings) that are largely irrelevant for downstream use. We introduce a French-focused benchmark of difficult pages selected via model-disagreement sampling from a corpus of 60{,}000 documents, covering handwritten forms, complex layouts, dense tables, and graphics-rich pages. Evaluation is performed with unit-test-style checks that target concrete failure modes (text presence, reading order, and local table constraints) combined with category-specific normalization designed to discount presentation-only variance. Across 15 models, we observe substantially higher robustness for the strongest proprietary models on handwriting and forms, while several open-weights systems remain competitive on standard printed layouts.
该报告评估了使用近期的视觉语言模型(VLMs)对具有挑战性的法语文档进行PDF到Markdown转换的效果。文档解析是检索增强生成(RAG)管道中的关键步骤,其中转录和布局错误会传播到下游的检索和定位任务中。现有的基准测试通常更侧重于英语或中文,并且往往会过度惩罚那些对于下游使用实际上无关紧要但与格式化选择相关的良性情况(例如,换行符、列表分割以及表格的不同呈现方式)。为此,我们引入了一个以法语为中心的新基准,该基准包含从60,000份文档中通过模型意见分歧采样得到的困难页面样本。这些样本涵盖了手写表单、复杂布局、密集表格和图形丰富的页面等不同情况。 评估是使用类似单元测试的方法进行的,包括针对具体失败模式(如文本存在性、阅读顺序以及局部表格约束)的检查,并结合了根据类别定制的标准化处理方法来消除仅与呈现有关的变化。在15种模型中,我们观察到最强劲的专有模型在手写和表单解析方面表现出显著更高的稳健性,而几种开源权重系统则在标准印刷布局上依然保持竞争力。
https://arxiv.org/abs/2602.11960
Online handwriting recognition using inertial measurement units opens up handwriting on paper as input for digital devices. Doing it on edge hardware improves privacy and lowers latency, but entails memory constraints. To address this, we propose Error-enhanced Contrastive Handwriting Recognition (ECHWR), a training framework designed to improve feature representation and recognition accuracy without increasing inference costs. ECHWR utilizes a temporary auxiliary branch that aligns sensor signals with semantic text embeddings during the training phase. This alignment is maintained through a dual contrastive objective: an in-batch contrastive loss for general modality alignment and a novel error-based contrastive loss that distinguishes between correct signals and synthetic hard negatives. The auxiliary branch is discarded after training, which allows the deployed model to keep its original, efficient architecture. Evaluations on the OnHW-Words500 dataset show that ECHWR significantly outperforms state-of-the-art baselines, reducing character error rates by up to 7.4% on the writer-independent split and 10.4% on the writer-dependent split. Finally, although our ablation studies indicate that solving specific challenges require specific architectural and objective configurations, error-based contrastive loss shows its effectiveness for handling unseen writing styles.
使用惯性测量单元(IMU)进行在线手写识别,使纸质书写成为数字设备的输入方式。在边缘硬件上执行此操作可以提高隐私保护并降低延迟,但会导致内存限制。为了解决这个问题,我们提出了一种名为错误增强对比式手写识别(ECHWR)的训练框架,该框架旨在改进特征表示和识别准确性而不增加推理成本。ECHWR利用一个临时辅助分支,在训练阶段将传感器信号与语义文本嵌入对齐。这种对齐通过双重对比目标来维持:一种是批内对比损失,用于一般模式对齐;另一种则是基于错误的新型对比损失,用于区分正确信号和合成难例(hard negatives)。在完成训练后,辅助分支被丢弃,从而使部署模型能够保持其原始高效架构。在OnHW-Words500数据集上的评估显示,ECHWR显著优于最先进的基线方法,在不依赖书写者的情况下字符错误率降低了高达7.4%,而在依赖书写者的情况下则降低了10.4%。最后,虽然我们的消融研究(ablation studies)表明解决特定挑战需要特定的架构和目标配置,但基于错误的对比损失证明了其处理未见过书写风格的有效性。
https://arxiv.org/abs/2602.07049