SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.17228 · CVPR · 2024

Feature Re-Embedding: Towards Foundation Model-Level Performance in Computational Pathology

Bo Liu, Yi Zhang, Xiang Zhu, Classifier, Model, Fengtao Zhou, Wenhao Tang, Sheng Huang, Aggregator Feature, Mil Classifier

arXiv · PDF · Open in the Atlas

Code that ran

13 of 24 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (6 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 11 have no contract verdict; 2 failures of our instrument; 11 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/2402.17228.json · badge: /api/ran/2402.17228.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
dearcaat/mhim-mil community
Papers with Code archive
7 ran · 7 no recorded run
DearCaat/RRT-MIL community
Papers with Code archive
6 ran · 3 no recorded run
copy not recorded community
not in the paper's declared repositories
0 ran · 1 no recorded run
FunctionStatusWhere it lives
Attention Ran
ran on a synthesized input · constructed an object; no result was computed
DearCaat/RRT-MIL/modules/rrt.py
pointer only (licence: NONE) · get_code("690f75057fc8497a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DearCaat/RRT-MIL 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.

Attention Ran
ran on a synthesized input
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("ce18178f893178a0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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.

AttentionGated Ran
ran on a synthesized input · constructed an object; no result was computed
DearCaat/RRT-MIL/modules/rrt.py
pointer only (licence: NONE) · get_code("25ab38327f4d943f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DearCaat/RRT-MIL 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.

AttentionGated Ran
ran on a synthesized input
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("947a0421bf8c4d7a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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.

DAttention Ran
ran on a synthesized input · constructed an object; no result was computed
DearCaat/RRT-MIL/modules/rrt.py
pointer only (licence: NONE) · get_code("6089cf851928ffc1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DearCaat/RRT-MIL 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.

DAttention Ran
ran on a synthesized input
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("9660efe563e4aa62")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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.

InnerAttention Ran
ran on a synthesized input
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("b88e546fc7045938")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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.

Mlp Ran
ran on a synthesized input · constructed an object; no result was computed
DearCaat/RRT-MIL/modules/rrt.py
pointer only (licence: NONE) · get_code("62fd73bae3c2a68d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DearCaat/RRT-MIL 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.

NystromAttention Ran
ran on a synthesized input · constructed an object; no result was computed
DearCaat/RRT-MIL/modules/rrt.py
pointer only (licence: NONE) · get_code("4aef81a4905d6aa4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DearCaat/RRT-MIL 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.

NystromAttention Ran
ran on a synthesized input
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("8e3b1e1db87f32ad")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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.

TransLayer Ran
ran on a synthesized input · constructed an object; no result was computed
DearCaat/RRT-MIL/modules/rrt.py
pointer only (licence: NONE) · get_code("3466debae668556f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DearCaat/RRT-MIL 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.

region_partition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("186854d7ab0cb571")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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.

region_reverse Ran
ran; our contract draft was wrong, not the code
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("3394a2de50908ff7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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.

CrossRegionAttntion Not yet run
unverified (harvested, no recorded run)
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("29871b4921f22369")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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.

RRTEncoder Not yet run
unverified (harvested, no recorded run)
DearCaat/RRT-MIL/modules/rrt.py
pointer only (licence: NONE) · get_code("c27ce154e3a8d985")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DearCaat/RRT-MIL 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.

RRTEncoder Not yet run
unverified (harvested, no recorded run)
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("329cf4424f3cffba")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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.

RRTMIL Not yet run
unverified (harvested, no recorded run)
DearCaat/RRT-MIL/modules/rrt.py
pointer only (licence: NONE) · get_code("0d6d3f5a8a222713")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DearCaat/RRT-MIL 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.

RRTMIL Not yet run
unverified (harvested, no recorded run)
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("3e126d05185e841e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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.

RegionAttntion Not yet run
unverified (harvested, no recorded run)
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("5aaa3ef8e249f250")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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.

TransLayer Not yet run
unverified (harvested, no recorded run)
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("d1ab57dc28edeb86")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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.

initialize_weights Not yet run
unverified (harvested, no recorded run)
DearCaat/RRT-MIL/modules/rrt.py
pointer only (licence: NONE) · get_code("e9fca6a365693e72")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DearCaat/RRT-MIL 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.

initialize_weights Not yet run
unverified (harvested, no recorded run)
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("d66a829345766cc9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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.

moore_penrose_iter_pinv Not yet run
unverified (harvested, no recorded run)
this paper's copy was not recorded; identical code first harvested from lucidrains/nystrom-attention
pointer only · get_code("1aa879b87d59c39f")
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.

moore_penrose_iter_pinv Not yet run
unverified (harvested, no recorded run)
dearcaat/mhim-mil/modules/rrt.py
pointer only (licence: NONE) · get_code("46262157db207436")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dearcaat/mhim-mil 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 24 samples lifted from this paper's linked repositories, 24 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 5 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 2 later) and 14 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
moore_penrose_iter_pinv
brick of this paper's assembly: helper
11 other papers
5 dated earlier, 6 later · 2 only as an assembly brick
1909.11942 (2019-09)
ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
2102.03902 (2021-02)
Nyströmformer: A Nyström-Based Algorithm for Approximating Self-Attention
2306.08330 (2023-06)
Multimodal Optimal Transport-based Co-Attention Transformer with Global Structure Consistency for Survival Prediction
and 8 more not named here
Attention
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2307.15254 (2023-07)
Multiple Instance Learning Framework with Masked Hard Instance Mining for Whole Slide Image Classification
AttentionGated
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2307.15254 (2023-07)
Multiple Instance Learning Framework with Masked Hard Instance Mining for Whole Slide Image Classification
NystromAttention
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2307.15254 (2023-07)
Multiple Instance Learning Framework with Masked Hard Instance Mining for Whole Slide Image Classification
initialize_weights
brick of this paper's assembly: helper
1 other paper
1 later
2506.02408 (2025-06)
Revisiting End-to-End Learning with Slide-level Supervision in Computational Pathology

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

Multiple instance learning (MIL) is the most widely used framework in computational pathology, encompassing subtyping, diagnosis, prognosis, and more. However, the existing MIL paradigm typically requires an offline instance feature extractor, such as a pre-trained ResNet or a foundation model. This approach lacks the capability for feature fine-tuning within the specific downstream tasks, limiting its adaptability and performance. To address this issue, we propose a Re-embedded Regional Transformer (R 2 T) for re-embedding the instance features online, which captures fine-grained local features and establishes connections across different regions. Unlike existing works that focus on pre-training powerful feature extractor or designing sophisticated instance aggregator, R 2 T is tailored to re-embed instance features online. It serves as a portable module that can seamlessly integrate into mainstream MIL models. Extensive experimental results on common computational pathology tasks validate that: 1) feature reembedding improves the performance of MIL models based on ResNet-50 features to the level of foundation model features, and further enhances the performance of foundation model features; 2) the R 2 T can introduce more significant performance improvements to various MIL models; 3) R 2 T-MIL, as an R 2 T-enhanced AB-MIL, outperforms other latest methods by a large margin. The code is available at: https://github.com/DearCaat/RRT-MIL.

For agents

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

get_harvested_code_for_paper("2402.17228")
get_code_for_paper("2402.17228")
have("2402.17228")

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

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

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

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

Connect an agent — have() is free.