atlas

Research map / Federated learning and privacy / Communication-efficient FL

Can Textual Gradient Work in Federated Learning?

ICLR 2025 · Federated learning and privacy › Communication-efficient FL · approach: Federated optimization algorithms · 0 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 FedTextGrad, a federated variant of TextGrad where clients upload locally optimized textual prompts and the server aggregates them via concatenation or LLM summarization, with a Uniform Information Density-guided summarization to improve aggregation.

Problem

Whether textual gradient-based prompt optimization (TextGrad) can be carried out in federated learning settings with black-box LLM APIs, where numerical gradients and losses are unavailable, and how to aggregate distributed textual prompt updates without exceeding context limits or losing informatio

Approach

Replace parameter/gradient aggregation in FL with aggregation of natural-language prompts: clients run TextGrad locally, the server concatenates or LLM-summarizes prompts, and the summarization is guided by the Uniform Information Density principle (measured via GPT-2 surprisal variance) to reduce information non-uniformity.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use FedTextGrad with summarization instead of centralized TextGradGPT-4o · Spatialaccuracy: 0.53 -> 0.40Hurt
use FedTextGrad with summarization instead of centralized TextGradGPT-4o · Web of Liesaccuracy: 0.37 -> 0.30Hurt
use FedTextGrad with summarization instead of centralized TextGradGPT-4o · Zebra Puzzleaccuracy: 0.33 -> 0.27Hurt
use FedTextGrad with summarization instead of centralized TextGradGPT-4o · AMPS Hardaccuracy: 0.46 -> 0.50Helped
replace concatenation with summarization (ablation)FedTextGrad · BBH Object Countingaccuracy: 0.90 -> 0.88Hurt
replace concatenation with summarization (ablation)FedTextGrad · BBH Multistep Arithmeticaccuracy: 0.69 -> 0.55Hurt
replace concatenation with summarization (ablation)FedTextGrad · GSM8Kaccuracy: 0.94 -> 0.92Hurt
transfer a prompt optimized on LLaMA 3.2-11B to LLaMA 3.2-3BLLaMA 3.2-3B · Object Countingaccuracy: 0.66 -> 0.69 (+0.03)Helped
transfer a prompt optimized on LLaMA 3.2-11B to LLaMA 3.2-3BLLaMA 3.2-3B · Multi-step Arithmeticaccuracy: 0.51 -> 0.66 (+0.15)Helped
transfer a prompt optimized on LLaMA 3.2-11B to LLaMA 3.2-3BLLaMA 3.2-3B · GSM8Kaccuracy: 0.80 -> 0.72 (-0.08)Hurt
add Uniform Information Density principles to summarization (ablation)FedTextGrad · Heterogeneous tasks, B = 1accuracy: 0.73 (0.03) -> 0.75 (0.02)Helped
add Uniform Information Density principles to summarization (ablation)FedTextGrad · Heterogeneous tasks, B = 3accuracy: 0.78 (0.02) -> 0.79 (0.02)Helped

Surprising findings

Limitations

Experimental setup

Datasets: BBH Object Counting BBH Multistep Arithmetic GSM8K LiveBench (Web of Lies, Zebra Puzzle, Spatial) AMPS Hard

Benchmarks: BBH Object Counting BBH Multistep Arithmetic GSM8K LiveBench Web of Lies LiveBench Zebra Puzzle LiveBench Spatial AMPS Hard

Metrics: accuracy

Baselines: TextGrad (centralized) concatenation aggregation summarization aggregation

Builds on: TextGrad FedAvg Uniform Information Density hypothesis

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