TL;DR
The paper introduces Federation over Text (FoT), a novel framework that allows decentralized LLM agents to collaboratively build a human-readable "insight library" by sharing natural language reasoning traces rather than raw data or model gradients. By operating purely at the semantic level, FoT boosts average task accuracy by 25% while reducing token usage, enabling privacy-preserving, cross-domain knowledge sharing across heterogeneous models.
What Problem Does This Paper Address?
Large Language Model (LLM) agents are increasingly deployed for complex, multi-step tasks, but they suffer from two major bottlenecks: inefficiency and isolation. Agents typically approach every new problem instance from scratch, discarding their internal reasoning histories once a task is completed. Furthermore, when multiple agents collaborate, they usually only exchange final answers or intermediate prompts within a single session, meaning their hard-won problem-solving strategies are lost and cannot be reused across different tasks or domains.
While traditional Federated Learning (FL) offers a paradigm for decentralized knowledge sharing, it relies on averaging high-dimensional model weights or gradients. This is computationally prohibitive for massive generative models, completely impossible for closed-source commercial LLMs (like Gemini or GPT-4), and entirely uninterpretable to humans.
Methods
To bridge this gap, the authors propose Federation over Text (FoT). Instead of federating over gradients, FoT operates entirely in the text space at the semantic level, requiring zero parameter optimization or fine-tuning.
The iterative workflow consists of two main phases:
- Local Reasoning & Reflection: Distributed clients run local LLM agents to solve their specific tasks independently. After finding a solution, the agent reflects on its process to extract reusable, logic-level techniques. It packages these into a concise, step-by-step reasoning trace (in JSON format), keeping the raw problem instances and sensitive data strictly local.
- Global Aggregation: A central server collects these text summaries from various clients. Using curated prompts, the server clusters traces that share similar skills, uncovers underlying connections, and distills them into a unified, human-readable "insight library."
This updated library is then broadcast back to the agents to guide and optimize their thinking processes in the next round.
Datasets
The authors evaluated FoT across four distinct, challenging applications using a variety of benchmarks:
- Mathematical Problem Solving: Evaluated on LiveMathBench subsets, including AIME24, AIME25, AMC, CCEE, CNMO, WLPMC, and Hard variants from 2024 and 2025.
- Multi-Domain Collaboration: Combined math benchmarks with GPQA and GPQA-diamond (graduate-level science QA), LiveCodeBench (hard coding tasks), and Humanity's Last Exam (HLE).
- Real-World Daily Tasks: Tested using PinchBench (complex workflows like web research and stock analysis) and Claw-Eval.
- Research Insight Discovery: A text corpus consisting of thousands of accepted ICLR papers across consecutive years (2023–2025).
Key Insights and Ideas
- "Weak-to-Strong" Generalization in Text Space: One of the paper's most surprising findings is that an insight library curated by a weaker model (such as DeepSeek-R1-Distill-Qwen-7B) can successfully supervise and improve the reasoning performance of a stronger model (like Gemini 3.0 Pro).
- Cross-Domain Strategy Transfer: High-level problem-solving strategies can seamlessly transfer across seemingly unrelated fields. For example, a "Constraint Satisfaction Propagation" technique originally derived from a math puzzle was successfully retrieved and applied by a chemistry agent to correctly deduce complex molecular structures and avoid chemical relationship hallucinations.
- True Thinking vs. Decorative Text: FoT significantly improves the "true-thinking score" (TTS) of agents. By providing a strong strategic prior via the insight library, agents skip redundant, decorative reasoning steps and generate cleaner, more direct paths to the correct answer.
- Privacy and Data Minimization: Because agents only upload abstract logic summaries, the framework inherently safeguards raw data. The authors deployed a strong prompt-stealing attacker to reconstruct original queries from the shared traces, but token-level F1 similarity scores remained below 0.25, proving that sensitive user data is well-protected.
Key Results
- Accuracy and Efficiency Boosts: Across math, multi-domain collaboration, and daily tasks, FoT improved average performance scores by 25% while simultaneously reducing the total number of reasoning tokens consumed by 4%.
- Loop Reduction: FoT effectively mitigates reasoning loops—instances where an LLM gets stuck generating repetitive sentences—leading to cleaner outputs for both DeepSeek and Gemini models.
- Predicting Future Research: In the research insight discovery application, an insight library autonomously distilled from ICLR 2023 papers successfully anticipated and covered over 80% of the core technical contributions of accepted papers in ICLR 2024.
Limitations and Future Work
The primary risk identified in the paper is hallucination propagation. Because FoT optimizes at the semantic level without hard supervision signals, a client agent that experiences a logical hallucination might upload a flawed reasoning trace. If the server fails to filter it out, this erroneous strategy could pollute the global insight library and degrade the performance of other agents.
Mitigating this propagation remains an open challenge. For future work, the authors plan to investigate automated harness optimization (e.g., Meta-harness), explore personalized insight libraries tailored to specific agent capabilities, and develop robust defenses against potential adversarial trace injections.
Summary updated