Systems AI: A Declarative Learning Based Programming Perspective

Parisa Kordjamshidi, Dan Roth, Kristian Kersting

Introduction

Building complex AI systems currently requires a deep, low-level mastery of machine learning "plumbing"—from data munging to manual parameter tuning. This paper argues for a fundamental shift toward Declarative Learning Based Programming (DLBP): a paradigm where developers specify what a system should learn and the high-level constraints it must follow, while the underlying framework handles the "how" of optimization and inference. This approach aims to transition AI development from a series of manual, one-off engineering tasks to a systematic engineering discipline.

The Democratization Gap in AI

The authors identify a significant "democratization gap" in the current AI landscape. Domain experts, such as biologists or financial analysts, who wish to build intelligent systems are often met with cumbersome solutions. These solutions require them to be experts in both their own field and the intricacies of machine learning (ML).

Even for AI specialists, building end-to-end systems remains a chore. A disproportionate amount of effort is dedicated to "plumbing": dealing with messy, heterogeneous data, engineering features, and manually chaining together disparate models. Current tools are often too low-level, forcing developers to work with mathematical objective functions or specific tensor operations rather than the high-level logic of the problem they are trying to solve. The paper seeks to define a path toward "Systems AI"—a way to engineer complex, intelligent systems using high-level abstractions that integrate learning, reasoning, and data management.

A Taxonomy of Systems AI

As a perspective and survey paper, the authors provide a taxonomy of existing efforts and propose a unified architectural vision rather than a single new algorithm. They classify existing AI frameworks based on four key requirements:

  1. Interaction with Heterogeneous Data: How systems handle raw text, images, and relational databases (e.g., using tools like DeepDive or Saul).
  2. High-level Abstractions: Moving from imperative "step-by-step" code to declarative "what-to-do" specifications. This includes:
  3. Dependency structures: Declaring random variables (Probabilistic Programming).
  4. Logical models: Using first-order logic to represent domain knowledge (Statistical Relational Learning).
  5. Mathematical objectives: Defining computational graphs (Deep Learning).
  6. Representing Uncertainty: How frameworks manage noise and incomplete information.
  7. Model Composition: The ability to reuse, combine, and chain models into complex pipelines.

The authors use the example of Entity-Mention Relation (EMR) extraction—identifying people, places, and their relationships in text—to illustrate how different paradigms approach the same problem through varying levels of abstraction.

Key Insights: The "What" vs. The "How"

The core of the declarative approach is the strict separation of the specification of the model (the domain knowledge and constraints) from the execution (the learning algorithms and inference engines).

Learners as First-Class Objects

In the DLBP paradigm, a "learner" is not merely a function; it is a high-level object that can be composed with other learners. Developers should be able to specify, for instance, that the output of an entity classifier should serve as a feature for a relationship classifier without writing the underlying glue code.

Closing the Loop

Intelligent systems should not be static. They need to evolve over time, moving from raw data to knowledge and using that knowledge to better abstract future data. This is exemplified by the "Never-Ending Language Learning" (NELL) approach, where the system continuously refines its understanding.

Differentiable Programming as Composition

The authors view the trend of "differentiable programming" (e.g., PyTorch, TensorFlow) as a step toward composition. However, they note that these frameworks remain largely imperative and lack the high-level logical constraints found in older AI traditions, such as Statistical Relational Learning (SRL).

The Need for an Integration Paradigm

The paper concludes that while Deep Learning has simplified model configuration and SRL has improved reasoning over structures, the field still lacks a single framework that:

  • Completely hides algorithmic details from the developer.
  • Facilitates "algorithmic coverage," allowing developers to swap out a neural network for a logic-based solver without rewriting the entire system.
  • Supports automated "structure learning," where the system identifies the relationships between variables autonomously.

Limitations and Future Directions

The "Systems AI" vision is an ongoing work in progress with several significant hurdles:

  • Theoretical Gaps: There is a lack of full theoretical understanding regarding how to automatically abstract the subtleties of model selection and parameter tuning.
  • Systems Challenges: Beyond logic and mathematics, Systems AI must address traditional software engineering concerns such as security, privacy, scalability, and explainability within a learning-based context.
  • Structure Learning: A more ambitious goal is to learn the programs themselves from data, rather than just the parameters of a human-defined structure.

Ultimately, the paper serves as a call to arms for the AI community to move beyond building "one-off" models and begin developing the high-level programming languages and systems of the future.

Summary updated

BibTeX
@inproceedings{kordjamshidi2018systems,
  author = {Parisa Kordjamshidi and Dan Roth and Kristian Kersting},
  title = {{Systems AI: A Declarative Learning Based Programming Perspective}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/771},
}
Figure