SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.04492 · 2024

Interpret Your Decision: Logical Reasoning Regularization for Generalization in Visual Classification

arXiv · PDF · Open in the Atlas

Code that ran

16 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; 15 failures of our instrument; 0 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/2410.04492.json · badge: /api/ran/2410.04492.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
zhaorui-tan/L-Reg_NeurIPS24 canonical (classifier label)
classifier basis: census
16 ran · 0 no recorded run
FunctionStatusWhere it lives
cluster_acc Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/metrics/partitioning_metrics.py
pointer only (licence: NONE) · get_code("8b95279f62a6de12")
How it ran

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

cluster_acc_old_only Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/metrics/partitioning_metrics.py
pointer only (licence: NONE) · get_code("718b40821d51b975")
How it ran

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

cluster_acc_v1 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/metrics/partitioning_metrics.py
pointer only (licence: NONE) · get_code("c5ffd1f80f4c6143")
How it ran

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

eucl_KM_plspls_init Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/models/clustering_methods/torch_semi_supervised_kmeans.py
pointer only (licence: NONE) · get_code("51bb4fe1538019ee")
How it ran

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

from_numpy_to_torch Ran
ran; our contract draft was wrong, not the code
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/models/clustering_methods/torch_semi_supervised_kmeans.py
pointer only (licence: NONE) · get_code("bb13df6d81184643")
How it ran

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

from_torch_to_numpy Ran
ran; our contract draft was wrong, not the code
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/models/clustering_methods/torch_semi_supervised_kmeans.py
pointer only (licence: NONE) · get_code("4589e8fefcf1cfd3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhaorui-tan/L-Reg_NeurIPS24 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_assumed_nbr_of_classes Ran
ran; our contract draft was wrong, not the code
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/configs/config_K.py
pointer only (licence: NONE) · get_code("f96a1966a9ed5908")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhaorui-tan/L-Reg_NeurIPS24 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_cond_shift Ran
ran; our contract draft was wrong, not the code
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/pim_partitioning.py
pointer only (licence: NONE) · get_code("264dc878cb97f3a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhaorui-tan/L-Reg_NeurIPS24 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_fm_preds_and_gt_labels Ran
ran; our contract draft was wrong, not the code
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/feature_maps_manip/feature_maps_manip.py
pointer only (licence: NONE) · get_code("30bf8f7e6e3f3c84")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhaorui-tan/L-Reg_NeurIPS24 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_fm_preds_and_gt_labels Ran
ran; our contract draft was wrong, not the code
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/feature_maps_manip/feature_maps_manip_sampling.py
pointer only (licence: NONE) · get_code("07c80893eff8faf0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhaorui-tan/L-Reg_NeurIPS24 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_shapes Ran
ran; our contract draft was wrong, not the code
zhaorui-tan/L-Reg_NeurIPS24/mDG_and_mDG+GCD_with_L-Reg/domainbed/algorithms/miro.py
pointer only (licence: NONE) · get_code("c5919b96db289dbd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhaorui-tan/L-Reg_NeurIPS24 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_valid_mask_and_filtered_seen_mask Ran
ran; our contract draft was wrong, not the code
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/feature_maps_manip/feature_maps_manip_sampling.py
pointer only (licence: NONE) · get_code("215591efb9e0f55c")
How it ran

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

l2normalize Ran
ran; our contract draft was wrong, not the code
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/pim_partitioning.py
pointer only (licence: NONE); the stored copy get_code serves, from xxxliu95/RA_FA_Cardiac, is pointer only (licence: NONE) · get_code("bedff51745d2cf84")
How it ran

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

sample_covariance Ran
ran; our contract draft was wrong, not the code
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/pim_partitioning.py
pointer only (licence: NONE) · get_code("67994beae3421efd")
How it ran

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

sample_mask_lab Ran
ran; our contract draft was wrong, not the code
zhaorui-tan/L-Reg_NeurIPS24/GCD_PIM_with_L-Reg/feature_maps_manip/feature_maps_manip_sampling.py
pointer only (licence: NONE) · get_code("1eb0a4ac3b56b8ab")
How it ran

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

to_minibatch Ran
ran, honoured the contract we drafted
zhaorui-tan/L-Reg_NeurIPS24/mDG_and_mDG+GCD_with_L-Reg/domainbed/algorithms/algorithms.py
pointer only (licence: NONE); the stored copy get_code serves, from saqibjaved1/QT-DoG, is pointer only (licence: NONE) · get_code("12c23ce22097acd0")
How it ran

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

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, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 2 the same month, 1 later) and 13 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
l2normalize 27 other papers
25 dated earlier, 1 the same month, 1 later · 2 only as an assembly brick
1703.09452 (2017-03)
SEGAN: Speech Enhancement Generative Adversarial Network
1802.05957 (2018-02)
Spectral Normalization for Generative Adversarial Networks
1806.03589 (2018-06)
Free-Form Image Inpainting with Gated Convolution
and 24 more not named here
to_minibatch 7 other papers
6 dated earlier, 1 the same month
2203.10789 (2022-03)
Domain Generalization by Mutual-Information Regularization with Pre-trained Models
2302.14685 (2023-02)
DART: Diversify-Aggregate-Repeat Training Improves Generalization of Neural Networks
2303.01233 (2023-03)
Domain-aware Triplet loss in Domain Generalization
and 4 more not named here
get_shapes 4 other papers
4 dated earlier
2203.10789 (2022-03)
Domain Generalization by Mutual-Information Regularization with Pre-trained Models
2302.14685 (2023-02)
DART: Diversify-Aggregate-Repeat Training Improves Generalization of Neural Networks
2310.08255 (2023-10)
Leveraging Vision-Language Models for Improving Domain Generalization in Image Classification
and 1 more not named here

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

Vision models excel in image classification but struggle to generalize to unseen data, such as classifying images from unseen domains or discovering novel categories. In this paper, we explore the relationship between logical reasoning and deep learning generalization in visual classification. A logical regularization termed L-Reg is derived which bridges a logical analysis framework to image classification. Our work reveals that L-Reg reduces the complexity of the model in terms of the feature distribution and classifier weights. Specifically, we unveil the interpretability brought by L-Reg, as it enables the model to extract the salient features, such as faces to persons, for classification. Theoretical analysis and experiments demonstrate that L-Reg enhances generalization across various scenarios, including multi-domain generalization and generalized category discovery. In complex real-world scenarios where images span unknown classes and unseen domains, L-Reg consistently improves generalization, highlighting its practical efficacy.

For agents

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

get_harvested_code_for_paper("2410.04492")
get_code_for_paper("2410.04492")
have("2410.04492")

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

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

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

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

Connect an agent — have() is free.