Papers › MULTIFLOW: Shifting Towards Task-Agnostic Vision-Language Pruning

MULTIFLOW: Shifting Towards Task-Agnostic Vision-Language Pruning

8 Apr 2024CVPR 2024 1arXiv:2404.05621archive 2025-07-28

Matteo Farina, Massimiliano Mancini, Elia Cunegatti, Gaowen Liu, Giovanni Iacca, Elisa Ricci

While excellent in transfer learning, Vision-Language models (VLMs) come with high computational costs due to their large number of parameters. To address this issue, removing parameters via model pruning is a viable solution. However, existing techniques for VLMs are task-specific, and thus require pruning the network from scratch for each new task of interest. In this work, we explore a new direction: Task-Agnostic Vision-Language Pruning (TA-VLP). Given a pretrained VLM, the goal is to find a unique pruned counterpart transferable to multiple unknown downstream tasks. In this challenging setting, the transferable representations already encoded in the pretrained model are a key aspect to preserve. Thus, we propose Multimodal Flow Pruning (MULTIFLOW), a first, gradient-free, pruning framework for TA-VLP where: (i) the importance of a parameter is expressed in terms of its magnitude and its information flow, by incorporating the saliency of the neurons it connects; and (ii) pruning is driven by the emergent (multimodal) distribution of the VLM parameters after pretraining. We benchmark eight state-of-the-art pruning algorithms in the context of TA-VLP, experimenting with two VLMs, three vision-language tasks, and three pruning ratios. Our experimental results show that MULTIFLOW outperforms recent sophisticated, combinatorial competitors in the vast majority of the cases, paving the way towards addressing TA-VLP. The code is publicly available at https://github.com/FarinaMatteo/multiflow.

PaperPDFConference PDFCodeCode Syntology ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 27 code samples harvested from 1 repository linked to this paper: 8 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 3 honoured, 1 violated, 0 with no contract checked; 4 where Syntology's instrument failed) · 19 unverified. Where Syntology's instrument failed: 4 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: official repository: 27 samples from 1 repository, 8 ran (4 with no instrument failure; 4 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

farinamatteo/multiflow officialmentioned in papermentioned on GitHubpytorchSyntology: 27 samples, 8 ran (4 instrument-failed) · 19 unverified report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

27 samples harvested: 8 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 3 honoured, 1 violated, 0 with no contract checked; 4 where Syntology's instrument failed) · 19 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

3ran · honoured contract
1ran · violated contract
4ran · our draft was wrong
19unverified

Licence: 27 of the 27 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from farinamatteo/multiflow. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

farinamatteo/multiflow official repository 27 samples, 8 ran (4 instrument-failed) · 19 unverified
blip_detect_modality_fn pruners/multiflow.py ran · our draft was wrong no licence file found · pointer only · 7e26ba779356a23e · report fixture: signature param_name:str/0/str, return_layer_idx:bool/0/bool · returned str · level recorded 2026-09-22
is_blip_text_encoder_weight_tied pruners/multiflow.py ran · violated contract no licence file found · pointer only · 68225426d2b546b7 · report fixture: signature name:str/0/str · returned bool · level recorded 2026-09-22
masks pruners/multiflow.py ran · our draft was wrong no licence file found · pointer only · 1933ad23737e14e6 · report fixture: signature module:callable/0/? · returned generator · level recorded 2026-09-22
recursive_getattr in 8 papers pruners/multiflow.py ran · honoured contract no licence file found · pointer only · b12707e343eb192f · report fixture: signature obj:callable/0/?, attr:str/0/str · returned int · level recorded 2026-09-22
remaining_params pruners/multiflow.py ran · honoured contract no licence file found · pointer only · 1c3162fdd29aa482 · report fixture: signature model:callable/0/? · returned float · level recorded 2026-09-22
vit_detect_modality_fn pruners/multiflow.py ran · our draft was wrong fingerprinted no licence file found · pointer only · c725f131c12b446f · report fixture: signature param_name:str/0/str, return_layer_idx:bool/0/bool · returned str · level recorded 2026-09-22
vit_forward_output pruners/multiflow.py ran · honoured contract no licence file found · pointer only · 9e24be1a671d2b45 · report fixture: signature model:callable/0/?, batch:tuple/1/Tensor, device:str/0/str · returned Tensor · level recorded 2026-09-22
xvlm_detect_modality_fn pruners/multiflow.py ran · our draft was wrong no licence file found · pointer only · 4f9d037860e42be8 · report fixture: signature param_name:str/0/str, return_layer_idx:bool/0/bool · returned str · level recorded 2026-09-22
GetTopSubnet pruners/multiflow.py unverified no licence file found · pointer only · 3e0bb09ca02798d1 · report
Linear in 127 papers pruners/multiflow.py unverified no licence file found · pointer only · 1de425a1a8df41d9 · report
MultiFlow pruners/multiflow.py unverified no licence file found · pointer only · b824b71a63a9e9f9 · report
Pruner in 8 papers pruners/multiflow.py unverified no licence file found · pointer only · f790d340a0df644e · report
SupermaskLinear pruners/multiflow.py unverified no licence file found · pointer only · 2ddf606b2f63830f · report
_make_prunable pruners/multiflow.py unverified no licence file found · pointer only · 5fc98e8ae7e46dce · report
blip_forward_output pruners/multiflow.py unverified no licence file found · pointer only · 776ca7bcdd190f41 · report
blip_region_forward_output pruners/multiflow.py unverified no licence file found · pointer only · ece32424a6a15c71 · report
check_blip_state_dict pruners/multiflow.py unverified no licence file found · pointer only · 133ca3834d81b322 · report
detect_modality_fn pruners/multiflow.py unverified no licence file found · pointer only · 773c668c55aa5c55 · report
forward_output pruners/multiflow.py unverified no licence file found · pointer only · cda794b0932e7cd0 · report
make_prunable pruners/multiflow.py unverified no licence file found · pointer only · e603263fe94b6fd9 · report
memorization_hook pruners/multiflow.py unverified no licence file found · pointer only · cad07f042e2c897d · report
named_masked_parameters pruners/multiflow.py unverified no licence file found · pointer only · 2a279264408cfa04 · report
prunable pruners/multiflow.py unverified no licence file found · pointer only · 9b2470bea1788960 · report
region_forward_output pruners/multiflow.py unverified no licence file found · pointer only · dcc2f99144d98cd2 · report
stats in 9 papers pruners/multiflow.py unverified no licence file found · pointer only · 2d86258221d323a2 · report
xvlm_forward_output pruners/multiflow.py unverified no licence file found · pointer only · 6b27647f011012d3 · report
xvlm_region_forward_output pruners/multiflow.py unverified no licence file found · pointer only · 88cc4d1cf6ca542b · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for MULTIFLOW (graph method: MULTIFLOW). 27 bricks; individually on a fixture: 8 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 3 honoured, 1 violated, 0 with no contract checked; 4 where Syntology's instrument failed) · 19 unverified. The assembly has not been run end-to-end.

  1. MultiFlow entry · level 0 · unverified · b824b71a63a9e9f9
  2. Pruner helper · level 0 · unverified · f790d340a0df644e
  3. check_blip_state_dict helper · level 0 · unverified · 133ca3834d81b322
  4. detect_modality_fn helper · level 0 · unverified · 773c668c55aa5c55
  5. forward_output helper · level 0 · unverified · cda794b0932e7cd0
  6. make_prunable helper · level 0 · unverified · e603263fe94b6fd9
  7. recursive_getattr helper · level 1 · ran · honoured contract · b12707e343eb192f
  8. region_forward_output helper · level 0 · unverified · dcc2f99144d98cd2
  9. named_masked_parameters helper · level 0 · unverified · 2a279264408cfa04
  10. stats helper · level 0 · unverified · 2d86258221d323a2
  11. is_blip_text_encoder_weight_tied helper · level 1 · ran · violated contract · 68225426d2b546b7
  12. blip_detect_modality_fn helper · level 1 · ran · our draft was wrong · 7e26ba779356a23e
  13. vit_detect_modality_fn helper · level 1 · ran · our draft was wrong · c725f131c12b446f
  14. xvlm_detect_modality_fn helper · level 1 · ran · our draft was wrong · 4f9d037860e42be8
  15. blip_forward_output helper · level 0 · unverified · 776ca7bcdd190f41
  16. vit_forward_output helper · level 1 · ran · honoured contract · 9e24be1a671d2b45
  17. xvlm_forward_output helper · level 0 · unverified · 6b27647f011012d3
  18. _make_prunable helper · level 0 · unverified · 5fc98e8ae7e46dce
  19. blip_region_forward_output helper · level 0 · unverified · ece32424a6a15c71
  20. xvlm_region_forward_output helper · level 0 · unverified · 88cc4d1cf6ca542b
  21. prunable helper · level 0 · unverified · 9b2470bea1788960
  22. remaining_params helper · level 1 · ran · honoured contract · 1c3162fdd29aa482
  23. Linear helper · level 0 · unverified · 1de425a1a8df41d9
  24. SupermaskLinear helper · level 0 · unverified · 2ddf606b2f63830f
  25. masks helper · level 1 · ran · our draft was wrong · 1933ad23737e14e6
  26. memorization_hook helper · level 0 · unverified · cad07f042e2c897d
  27. GetTopSubnet helper · level 0 · unverified · 3e0bb09ca02798d1

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2404.05621") returns these assemblies with each brick's role and wiring (how to connect).

Tasks

Transfer Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Pruning

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections