SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2409.06277 · ICML · 2025

Ferret: Federated Full-Parameter Tuning at Scale for Large Language Models

Bryan Kian, Hsiang Low, Yao Shu, See-Kiong Ng, Wenyang Hu, Fei Yu

arXiv · PDF · Open in the Atlas

Code that ran

4 of 8 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, 1 violated it and 0 have no contract verdict; 3 failures of our instrument; 4 no recorded run), measured 2026-11-22; 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/2409.06277.json · badge: /api/ran/2409.06277.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
apple/ml-ferret canonical (classifier label)
classifier basis: classifier_2025
4 ran · 1 no recorded run
copy not recorded community
not in the paper's declared repositories
0 ran · 2 no recorded run
allen4747/Ferret marked official in Papers with Code
Papers with Code archive
0 ran · 1 no recorded run
FunctionStatusWhere it lives
are_phrases_similar Ran
ran, violated the contract we drafted
apple/ml-ferret/ferret/eval/eval_flickr_entities.py
pointer only (licence: NOASSERTION) · get_code("d515c6ab54f0598c")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, apple/ml-ferret (NOASSERTION). 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.

decode_bbox_from_caption Ran
ran; our contract draft was wrong, not the code
apple/ml-ferret/ferret/eval/eval_flickr_entities.py
pointer only (licence: NOASSERTION) · get_code("3b23c33aca6cdead")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, apple/ml-ferret (NOASSERTION). 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.

generate_mask_for_feature Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
apple/ml-ferret/ferret/serve/gradio_web_server.py
pointer only (licence: NOASSERTION) · get_code("974d957b09ee69d2")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, apple/ml-ferret (NOASSERTION). 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.

resize_bbox Ran
ran; our contract draft was wrong, not the code
apple/ml-ferret/ferret/eval/eval_flickr_entities.py
pointer only (licence: NOASSERTION) · get_code("5a8ea802e3fdbf73")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, apple/ml-ferret (NOASSERTION). 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.

FerretFramework Not yet run
unverified (harvested, no recorded run)
allen4747/Ferret/optimizers/ferret_optimizer.py
code served (permissive licence) · get_code("32bb456f4cc69e9c")
How it ran

no invocation recorded.

draw_box Not yet run
unverified (harvested, no recorded run)
apple/ml-ferret/ferret/serve/gradio_web_server.py
pointer only (licence: NOASSERTION) · get_code("a449641f4bef63f1")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, apple/ml-ferret (NOASSERTION). 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.

get_mm_adapter_state_maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
this paper's copy was not recorded; identical code first harvested from haotian-liu/LLaVA
pointer only · get_code("bb35e3ac741bb2c9")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
this paper's copy was not recorded; identical code first harvested from haotian-liu/LLaVA
pointer only · get_code("735025744c1ab0cf")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 3 the same month, 4 later) and 1 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
get_mm_adapter_state_maybe_zero_3 43 other papers
21 dated earlier, 1 the same month, 21 later
2304.05884 (2023-04)
Unicom: Universal and Compact Representation Learning for Image Retrieval
2304.08485 (2023-04)
Visual Instruction Tuning
2310.03744 (2023-10)
Improved Baselines with Visual Instruction Tuning
and 40 more not named here
maybe_zero_3 42 other papers
22 dated earlier, 1 the same month, 19 later
2304.05884 (2023-04)
Unicom: Universal and Compact Representation Learning for Image Retrieval
2304.08485 (2023-04)
Visual Instruction Tuning
2310.03744 (2023-10)
Improved Baselines with Visual Instruction Tuning
and 39 more not named here
resize_bbox 3 other papers
1 dated earlier, 1 the same month, 1 later
2310.07704 (2023-10)
Ferret: Refer and Ground Anything Anywhere at Any Granularity
2409.14750 (2024-09)
FineCops-Ref: A new Dataset and Task for Fine-Grained Compositional Referring Expression Comprehension
2510.14374 (2025-10)
Spatial Preference Rewarding for MLLMs Spatial Understanding
are_phrases_similar 2 other papers
1 dated earlier, 1 later
2310.07704 (2023-10)
Ferret: Refer and Ground Anything Anywhere at Any Granularity
2510.14374 (2025-10)
Spatial Preference Rewarding for MLLMs Spatial Understanding
draw_box 2 other papers
2 dated earlier
2310.07704 (2023-10)
Ferret: Refer and Ground Anything Anywhere at Any Granularity
2404.07973 (2024-04)
Ferret-v2: An Improved Baseline for Referring and Grounding with Large Language Models
generate_mask_for_feature 2 other papers
2 dated earlier
2310.07704 (2023-10)
Ferret: Refer and Ground Anything Anywhere at Any Granularity
2404.07973 (2024-04)
Ferret-v2: An Improved Baseline for Referring and Grounding with Large Language Models
decode_bbox_from_caption 1 other paper
1 dated earlier
2310.07704 (2023-10)
Ferret: Refer and Ground Anything Anywhere at Any Granularity

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

Large Language Models (LLMs) have become indispensable in numerous real-world applications. However, fine-tuning these models at scale, especially in federated settings where data privacy and communication efficiency are critical, presents significant challenges. Existing approaches often resort to parameter-efficient fine-tuning (PEFT) to mitigate communication overhead, but this typically comes at the cost of model accuracy. To this end, we propose federated full-parameter tuning at scale for LLMs (Ferret), the first first-order method with shared randomness to enable scalable full-parameter tuning of LLMs across decentralized data sources while maintaining competitive model accuracy. Ferret accomplishes this through three aspects: (I) it employs widely used first-order methods for efficient local updates; (II) it projects these updates into a lowdimensional space to considerably reduce communication overhead; and (III) it reconstructs local updates from this low-dimensional space with shared randomness to facilitate effective full-parameter global aggregation, ensuring fast convergence and competitive final performance. Our rigorous theoretical analyses and insights along with extensive experiments, show that Ferret significantly enhances the scalability of existing federated full-parameter tuning approaches by achieving high computational efficiency, reduced communication overhead, and fast convergence, all while maintaining competitive model accuracy. Our implementation is available at https: //github.com/allen4747/Ferret.

For agents

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

get_harvested_code_for_paper("2409.06277")
get_code_for_paper("2409.06277")
have("2409.06277")

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

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

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

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

Connect an agent — have() is free.