A Typed Tensor Language for Federated Learning

📅 2026-05-20
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the lack of a unified formal language for characterizing federated learning tasks that share identical mathematical structures yet are treated as independent computations. The authors propose a typed tensor language that distinguishes between client-private federated tensors and globally shared tensors, using virtual global tensors to define semantics and uniformly express encoding, aggregation, and decoding processes. Leveraging a shared-state decomposition theory, they prove that single-round federated programs can be implemented via a fixed-dimensional shared state independent of the number of clients, and establish a converse result on its representational capacity. Additionally, they design a learning sublanguage supporting automatic differentiation. This framework formally encompasses a broad class of federated algorithms with fixed-dimensional communication, providing both a theoretical foundation and a composable programming paradigm for federated computation.
📝 Abstract
Federated learning and analytics are often described as collections of separate protocols, even when they share the same mathematical form: client-local tensor computation, mergeable aggregation into shared state, and shared-only post-processing. We introduce a typed tensor language that formalizes this structure. The language distinguishes federated tensors, whose records are partitioned across clients along a tracked record axis, from shared tensors, which are available globally. Its semantics are defined by comparison with a virtual global tensor, used only as a reference object. The main result is a shared-state factorization theory. We show that typed one-round programs factor through fixed-dimensional shared state whose size is independent of the number of clients and records, computed from client-local tensor expressions and merged across clients. We also prove a converse representability result; factorizations whose encoders and decoders are expressible in the language are realized by typed one-round programs, and the correspondence extends to iterative programs whose cross-round state is shared. This gives a formal account of the computations in the language that can be expressed as encode, merge, and decode procedures. We then develop a differentiable fragment for learning. If a per-record loss and its per-record gradient are represented by client-local tensor expressions, the global gradient is represented by record-axis summation of the federated gradient tensor. This yields typed iterative programs for server-side gradient descent and shared-linear-algebra second-order updates. The framework characterizes a broad class of federated learning computations whose communication passes through fixed-dimensional shared state.
Problem

Research questions and friction points this paper is trying to address.

federated learning
typed tensor language
shared state
tensor computation
federated tensors
Innovation

Methods, ideas, or system contributions that make the work stand out.

typed tensor language
federated learning
shared-state factorization
differentiable programming
record-axis aggregation
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
Theofilos Mailis
Theofilos Mailis
National and Kapodistrian University of Athens
View MaterialisationQuery ContainmentSemantic WebDescription LogicsStream Processing
K
Kalliopi-Christina Despotidou
Athena Research Center, National and Kapodistrian University of Athens
K
Konstantinos Filippopolitis
Athena Research Center
Y
Yannis Foufoulas
Athena Research Center
T
Thanasis-Michail Karampatsis
Athena Research Center
A
Andreas Ktenidis
Athena Research Center
E
Evdokia Mailli
Athena Research Center
Theodore Papamarkou
Theodore Papamarkou
Founder & CEO, PolyShape
Categorical probabilityBayesian & topological DLComputing for healthcare
Yannis Ioannidis
Yannis Ioannidis
Prof. Informatics, Nat'l Kapod. U. Athens // ex President & Gen. Director, Athena Research Center
Data ManagementData ScienceData InfrasRecommender SystemsHuman-Computer Interaction