Skip to content
#federated learning Open access

SeEFed: Self-Expressive Federated Learning for Networked Systems

Nov 2026 · Zenodo (CERN European Organization for Nuclear Research)
Privacy-Preserving Technologies in Data

Abstract

# SeEFed: Self-Expressive Federated Learning for Networked Systems This package contains the code, configurations, simulation utilities, reporting scripts, and documentation used to reproduce the computational experiments for: **Manuscript title:** *SeEFed: Self-Expressive Federated Learning for Networked Systems* The artifact supports three execution levels: 1. a small installation and functionality check;2. one representative manuscript scenario; and3. the complete simulation study. The code generates the synthetic data used in the experiments. No private input data are required for the simulation studies. The case-study datasets used in the manuscript are not publicly available for redistribution and are therefore not included in this artifact. The released package does not require those datasets to reproduce the simulation experiments. Reproducing the case studies requires authorized access to the original data and compliance with the applicable data-use, privacy, and institutional requirements. ## 1. Requirements We ran the reported experiments on a computer with an Intel Core i7 processor and 16 GB of RAM. The computations are CPU based and do not require a GPU. The code was tested with Python 3.12. The main dependencies are listed in `requirements-cli.txt` (or `requirements.txt`, if using the complete environment). The package uses NumPy, pandas, SciPy, scikit-learn, NetworkX, and the plotting/reporting libraries listed in the requirements file. ## 2. Installation From the extracted artifact directory, run: ```bashpython3.12 -m venv .venvsource .venv/bin/activatepython -m pip install --upgrade pippython -m pip install -r requirements-cli.txt``` If `python3.12` is not available, use the installed Python 3.12 executable: ```bashpython3 -m venv .venvsource .venv/bin/activatepython -m pip install -r requirements-cli.txt``` All commands below should be executed from the package root, where `run_seefed.py` is located. ## 3. Quick installation check The smoke test uses a deliberately small configuration. It verifies that the code can generate data, fit the models, save checkpoints, and create result tables. It is not a manuscript result. ```bashpython run_seefed.py \ --profile smoke \ --epsilon-weighting 0.25 \ --smoothing-steps 1 \ --workers 1 \ --output quick_check_results``` The output is written to `quick_check_results/`. For an optional end-to-end dashboard check, run: ```bashpython tests/smoke_dashboard.py --output-dir dashboard_check``` ## 4. Representative manuscript scenario The representative configuration is stored in `configs/representative.json`. It uses: - 10 clients;- 50 features;- heterogeneity parameter `tau = 0.5`;- graph parameter `rho = 0.2`;- one generating graph; and- 10 repeated train/validation/test holdouts. To reproduce the representative main comparison, run: ```bashpython run_seefed.py \ --config configs/representative.json \ --analyses main \ --workers 1 \ --output results_representative``` For a faster run on a multi-core computer, `--workers 6` may be used: ```bashpython run_seefed.py \ --config configs/representative.json \ --analyses main \ --workers 6 \ --output results_representative``` The random seed is fixed through `base_seed` in the configuration. Use `--workers 1` when exact numerical reproducibility is the priority; parallel execution can cause negligible floating-point differences. The main fold-level results are written under: ```textresults_representative/<run-directory>/tables/main_fold_results.csv``` The exact path printed by the program should be retained for later collection or inspection. The public result tables report the selected methods using stable labels such as `KR`, `UR`, and `KR_equal`. Internal tuning configurations are not part of the reported results. ## 5. Optional Streamlit results viewer If the artifact includes the Streamlit viewer, launch it from the package root with: ```bashstreamlit run streamlit_app.py``` If the viewer has a different filename in the release, use the supplied launcher or replace `streamlit_app.py` with the name of the provided Streamlit entry point. Then open the local address printed by Streamlit, usually `http://localhost:8501`. Use the viewer to inspect the generated summary tables, MSE comparisons, graph diagnostics, cost proxies, traversal diagnostics, and solver information. Select the relevant run directory or result files when prompted. The viewer is optional; it does not change the underlying result files. ## 6. Selected manuscript rerun The selected rerun executes the configured main and traversal analyses used for the manuscript revision: ```bashpython run_selected_rerun.py \ --workers 6 \ --output selected_results``` Use a new output directory for a fresh run. Existing checkpoints may otherwise be reused. ## 7. Complete simulation study To run all configured studies and scenarios: ```bashbash run_full.sh``` Alternatively, run the main driver directly: ```bashpython run_seefed.py \ --config configs/full.json \ --analyses all \ --workers 6 \ --output results_full``` The complete workflow may require substantial CPU time. The five configured study families are the main comparison, sensitivity analysis, alignment analysis, factorial analysis, and traversal analysis. The configuration controls client counts, dimensions, heterogeneity, graph density, holdouts, graph replicates, tuning grids, and traversal policies. Before a long run, preview the plan without fitting: ```bashpython run_seefed.py \ --config configs/full.json \ --analyses all \ --dry-run``` ## 8. Resuming and collecting results The run directory contains the saved configuration, generated inputs, checkpoints, failures, and tables. A completed or partially completed run can be collected without refitting: ```bashpython run_seefed.py \ --run-dir results_full/<run-directory> \ --collect-only``` To resume a run, use the same run directory and omit `--collect-only`: ```bashpython run_seefed.py \ --run-dir results_full/<run-directory> \ --workers 6``` ## 9. CSV output files The driver writes the following CSV files to the `tables/` subdirectory of a run directory. This list matches the released result tables. Some traversal files are intentionally empty when the selected analysis does not generate traversal records. The public tables use stable method labels (`KR`, `UR`, and `KR_equal`, together with the benchmark methods); internal tuning configurations are not reported. ### Predictive-performance tables > [!IMPORTANT]> **`main_comparison.csv`:** Wide comparison table containing the average MSE and standard deviation for each reported method under each experimental setting.**This is the most convenient CSV for reproducing the main method-comparison tables.**- `main_fold_results.csv`: detailed fold-level results. Each row identifies a method, experimental setting, replicate, and holdout fold. The principal result columns are `mse`, `validation_mse`, and, when applicable, aggregate and personalized losses. The file also records execution status, runtime, seeds, and optimization diagnostics.- `main_summary.csv`: compact summary by experimental setting and method. `mean_mse` and `sd_mse` summarize the completed folds; `completed_folds`, `expected_folds`, `graphs_with_results`, and `complete` indicate whether the summary is complete.- `benchmarks.csv`: benchmark-comparison table in the same wide format, including centralized, local, federated, and SeEFed results together with their average and standard-deviation columns. ### Graph and parameter diagnostics - `graph_degree_statistics.csv`: graph-level degree summaries for the generating and learned graphs. It reports mean, standard deviation, minimum, and maximum in-degree and out-degree, including nonzero and thresholded learned degrees.- `graph_degrees_per_client.csv`: client-level degree information. It reports each client’s true in-degree and out-degree, learned nonzero and thresholded degrees, and realized graph densities.- `graph_recovery_per_graph.csv`: recovery metrics for each graph replicate and evaluation rule. It includes true/false positives and negatives, precision, recall, F1, Spearman correlation on true edges, relative Frobenius error, and coverage quantities.- `graph_recovery_summary.csv`: aggregated graph-recovery results. The `*_mean`, `*_std`, and `*_count` columns summarize recovery metrics across the available graph replicates.- `smoothing_weight_comparisons.csv`: comparison of fitted mixing weights with the simulation’s descriptive smoothing references. It reports RMSE, Frobenius and relative Frobenius errors, diagonal difference, and target mean self-weight. These are diagnostic agreement measures, not identifiable recovery of the SeEFed weights.- `covariance_alignment.csv`: checks the dependence induced by the data-generation smoothing step. It reports average correlations between adjacent and nonadjacent clients and whether those correlations were defined. ### Cost, solver, and traversal tables - `cost_proxies.csv`: communication and runtime proxies for each job. It includes wall-clock time, rounds, model payload size, messages, uploads, physical moves, client updates, optimization steps, and weight updates when those quantities apply. The `cost_interpretation` field explains how the proxy should be read; these are analytical proxies rather than direct network measurements.- `solver_and_visitation_diagnostics.csv`: optimization and visitation diagnostics. It reports simplex projected-gradient calls and iterations, SCAD majorization-minimization calls and iterations, residuals, convergence flags, and seed-client visitation counts.- `traversal_client_visits.csv`: client-visit records for restricted communication. It is populated when traversal records are produced and otherwise may be an empty CSV.- `traversal_validation_traces.csv`: validation-loss or reward traces associated with traversal decisions.

View source

Similar papers

#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#machine learning Review Open access Jun 2014

Why Early-Stage Software Startups Fail: A Behavioral Framework

This state-of-practice investigation was performed using a literature review followed by a multiple-case study approach and presents how inconsistency between managerial strategies and execution can lead to failure by means of a behavioral framework.

Carmine Giardino, Xiaofeng Wang, P. Abrahamsson · 175 citations · ⚡19
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#machine learning Review Open access May 2016

Key Challenges in Software Startups Across Life Cycle Stages

It is found that what perceived as biggest challenges by software startups do vary across different life cycle stages, even though its significance decreases when the learning focuses of the startups move from problem to solution and their products mature.

Xiaofeng Wang, Henry Edison, Sohaib Shahid Bajwa et al. · 62 citations · ⚡6

Related blog posts

MIT News · Artificial Intelligence Nov 17, 2026

Learning the language of machine learning

By studying the computational foundations of language learning, Associate Professor Jacob Andreas builds intelligent systems that can communicate effectively with humans.

Microsoft Research Blog Nov 16, 2026

TokenEconomizer: Learning from Experience to Make AI Coding Agents More Efficient

AI coding agents are increasingly help developers fix bugs and build features largely on their own, but every interaction with their models consumes tokens. In each session, an agent sends instructions, tool descriptions, and session history to its model. Most efforts to reduce this cost focus on individual tasks. Yet developers return to the same […] The post TokenEconomizer: Learning from Experience to Make AI Coding Agents More Efficient appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.