TLDR: This research paper surveys the emerging field of LLM/Agent-as-Data-Analyst, detailing how large language models and AI agents are overcoming the limitations of traditional data analysis. It covers their application across structured, semi-structured, unstructured, and heterogeneous data, highlighting capabilities like natural language interfaces, semantic understanding, and autonomous pipelines. The paper also outlines key design goals for intelligent data analysis agents and discusses remaining challenges and future research directions.
The world of data analysis is undergoing a significant transformation, driven by the advancements in large language models (LLMs) and intelligent agents. A recent survey titled “LLM/Agent-as-Data-Analyst: A Survey” by Zirui Tang, Weizheng Wang, Zihang Zhou, Yang Jiao, Bangrui Xu, Boyu Niu, Xuanhe Zhou, Guoliang Li, Yeye He, Wei Zhou, Yitong Song, Cheng Tan, Bin Wang, Conghui He, Xiaoyang Wang, and Fan Wu, explores how these AI technologies are reshaping how we inspect, transform, and model data to extract valuable insights.
Traditionally, data analysis has been a labor-intensive process, often requiring specialized domain expertise, manual feature engineering, and the integration of multiple tools. These conventional methods struggle with the sheer scale, complexity, and variety of modern data. Imagine trying to answer a simple business query across vast enterprise databases; it often involves complex multi-table joins and domain-specific constraints, a task that is time-consuming and difficult to adapt as data changes.
However, LLMs and agents are changing this landscape by offering new opportunities. They enable complex data understanding, allowing for deeper insights by capturing hidden patterns and contextual relationships. They provide natural language interfaces, meaning users can simply ask questions in plain English instead of needing to write complex SQL queries or programming code. LLMs also introduce semantic operators, which can understand the meaning behind words and phrases, leading to more accurate and context-aware results. Furthermore, these agents are capable of autonomous evolution, continuously refining their performance through interaction and learning, reducing the need for constant manual reconfiguration.
The evolution of LLM/Agent-as-Data-Analyst techniques follows five key design goals. These include a shift from literal, format-based analysis to semantic understanding; from supporting only specific data types to handling a hybrid of modalities; from requiring manual development of analysis pipelines to autonomous design; from tightly coupled, built-in tools to flexible, tool-assisted workflows; and from being tailored to closed-world, domain-specific tasks to supporting open-world, general-purpose data analysis.
Analyzing Diverse Data Modalities
The survey categorizes LLM-powered data analysis techniques based on the type of data they handle:
Structured Data: This includes relational databases and graph data. LLMs are used to convert natural language queries into SQL or graph query languages (GQL), perform semantic analysis, and even analyze time series data by understanding temporal dependencies and patterns. Techniques like schema linking, content retrieval, and model fine-tuning are crucial here.
Semi-Structured Data: This type of data, such as XML, JSON, HTML, and flexible tables, has some organizational structure but doesn’t conform to rigid schemas. LLMs help in extracting information, querying these formats, and understanding their complex layouts. Methods involve converting semi-structured tables into more structured representations and efficient table prompting to feed data into LLMs.
Unstructured Data: This category encompasses a wide range of data lacking fixed schemas, including charts, videos, documents, program code, and 3D models. For charts, LLMs can generate captions, answer questions, and even convert charts into editable code. For videos, they can understand temporal information, analyze emotions, detect objects, and recognize gestures. In document understanding, multimodal architectures integrate text, layout, and visual information, often enhanced by Retrieval-Augmented Generation (RAG) and synthetic data. For program analysis, LLMs assist in automated theorem proving, vulnerability detection, code summarization, and repository-level code completion through advanced data synthesis. Finally, for 3D models, LLMs fuse 3D geometry with language descriptions, enhance tasks requiring geometric reasoning, and refine cross-modal capabilities.
Heterogeneous Data: This involves integrating diverse data types. LLMs facilitate modality alignment, mapping different data types into a shared representation space. They also enable natural language interfaces for heterogeneous data retrieval and power intelligent agents that can interpret, retrieve, and reason over various data types automatically.
Also Read:
- Unlocking Data Insights: A Framework for Transparent and Evaluable AI Agents
- Designing Algorithms: A Smarter Way for Language Models to Solve Graph Problems
Challenges and Future Directions
Despite these advancements, several challenges remain. For structured data, complex analysis requiring deep comprehension across semantics and structure is still difficult. Adapting LLMs to open-world tasks and diverse domain-specific requirements is also an ongoing effort. In semi-structured data, handling the vast diversity of markup languages and the intricate, irregular structures of tables poses significant hurdles, as does efficient large-scale table comprehension.
For unstructured data, high-level chart understanding (like fact-checking or detecting misrepresentations) and robust multimodal reasoning for all chart types are areas for improvement. Video analysis faces challenges in computational efficiency, precise temporal localization, and scalable multimodal fusion. Document understanding needs to generalize across diverse domains and languages, while also improving efficiency for large-scale processing. Program analysis struggles with accuracy and robustness in vulnerability detection, complexity, scope limitations, and reliability in code generation and repair. For 3D models, creating high-quality 3D representations and ensuring accurate geometric grounding are key challenges.
The future of LLM/Agent-as-Data-Analyst points towards more modular and extensible frameworks, advanced multi-agent collaboration, and sophisticated data generation techniques to overcome current limitations. These developments promise to make data analysis more accessible, efficient, and intelligent across all data modalities. For more in-depth information, you can refer to the full research paper here.


