SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.12530 · ICCV · 2023

A Sentence Speaks a Thousand Images: Domain Generalization through Distilling CLIP with Language Guidance

Zeyi Huang, Haohan Wang, Mu Cai, Yong Lee, Andy Zhou, Zijian Lin

arXiv · PDF · Open in the Atlas

Code that ran

14 of 16 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 13 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/2309.12530.json · badge: /api/ran/2309.12530.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
OoDBag/RISE canonical (classifier label)
classifier basis: census
14 ran · 2 no recorded run
FunctionStatusWhere it lives
adaptive_avgmax_pool2d Ran
ran; our contract draft was wrong, not the code
OoDBag/RISE/timm/layers/adaptive_avgmax_pool.py
pointer only (licence: NONE) · get_code("39934307038ef5a9")
How it ran

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

adaptive_catavgmax_pool2d Ran
ran; our contract draft was wrong, not the code
OoDBag/RISE/timm/layers/adaptive_avgmax_pool.py
pointer only (licence: NONE) · get_code("fa9e3a5ceeac7703")
How it ran

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

adaptive_pool_feat_mult Ran
ran, honoured the contract we drafted
OoDBag/RISE/timm/layers/adaptive_avgmax_pool.py
pointer only (licence: NONE) · get_code("13295c0de28cc1f1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OoDBag/RISE 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_optim_and_scheduler Ran
ran; our contract draft was wrong, not the code
OoDBag/RISE/optimizer/optimizer_helper.py
pointer only (licence: NONE) · get_code("52231145e6cbb0b4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OoDBag/RISE 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_top_k Ran
ran; our contract draft was wrong, not the code
OoDBag/RISE/evaluate_results.py
pointer only (licence: NONE) · get_code("0ff0426715fb49eb")
How it ran

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

hard_sigmoid_jit Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
OoDBag/RISE/timm/layers/activations_jit.py
pointer only (licence: NONE) · get_code("91c27523dde7eb4a")
How it ran

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

mish Ran
ran; our contract draft was wrong, not the code
OoDBag/RISE/timm/layers/activations.py
pointer only (licence: NONE) · get_code("801c85b8903bfff5")
How it ran

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

mish_jit Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
OoDBag/RISE/timm/layers/activations_jit.py
pointer only (licence: NONE) · get_code("14eddd8cc4c65fe0")
How it ran

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

sigmoid Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
OoDBag/RISE/timm/layers/activations.py
pointer only (licence: NONE) · get_code("d83b6ecf3cdc1d6a")
How it ran

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

swish Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
OoDBag/RISE/timm/layers/activations.py
pointer only (licence: NONE) · get_code("717e4d22b6d103e6")
How it ran

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

swish_jit Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
OoDBag/RISE/timm/layers/activations_jit.py
pointer only (licence: NONE) · get_code("8e341f8585b3fe94")
How it ran

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

swish_jit_bwd Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
OoDBag/RISE/timm/layers/activations_me.py
pointer only (licence: NONE) · get_code("ccf59d4aa2ccacdb")
How it ran

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

swish_jit_fwd Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
OoDBag/RISE/timm/layers/activations_me.py
pointer only (licence: NONE) · get_code("2d53e47b891cd927")
How it ran

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

swish_me Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
OoDBag/RISE/timm/layers/activations_me.py
pointer only (licence: NONE) · get_code("51a2f9920a170144")
How it ran

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

rel_logits_1d Not yet run
unverified (harvested, no recorded run)
OoDBag/RISE/timm/layers/bottleneck_attn.py
pointer only (licence: NONE) · get_code("f0b44651e598ca66")
How it ran

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

write_to_dict Not yet run
unverified (harvested, no recorded run)
OoDBag/RISE/evaluate_results.py
pointer only (licence: NONE) · get_code("25212e54355cd32c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OoDBag/RISE 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 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 14 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 13 later) and 2 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
swish 10 other papers
2 dated earlier, 7 later, 1 same year, order not determinable
2207.14676 (2022-07)
Global-Local Self-Distillation for Visual Representation Learning
Lee_BAAM_Monocular_3D_Pose_and_Shape_Reconstruction_With_Bi-Contextual_Attention_CVPR_2023_paper (2023 (year only))
BAAM: Monocular 3D pose and shape reconstruction with bi-contextual attention module and attention-guided modeling
2308.13177 (2023-08)
How to Evaluate the Generalization of Detection? A Benchmark for Comprehensive Open-Vocabulary Detection
and 7 more not named here
mish 7 other papers
7 later
2401.17992 (2024-01)
Multilinear Operator Networks
2402.04129 (2024-02)
OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning
2402.04744 (2024-02)
Progressive Gradient Flow for Robust N:M Sparsity Training in Transformers
and 4 more not named here
sigmoid 7 other papers
7 later
2401.17992 (2024-01)
Multilinear Operator Networks
2402.04129 (2024-02)
OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning
2402.04744 (2024-02)
Progressive Gradient Flow for Robust N:M Sparsity Training in Transformers
and 4 more not named here
hard_sigmoid_jit 6 other papers
6 later
2401.17992 (2024-01)
Multilinear Operator Networks
2402.04129 (2024-02)
OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning
2402.04744 (2024-02)
Progressive Gradient Flow for Robust N:M Sparsity Training in Transformers
and 3 more not named here
mish_jit 6 other papers
6 later
2401.17992 (2024-01)
Multilinear Operator Networks
2402.04129 (2024-02)
OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning
2402.04744 (2024-02)
Progressive Gradient Flow for Robust N:M Sparsity Training in Transformers
and 3 more not named here
swish_jit 6 other papers
6 later
2401.17992 (2024-01)
Multilinear Operator Networks
2402.04129 (2024-02)
OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning
2402.04744 (2024-02)
Progressive Gradient Flow for Robust N:M Sparsity Training in Transformers
and 3 more not named here
swish_jit_bwd 4 other papers
4 later
2402.04129 (2024-02)
OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning
2402.04744 (2024-02)
Progressive Gradient Flow for Robust N:M Sparsity Training in Transformers
2402.19460 (2024-02)
Benchmarking Uncertainty Disentanglement: Specialized Uncertainties for Specialized Tasks
and 1 more not named here
swish_jit_fwd 4 other papers
4 later
2402.04129 (2024-02)
OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning
2402.04744 (2024-02)
Progressive Gradient Flow for Robust N:M Sparsity Training in Transformers
2402.19460 (2024-02)
Benchmarking Uncertainty Disentanglement: Specialized Uncertainties for Specialized Tasks
and 1 more not named here
swish_me 4 other papers
4 later
2402.04129 (2024-02)
OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning
2402.04744 (2024-02)
Progressive Gradient Flow for Robust N:M Sparsity Training in Transformers
2402.19460 (2024-02)
Benchmarking Uncertainty Disentanglement: Specialized Uncertainties for Specialized Tasks
and 1 more not named here
rel_logits_1d 3 other papers
3 later
2402.04129 (2024-02)
OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning
2402.19460 (2024-02)
Benchmarking Uncertainty Disentanglement: Specialized Uncertainties for Specialized Tasks
2404.01882 (2024-04)
Scene Adaptive Sparse Transformer for Event-based Object Detection
adaptive_avgmax_pool2d 2 other papers
2 later
2402.19460 (2024-02)
Benchmarking Uncertainty Disentanglement: Specialized Uncertainties for Specialized Tasks
2409.17978 (2024-09)
HydraViT: Stacking Heads for a Scalable ViT
adaptive_catavgmax_pool2d 2 other papers
2 later
2402.19460 (2024-02)
Benchmarking Uncertainty Disentanglement: Specialized Uncertainties for Specialized Tasks
2409.17978 (2024-09)
HydraViT: Stacking Heads for a Scalable ViT
adaptive_pool_feat_mult 2 other papers
2 later
2402.19460 (2024-02)
Benchmarking Uncertainty Disentanglement: Specialized Uncertainties for Specialized Tasks
2409.17978 (2024-09)
HydraViT: Stacking Heads for a Scalable ViT
get_optim_and_scheduler 1 other paper
1 dated earlier
2007.02454 (2020-07)
Self-Challenging Improves Cross-Domain Generalization

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

Domain generalization studies the problem of training a model with samples from several domains (or distributions) and then testing the model with samples from a new, unseen domain. In this paper, we propose a novel approach for domain generalization that leverages recent advances in large vision-language models, specifically a CLIP teacher model, to train a smaller model that generalizes to unseen domains. The key technical contribution is a new type of regularization that requires the student's learned image representations to be close to the teacher's learned text representations obtained from encoding the corresponding text descriptions of images. We introduce two designs of the loss function, absolute and relative distance, which provide specific guidance on how the training process of the student model should be regularized. We evaluate our proposed method, dubbed RISE (Regularized Invariance with Semantic Embeddings), on various benchmark datasets, and show that it outperforms several state-of-the-art domain generalization methods. To our knowledge, our work is the first to leverage knowledge distillation using a large visionlanguage model for domain generalization. By incorporating text-based information, RISE improves the generalization capability of machine learning models.

For agents

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

get_harvested_code_for_paper("2309.12530")
get_code_for_paper("2309.12530")
have("2309.12530")

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

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

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

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

Connect an agent — have() is free.