A Natural Language Interface for Efficient Data Retrieval in SDSS
Prathamesh Tamhane
Key points
From the paper's conclusion- We develop an interface that translates user queries in natural language into SQL commands compatible with SDSS SkyServer.
Abstract
Modern astronomical surveys such as the Sloan Digital Sky Survey (SDSS) provide extensive astronomical databases enabling researchers to access vast amount of diverse data. However, retrieving data from archives requires knowledge of query languages and familiarity with their schema, which presents a barrier for non-experts. This work investigates the use of Microsoft Phi-2, a compact yet powerful transformer-based language model, fine-tuned on natural language–SQL pairs constructed from SDSS query examples. We develop an interface that translates user queries in natural language into SQL commands compatible with SDSS SkyServer. Preliminary evaluation shows that the fine-tuned model produces syntactically valid and largely semantically correct queries across a variety of astronomy-related requests. Our results show that even small-scale models, when carefully fine-tuned, can provide effective domain-specific natural language interfaces for large scientific databases.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Astro2Method: Benchmarking LLMs on Machine Learning Method Selection in AstronomyarXiv · 2026
- Extending the EVA Platform with LLM+RAG Capabilities to Infer Astronomical Object Types from Scientific PublicationsProceedings of the International Astronomical Union · 2026
- Extracting Published Discussions of 13,616 Galaxies with Language ModelsarXiv · 2026
- Transforming Science with Large Language Models: A Survey on AI-assisted Scientific Discovery, Experimentation, Content Generation, and EvaluationACM Computing Surveys · 2026
- Closing the Final Mile in Data-Driven Discovery: Interpreting Uncharted Celestial Sources with Large Language Models Across Multimodal Astronomical DataPublications of the Astronomical Society of the Pacific · 2026
- text2ql: Multi-Target Natural Language Querying via a Language-Agnostic Intermediate RepresentationarXiv · 2026