AIDec 22, 2024

Better Think with Tables: Tabular Structures Enhance LLM Comprehension for Data-Analytics Requests

arXiv:2412.17189v3h-index: 28
Originality Incremental advance
AI Analysis

This addresses a practical problem for users of LLMs in data analytics, though it appears incremental as it builds on existing structured data approaches.

The paper tackles LLMs' struggles with data-analytics requests by injecting tabular structures, resulting in a 40.29% average performance gain with better robustness and token efficiency.

Large Language Models (LLMs) often struggle with data-analytics requests related to information retrieval and data manipulation that frequently arise in real-world scenarios under multiple conditions. In this paper, we introduce Thinking with Tables, where we inject tabular structures into LLMs for data-analytics requests. Through comprehensive evaluations across various request types, we show that providing tabular structures yields a 40.29 percent average performance gain along with better robustness and token efficiency. Through attention-value analysis, we uncover that tables help LLMs better attend to relevant information, explaining these improvements. Beyond tables and text, we evaluate whether (1) blending structuredness within text, such as providing templates or fixing the order of attributes, and (2) other representative structures, such as knowledge graphs and JSON, are helpful. We observe that utilizing tables offers the best balance between efficiency and effectiveness. These advantages remain consistent under increased task complexity and even when all input data cannot be structured. Finally, as data analytics typically relies on structured factual inputs, our text-to-table conversion demonstrates the method's applicability to text-compatible data sources.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes