Nima Shahbazi

Author directory

2026

Existing table question answering systems face a key trade-off: approaches designed for relational databases scale efficiently but assume fully structured schemas, while LLM-based methods support flexible reasoning over unstructured text but struggle to scale to large and multi-table datasets. This limits their applicability to semi-structured data, where answering a query may require dynamically recovering latent schema elements from free-form text before symbolic execution can proceed. We present OmniTQA, an operator-centric framework that unifies relational execution and LLM-based semantic reasoning within a single query runtime. OmniTQA compiles queries into directed acyclic graphs (DAGs) of relational and semantic operators, enabling cost-aware optimization, dual-engine execution, and parallel exploration of alternative semantic groundings under ambiguity. Experiments on structured and semi-structured benchmarks show that OmniTQA substantially outperforms existing approaches on hybrid data settings while remaining competitive on structured datasets.

2024

The extensive scope of large language models (LLMs) across various domains underscores the critical importance of responsibility in their application, beyond natural language processing. In particular, the randomized nature of LLMs, coupled with inherent biases and historical stereotypes in data, raises critical concerns regarding reliability and equity. Addressing these challenges are necessary before using LLMs for applications with societal impact. Towards addressing this gap, we introduce REQUAL-LM, a novel method for finding reliable and equitable LLM outputs through aggregation. Specifically, we develop a Montecarlo method based on repeated sampling to find a reliable output close to the mean of the underlying distribution of possible outputs. We formally define the terms such as reliability and bias, and design an equity-aware aggregation to minimize harmful bias while finding a highly reliable output. REQUAL-LM does not require specialized hardware, does not impose a significant computing load, and uses LLMs as a blackbox. This design choice enables seamless scalability alongside the rapid advancement of LLM technologies. Our system does not require retraining the LLMs, which makes it deployment ready and easy to adapt. Our comprehensive experiments using various tasks and datasets demonstrate that REQUAL-LM effectively mitigates bias and selects a more equitable response, specifically the outputs that properly represents minority groups.