Handwritten Mathematical Expression Recognition (HMER) requires reasoning over diverse symbols and 2D structural layouts, yet autoregressive models struggle with exposure bias and syntactic inconsistency. We present a discrete diffusion framework that reformulates HMER as iterative symbolic refinement instead of sequential generation. Through multi-step remasking, the proposal progressively refines both symbols and structural relations, removing causal dependencies and improving structural consistency. A symbol-aware tokenization and Random-Masking Mutual Learning further enhance syntactic alignment and robustness to handwriting diversity. On the MathWriting benchmark, the proposal achieves 5.56\% CER and 60.42\% EM, outperforming strong Transformer and commercial baselines. Consistent gains on CROHME 2014--2023 demonstrate that discrete diffusion provides a new paradigm for structure-aware visual recognition beyond generative modeling.
手写数学表达式识别(HMER)需要对各种符号和二维结构布局进行推理,然而自回归模型在处理曝光偏差和语法不一致性时存在困难。我们提出了一种离散扩散框架,将HMER重新表述为迭代符号细化过程,而不是顺序生成过程。通过多步重掩码技术,该方法逐步优化符号及其结构关系,消除了因果依赖性,并提高了结构的一致性。符号感知的标记化和随机掩码互学习进一步增强了语法对齐能力,并提升了对手写多样性鲁棒性的表现。在MathWriting基准测试中,我们的方案实现了5.56% 的字符错误率(CER)和60.42% 的精确匹配度(EM),超越了强大的Transformer模型及商业基线模型的性能。在CROHME 2014-2023数据集上的持续改进表明,离散扩散为结构感知型视觉识别提供了一种新的范式,超越了传统的生成建模方法。 这段描述详细介绍了如何通过离散扩散框架来解决手写数学表达式的识别问题,并强调这种方法在处理符号语法一致性和结构布局方面优于传统自回归模型。此外,文中提到的实验结果表明该技术在现有基准测试中表现出色,为未来的视觉识别任务提供了新的研究方向。
https://arxiv.org/abs/2602.03370
Handwriting literacy is an important skill for learning and communication in school-age children. In the digital age, handwriting has been largely replaced by typing, leading to a decline in handwriting proficiency, particularly in non-alphabetic writing systems. Among children learning Chinese, a growing number have reported experiencing character amnesia: difficulty in correctly handwriting a character despite being able to recognize it. Given that there is currently no standardized diagnostic tool for assessing character amnesia in children, we developed an assessment to measure Chinese character amnesia in Mandarin-speaking school-age population. We utilised a large-scale handwriting dataset in which 40 children handwrote 800 characters from dictation prompts. Character amnesia and correct handwriting responses were analysed using a two-parameter Item Response Theory model. Four item-selection schemes were compared: random baseline, maximum discrimination, diverse difficulty, and an upper-and-lower-thirds discrimination score. Candidate item subsets were evaluated using out-of-sample prediction. Among these selection schemes, the upper-and-lower-thirds discrimination procedure yields a compact 30-item test that preserves individual-difference structure and generalizes to unseen test-takers (cross-validated mean r =.74 with full 800-item-test; within-sample r =.93). This short-form test provides a reliable and efficient tool of assessing Chinese character amnesia in children and can be used to identify early handwriting and orthographic learning difficulties, contributing to the early detection of developmental dysgraphia and related literacy challenges.
https://arxiv.org/abs/2602.00464
Handwriting movements can be leveraged as a unique form of behavioral biometrics, to verify whether a real user is operating a device or application. This task can be framed as a reverse Turing test in which a computer has to detect if an input instance has been generated by a human or artificially. To tackle this task, we study ten public datasets of handwritten symbols (isolated characters, digits, gestures, pointing traces, and signatures) that are artificially reproduced using seven different synthesizers, including, among others, the Kinematic Theory (Sigma h model), generative adversarial networks, Transformers, and Diffusion models. We train a shallow recurrent neural network that achieves excellent performance (98.3 percent Area Under the ROC Curve (AUC) score and 1.4 percent equal error rate on average across all synthesizers and datasets) using nonfeaturized trajectory data as input. In few-shot settings, we show that our classifier achieves such an excellent performance when trained on just 10 percent of the data, as evaluated on the remaining 90% of the data as a test set. We further challenge our classifier in out-of-domain settings, and observe very competitive results as well. Our work has implications for computerized systems that need to verify human presence, and adds an additional layer of security to keep attackers at bay.
手写动作可以被用作一种独特的行为生物识别方式,以验证实际用户是否在操作设备或应用程序。这一任务可以被视为一个反向图灵测试,在这种测试中,计算机需要检测输入实例是由真人生成的还是人工合成的。为了解决这个问题,我们研究了十个公开的手写符号数据集(包括孤立字符、数字、手势、指点轨迹和签名),这些数据集使用七种不同的生成器进行了人工再现,其中包括动学理论(Sigma h 模型)、生成对抗网络、Transformer 和扩散模型等。 我们训练了一个浅层循环神经网络,在不进行特征化处理的情况下以轨迹数据为输入,该网络在所有合成器和数据集中实现了卓越的性能(98.3% 的接收者操作特性曲线(ROC)面积得分和1.4% 的平均错误接受率)。此外,我们在少量样本设置下展示了当训练集仅为总数据量的10%,而剩余90%的数据作为测试集时,我们的分类器也能实现如此卓越的表现。我们进一步在跨域场景中挑战了这一分类器,并观察到了非常具有竞争力的结果。 这项工作对需要验证人类存在的计算机系统有着重要的影响,并为防止攻击者侵入添加了一层额外的安全保障。
https://arxiv.org/abs/2601.11700
Handwritten word retrieval is vital for digital archives but remains challenging due to large handwriting variability and cross-lingual semantic gaps. While large vision-language models offer potential solutions, their prohibitive computational costs hinder practical edge deployment. To address this, we propose a lightweight asymmetric dual-encoder framework that learns unified, style-invariant visual embeddings. By jointly optimizing instance-level alignment and class-level semantic consistency, our approach anchors visual embeddings to language-agnostic semantic prototypes, enforcing invariance across scripts and writing styles. Experiments show that our method outperforms 28 baselines and achieves state-of-the-art accuracy on within-language retrieval benchmarks. We further conduct explicit cross-lingual retrieval, where the query language differs from the target language, to validate the effectiveness of the learned cross-lingual representations. Achieving strong performance with only a fraction of the parameters required by existing models, our framework enables accurate and resource-efficient cross-script handwriting retrieval.
手写词检索对于数字档案至关重要,但由于书写风格的多样性以及跨语言语义差距的存在,这一任务依然具有挑战性。虽然大型视觉-语言模型提供了潜在解决方案,但其高昂的计算成本阻碍了在实际边缘设备上的部署。为了解决这个问题,我们提出了一种轻量级的不对称双编码器框架,该框架能够学习统一且风格不变的视觉嵌入。通过同时优化实例级别的对齐和类级别语义一致性,我们的方法将视觉嵌入固定到语言无关的语义原型上,并确保跨书写体系和风格的一致性。实验表明,与28个基准模型相比,我们提出的方法在同语言检索基准测试中实现了最先进的准确率。此外,我们在查询语言不同于目标语言的情况下进行了显式的跨语言检索,以验证学习得到的跨语言表示的有效性。通过使用现有模型所需参数的极小部分就能实现强大的性能,我们的框架能够实现在资源有限条件下的精确和高效的多书写体系手写检索。
https://arxiv.org/abs/2601.11248
Handwriting remains an essential skill, particularly in education. Therefore, providing visual feedback on handwritten documents is an important but understudied area. We outline the many challenges when going from an image of handwritten input to correctly placed informative error feedback. We empirically compare modular and end-to-end systems and find that both approaches currently do not achieve acceptable overall quality. We identify the major challenges and outline an agenda for future research.
手写仍然是一个重要的技能,特别是在教育领域。因此,在手写文档中提供视觉反馈是一个重要但研究不足的领域。我们概述了从手写输入图像到正确放置的信息性错误反馈之间存在的诸多挑战。通过实证分析模块化系统和端到端系统的差异,我们发现目前这两种方法都无法达到令人满意的总体质量水平。我们识别出了主要的挑战,并为未来的研究制定了议程。
https://arxiv.org/abs/2601.09586
Paleography is the study of ancient and historical handwriting, its key objectives include the dating of manuscripts and understanding the evolution of writing. Estimating when a document was written and tracing the development of scripts and writing styles can be aided by identifying the individual scribes who contributed to a medieval manuscript. Although digital technologies have made significant progress in this field, the general problem remains unsolved and continues to pose open challenges. ... We previously proposed an approach focused on identifying specific letters or abbreviations that characterize each writer. In that study, we considered the letter "a", as it was widely present on all pages of text and highly distinctive, according to the suggestions of expert paleographers. We used template matching techniques to detect the occurrences of the character "a" on each page and the convolutional neural network (CNN) to attribute each instance to the correct scribe. Moving from the interesting results achieved from this previous system and being aware of the limitations of the template matching technique, which requires an appropriate threshold to work, we decided to experiment in the same framework with the use of the YOLO object detection model to identify the scribe who contributed to the writing of different medieval books. We considered the fifth version of YOLO to implement the YOLO object detection model, which completely substituted the template matching and CNN used in the previous work. The experimental results demonstrate that YOLO effectively extracts a greater number of letters considered, leading to a more accurate second-stage classification. Furthermore, the YOLO confidence score provides a foundation for developing a system that applies a rejection threshold, enabling reliable writer identification even in unseen manuscripts.
古文字学是研究古代和历史上的手写笔迹的学科,其主要目标包括对抄本进行年代鉴定以及理解书写的发展演变。通过识别贡献于中世纪手稿的个人抄写员,可以辅助估算文档的写作时间和追踪脚本及书写风格的变化发展。尽管数字技术在这一领域取得了显著进展,但总体问题仍未解决,并且仍然面临诸多挑战。 我们之前提出了一种专注于识别每个作者特征特定字母或缩写的的方法。在这项研究中,我们考虑了字母“a”,因为它广泛存在于所有文本页面上并且根据古文字学专家的建议具有高度辨识度。我们使用模板匹配技术来检测每一页上的字符"a"出现情况,并利用卷积神经网络(CNN)将每个实例归因于正确的抄写员。 基于之前系统取得的有趣成果以及意识到模板匹配技术需要适当阈值才能工作的限制,我们决定在同一框架下实验采用YOLO目标检测模型来识别不同中世纪书籍中的作者。我们考虑使用YOLO的第五版本来实施YOLO对象检测模型,这完全取代了先前工作中使用的模板匹配和CNN。 实验结果表明,YOLO能够有效地提取更多被考量的字母数量,从而实现更精确的第二阶段分类。此外,YOLO置信度分数为开发应用拒绝阈值系统的奠定了基础,使得在未见过的手稿中进行可靠的作者识别也成为可能。
https://arxiv.org/abs/2601.04834
Handwritten digit images lie in a high-dimensional pixel space but exhibit strong geometric and statistical structure. This paper investigates the latent organization of handwritten digits in the MNIST dataset using three complementary dimensionality reduction techniques: Principal Component Analysis (PCA), Factor Analysis (FA), and Uniform Manifold Approximation and Projection (UMAP). Rather than focusing on classification accuracy, we study how each method characterizes intrinsic dimensionality, shared variation, and nonlinear geometry. PCA reveals dominant global variance directions and enables high-fidelity reconstructions using a small number of components. FA decomposes digits into interpretable latent handwriting primitives corresponding to strokes, loops, and symmetry. UMAP uncovers nonlinear manifolds that reflect smooth stylistic transitions between digit classes. Together, these results demonstrate that handwritten digits occupy a structured low-dimensional manifold and that different statistical frameworks expose complementary aspects of this structure.
手写数字图像存在于高维像素空间中,但表现出强烈的几何和统计结构。本文使用三种互补的降维技术:主成分分析(PCA)、因子分析(FA)以及均匀流形近似与投影(UMAP),来研究MNIST数据集中的手写数字的潜在组织情况。不同于关注分类准确度,我们探讨每种方法如何表征固有维度、共同变化和非线性几何。 PCA揭示了主导全局方差的方向,并能利用少量组件实现高保真重构。FA将数字分解为可解释的手部书写基本元素,这些元素对应于笔画、环形和对称结构。UMAP则发现了反映不同数字类别之间平滑风格转换的非线性流形。 这些结果共同表明手写数字占据一个结构化的低维流形,并且不同的统计框架揭示了该结构的不同方面。
https://arxiv.org/abs/2601.06168
Handwritten STEM exams capture open-ended reasoning and diagrams, but manual grading is slow and difficult to scale. We present an end-to-end workflow for grading scanned handwritten engineering quizzes with multimodal large language models (LLMs) that preserves the standard exam process (A4 paper, unconstrained student handwriting). The lecturer provides only a handwritten reference solution (100%) and a short set of grading rules; the reference is converted into a text-only summary that conditions grading without exposing the reference scan. Reliability is achieved through a multi-stage design with a format/presence check to prevent grading blank answers, an ensemble of independent graders, supervisor aggregation, and rigid templates with deterministic validation to produce auditable, machine-parseable reports. We evaluate the frozen pipeline in a clean-room protocol on a held-out real course quiz in Slovenian, including hand-drawn circuit schematics. With state-of-the-art backends (GPT-5.2 and Gemini-3 Pro), the full pipeline achieves $\approx$8-point mean absolute difference to lecturer grades with low bias and an estimated manual-review trigger rate of $\approx$17% at $D_{\max}=40$. Ablations show that trivial prompting and removing the reference solution substantially degrade accuracy and introduce systematic over-grading, confirming that structured prompting and reference grounding are essential.
手写STEM考试能够捕捉到开放性推理和图表,但人工评分既缓慢又难以扩展。我们提出了一种端到端的工作流程,用于使用多模态大型语言模型(LLM)对扫描的手写工程小测验进行评分,该工作流保持了标准的考试过程(A4纸张、不受限制的学生手写)。讲师只需提供一份手写的参考答案(100%正确率)和一组简短的评分规则;参考答案被转换成仅包含文本的摘要,以条件化评分而不暴露参考扫描。可靠性通过多阶段设计实现,包括格式/存在检查以防止空白答案被评分、独立评分级联、监督聚合以及使用确定性验证的固定模板来生成可审计和机器解析报告。 我们在一个清洁房协议中对一项保留的真实课程测验进行了冻结管道的评估,该测验包含手绘电路图,并且是用斯洛文尼亚语进行的。在最先进的后台(GPT-5.2 和 Gemini-3 Pro)支持下,整个工作流程与讲师评分相比达到了约8分的平均绝对差异,偏差较低,并且估计的手动审查触发率为约17%(当最大分数D为40时)。消融研究表明,简单的提示和移除参考答案会显著降低准确性并引入系统性的过度打分,确认结构化提示和参考依据是必不可少的。
https://arxiv.org/abs/2601.00730
Handwritten Text Recognition (HTR) is a well-established research area. In contrast, Handwritten Text Generation (HTG) is an emerging field with significant potential. This task is challenging due to the variation in individual handwriting styles. A large and diverse dataset is required to generate realistic handwritten text. However, such datasets are difficult to collect and are not readily available. Bengali is the fifth most spoken language in the world. While several studies exist for languages such as English and Arabic, Bengali handwritten text generation has received little attention. To address this gap, we propose a method for generating Bengali handwritten words. We developed and used a self-collected dataset of Bengali handwriting samples. The dataset includes contributions from approximately five hundred individuals across different ages and genders. All images were pre-processed to ensure consistency and quality. Our approach demonstrates the ability to produce diverse handwritten outputs from input plain text. We believe this work contributes to the advancement of Bengali handwriting generation and can support further research in this area.
手写文本识别(HTR)是一个研究领域,已经相当成熟。相比之下,手写文本生成(HTG)则是一个新兴的、具有巨大潜力的研究方向。然而,由于个体书写风格的变化莫测,这一任务面临诸多挑战。为了生成逼真的手写文本,需要一个大型且多样化的数据集,但这类数据集难以收集并无法轻易获取。 孟加拉语是世界上使用人数第五多的语言。尽管对于英语和阿拉伯语等语言已有若干研究,但对于孟加拉语的手写文本生成却鲜有关注。为填补这一空白,我们提出了一种用于生成孟加拉语手写单词的方法。为此,我们开发并利用了一个由大约500人提供样本的自收集数据集,参与者来自不同的年龄段和性别群体。所有图像都经过预处理以确保一致性和质量。 我们的方法展示了将输入的纯文本转换为多样化的手写输出的能力。我们认为这项工作有助于推进孟加拉语的手写生成技术,并能够支持该领域进一步的研究。
https://arxiv.org/abs/2512.21694
Handwritten text recognition (HTR) and machine translation continue to pose significant challenges, particularly for low-resource languages like Marathi, which lack large digitized corpora and exhibit high variability in handwriting styles. The conventional approach to address this involves a two-stage pipeline: an OCR system extracts text from handwritten images, which is then translated into the target language using a machine translation model. In this work, we explore and compare the performance of traditional OCR-MT pipelines with Vision Large Language Models that aim to unify these stages and directly translate handwritten text images in a single, end-to-end step. Our motivation is grounded in the urgent need for scalable, accurate translation systems to digitize legal records such as FIRs, charge sheets, and witness statements in India's district and high courts. We evaluate both approaches on a curated dataset of handwritten Marathi legal documents, with the goal of enabling efficient legal document processing, even in low-resource environments. Our findings offer actionable insights toward building robust, edge-deployable solutions that enhance access to legal information for non-native speakers and legal professionals alike.
手写文本识别(HTR)和机器翻译在像马拉地语这样资源匮乏的语言中仍面临重大挑战,这些语言缺乏大规模数字化语料库,并且手写风格具有高度的变异性。传统方法是采用两阶段管道:光学字符识别(OCR)系统从手写图像中提取文本,然后使用机器翻译模型将该文本翻译成目标语言。在这项工作中,我们探讨并比较了传统OCR-MT管道与旨在统一这些步骤并将手写文本图像直接转换为另一种语言的视觉大规模语言模型的表现。我们的动机是基于印度地方法院和高等法院数字化法律记录(如第一信息报告、起诉书和证人陈述)对可扩展且准确翻译系统的迫切需求。 我们在精心策划的手写马拉地语法律文件数据集上评估了这两种方法,旨在实现低资源环境下的高效法律文档处理。我们的研究结果为构建稳健的边缘部署解决方案提供了可行见解,这些方案能够提高非母语者和法律专业人士获取法律信息的途径。
https://arxiv.org/abs/2512.18004
This paper reveals and exploits a critical security vulnerability: the electromagnetic (EM) side channel of capacitive touchscreens leaks sufficient information to recover fine-grained, continuous handwriting trajectories. We present Touchscreen Electromagnetic Side-channel Leakage Attack (TESLA), a non-contact attack framework that captures EM signals generated during on-screen writing and regresses them into two-dimensional (2D) handwriting trajectories in real time. Extensive evaluations across a variety of commercial off-the-shelf (COTS) smartphones show that TESLA achieves 77% character recognition accuracy and a Jaccard index of 0.74, demonstrating its capability to recover highly recognizable motion trajectories that closely resemble the original handwriting under realistic attack conditions.
https://arxiv.org/abs/2512.11484
Handwritten Text Recognition remains challenging due to the limited data, high writing style variance, and scripts with complex diacritics. Existing approaches, though partially address these issues, often struggle to generalize without massive synthetic data. To address these challenges, we propose HTR-ConvText, a model designed to capture fine-grained, stroke-level local features while preserving global contextual dependencies. In the feature extraction stage, we integrate a residual Convolutional Neural Network backbone with a MobileViT with Positional Encoding block. This enables the model to both capture structural patterns and learn subtle writing details. We then introduce the ConvText encoder, a hybrid architecture combining global context and local features within a hierarchical structure that reduces sequence length for improved efficiency. Additionally, an auxiliary module injects textual context to mitigate the weakness of Connectionist Temporal Classification. Evaluations on IAM, READ2016, LAM and HANDS-VNOnDB demonstrate that our approach achieves improved performance and better generalization compared to existing methods, especially in scenarios with limited training samples and high handwriting diversity.
手写文本识别(Handwritten Text Recognition,HTR)仍然面临挑战,原因在于数据量有限、书写风格变化大以及复杂音调符号的使用。现有的方法尽管部分解决了这些问题,但在没有大量合成数据的情况下往往难以泛化。为应对这些挑战,我们提出了HTR-ConvText模型,该模型旨在捕捉细粒度的笔画级别的局部特征,同时保持全局上下文依赖性。在特征提取阶段,我们将残差卷积神经网络(Residual Convolutional Neural Network)骨干网与带有位置编码块的MobileViT集成在一起,使模型既能捕获结构模式又能学习微妙的书写细节。 接着我们引入了ConvText编码器,这是一种结合全局上下文和局部特征的混合架构,在层次化结构中减少了序列长度以提高效率。此外,一个辅助模块注入文本上下文以减轻连接时序分类(Connectionist Temporal Classification)方法的弱点。 在IAM、READ2016、LAM以及HANDS-VNOnDB数据集上的评估表明,我们的方法相比现有技术实现了更好的性能和泛化能力,尤其是在训练样本有限且手写风格多样化的场景下。
https://arxiv.org/abs/2512.05021
Online handwriting generation (OHG) enhances handwriting recognition models by synthesizing diverse, human-like samples. However, existing OHG methods struggle to generate unseen characters, particularly in glyph-based languages like Chinese, limiting their real-world applicability. In this paper, we introduce our method for OHG, where the writer's style and the characters generated during testing are unseen during training. To tackle this challenge, we propose a Dual-branch Network with Adaptation (DNA), which comprises an adaptive style branch and an adaptive content branch. The style branch learns stroke attributes such as writing direction, spacing, placement, and flow to generate realistic handwriting. Meanwhile, the content branch is designed to generalize effectively to unseen characters by decomposing character content into structural information and texture details, extracted via local and global encoders, respectively. Extensive experiments demonstrate that our DNA model is well-suited for the unseen OHG setting, achieving state-of-the-art performance.
https://arxiv.org/abs/2511.22064
Learning safe and stable robot motions from demonstrations remains a challenge, especially in complex, nonlinear tasks involving dynamic, obstacle-rich environments. In this paper, we propose Safe and Stable Neural Network Dynamical Systems S$^2$-NNDS, a learning-from-demonstration framework that simultaneously learns expressive neural dynamical systems alongside neural Lyapunov stability and barrier safety certificates. Unlike traditional approaches with restrictive polynomial parameterizations, S$^2$-NNDS leverages neural networks to capture complex robot motions providing probabilistic guarantees through split conformal prediction in learned certificates. Experimental results on various 2D and 3D datasets -- including LASA handwriting and demonstrations recorded kinesthetically from the Franka Emika Panda robot -- validate S$^2$-NNDS effectiveness in learning robust, safe, and stable motions from potentially unsafe demonstrations.
https://arxiv.org/abs/2511.20593
Styled handwriting generation aims to synthesize handwritten text that looks both realistic and aligned with a specific writer's style. While recent approaches involving GAN, transformer and diffusion-based models have made progress, they often struggle to capture the full spectrum of writer-specific attributes, particularly global stylistic patterns that span long-range spatial dependencies. As a result, capturing subtle writer-specific traits such as consistent slant, curvature or stroke pressure, while keeping the generated text accurate is still an open problem. In this work, we present a unified framework designed to address these limitations. We introduce a Vision Transformer-based style encoder that learns global stylistic patterns from multiple reference images, allowing the model to better represent long-range structural characteristics of handwriting. We then integrate these style cues with the target text using a cross-attention mechanism, enabling the system to produce handwritten images that more faithfully reflect the intended style. To make the process more interpretable, we utilize Salient Stroke Attention Analysis (SSAA), which reveals the stroke-level features the model focuses on during style transfer. Together, these components lead to handwriting synthesis that is not only more stylistically coherent, but also easier to understand and analyze.
https://arxiv.org/abs/2511.18307
Dynamical system (DS)-based learning from demonstration (LfD) is a powerful tool for generating motion plans in the operation (`task') space of robotic systems. However, the realization of the generated motion plans is often compromised by a ''task-execution mismatch'', where unmodeled dynamics, persistent disturbances, and system latency cause the robot's actual task-space state to diverge from the desired motion trajectory. We propose a novel task-level robust control architecture, L1-augmented Dynamical Systems (L1-DS), that explicitly handles the task-execution mismatch in tracking a nominal motion plan generated by any DS-based LfD scheme. Our framework augments any DS-based LfD model with a nominal stabilizing controller and an L1 adaptive controller. Furthermore, we introduce a windowed Dynamic Time Warping (DTW)-based target selector, which enables the nominal stabilizing controller to handle temporal misalignment for improved phase-consistent tracking. We demonstrate the efficacy of our architecture on the LASA and IROS handwriting datasets.
https://arxiv.org/abs/2511.09790
Several computer vision applications like vehicle license plate recognition, captcha recognition, printed or handwriting character recognition from images etc., text polarity detection and binarization are the important preprocessing tasks. To analyze any image, it has to be converted to a simple binary image. This binarization process requires the knowledge of polarity of text in the images. Text polarity is defined as the contrast of text with respect to background. That means, text is darker than the background (dark text on bright background) or vice-versa. The binarization process uses this polarity information to convert the original colour or gray scale image into a binary image. In the literature, there is an intuitive approach based on power-law transformation on the original images. In this approach, the authors have illustrated an interesting phenomenon from the histogram statistics of the transformed images. Considering text and background as two classes, they have observed that maximum between-class variance between two classes is increasing (decreasing) for dark (bright) text on bright (dark) background. The corresponding empirical results have been presented. In this paper, we present a theoretical analysis of the above phenomenon.
https://arxiv.org/abs/2511.07916
This research explores the fusion of graphology and artificial intelligence to quantify psychological stress levels in students by analyzing their handwritten examination scripts. By leveraging Optical Character Recognition and transformer based sentiment analysis models, we present a data driven approach that transcends traditional grading systems, offering deeper insights into cognitive and emotional states during examinations. The system integrates high resolution image processing, TrOCR, and sentiment entropy fusion using RoBERTa based models to generate a numerical Stress Index. Our method achieves robustness through a five model voting mechanism and unsupervised anomaly detection, making it an innovative framework in academic forensics.
https://arxiv.org/abs/2511.11633
Alzheimer's disease is a prevalent neurodegenerative disorder for which early detection is critical. Handwriting-often disrupted in prodromal AD-provides a non-invasive and cost-effective window into subtle motor and cognitive decline. Existing handwriting-based AD studies, mostly relying on online trajectories and hand-crafted features, have not systematically examined how task type influences diagnostic performance and cross-task generalization. Meanwhile, large-scale vision language models have demonstrated remarkable zero or few-shot anomaly detection in natural images and strong adaptability across medical modalities such as chest X-ray and brain MRI. However, handwriting-based disease detection remains largely unexplored within this paradigm. To close this gap, we introduce a lightweight Cross-Layer Fusion Adapter framework that repurposes CLIP for handwriting-based AD screening. CLFA implants multi-level fusion adapters within the visual encoder to progressively align representations toward handwriting-specific medical cues, enabling prompt-free and efficient zero-shot inference. Using this framework, we systematically investigate cross-task generalization-training on a specific handwriting task and evaluating on unseen ones-to reveal which task types and writing patterns most effectively discriminate AD. Extensive analyses further highlight characteristic stroke patterns and task-level factors that contribute to early AD identification, offering both diagnostic insights and a benchmark for handwriting-based cognitive assessment.
https://arxiv.org/abs/2511.05841
Generative robotic motion planning requires not only the synthesis of smooth and collision-free trajectories but also feasibility across diverse tasks and dynamic constraints. Prior planning methods, both traditional and generative, often struggle to incorporate high-level semantics with low-level constraints, especially the nexus between task configurations and motion controllability. In this work, we present XFlowMP, a task-conditioned generative motion planner that models robot trajectory evolution as entropic flows bridging stochastic noises and expert demonstrations via Schrodinger bridges given the inquiry task configuration. Specifically, our method leverages Schrodinger bridges as a conditional flow matching coupled with a score function to learn motion fields with high-order dynamics while encoding start-goal configurations, enabling the generation of collision-free and dynamically-feasible motions. Through evaluations, XFlowMP achieves up to 53.79% lower maximum mean discrepancy, 36.36% smoother motions, and 39.88% lower energy consumption while comparing to the next-best baseline on the RobotPointMass benchmark, and also reducing short-horizon planning time by 11.72%. On long-horizon motions in the LASA Handwriting dataset, our method maintains the trajectories with 1.26% lower maximum mean discrepancy, 3.96% smoother, and 31.97% lower energy. We further demonstrate the practicality of our method on the Kinova Gen3 manipulator, executing planning motions and confirming its robustness in real-world settings.
生成式机器人运动规划不仅要求合成平滑且无碰撞的轨迹,还需确保在多样任务和动态约束下的可行性。先前的传统方法和生成方法往往难以将高层次语义与低层次约束结合起来,特别是在任务配置和运动可控性之间的连接上尤为困难。为此,我们提出了XFlowMP,这是一种基于任务条件的生成式运动规划器,它通过薛定谔桥(Schrodinger bridges)来建模机器人的轨迹演化,将随机噪声和专家演示联系起来,在给定查询任务配置的情况下进行工作。具体来说,我们的方法利用了薛定谔桥作为条件流匹配并结合评分函数来学习具有高阶动力学的运动场,并编码起点-终点配置,从而能够生成无碰撞且动态可行性的动作。 通过评估,XFlowMP在RobotPointMass基准测试中相较于最佳基线方案分别降低了最大均值差异(maximum mean discrepancy)达53.79%,提升了动作平滑度36.36%,减少了能耗39.88%。此外,在LASA Handwriting数据集的长时序运动上,我们的方法维持了轨迹的最大均值差异降低1.26%,动作更光滑(提升幅度为3.96%),且能量消耗降低了31.97%。我们进一步在Kinova Gen3机械臂上展示了该方法的实际应用性,在执行规划动作的同时验证其在真实环境中的鲁棒性能。 这项研究展示了一种创新性的生成式运动规划策略,不仅提升了机器人操作的灵活性和效率,也为未来机器人技术的发展奠定了基础。
https://arxiv.org/abs/2512.00022