Search arXiv⌕ Search

arXiv · 2611.18699

Where Does an On-Device Prescription Reader Lose Medications? A Frozen-Replay Study, from a 270M Language Model to a 2B Vision-Language Model

Abstract

On-device models let a phone read a prescription without sending the photograph anywhere, but small models fail in ways that are hard to attribute: to the camera, the OCR, the model, or the rules around it. We study a phone-based pipeline that reads a prescription photograph with PaddleOCR, extracts medications with a 270M-parameter language model, and filters the result with a deterministic backstop before showing suggestions. Replaying identical frozen inputs through each configuration, with deterministic generation verified, we compare configurations with paired document-level intervals on 49 captures of 15 synthetic prescriptions (6 typed, 9 handwritten by one writer). Production recall is 8%, and 0 of 45 on handwriting. The backstop removes no correct medication and cuts unsafe outputs from 45 to 1. On handwriting nearly all medications never reach the model in readable form; on typed sheets the model mostly picks the wrong text. We trace much of the handwriting floor to a defect in our own crop step, then replace the pipeline: rotated-box crops, a 2B-parameter vision-language model that re-reads prescription lines and extracts the medications, and per-line numeric grounding. On the same captures recall rises from 8% to 67% (paired +59 points, 95% CI +40 to +78): typed 19% to 100%, handwritten 0 to 20 of 45, with no unsafe output. Rotated crops account for most of the reading gain and the model for most of the recall gain, and the OCR confidence gate is now the main limit. The cost is 61 s per photograph against about 12 s, and about 1.9 GB of memory. An earlier claim that better OCR lowered recall does not survive the controlled comparison, and we withdraw it. All results are in-sample, from one writer and one device.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Ilan Sezhiyan Jayaraman. 2026-11-05. Where Does an On-Device Prescription Reader Lose Medications? A Frozen-Replay Study, from a 270M Language Model to a 2B Vision-Language Model. https://searcharxiv.org/abs/2611.18699

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Open-Vocabulary Scene Text Recognition via Pseudo-Image Labeling and Margin Loss

Scene text recognition is an important and challenging task in computer vision. However, most prior works focus on recognizing pre-defined words, while there are various out-of-vocabulary (OOV) words in real-world applications. In this paper, we propose a novel open-vocabulary text recognition framework, Pseudo-OCR, to recognize OOV words. The key challenge in this task is the lack of OOV training data. To solve this problem, we first propose a pseudo label generation module that leverages character detection and image inpainting to produce substantial pseudo OOV training data from real-world images. Unlike previous synthetic data, our pseudo OOV data contains real characters and backgrounds to simulate real-world applications. Secondly, to reduce noises in pseudo data, we present a semantic checking mechanism to filter semantically meaningful data. Thirdly, we introduce a quality-aware margin loss to boost the training with pseudo data. Our loss includes a margin-based part to enhance the classification ability, and a quality-aware part to penalize low-quality samples in both real and pseudo data. Extensive experiments demonstrate that our approach outperforms the state-of-the-art on eight datasets and achieves the first rank in the ICDAR2022 challenge.

cs.CV↗

A Unified Plug-and-Play Algorithm with Projected Landweber Operator for Split Convex Feasibility Problems

In recent years Plug-and-Play (PnP) methods have achieved state-of-the-art performance in inverse imaging problems by replacing proximal operators with denoisers. Based on the proximal gradient method, some theoretical results of PnP have appeared, where appropriate step size is crucial for convergence analysis. However, in practical applications, applying PnP methods with theoretically guaranteed step sizes is difficult, and these algorithms are limited to Gaussian noise. In this paper,from a perspective of split convex feasibility problems (SCFP), an adaptive PnP algorithm with Projected Landweber Operator (PnP-PLO) is proposed to address these issues. Numerical experiments on image deblurring, super-resolution, and compressed sensing MRI experiments illustrate that PnP-PLO with theoretical guarantees outperforms state-of-the-art methods such as RED and RED-PRO.

cs.CV↗

OMINI: Towards Consistent 3D Object Manipulation via Generative Texturing and Adaptive Lighting

Enabling object manipulation based on a single static image, from geometric editing to animation, remains a significant challenge. Existing methods often struggle to jointly support these tasks, while also suffering from fidelity degradation in object appearance and scene illumination. In this work, we introduce OMINI, a unified framework that addresses these challenges through two complementary strategies. First, OMINI lifts the 2D object into a 3D representation and adopts a Refine-before-Render design. Both geometric editing and animation are then performed by manipulating and rendering the refined 3D asset, maintaining appearance consistency throughout the manipulation process. Second, we propose two dedicated modules for fidelity enhancement: TextuRefiner refines rendered views of the 3D asset under appearance and geometric guidance, thereby generating fine-grained texture details; IllumiCorrector corrects environmental illumination using HSL-based color correction and VLM-guided intensity optimization, enabling visually plausible renderings with shadows. Extensive experiments demonstrate that OMINI outperforms existing methods, producing visually consistent results. The GPU stages of OMINI are run on a single NVIDIA RTX 3090.

cs.CV↗