arXiv Science⌕ Search

arXiv subjects

Weikuan Qiu

Publications and source records attributed to Weikuan Qiu.

2 recordsLinked to original sources

Value-grounded schema-graph reasoning for auditable Text-to-SQL in electronic medical records

Electronic medical records (EMRs) store longitudinal patient data in relational databases, which are queried with structured query language (SQL), a language unfamiliar to most clinicians. While large language models (LLMs) can generate SQL from natural language questions, clinicians without SQL expertise still lack the means to audit how a generated query is grounded. We therefore address this gap with VGSG-CoT (Value-Grounded Schema-Graph Chain-of-Thought), a knowledge-grounded Text-to-SQL framework whose explicit chain of thought (CoT) exposes table, column, value, join, and aggregation decisions as auditable steps. Because explicit CoT can degrade accuracy in compact models, VGSG-CoT couples the CoT with a grounded evidence module (GEM) that retrieves value- and schema-level evidence from the database, and leverages grounded CoT distillation to train 1.5B and 7B generators that jointly produce the CoT and SQL. On MIMICSQL, VGSG-CoT achieves execution accuracies of 0.943 and 0.956 using the 1.5B and 7B generators, respectively, while the reasoning steps remain consistent with the final SQL. These results indicate that database-grounded evidence can offset the accuracy cost of explicit reasoning and enable auditable decision support for EMRs.

cs.CL↗

TANDEM: Temporal Anchor Densification With Reliability-Aware Memory for Lightweight Sparse Depth Completion in Endoscopic Robotic Navigation

For endoscopic robotic surgery, accurate dense depth perception serves as a foundational capability, which enables navigation, instrument localization, and tissue interaction. However, endoscopic video lacks reliable metric depth, while metric measurements obtained via tracking, time-of-flight sensing, or instrument contact only cover a small fraction of pixels in each frame, rendering sparse depth completion an urgent and unsolved challenge. In this work, we propose Temporal Anchor Densification with Reliability-Aware Memory (TANDEM), a causal sparse depth completion framework for endoscopic video. It adopts a lightweight design and leverages the video stream: past measurements re-projected into the current view recover the metric evidence unavailable within a single sparse frame. To keep this evidence interpretable, accurate, and efficient, an explicit memory scores each re-projected measurement with analytic re-observation, age, and motion-parallax factors without overriding current measurements. A compact network then reconstructs depth via reliability-weighted gradient integration and a frequency-gated reference prior. We evaluate TANDEM on the C3VD colonoscopy and StereoMIS laparoscopy datasets. With only 5.58 M parameters, TANDEM reduces the root mean square error by 11.7% and 32.0%, respectively, compared with the strongest baseline, and achieves state-of-the-art accuracy. It also remains accurate under pose errors of the magnitude reported for endoscopic pose estimation. Code will be released at https://github.com/Wk-cpu-art/TANDEM upon acceptance.

cs.CV↗