PalimpChat: Declarative and Interactive AI analytics

Chunwei Liu, Gerardo Vitagliano, Brandon Rose, Matt Prinz, David Andrew Samson, Michael J. CafarellaSIGMOD Conference Companion 2025

TL;DR

This paper introduces PalimpChat, a novel chat-based interface that democratizes the use of declarative AI frameworks for data analytics. By leveraging large language models (LLMs) and a reasoning agent, PalimpChat allows users to build complex AI pipelines using natural language, making sophisticated data processing accessible to non-experts.

What Problem Does This Paper Address?

The paper tackles the growing complexity of building AI pipelines for unstructured data. While declarative AI frameworks like PALIMPZEST offer powerful optimization and pipeline construction capabilities, they traditionally require expert programming knowledge. This creates a barrier for many data scientists and domain experts who could benefit from these tools but lack the necessary coding skills. The challenge is to bridge this gap, enabling users to harness the power of declarative AI without needing to be seasoned programmers.

Methods

PalimpChat integrates two key systems:

  • PALIMPZEST: A declarative AI framework for building and optimizing data processing pipelines. It allows users to define logical operations, and an optimizer then generates efficient physical implementations. PALIMPZEST supports both LLM-based and conventional operators, with a focus on relational algebra concepts.
  • ARCHYTAS: A framework for building reasoning agents that can interact with external tools. It follows the ReAct (Reason & Action) paradigm, enabling agents to decompose user requests, select appropriate tools, and iterate towards a solution.

PalimpChat acts as an interface where ARCHYTAS, powered by LLMs, interprets natural language queries and translates them into PALIMPZEST operations. It exposes PALIMPZEST functionalities as tools that the ARCHYTAS agent can leverage, effectively orchestrating pipeline creation and execution through a conversational interface. The system also integrates with Beaker, a notebook-chat environment, for a seamless user experience.

Datasets

The paper does not explicitly mention specific datasets used for training the LLMs or for extensive quantitative evaluation. However, it highlights three real-world scenarios for demonstration: scientific discovery, legal discovery, and real estate search. The scientific discovery use case involves processing PDF documents to extract information about publicly available datasets related to colorectal cancer.

Key Insights and Ideas

  • Natural Language as a Declarative Interface: The core idea is that natural language can serve as a high-level, declarative way to specify complex data processing pipelines, abstracting away the underlying code and framework details.
  • Bridging the Expert-Non-Expert Divide: PalimpChat demonstrates a practical approach to making powerful declarative AI tools accessible to a broader audience, fostering collaboration between domain experts and AI developers.
  • Reasoning Agents for Pipeline Orchestration: The use of a ReAct-based reasoning agent (ARCHYTAS) is crucial for intelligently interpreting user intent and orchestrating the sequence of PALIMPZEST operations needed to fulfill requests.
  • Iterative Development through Chat: The chat interface allows for an iterative development process, where users can refine their requests and pipelines based on intermediate results and agent feedback.

Key Results

The paper presents a demonstration of PalimpChat's capabilities through a scientific discovery use case. In this scenario, the system successfully:

  • Processed a collection of PDF documents.
  • Filtered papers relevant to colorectal cancer.
  • Extracted information about publicly available datasets, including their names, descriptions, and URLs.
  • The execution statistics for this pipeline showed a runtime of approximately 240 seconds and a cost of about $0.35 USD, with the system identifying 6 relevant datasets from 11 input papers.

The authors emphasize the qualitative benefit of simplifying complex AI workflows and making them accessible.

Limitations and Future Work

  • Physical Optimization Aspects: While the paper mentions PALIMPZEST's optimization capabilities, the demonstration primarily focuses on the interactive pipeline building aspect, with less emphasis on exploring the full range of physical optimization strategies.
  • User Experience Refinement: As an early prototype, further work is suggested for optimizing the user experience and expanding the range of supported operations and data types.
  • Broader Applicability: While three use cases are mentioned, extending PalimpChat to a wider variety of domains and data types would be a natural next step.
  • Collaboration Features: Enhancing collaborative features for teams working on data pipelines could be a valuable future direction.

Summary updated

BibTeX
@inproceedings{liu2025palimpchat,
  author = {Chunwei Liu and Gerardo Vitagliano and Brandon Rose and Matt Prinz and David Andrew Samson and Michael J. Cafarella},
  title = {{PalimpChat: Declarative and Interactive AI analytics}},
  booktitle = {SIGMOD Conference Companion},
  year = {2025},
  url = {https://openreview.net/forum?id=bN8AQZXIxt},
}
Figure