SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.08781 · 2024

GMem: A Modular Approach for Ultra-Efficient Generative Models

arXiv · PDF · Open in the Atlas

Code that ran

13 of 15 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; 3 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 9 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2412.08781.json · badge: /api/ran/2412.08781.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
lins-lab/gmem canonical (classifier label)
classifier basis: census
13 ran · 2 no recorded run
FunctionStatusWhere it lives
apply_rotary_emb Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lins-lab/gmem/models/rmsnorm.py
pointer only (licence: NONE) · get_code("d7b6dcfe63bfe59b")
How it ran

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

broadcat Ran
ran, honoured the contract we drafted
lins-lab/gmem/models/pos_embed.py
pointer only (licence: NONE) · get_code("f50a8d20efb35c68")
How it ran

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

build_mlp Ran
ran; our contract draft was wrong, not the code
lins-lab/gmem/models/lightningdit.py
pointer only (licence: NONE); the stored copy get_code serves, from csslc/Self-Transcendence, is pointer only (licence: NONE) · get_code("b05a447cc3b9e991")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lins-lab/gmem 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_2d_sincos_pos_embed Ran
ran, honoured the contract we drafted
lins-lab/gmem/models/lightningdit.py
pointer only (licence: NONE) · get_code("c92c27c924b517e8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lins-lab/gmem 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_dino_v2_representation Ran
ran; our contract draft was wrong, not the code
lins-lab/gmem/models/dinov2.py
pointer only (licence: NONE) · get_code("77589367db56d8df")
How it ran

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

image_from_minus_one_to_one Ran
ran, honoured the contract we drafted
lins-lab/gmem/models/dinov2.py
pointer only (licence: NONE) · get_code("020b55cbd4b73888")
How it ran

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

md5_hash Ran
ran; our contract draft was wrong, not the code
lins-lab/gmem/models/lpips.py
pointer only (licence: NONE) · get_code("c8d9d38b144e401f")
How it ran

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

normalize_tensor Ran
ran; our contract draft was wrong, not the code
lins-lab/gmem/models/lpips.py
pointer only (licence: NONE); the stored copy get_code serves, from zh460045050/V2L-Tokenizer, is pointer only (licence: NONE) · get_code("7257fdf155f5ef45")
How it ran

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

parse_args Ran
ran; our contract draft was wrong, not the code
lins-lab/gmem/datasets/construct_memory_bank.py
pointer only (licence: NONE) · get_code("857c29aa550ee7a7")
How it ran

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

precompute_freqs_cis Ran
ran, violated the contract we drafted
lins-lab/gmem/models/rmsnorm.py
pointer only (licence: NONE) · get_code("04a1fa63d6d4b8e4")
How it ran

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

preprocess_raw_image Ran
ran; our contract draft was wrong, not the code
lins-lab/gmem/models/dinov2.py
pointer only (licence: NONE) · get_code("eaac1bca2aa9d602")
How it ran

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

reshape_for_broadcast Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lins-lab/gmem/models/rmsnorm.py
pointer only (licence: NONE); the stored copy get_code serves, from aleksandarpetrov/prefix-tuning-theory, is pointer only (licence: NONE) · get_code("5a639d78ada17fee")
How it ran

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

rotate_half Ran
ran; our contract draft was wrong, not the code
lins-lab/gmem/models/pos_embed.py
pointer only (licence: NONE) · get_code("58823d9435a8751b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lins-lab/gmem 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_ckpt_path Not yet run
unverified (harvested, no recorded run)
lins-lab/gmem/models/lpips.py
pointer only (licence: NONE) · get_code("1fb53f7800136b03")
How it ran

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

modulate Not yet run
unverified (harvested, no recorded run)
lins-lab/gmem/models/lightningdit.py
pointer only (licence: NONE) · get_code("5ea6b9bd142d4069")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lins-lab/gmem 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 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 11 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 6 the same month, 9 later) and 4 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_2d_sincos_pos_embed 69 other papers
43 dated earlier, 4 the same month, 22 later · 12 only as an assembly brick
2203.10897 (2022-03)
Unified Multivariate Gaussian Mixture for Efficient Neural Image Compression
2212.09748 (2022-12)
Scalable Diffusion Models with Transformers
2303.14389 (2023-03)
Masked Diffusion Transformer is a Strong Image Synthesizer
and 66 more not named here
reshape_for_broadcast 58 other papers
46 dated earlier, 2 the same month, 10 later · 2 only as an assembly brick
2023.emnlp-main.534 (2023 (year only))
Disentangling Transformer Language Models as Superposed Topic Models
2303.09736 (2023-03)
Dynamic Structure Pruning for Compressing CNNs
2307.09288 (2023-07)
Llama 2: Open Foundation and Fine-Tuned Chat Models
and 55 more not named here
apply_rotary_emb 55 other papers
42 dated earlier, 2 the same month, 11 later · 1 only as an assembly brick
2023.emnlp-main.534 (2023 (year only))
Disentangling Transformer Language Models as Superposed Topic Models
2303.09736 (2023-03)
Dynamic Structure Pruning for Compressing CNNs
2307.09288 (2023-07)
Llama 2: Open Foundation and Fine-Tuned Chat Models
and 52 more not named here
precompute_freqs_cis 47 other papers
39 dated earlier, 1 the same month, 7 later · 1 only as an assembly brick
2023.emnlp-main.534 (2023 (year only))
Disentangling Transformer Language Models as Superposed Topic Models
2303.09736 (2023-03)
Dynamic Structure Pruning for Compressing CNNs
2307.09288 (2023-07)
Llama 2: Open Foundation and Fine-Tuned Chat Models
and 44 more not named here
md5_hash 30 other papers
25 dated earlier, 2 the same month, 2 later, 1 same year, order not determinable
2008.01777 (2020-08)
Making Sense of CNNs: Interpreting Deep Representations & Their Invariances with INNs
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2112.00384 (2021-12)
Exploration into Translation-Equivariant Image Quantization
and 27 more not named here
rotate_half 21 other papers
12 dated earlier, 8 later, 1 same year, order not determinable · 5 only as an assembly brick
2104.09864 (2021-04)
RoFormer: Enhanced Transformer with Rotary Position Embedding
2205.07514 (2022-05)
Residual Local Feature Network for Efficient Super-Resolution
2211.10658 (2022-11)
EDGE: Editable Dance Generation From Music
and 18 more not named here
broadcat 20 other papers
12 dated earlier, 7 later, 1 same year, order not determinable · 5 only as an assembly brick
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2205.07514 (2022-05)
Residual Local Feature Network for Efficient Super-Resolution
2211.10658 (2022-11)
EDGE: Editable Dance Generation From Music
and 17 more not named here
normalize_tensor 13 other papers
13 dated earlier
2112.00384 (2021-12)
Exploration into Translation-Equivariant Image Quantization
2203.10897 (2022-03)
Unified Multivariate Gaussian Mixture for Efficient Neural Image Compression
2203.16521 (2022-03)
CoordGAN: Self-Supervised Dense Correspondences Emerge from GANs
and 10 more not named here
get_ckpt_path 10 other papers
8 dated earlier, 1 the same month, 1 same year, order not determinable
2112.00384 (2021-12)
Exploration into Translation-Equivariant Image Quantization
Li_MAGE_MAsked_Generative_Encoder_To_Unify_Representation_Learning_and_Image_CVPR_2023_paper (2023 (year only))
MAGE: MAsked Generative Encoder to Unify Representation Learning and Image Synthesis
2308.07228 (2023-08)
RestoreFormer++: Towards Real-World Blind Face Restoration from Undegraded Key-Value Pairs
and 7 more not named here
build_mlp 4 other papers
4 later · 1 only as an assembly brick
2503.08685 (2025-03)
"Principal Components" Enable A New Language of Images
2508.10298 (2025-08)
SynBrain: Enhancing Visual-to-fMRI Synthesis via Probabilistic Representation Learning
2601.07773 (2026-01)
Self-transcendence: Is External Feature Guidance Indispensable for Accelerating Diffusion Transformer Training?
and 1 more not named here
modulate 3 other papers
1 dated earlier, 2 later · 1 only as an assembly brick
2410.10356 (2024-10)
FasterDiT: Towards Faster Diffusion Transformers Training without Architecture Modification
2505.07447 (2025-05)
Unified Continuous Generative Models
2607.12753 (2026-07)
RFMSR: Residual Flow Matching for Image Super-Resolution

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-23.

Repositories linked to this paper

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

Abstract

Recent studies indicate that the denoising process in deep generative diffusion models implicitly learns and memorizes semantic information from the data distribution. These findings suggest that capturing more complex data distributions requires larger neural networks, leading to a substantial increase in computational demands, which in turn become the primary bottleneck in both training and inference of diffusion models. To this end, we introduce GMem: A Modular Approach for Ultra-Efficient Generative Models. Our approach GMem decouples the memory capacity from model and implements it as a separate, immutable memory set that preserves the essential semantic information in the data. The results are significant: GMem enhances both training, sampling efficiency, and diversity generation. This design on one hand reduces the reliance on network for memorize complex data distribution and thus enhancing both training and sampling efficiency. On ImageNet at $256 \times 256$ resolution, GMem achieves a $50\times$ training speedup compared to SiT, reaching FID $=7.66$ in fewer than $28$ epochs ($\sim 4$ hours training time), while SiT requires $1400$ epochs. Without classifier-free guidance, GMem achieves state-of-the-art (SoTA) performance FID $=1.53$ in $160$ epochs with only $\sim 20$ hours of training, outperforming LightningDiT which requires $800$ epochs and $\sim 95$ hours to attain FID $=2.17$.

For agents

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

get_harvested_code_for_paper("2412.08781")
get_code_for_paper("2412.08781")
have("2412.08781")

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

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

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

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

Connect an agent — have() is free.