DFAMS: Dynamic-flow guided Federated Alignment based Multi-prototype Search
Paper · 2026 · Zhibang Yang, Xinke Jiang, Rihong Qiu et al.
Summary
Federated Retrieval (FR) sends a query to several separate knowledge bases instead of one central index. Current FR systems often pick the wrong source or return weak documents when a query is ambiguous or crosses domains. DFAMS addresses this using the Dynamic Information Flow (DIF), meaning the activation paths that form inside an LLM during inference.
The method works in two stages:
- Probing: gradients from a small set of annotated queries feed a Shapley value-based attribution step, which finds the neurons tied to user intent and subdomain boundaries.
- Alignment and routing: the extracted DIF features train an Align-MLP with multi-prototype contrastive learning. This models subdomains within each source and aligns related content across sources. At inference, Adaptive Prototype-Guided Routing decides whether retrieval is needed and which sources to query.
The authors also built a harder FR benchmark. On five benchmarks, DFAMS beats prior FR methods in source classification, recall and QA accuracy. This matters wherever knowledge is split across silos that cannot simply be merged, such as medical records, textbooks and papers.
Key points
- Reported gains over strong FR baselines reach up to +14.37% knowledge classification accuracy, +5.38% retrieval recall and +6.45% downstream QA accuracy.
- Shapley heatmaps were computed for Qwen2.5-7B, LLaMA3.1-8B, Qwen2.5-3B and Qwen2.5-0.5B. They show two peaks: shallow layers carry intent signals and deep layers carry domain signals, so DIF is extracted from the deep layers.
- A 2000-dim DIF representation outperforms both random features of the same size and full-layer 3584-dim features, even without training. On Wiki the gain is +14.6% accuracy.
- In the Wiki ablation, the full model reaches 85.03 accuracy and 53.83 recall. Removing inter-KB alignment lowers accuracy by 9.14 points, and removing Semantic Routing lowers recall by 5.16 points. Three prototypes per class and top-T = 3 work best.
- The new benchmark covers knowledge-free queries, multi-fragment queries within one source, and cross-source queries. Code is available at github.com/Artessay/DFAMS.
Institutions
Fields, topics and concepts
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 18,614 worksArtificial Intelligence · 17,965 worksArts and Humanities · 17,450 worksLanguage and Linguistics · 17,296 works
Cite
Cite as Zhibang Yang, Xinke Jiang, Rihong Qiu, Ruiqing Li, Yihang Zhang, Yue Fang, Yongxin Xu, Hongxin Ding, Xu Chu, Junfeng Zhao and Yasha Wang. 2026. DFAMS: Dynamic-flow guided Federated Alignment based Multi-prototype Search. Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
@inproceedings{yang2026dfams,
title = {{DFAMS: Dynamic-flow guided Federated Alignment based Multi-prototype Search}},
author = {Zhibang Yang, Xinke Jiang, Rihong Qiu, Ruiqing Li, Yihang Zhang, Yue Fang, Yongxin Xu, Hongxin Ding, Xu Chu, Junfeng Zhao and Yasha Wang},
booktitle = {Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
year = {2026},
doi = {10.18653/v1/2026.acl-long.1135},
url = {https://doi.org/10.18653/v1/2026.acl-long.1135}
}References
- This research was supported by the Independent Research Project of the National Key Laboratory of Big Data and Decision, the New Generation Artificial Intelligence-National Science and Technology Major Project (Grant No. 2025ZD0122904), and the National Natural Science Foundation of China (Grant No.… find
- Kamil Adamczewski, Yawei Li, and Luc van Gool. 2024. Shapley pruning for neural network compression. Preprint, arXiv:2407.15875. \#\# Limitations — [arXiv:2407.15875](https://arxiv.org/abs/2407.15875) find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/yang-2026-dfams-dynamic-flow-guided-federated/