Research

Data agents for insights and discovery

My long-term vision is to build data agents that help people turn complex data into reliable insights and scientific discoveries.

The motivation

Helping researchers make sense of emerging evidence

The COVID-19 pandemic shaped the question that has guided my research: how can AI help experts extract useful knowledge when evidence is growing quickly and the need for answers is urgent? I became interested in language models that could help researchers analyze biomedical literature and data, connect findings, and inform new lines of investigation.

Healthcare made the challenges concrete. Useful models must learn from scarce labeled data, adapt as knowledge changes, and make it possible to trace generated content. These questions became the foundation of my PhD.

PhD · UC San Diego

Building language models for specialized domains

Working with Prof. Pengtao Xie at UC San Diego, I studied data scarcity, continual adaptation, and output traceability for pre-trained models, motivated by healthcare applications. My work includes text augmentation, stable language-model fine-tuning, and a continual-learning extension evaluated on early sepsis prediction across hospitals. Related work explores parameter-efficient adaptation. My research explored three areas:

My dissertation, Trustworthy Optimization of Pre-Trained Models for Healthcare: Generalizability, Adaptability, and Security, received the 2025–2026 Dr. William S.C. Chang Best Dissertation Award. Explore the PhD publications →

Enterprise AI · Oracle

Data agents for enterprise analytics

At Oracle, I worked with product and engineering teams on data agents for analytics and insight generation. The research focuses on understanding domain context, querying complex datasets, and checking answers against the underlying data.

Grounding questions in domain meaning

My work includes an ontology-driven semantic store that connects entities, metrics, relationships, and domain rules to enterprise data. This gives an agent context for interpreting a question and translating the user’s intent into an analysis.

Turning intent into evidence through NL2SQL

Reliable data access is a foundation for insight. I co-led OraPlan-SQL, winner of the 2025 Archer NL2SQL Challenge, and SOMA-SQL, which reached #1 on Spider 2.0 Lite in April 2026. These efforts address how agents interpret questions, plan queries, and use execution feedback to resolve ambiguity in enterprise data. I also contributed to PLSQLBench, a benchmark that evaluates executable PL/SQL generation and repair using execution-based tests in single-turn and multi-turn settings.

Toward insights and discovery

At Oracle, I also architected and led the development of an insights agent combining enterprise data, logs, documentation, and business context to identify anomalies and investigate root causes. I partnered with product and engineering teams to integrate it into support workflows, reducing root cause analysis from hours to just a few minutes.

This work informs my interest in agents that can take an investigation further: examine patterns, test possible explanations, and suggest useful follow-up questions, with evidence people can inspect.

Publications

Selected publications

My publications span database agents at Oracle and language models for specialized domains during my PhD.

Language models for databases

At Oracle, my collaborators and I developed methods for planning SQL queries and resolving ambiguity in natural-language requests. We also introduced PLSQLBench to evaluate language models on generating, modifying, debugging, and repairing executable PL/SQL programs using execution-based tests.

OraPlan-SQL: A Planning-Centric Framework for Complex Bilingual NL2SQL Reasoning

Marianne Menglin Liu, Sai Ashish Somayajula, Syed Fahad Allam Shah, Sujith Ravi, Dan Roth

IJCKG 2025 · Proceedings published in 2026, pp. 537–544

OraPlan-SQL generates stepwise natural-language plans before producing SQL. It combines feedback-guided planner prompt refinement, bilingual entity-linking guidelines, and majority voting over the execution results of queries generated from diverse plans.

SOMA-SQL: Resolving Multi-Source Ambiguity in NL-to-SQL via Synthetic Log and Execution Probing

Sai Ashish Somayajula, Marianne Menglin Liu, Chuan Lei, Fjona Parllaku, Daniel Garcia, Rongguang Wang, Syed Fahad Allam Shah, Ankan Bansal, Sujeeth Bharadwaj, Tao Sheng, Sujith Ravi, Dan Roth

arXiv preprint, June 2026

SOMA-SQL uses synthetic query logs and targeted database probes to resolve ambiguity across questions, schemas, and candidate SQL interpretations. It uses the resulting evidence for SQL selection and repair, and ranked first on Spider 2.0 Lite in April 2026 with 72.02% execution accuracy.

PLSQLBench: Benchmarking LLM Systems for Executable Procedural Database Programming

Marianne Menglin Liu, Leonid Boytsov, Daniel W. Peterson, Pramuditha Perera, Rongguang Wang, Sai Ashish Somayajula, Syed Hamza Rafique, Rohit Saini, Shubham Pathak, Sujeeth Bharadwaj, Tao Sheng, Graham Horwood, Fahad Shah, Ankan Bansal, Sujith Ravi, Dan Roth

EMNLP 2026 Industry Track, pp. 2625–2646

PLSQLBench evaluates read-only PL/SQL generation, modification, debugging, and repair through execution-based tests. The full benchmark contains 2,865 instances, including 271 multi-turn conversations; the public release contains 2,391 development instances.

Learning from scarce data

The Long COVID and text augmentation studies use downstream classification feedback to improve generated training examples. BFTSS instead learns a task-dependent similarity structure for token embeddings in low-resource fine-tuning.

Stable adaptation to specialized domains

Fine-tuning on small datasets can lead to overfitting and unstable results. This work learns how to mix pre-trained and task-specific weights using attention parameters optimized on a separate training-data split.

Attention-guided weight mixup method overview
Generalizable and Stable Finetuning of Pretrained Language Models on Low-Resource Texts

Sai Ashish Somayajula, Youwei Liang, Li Zhang, Abhishek Singh, Pengtao Xie

Annual Conference of the North American Chapter of the Association for Computational Linguistics (NAACL), 2024

Uses attention-guided weight mixup to learn the contribution of pre-trained and task-specific weights. Bi-level optimization on two training-data splits improves generalization and stability in the reported low-resource experiments.

Making adaptation more efficient

Adapting large models also requires controlling computational cost. AutoLoRA uses meta-learning to choose the rank of each low-rank adaptation matrix, tailoring adaptation capacity to the downstream task.

Tracing model-generated text

As language models contribute more text to the information ecosystem, identifying model-generated content becomes part of understanding its provenance. Our watermarking work studies the tradeoff between detectability and semantic coherence.