Papers › Improving Representation of High-frequency Components for Medical Visual Foundation Models

Improving Representation of High-frequency Components for Medical Visual Foundation Models

19 Jul 2024arXiv:2407.14651archive 2025-07-28

Yuetan Chu, Yilan Zhang, Zhongyi Han, Changchun Yang, Longxi Zhou, Gongning Luo, Chao Huang, Xin Gao

Foundation models have recently attracted significant attention for their impressive generalizability across diverse downstream tasks. However, these models are demonstrated to exhibit great limitations in representing high-frequency components and fine-grained details. In many medical imaging tasks, the precise representation of such information is crucial due to the inherently intricate anatomical structures, sub-visual features, and complex boundaries involved. Consequently, the limited representation of prevalent foundation models can result in significant performance degradation or even failure in these tasks. To address these challenges, we propose a novel pretraining strategy, named Frequency-advanced Representation Autoencoder (Frepa). Through high-frequency masking and low-frequency perturbation combined with adversarial learning, Frepa encourages the encoder to effectively represent and preserve high-frequency components in the image embeddings. Additionally, we introduce an innovative histogram-equalized image masking strategy, extending the Masked Autoencoder approach beyond ViT to other architectures such as Swin Transformer and convolutional networks. We develop Frepa across nine medical modalities and validate it on 32 downstream tasks for both 2D images and 3D volume data. Without fine-tuning, Frepa can outperform other self-supervised pretraining methods and, in some cases, even surpasses task-specific trained models. This improvement is particularly significant for tasks involving fine-grained details, such as achieving up to a +15% increase in DSC for retina vessel segmentation and a +7% increase in IoU for lung nodule detection. Further experiments quantitatively reveal that Frepa enables superior high-frequency representations and preservation in the embeddings, underscoring its potential for developing more generalized and universal medical image foundation models.

PaperPDFCodeCode Syntology ran

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

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2407.14651")

Code

Syntology Ran 15 of 17 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 13 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 15 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Arturia-Pendragon-Iris/Frepa officialmentioned in papermentioned on GitHubpytorchMIT 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

17 samples harvested; 15 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
1ran · fixture could not drive it
13ran
2unverified

Licence: 0 of the 17 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 Arturia-Pendragon-Iris/Frepa. “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. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (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 from a repository marked official are listed first. 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 four 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; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). 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.

false_negative Arturia-Pendragon-Iris/Frepa/evaluation.py official repository ran MIT (permissive) · 5918a2c8063db81e · report
false_positive Arturia-Pendragon-Iris/Frepa/evaluation.py official repository ran MIT (permissive) · f79426e2a95b7a05 · report
frangi_filter Arturia-Pendragon-Iris/Frepa/analysis/filter_2D.py official repository ran MIT (permissive) · 5a69c69f11eafb55 · report
get_1d_sincos_temp_embed Arturia-Pendragon-Iris/Frepa/attn_module.py official repository ran fingerprinted MIT (permissive) · 85c400086fb61347 · report
get_2d_sincos_pos_embed Arturia-Pendragon-Iris/Frepa/attn_module.py official repository ran MIT (permissive) · 02c43f67a5f856d7 · report
get_rel_pos Arturia-Pendragon-Iris/Frepa/model.py official repository ran · fixture could not drive it MIT (permissive) · d51d94a92bbaf66b · report
img_degrade Arturia-Pendragon-Iris/Frepa/pretrain/utils.py official repository ran MIT (permissive) · 25926b913a448899 · report
img_mask Arturia-Pendragon-Iris/Frepa/pretrain/utils.py official repository ran fingerprinted MIT (permissive) · 306991bf95c6f7de · report
jerman_filter Arturia-Pendragon-Iris/Frepa/analysis/filter_2D.py official repository ran MIT (permissive) · ad7194aabc208160 · report
jerman_filter_scan Arturia-Pendragon-Iris/Frepa/analysis/filter_2D.py official repository ran MIT (permissive) · b65e4be1f60fda96 · report
modulate Arturia-Pendragon-Iris/Frepa/attn_module.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 03310bba324ae4fb · report
refine_ct Arturia-Pendragon-Iris/Frepa/pretrain/utils.py official repository ran fingerprinted MIT (permissive) · 0475e9f78fad81d2 · report
true_negative Arturia-Pendragon-Iris/Frepa/evaluation.py official repository ran fingerprinted MIT (permissive) · 6b7de36ae6ac0fdd · report
window_partition Arturia-Pendragon-Iris/Frepa/model.py official repository ran fingerprinted MIT (permissive) · 9185d0312408e7bd · report
window_unpartition Arturia-Pendragon-Iris/Frepa/model.py official repository ran MIT (permissive) · 5ddb841ad5ed28ee · report
read_in_mha Arturia-Pendragon-Iris/Frepa/file_to_numpy.py official repository unverified MIT (permissive) · 6a69a5ba013677f1 · report
simple_stack_dcm_files Arturia-Pendragon-Iris/Frepa/file_to_numpy.py official repository unverified MIT (permissive) · 7cea931bf632b21c · report

Tasks

Lung Nodule Detection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxStochastic DepthSwin TransformerTransformer

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