A Collaborative Artificial Intelligence as a Service Composition Dataset

Deepak Kanneganti, Sajib Mistry, Sheik Fattah, Aneesh KrishnaarXiv 2026

TL;DR

This paper introduces the first large-scale dataset specifically designed for collaborative Artificial Intelligence as a Service (AIaaS) composition. By providing 25,900 AI services and 10,000 realistic service requests, the authors fill a critical gap in research infrastructure, enabling the development of algorithms that combine multiple AI models to solve complex, high-performance requirements that a single service cannot meet.

What Problem Does This Paper Address?

In the world of cloud-based AI, we often rely on a single service for a task—say, a specific model for image classification. However, complex real-world needs often exceed the capabilities of any single provider. For instance, a healthcare app might need 99% accuracy for activity recognition across 100 different classes while maintaining strict latency.

While "sequential composition" (chaining services like A $\rightarrow$ B $\rightarrow$ C) is well-studied, collaborative composition—where multiple services work together on the same task to improve overall performance or functional breadth—lacks a standardized testing ground. Existing datasets for service composition focus on traditional web services (like weather APIs) and lack AI-specific metadata such as training data distribution, model architecture, and internal parameters.

Fig. 1: AIaaS Composition Dataset Motivation Scenario

As shown in Figure 1, collaborative composition allows for a unified service ($M_c$) that outperforms its individual components ($AlaaS 1, 2, 3$).

Methods

The authors developed a comprehensive workflow to generate this dataset and a baseline algorithm to navigate it:

  1. Service Construction: They collected ~1,500 top-ranked models from five major providers (including Hugging Face, Google, and AWS). These were fine-tuned with various configurations to create a diverse pool of 25,900 services.
  2. Requirement Generation: They designed an algorithm (Algorithm 1) to generate 10,000 unique service requests. These aren't random; they follow established AI selection principles to reflect real-world priorities (e.g., healthcare prioritizing accuracy/latency vs. finance prioritizing reliability/cost).
  3. Composability Function: The paper defines a mathematical objective function to score how well a combination of services works together. This includes functional characteristics (data heterogeneity, model alignment) and Quality of Service (QoS) attributes (latency, reliability, cost).
  4. MAB-based Composition: To solve the "combinatorial explosion" problem (where even 100 services can lead to thousands of possible pairs), they implemented a Multi-Armed Bandit (MAB) algorithm. This approach efficiently balances exploring new service combinations with exploiting known high-performing ones.
Fig. 2: Overall workflow of the AIaaS service composition dataset collection

Datasets

The primary contribution is the CAIaaS dataset, which includes:

  • 25,900 AIaaS Services: Spanning 12 task families like NLP, computer vision, and regression.
  • 10,000 Service Requests: Each containing functional requirements, QoS constraints, and client preferences.
  • Benchmark Integration: The services were evaluated using standard datasets like MNIST, CIFAR-10, WikiText-2, and others to ensure realistic performance metrics.

The authors highlight that unlike previous datasets (QWS, WS-DREAM, HSC), CAIaaS is the only one to fully support AI-specific internal parameters and collaborative composability.

Table 1: Existing datasets for AIaaS service composition research.

Key Insights and Ideas

  • AI Services are not Black Boxes: To effectively compose AI services, you need more than just "response time." The authors argue that internal attributes—like model weights, data distribution (IID vs. non-IID), and training sample size—are essential for predicting how services will interact.
  • Synergy over Sequencing: The "aha moment" here is treating AI composition as a collaborative effort. Instead of just passing data along a pipe, services can be combined to cover each other's weaknesses (e.g., one model excels at detecting "running" while another excels at "sitting").
  • Scalability is the Bottleneck: The search space for composition grows factorially. The paper demonstrates that standard greedy searches fail as the number of services increases, necessitating smarter metaheuristic or reinforcement learning approaches.

Key Results

The authors benchmarked several optimization techniques against their MAB-based baseline.

  • Metaheuristics Win: Advanced algorithms like Genetic Algorithms (GA) and Discrete Ant Colony Optimization (DAAGA) consistently produced higher-quality compositions than simple Random or Greedy searches.
  • Stability: As the "composition length" (number of services combined) increased, traditional approaches showed lower and less stable performance, while metaheuristic-based approaches maintained high solution quality.

Fig. 5: Average service quality score across different composition lengths. (Note: The figure provided in the prompt for Fig 5 is actually Table 1; the actual Fig 5 in the paper shows the performance curves of different algorithms.)

Table 1: Existing datasets for AIaaS service composition research.

Limitations and Future Work

The authors acknowledge a few hurdles:

  • Public Metadata Constraints: The dataset relies on publicly available information. Since commercial providers often hide their "secret sauce," some attributes might not fully capture proprietary optimizations.
  • Controlled Environment: The fine-tuned models were generated in controlled settings, which might not perfectly mirror the messy, unpredictable nature of live commercial AIaaS environments.
  • Future Directions: The authors suggest the dataset can be used for research beyond composition, such as QoS prediction (estimating future performance based on historical data) and automated service classification.

The dataset and implementation are publicly available at https://github.com/deepakkanneganti9/CAIaaS.

Summary updated

BibTeX
@misc{kanneganti2026collaborative,
  author = {Deepak Kanneganti and Sajib Mistry and Sheik Fattah and Aneesh Krishna},
  title = {{A Collaborative Artificial Intelligence as a Service Composition Dataset}},
  year = {2026},
  eprint = {2609.32523},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.32523},
}
Figure