Salvato in:
Dettagli Bibliografici
Autori principali: Gan, Chengtao, Liu, Zhiqiang, Jin, Long, Zhu, Yushan, Liang, Lei, Zhang, Wen
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:https://arxiv.org/abs/2606.02170
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911741496000512
author Gan, Chengtao
Liu, Zhiqiang
Jin, Long
Zhu, Yushan
Liang, Lei
Zhang, Wen
author_facet Gan, Chengtao
Liu, Zhiqiang
Jin, Long
Zhu, Yushan
Liang, Lei
Zhang, Wen
contents 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 CRAFTQA, a novel adaptive code-driven framework comprising two core modules, CodeSTEP and CRAFT. The 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 CRAFT module dynamically generates custom code functions for operations beyond the predefined function set, and seamlessly integrates 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.
format Preprint
id arxiv_https___arxiv_org_abs_2606_02170
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle CRAFTQA: A Code-Driven Adaptive Framework for Complex Structured Data Reasoning
Gan, Chengtao
Liu, Zhiqiang
Jin, Long
Zhu, Yushan
Liang, Lei
Zhang, Wen
Computation and Language
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 CRAFTQA, a novel adaptive code-driven framework comprising two core modules, CodeSTEP and CRAFT. The 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 CRAFT module dynamically generates custom code functions for operations beyond the predefined function set, and seamlessly integrates 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.
title CRAFTQA: A Code-Driven Adaptive Framework for Complex Structured Data Reasoning
topic Computation and Language
url https://arxiv.org/abs/2606.02170