JOURNAL Umuminternational2026

Effectful Distributed Intelligence: A Cats-Effect Framework for Type-Safe AI Pipelines on Apache Spark

Vaswani Vijay · DOAJ Open Access Articles

Abstrak / Ringkasan

The combination of artificial intelligence, distributed computing, and functional programming represents a paradigm shift in building robust and scalable machine learning systems. This paper presents a novel framework that combines Cats-Effect with Apache Spark to build type-safe, composable AI pipelines. Our framework makes three original contributions: (i) a unified Distributed[F[_]] type class that lifts any arbitrary Spark transformation into any Cats-Effect-compatible effect F, (ii) a composable resource-management protocol built on Cats-Effect's Resource that guarantees finalization guarantees for multi-stage AI workloads, and (iii) a formally stated monad-law-preserving algebra for effectful distributed gradient descent.We present a mathematical formulation of effectful distributed computation by modeling Spark transformations as higher-kinded effects that preserve referential transparency and enable resource-safe effectful transformations. The proposed framework uses the type classes of the Cats library to provide lawful abstractions for distributed data processing: Functor, Applicative, Monad, and Traverse. We evaluate our method on two benchmark datasets—the Criteo 1TB Click Logs for large-scale click-through rate prediction and the Amazon Reviews dataset for sentiment classification. The experiments are carried out five times as independent runs and reported as 95% confidence intervals. Experimental results show that our Cats-Effect framework achieves 94.7% (±0.8%) of native Spark throughput while providing compile-time guarantees against resource leaks and type errors. The framework reduces runtime exceptions by 78% compared to traditional Spark API implementations, enabling compositional reasoning about distributed AI workflows. The approach is shown to be competitive in both performance and safety when compared to other distributed ML frameworks, such as Ray or Dask, as well as functional effect systems, such as ZIO.

Sitasi

RIS BibTeX
Recommendation Engine

Referensi Serupa

JOURNAL2026

Development and Internal Validation of an Explainable Machine Learning Model for Physical Activity Adherence Among Community-Dwelling Patients with Type 2 Diabetes Mellitus

Zhao Y; Zhou M; Sun F; Lin C; Niu H; Zhang X; Jiang F; Wu C

99% mirip
JOURNAL2024

Developing and measuring an assessment instrument for media literacy among digital natives using Digital Intelligence (DQ) framework

Siti Nor Amalina Ahmad Tajuddin; Khairul Azam Bahari; Fatima Mohamed Al-Majdhoub; Nia Kurnia Maliki; Shanthi Balraj Baboo

99% mirip
JOURNAL2024

Developing and measuring an assessment instrument for media literacy among digital natives using Digital Intelligence (DQ) framework

Siti Nor Amalina Ahmad Tajuddin; Khairul Azam Bahari; Fatima Mohamed Al-Majdhoub; Nia Kurnia Maliki; Shanthi Balraj Baboo

99% mirip
JOURNAL2017

The level of emotional intelligence in undergraduate students of nursing

?udmila Majerníková; Andrea Obro?níková

92% mirip
JOURNAL2026

A severity-aware multi-task CNN-transformer framework for explainable diabetic foot ulcer triage and mobile deployment

Abdullah; Muhammad Ateeb Ather; Zulaikha Fatima; José Luis Oropeza Rodríguez

86% mirip
JOURNAL2026

Diagnostic performance of an artificial intelligence software for diabetic retinopathy organised screening in a pilot study

Emma Altobelli; Marco Baroni; Marco Ciancaglini; Paolo Carpineto; Francesco Masedu

86% mirip
JOURNAL2026

The impact of risk perception on perceived benefits of generative artificial intelligence users—an empirical study based on university students

Wei Du; Shuhan Ning; Yukun Shi; Yongan Chen

86% mirip
JOURNAL2026

STEM-Based Science Instruction with Artificial Intelligence Integration: An Educational Vision for the 21st Century

Özgür Özünlü

86% mirip
JOURNAL2023

Effects of violating the assumptions of equal variance and independent and identically distributed random variables: A case using {B}ayesian statistical modeling

Sawada, Tadamasa

86% mirip
JOURNAL2026

Psychometric properties of the test of nonverbal intelligence–third edition (TONI-3) in Turkish middle school students

Ahmet Bildiren; Sevinç Zeynep Kavruk

79% mirip
JOURNAL2026

The impact of artificial intelligence with multi-head self-attention based deep learning model for students' academic performance monitoring

Mahmoud Ragab

79% mirip
JOURNAL2026

Artificial intelligence–driven risk prediction of polypharmacy in older adults: current advances, clinical applications, and future perspectives

Jianfeng Chen; Leyu Tao

79% mirip
Sumber yang Sama

Literatur Lain dari DOAJ Open Access Articles

Development and Internal Validation of an Explainable Machine Learning Model for Physical Activity Adherence Among Community-Dwelling Patients with Type 2 Diabetes Mellitus

Zhao Y; Zhou M; Sun F; Lin C; Niu H; Zhang X; Jiang F; Wu C · 2026

Developing and measuring an assessment instrument for media literacy among digital natives using Digital Intelligence (DQ) framework

Siti Nor Amalina Ahmad Tajuddin; Khairul Azam Bahari; Fatima Mohamed Al-Majdhoub; Nia Kurnia Maliki; Shanthi Balraj Baboo · 2024

Developing and measuring an assessment instrument for media literacy among digital natives using Digital Intelligence (DQ) framework

Siti Nor Amalina Ahmad Tajuddin; Khairul Azam Bahari; Fatima Mohamed Al-Majdhoub; Nia Kurnia Maliki; Shanthi Balraj Baboo · 2024

The level of emotional intelligence in undergraduate students of nursing

?udmila Majerníková; Andrea Obro?níková · 2017

A severity-aware multi-task CNN-transformer framework for explainable diabetic foot ulcer triage and mobile deployment

Abdullah; Muhammad Ateeb Ather; Zulaikha Fatima; José Luis Oropeza Rodríguez · 2026

Diagnostic performance of an artificial intelligence software for diabetic retinopathy organised screening in a pilot study

Emma Altobelli; Marco Baroni; Marco Ciancaglini; Paolo Carpineto; Francesco Masedu · 2026

The impact of risk perception on perceived benefits of generative artificial intelligence users—an empirical study based on university students

Wei Du; Shuhan Ning; Yukun Shi; Yongan Chen · 2026

STEM-Based Science Instruction with Artificial Intelligence Integration: An Educational Vision for the 21st Century

Özgür Özünlü · 2026

Bacaan Lanjutan

Literatur Terbaru yang Relevan

Development and Internal Validation of an Explainable Machine Learning Model for Physical Activity Adherence Among Community-Dwelling Patients with Type 2 Diabetes Mellitus

Zhao Y; Zhou M; Sun F; Lin C; Niu H; Zhang X; Jiang F; Wu C · 2026

Developing and measuring an assessment instrument for media literacy among digital natives using Digital Intelligence (DQ) framework

Siti Nor Amalina Ahmad Tajuddin; Khairul Azam Bahari; Fatima Mohamed Al-Majdhoub; Nia Kurnia Maliki; Shanthi Balraj Baboo · 2024

Developing and measuring an assessment instrument for media literacy among digital natives using Digital Intelligence (DQ) framework

Siti Nor Amalina Ahmad Tajuddin; Khairul Azam Bahari; Fatima Mohamed Al-Majdhoub; Nia Kurnia Maliki; Shanthi Balraj Baboo · 2024

The level of emotional intelligence in undergraduate students of nursing

?udmila Majerníková; Andrea Obro?níková · 2017

A severity-aware multi-task CNN-transformer framework for explainable diabetic foot ulcer triage and mobile deployment

Abdullah; Muhammad Ateeb Ather; Zulaikha Fatima; José Luis Oropeza Rodríguez · 2026

Diagnostic performance of an artificial intelligence software for diabetic retinopathy organised screening in a pilot study

Emma Altobelli; Marco Baroni; Marco Ciancaglini; Paolo Carpineto; Francesco Masedu · 2026

The impact of risk perception on perceived benefits of generative artificial intelligence users—an empirical study based on university students

Wei Du; Shuhan Ning; Yukun Shi; Yongan Chen · 2026

STEM-Based Science Instruction with Artificial Intelligence Integration: An Educational Vision for the 21st Century

Özgür Özünlü · 2026