计算机科学
可执行文件
SQL语言
限制
领域(数学分析)
接口(物质)
追踪
空间查询
查询语言
数据挖掘
情报检索
领域(数学)
点(几何)
重写
人工智能
机器学习
执行时间
核(代数)
程序设计语言
空间分析
语句(逻辑)
数据库
补语(音乐)
关系数据库
查询优化
用户界面
作者
Arka Dutta,Souvik Ghosh,Kenneth Prado,Ashiqur R. KhudaBukhsh,Hirak Sarkar
出处
期刊:
[Cold Spring Harbor Laboratory]
日期:2026-11-04
标识
DOI:10.64898/2026.10.31.763119
摘要
Spatial-omics technologies provide clinicians, pathologists, and biomedical researchers with high-resolution maps of transcriptomic, proteomic, and metabolomic activity within tissues. However, querying these complex datasets often requires specialized computational expertise, limiting their accessibility to domain experts without programming experience. In the current manuscript, we develop SPaRTA (Spatial Reasoning in Text-to-SQL for Omics Analysis), a natural-language interface that translates free-text questions into executable spatial SQL queries over such data. We release SPaRTA -Bench, comprising dataset-specific database schemas, explicit query conventions, and 7,500 question-SQL pairs validated through LLM-assisted verification and targeted human review, spanning breast cancer, pancreatic cancer, and melanoma tissue sections, and identify 15 failure modes in which a query runs but returns a wrong answer. Openweight large language models (LLMs) of the Llama , Mistral , Qwen , Gemma and Phi families reach 10-40% execution accuracy zero-shot, and at most 61% with reasoning and execution feedback. Fine-tuning raises them to 63-77%, and they lose at most 6 percentage points on a tissue unseen in training. Execution feedback repairs queries that fail to run, but rarely queries that run and return a wrong answer. Code and data: github.com/sarkar-lab/SPARTA_public.
科研通智能强力驱动
Strongly Powered by AbleSci AI