Keywords: Complex Reasoning, Structured Data Reasoning, Code-Driven Adaptive Framework, Dynamic Function Generation
Abstract: Real-world scenarios involve massive heterogeneous structured data (e.g., tables, knowledge graphs), making effective reasoning over such diverse data increasingly important. Unified structured data question answering has emerged as a prominent research trend, aiming to answer natural language questions across different structured data types within a single framework. However, existing unified methods share a common limitation: they rely on a set of predefined functions, which restricts their ability to perform complex reasoning beyond these predefined operations. To overcome this fundamental limitation, we propose $\textbf{CRAFTQA}$, a novel adaptive code-driven framework comprising two core modules, CodeSTEP and CRAFT.
The $\textbf{CodeSTEP}$ module is a paradigm that generates a complete executable Python code sequence, which contains step-by-step code-based reasoning operations based on the question.
The $\textbf{CRAFT}$ module dynamically generates custom code functions for operations beyond the predefined function set, and seamlessly integrating with CodeSTEP to significantly enhance flexibility in handling complex reasoning. Comprehensive experiments on multiple structured datasets demonstrate that CRAFTQA achieves remarkable improvements in complex reasoning scenarios compared to existing unified methods.
Paper Type: Long
Research Area: Question Answering
Research Area Keywords: logical reasoning,knowledge base QA,multihop QA,reasoning,table QA
Contribution Types: NLP engineering experiment
Languages Studied: English
Submission Number: 8185
Loading