SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.11397 · NeurIPS · 2024

FOOGD: Federated Collaboration for Both Out-of-distribution Generalization and Detection

Jun Wang, Weiming Liu, Wenjie Wang, Chaochao Chen, Xiaolin Zheng, Xinting Liao, Pengyang Zhou, Fengyuan Yu, Jiahe Xu

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 10 failures of our instrument; 2 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2410.11397.json · badge: /api/ran/2410.11397.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
XeniaLLL/FOOGD-main canonical (classifier label)
classifier basis: census
10 ran · 2 no recorded run
FunctionStatusWhere it lives
SE_kernel Ran
ran; our contract draft was wrong, not the code
XeniaLLL/FOOGD-main/src/algorithms/FOOGD/ksd.py
pointer only (licence: NONE) · get_code("2347ddf282a47878")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, XeniaLLL/FOOGD-main when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

SE_kernel_multi Ran
ran; our contract draft was wrong, not the code
XeniaLLL/FOOGD-main/src/algorithms/FOOGD/ksd.py
pointer only (licence: NONE) · get_code("437515ae11d6b153")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, XeniaLLL/FOOGD-main when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

anneal_langevin_dynamics Ran
ran; our contract draft was wrong, not the code
XeniaLLL/FOOGD-main/src/algorithms/FOOGD/functional.py
pointer only (licence: NONE) · get_code("e53fb6349536a307")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, XeniaLLL/FOOGD-main when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_auroc Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
XeniaLLL/FOOGD-main/src/utils/accuracy.py
pointer only (licence: NONE) · get_code("581a8583346c6d6e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, XeniaLLL/FOOGD-main when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_fnr Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
XeniaLLL/FOOGD-main/src/utils/accuracy.py
pointer only (licence: NONE) · get_code("ed9d175eff211a68")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, XeniaLLL/FOOGD-main when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv1x1 Ran
ran; our contract draft was wrong, not the code
XeniaLLL/FOOGD-main/src/models/resnet.py
pointer only (licence: NONE) · get_code("50efec97e3cc12bc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, XeniaLLL/FOOGD-main when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv3x3 Ran
ran; our contract draft was wrong, not the code
XeniaLLL/FOOGD-main/src/models/resnet.py
pointer only (licence: NONE) · get_code("7e98e1d315e2ea27")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, XeniaLLL/FOOGD-main when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

langevin_dynamics Ran
ran; our contract draft was wrong, not the code
XeniaLLL/FOOGD-main/src/algorithms/FOOGD/functional.py
pointer only (licence: NONE) · get_code("5e49b512be46ee83")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, XeniaLLL/FOOGD-main when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample Ran
ran; our contract draft was wrong, not the code
XeniaLLL/FOOGD-main/src/algorithms/FOOGD/functional.py
pointer only (licence: NONE) · get_code("e21b938b56a7bf4e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, XeniaLLL/FOOGD-main when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

trace_SE_kernel_multi Ran
ran; our contract draft was wrong, not the code
XeniaLLL/FOOGD-main/src/algorithms/FOOGD/ksd.py
pointer only (licence: NONE) · get_code("7f9376da27ec7817")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, XeniaLLL/FOOGD-main when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_server_and_client Not yet run
unverified (harvested, no recorded run)
XeniaLLL/FOOGD-main/src/utils/main_utils.py
pointer only (licence: NONE) · get_code("50817bc217ceccd7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, XeniaLLL/FOOGD-main when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

make_save_path Not yet run
unverified (harvested, no recorded run)
XeniaLLL/FOOGD-main/src/utils/main_utils.py
pointer only (licence: NONE) · get_code("46f608336b42cbd4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, XeniaLLL/FOOGD-main when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 2 the same month, 2 later) and 9 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
conv1x1 112 other papers
91 dated earlier, 4 the same month, 13 later, 4 same year, order not determinable · 6 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1806.01531 (2018-06)
Deep Mixture of Experts via Shallow Embedding
1905.12794 (2019-05)
Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback
and 109 more not named here
conv3x3 111 other papers
91 dated earlier, 4 the same month, 12 later, 4 same year, order not determinable · 6 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1806.01531 (2018-06)
Deep Mixture of Experts via Shallow Embedding
1905.12794 (2019-05)
Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback
and 108 more not named here
compute_auroc 1 other paper
1 dated earlier
2202.03299 (2022-02)
Training OOD Detectors in their Natural Habitats

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Federated learning (FL) is a promising machine learning paradigm that collaborates with client models to capture global knowledge. However, deploying FL models in real-world scenarios remains unreliable due to the coexistence of in-distribution data and unexpected out-of-distribution (OOD) data, such as covariate-shift and semantic-shift data. Current FL researches typically address either covariate-shift data through OOD generalization or semantic-shift data via OOD detection, overlooking the simultaneous occurrence of various OOD shifts. In this work, we propose FOOGD, a method that estimates the probability density of each client and obtains reliable global distribution as guidance for the subsequent FL process. Firstly, SM 3 D in FOOGD estimates score model for arbitrary distributions without prior constraints, and detects semantic-shift data powerfully. Then SAG in FOOGD provides invariant yet diverse knowledge for both local covariate-shift generalization and client performance generalization. In empirical validations, FOOGD significantly enjoys three main advantages: (1) reliably estimating nonnormalized decentralized distributions, (2) detecting semantic shift data via score values, and (3) generalizing to covariate-shift data by regularizing feature extractor. The prejoct is open in https://github.com/XeniaLLL/FOOGD-main.git.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2410.11397")
get_code_for_paper("2410.11397")
have("2410.11397")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2410.11397.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2410.11397.svg)](https://syntology.ai/paper/2410.11397)

Connect an agent — have() is free.