Research
A Passive AI System for Verifying Physical State on Automated Liquid Handlers
Automated liquid handlers run digital protocols, but a human must still physically load plates, tip racks, reservoirs, and reagents onto the deck in the right positions.

- arXiv
- 2610.02668 · Preprint · not peer-reviewed
- Published
- 2026-10-02
- Authors
- Junqiong Joanne Qiu, Zeckria Kamrany, Ananya Anand, Emma Vidal, Yunjia Johanna Bai, Nathan S Chen, Sean Son, Varada Abhyankar, Taryn Jakub, Eleazar Eskin
In plain words
Automated liquid handlers run digital protocols, but a human must still physically load plates, tip racks, reservoirs, and reagents onto the deck in the right positions. Mistakes at this stage — a plate in the wrong slot, a missing reservoir, the wrong tip rack — can cause collisions, damage the robot, or silently ruin an experiment.
AI summary
Overview
Research area: Robotics and laboratory automation, specifically computer-vision-based quality control for automated liquid handlers. Technical level: Intermediate — the paper assumes familiarity with object detection/segmentation models (YOLO family), web deployment, and basic lab automation workflows, but explains the pipeline clearly. Scope: The paper describes and evaluates the Labware Setup Checker, a passive camera-and-vision system that verifies whether an Opentrons Flex deck has been prepared correctly for a given protocol, without modifying the robot's hardware or firmware.
What This Paper Is About
Automated liquid handlers run digital protocols, but a human must still physically load plates, tip racks, reservoirs, and reagents onto the deck in the right positions. Mistakes at this stage — a plate in the wrong slot, a missing reservoir, the wrong tip rack — can cause collisions, damage the robot, or silently ruin an experiment. The authors build a low-cost, external vision system that photographs the deck, identifies the labware in each slot, compares the observed layout against a stored protocol reference, and reports which slots are correct, missing, misplaced, or unexpected before the run begins.
Key Contributions
- An external, passive verification architecture for the Opentrons Flex that uses a consumer webcam and browser application and requires no hardware or firmware modification, operating independently of the robot controller.
- Protocol-aware deck perception that segments the deck into 14 observable regions, corrects slot assignments using known deck geometry, classifies labware into 17 classes, and matches the result against a reference protocol library with per-slot status labels (correct, wrong, wrong_slot, not_in_setup).
- A deployed system with seconds-scale latency, measured both on a CPU-only laptop (median 2.10 s) and in an AWS-hosted laboratory deployment (median 4.24 s end-to-end from frame capture to result).
- A multi-condition evaluation covering empty-deck recognition, live deck preparation tracking, 24 fully permuted partially occluded reservoir arrangements, and three camera positions under two lighting conditions.
Main Findings
- Empty deck recognized consistently: Across 113 frames of an otherwise empty Flex deck (only the permanent C1 temperature module and D1 aluminum block present), the checker recognized the remaining slots as empty in every frame.
- Live preparation tracked: During SwabSeq Respiratory Viral Panel pre-PCR setup, slot C2 was reported empty for the first seven frames, as a MicroAmp base in the next frame, and as the complete MicroAmp plate-and-base assembly in all 29 subsequent frames before robot motion.
- High agreement on the completed deck: Across 29 completed-deck frames (406 slot observations), 331 of the 348 observations from the 12 regions requiring exact matches agreed with the protocol reference (95.1%). Combining all correct observations, 389 of 406 (95.8%) received a correct status. All four tip racks were correct in all 116 observations, the C2 assembly in all 29, and the five expected-empty slots in all 145.
- Errors concentrated in visually similar labware: The 17 misclassifications comprised 15 at D1 (the expected 24-well screw-cap aluminum block was called a Bio-Rad well-plate aluminum block in 15 of 29 frames) and two at D4 (an edge-of-field empty slot called an Abgene deep-well plate with low confidence).
- Robust to occlusion: Across 480 frames covering all 24 arrangements of four similar reservoirs, deck-region assignment was correct in 6,720 of 6,720 observations (100%), reservoir localization in 1,920 of 1,920, and foreground tip-rack classification in 1,440 of 1,440.
- Robust across camera position and lighting: Across 154 stable frames from three camera positions and two lighting conditions, all 2,156 deck-region observations were correct (100%), and 2,107 of 2,156 slot classifications matched the protocol reference (97.73%). Per-position accuracy was 96.43%, 96.71%, and 99.87%; per-lighting accuracy was 97.68% and 97.77%; the six combinations ranged from 92.86% to 100%.
- Strong held-out model performance: The YOLO11m segmentation model reached 0.993 box precision, 1.000 box recall, 0.995 box mAP@50, 0.995 mask mAP@50, and 0.884 mask mAP@50–95. The YOLO26m classifier reached 0.992 top-1 and 1.000 top-5 accuracy across 17 classes.
- Fast verification: On a CPU-only MacBook Pro, ten post-warmup runs on a 2304 × 1536 image took a median of 2.10 s total, with 1.24 s for preprocessing and PNG serialization, 0.624 s for segmentation, and 0.188 s for classifying 14 cropped images. In the AWS deployment over 280 frames, server processing took a median of 3.2 s and end-to-end latency was 4.24 s (IQR 3.52–4.48 s).
- Reused across workflows without retraining: The same trained models handled both RVP pre-PCR preparation and the TECAN Library Cleanup workflow; supporting the second workflow required only adding its expected deck layout to the protocol library.
- Error-detection rate on genuine mistakes not reported: The evaluation measured agreement with a protocol reference, not independently annotated accuracy at catching real operator errors; the paper states this explicitly as a limitation.
Methodology in Plain English
The team mounted a roughly $60 Logitech C920e webcam on a roughly $20 adjustable stand attached to the Flex's lift handle, positioning it at an upper-left external viewpoint to reduce occlusion from the waste chute. A browser application captures frames and sends them to a backend that runs the vision pipeline.
Training data came from 121 full-deck photographs with randomized labware placements, manually annotated on Roboflow with empty slots explicitly labeled so the model could tell "empty" apart from "missed detection." Cropping individual labware and empty-slot regions produced 1,212 classification images across 17 classes. Data was split 85/10/5 (103/12/6 for segmentation, 1,030/121/61 for classification), and augmentation — flips, 90-degree rotations, ±15-degree rotations, ±15% brightness, ±10% exposure — expanded the training sets to 309 and 3,090 images.
For each frame, the system normalizes the image, applies contrast-limited adaptive histogram equalization (clip limit 0.03), and letterbox-resizes it. A segmentation model finds deck regions; masks are used to crop each region so neighboring objects do not confuse classification. Because perspective and occlusion can shift a detection into a neighboring slot, the system estimates an affine transform with RANSAC and then uses the Hungarian algorithm to assign detections to canonical Flex slots, with a fallback transform when the affine estimate is unreliable. A classifier labels each masked crop, and the resulting slot–labware pairs are scored against every layout in the protocol library: exact matches score highest, labware in the wrong protocol slot gets partial credit, and permissive slots accept anything. The best-scoring protocol determines the per-slot status shown to the operator.
The backend is a containerized Python FastAPI service deployed on AWS with a React frontend on AWS Amplify, using ElastiCache for Valkey for session state and Amazon S3 for captured frames. Models were exported to OpenVINO intermediate representation for CPU inference.
Why This Matters
Deck setup is the last manual step before an automated run, and it is currently unverified on affordable liquid handlers. Commercial alternatives exist — the Flex's built-in 2 MP camera records images but does not check correctness, and Tecan's DeckCheck compares pixels rather than labware identity — but neither provides a modular, low-cost verification layer a lab can add to hardware it already owns. This work shows that an external camera plus lightweight models can produce a structured, protocol-aware deck state within seconds, using hardware costing roughly $80.
Real-world applications:
- Molecular biology and genomics labs running PCR setup and sequencing library preparation, where a swapped plate or missing tip rack invalidates a run.
- Core facilities and clinical testing labs that need a documented pre-run check without buying a high-end integrated workstation.
- Academic labs with budget constraints that already own an Opentrons Flex and want added quality control without firmware changes.
- Multi-protocol environments where a single set of trained models can be extended to a new workflow by adding a layout to the protocol library, as demonstrated with the TECAN Library Cleanup workflow.
Industry relevance: the passive, non-invasive design lowers the barrier to adoption and avoids vendor lock-in or robot downtime. For instrument manufacturers, it demonstrates a retrofit path to deck verification; for laboratories, it offers an audit trail of deck state that could feed into documentation. The paper also frames the deliberate tradeoff of passivity: the checker cannot stop an operator from starting a run after a mismatch, so the operator must notice and act on the result.
Future Directions
- Generate protocol references directly from Opentrons protocol files, replacing manual encoding of expected deck layouts.
- Simplify adding new labware, since unseen or visually different labware currently requires image collection, annotation, retraining, and validation.
- Evaluate across more laboratories, camera installations, and workflows, and record genuine setup mistakes to measure how often the checker catches errors that actually require correction.
- Extend monitoring beyond pre-run setup — for example using the Flex's own camera, communicating with the robot controller, or logging time-stamped labware observations to an electronic lab notebook to document progress and deviations.
Target Audience
Laboratory automation engineers, robotics researchers working on perception for lab instruments, and computational biologists or core-facility staff who operate Opentrons Flex or similar liquid handlers. It is also useful for machine-learning practitioners interested in a concrete deployment of YOLO-based segmentation and classification under real camera, lighting, and occlusion constraints, and for readers evaluating the practical limits of passive, non-integrated verification systems.
Authors’ abstract
Automated liquid handlers execute digital protocols, but operators must assemble the deck and confirm that the physical setup matches the intended experiment. We present the Labware Setup Checker, a passive vision system that verifies deck preparation on an Opentrons Flex without modifying its hardware or firmware. A consumer webcam mounted outside the robot supplies images to a browser application. The checker segments the deck into slots, corrects slot assignments using…
The full abstract on arXivRelated papers
- Bridging Language and Physics: Automated Design of Continuum Robots with Large Language Models 2026-09-08 · cs.RO · Key terms of the title in common
- VerifLM: Physically Verified Image-Edit-Guided Goal Pose Generation for Robotic Manipulation 2026-11-02 · cs.RO · Key terms of the title in common
- Is Forward Prediction Enough? Physical State Grounding for JEPA World Models 2026-08-07 · cs.RO · Key terms of the title in common