Introduction
The rapid growth of large language models (LLMs), multimodal AI, and deep learning has made high-dimensional dense vectors a fundamental representation for modern information retrieval and knowledge management. As vector data becomes increasingly distributed across organizations, data federation provides a practical approach to enabling cross-domain retrieval without directly centralizing raw data. This is particularly important in privacy-sensitive domains such as healthcare and finance, where regulations including GDPR, CCPA, and PIPL impose strict constraints on data sharing and storage.
However, federated high-dimensional vector search introduces substantial computational and communication overhead. The curse of dimensionality and distance concentration reduce the efficiency of conventional indexing structures, while approximate nearest neighbor search (ANNS) methods such as IVF and HNSW require carefully configured search parameters to balance recall and efficiency. In existing federated retrieval systems, fixed search parameters and uniform candidate quotas are often assigned to all nodes, regardless of their data relevance, index type, data distribution, or availability. Such strategies lead to redundant local searches and unnecessary candidate transmission, especially under non-IID data distributions, limited bandwidth, and client churn.
To address these limitations, we propose federated optimized search (FedOS), a dynamic optimization framework for federated ANNS. For each query, FedOS employs a lightweight two-stage prediction pipeline to estimate the required candidate quota for each node and determine node-specific search parameters according to its local indexing method, such as IVF or HNSW. By jointly optimizing candidate allocation and local search configurations, FedOS reduces unnecessary index traversal and network transmission, thereby improving retrieval latency and overall system throughput.
We further extend FedOS into secure-FedOS (S-FedOS) by integrating trusted execution environments, differential privacy, and oblivious sorting to mitigate side-channel leakage and network traffic volume analysis. Extensive experiments on multiple large-scale, high-dimensional vector datasets show that FedOS and S-FedOS consistently maintain high recall while substantially improving throughput under identical privacy constraints. The proposed frameworks also remain effective under challenging non-IID data distributions and unstable client availability, outperforming state-of-the-art federated retrieval baselines.
The FedOS Framework
To balance strict privacy preservation with high retrieval efficiency, we propose FedOS (Federated Optimized Search)—a novel federated retrieval framework integrating the Faiss vector indexing library. FedOS guarantees that raw data never leaves local client databases. Instead of relying on traditional multi-round trial adjustments, FedOS uses machine learning to dynamically predict optimal search strategies in real time.
Key Architectural Highlights:
Two-Stage Prediction Pipeline
Federated Quota Predictor (FQP): Dynamically predicts the optimal candidate retrieval quota for each online client per query, eliminating unnecessary search overhead and saving local computation.
Retrieval Parameter Predictor (RPP): Automatically tunes local ANNS index hyperparameters (e.g., nprobe for IVF or efSearch for HNSW). This flexible architecture enables different client nodes to employ heterogeneous local indexing structures.
Enhanced Security Variant (S-FedOS)
S-FedOS extends the framework to untrusted cloud environments by integrating TEE, DP, and oblivious sorting to prevent structural metadata leaks and data distribution reconstruction.
Fig 1. The framework flow of FedOS.
Experiment Result
Bandwidth-Efficient Transmission: Eliminates transmission redundancy by dynamically predicting per-client retrieval quotas, maintaining consistently low communication overhead in network-constrained environments. (Fig 2)
High System Robustness: Maintains exceptional operational stability under severe statistical data heterogeneity (non-IID distributions), large concurrent client counts, and sudden node offline events (client churn). (Fig 3)
Superior QPS–Recall Trade-off: Jointly optimizing candidate quotas and local hyperparameters allows FedOS to achieve significantly higher throughput (queries per second, QPS) at high accuracy (Recall k@k) compared to state-of-the-art baselines. (Fig 4)
Fig 2. Network overhead analysis.
Fig 3. Recall–QPS of FedOS across different configurations (HNSW).
Fig 4. Recall–QPS on baseline comparison (Stable / HNSW).
Publication
Prayoonwong, A., Hsu, Y. C., Ye, X. J., Lu, P. K., Wang, C. H., & Chiu, C. Y. (2025, October). Dense Vector Retrieval in Data Federation. In 2025 Asia Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC) (pp. 1317-1322). IEEE.