NeurIPS 2026QuestionsPapersAreasAboutMarkdown

A typed tensor language for federated learning

Theofilos Mailis, Kalliopi-Christina Despotidou, Konstantinos Filippopolitis, Yannis Foufoulas, Thanasis-Michail Karampatsis, Andreas Ktenidis, Evdokia Mailli, Theodore Papamarkou, Yannis Ioannidis

NeurIPS page · OpenReview · Open on the map

Category: Optimization & Federated Learning › Federated Heterogeneity Mitigation · Type: new method · Keywords: typed tensor language, federated learning, shared-state factorization, formal methods, gradient aggregation

Areas: Privacy & Federated Learning › Federated Privacy Methods › Federated Aggregation

Summary

The paper introduces a typed tensor language that formalizes federated learning computations via federated and shared tensors, providing a shared-state factorization theory and a differentiable fragment for learning.

Explained to a 5-year-old

Imagine many friends each have a box of crayons. They draw pictures on their own boxes without sharing the colors. When they want to see a big picture together, they can put their boxes together in a special way. This special way is written down in a set of rules that tell them exactly how to combine their drawings. These rules make teamwork clear and reliable.

Explained to a 5-year-old, longer

Imagine many friends each have a box of crayons. They draw pictures on their own boxes without sharing the colors. When they want to see a big picture together, they can put their boxes together in a special way. This special way is written down in a set of rules that tell them exactly how to combine their drawings. The rules say which colors belong to each friend and which colors belong to everyone. They also say how to add the colors from all friends to make a new color. This helps them finish the big picture without anyone having to give away all their crayons. The rules also work when they keep drawing new pictures over and over, updating the big picture step by step. This makes it easy to understand how the friends can learn together while keeping their own boxes private. The rules are simple enough that anyone can read them and know how the friends should act. They also help designers make new ways for friends to work together. In the end, these rules make teamwork clearer and more reliable.

For a technical reader

The work defines a formal language that distinguishes data owned by individual clients (federated tensors) from data shared globally (shared tensors). It shows that any computation following the typical client-local, merge, and post-process pattern can be expressed using encode, merge, and decode steps, with a fixed-size shared state that does not grow with the number of clients. The theory also provides a converse result, guaranteeing that any factorization meeting certain criteria can be implemented as a typed program, and extends this to iterative learning loops where gradients are aggregated by summing along the record axis. This yields a principled way to design and reason about federated learning algorithms while keeping communication efficient.

Problem

Federated learning systems are often described using disparate protocols despite sharing a common mathematical structure of client-local computation, mergeable aggregation, and shared post-processing. There is a need for a unified formalism that captures this structure and enables reasoning about communication and state.

Method

The approach defines two kinds of tensors-federated tensors, whose records are partitioned across clients, and shared tensors, which are globally available-and provides semantics based on a virtual global tensor. It establishes a shared-state factorization theory showing that computations can be expressed as encode, merge, and decode procedures, and extends to iterative programs for gradient descent and second-order updates.

Results

The approach establishes a shared-state factorization theory proving that computations can be expressed with fixed-dimensional shared state independent of client and record count, provides a converse representability result linking factorizations to typed programs, and enables gradient descent and second-order updates via record-axis summation, thereby characterizing a broad class of federated learning computations.

Contributions

It introduces a typed tensor language that unifies federated and shared tensors, proves factorization and representability results, and provides a differentiable fragment for learning federated models via gradient aggregation. These contributions give a formal foundation for analyzing and designing federated learning algorithms.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction