atlas

Research map / Architectures and efficiency / RNNs and normalization

Incorporating Serverless Computing into P2P Networks for ML Training: In-Database Tasks and Their Scalability Implications (Student Abstract)

AAAI 2024 · Architectures and efficiency › RNNs and normalization · approach: Distributed LLM inference systems · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes a P2P distributed ML training architecture that offloads gradient computation to serverless functions and runs gradient averaging and model updates inside an enhanced Redis/RedisAI in-memory database.

Problem

P2P distributed ML training suffers from resource consumption and communication overhead as peer count grows, and stateless serverless functions need strong state/communication support.

Approach

Combine serverless computing with P2P training: peers offload gradient computation to parallel serverless functions, store state in a per-peer Redis database, and execute gradient averaging and model parameter updates in-database using a tailored RedisAI.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Offload computation to serverless parallel processingP2P training with VGG11 · MNIST, batch size 64 / 235 batchestime (sec): 394.8 -> 10.5Helped
Offload computation to serverless parallel processingP2P training with VGG11 · MNIST, batch size 64 / 235 batchescost (USD): 0.01017 -> 0.05435Hurt
Execute gradient averaging within the databaseP2P training with ResNet-18 · batch size 1024 / 15 batchesgradient averaging time (sec): 67,32 -> 37,41Helped
Execute model updates within the databaseP2P training with ResNet-18 · batch size 1024 / 15 batchesmodel update time (sec): 27,52 -> 4,8Helped
Increase batch size from 64 to 1024Serverless P2P training with DenseNet-121 · MNIST, intra-peer scalabilitygradient computation timeHurt
Increase batch size, reducing the number of gradientsServerless P2P training with DenseNet-121 · MNIST, gradient averaginggradient averaging timeHelped
Add more peersServerless P2P training with DenseNet-121 · MNIST, larger batchescomputation timeNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: MNIST

Benchmarks: MNIST

Metrics: gradient computation time (s) gradient averaging time (s) model update time (s) total time (s) cost (USD)

Baselines: Training on a single t2.large machine without serverless Gradient averaging and model update outside the database

Builds on: RedisAI

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy