Papers › Open Ad-hoc Categorization with Contextualized Feature Learning

Open Ad-hoc Categorization with Contextualized Feature Learning

18 Dec 2025CVPRarXiv:2512.16202added by Syntology

Zilin Wang, Sangwoo Mo, Stella X. Yu, Sima Behpour, Liu Ren

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Adaptive categorization of visual scenes is essential for AI agents to handle changing tasks. Unlike fixed common categories for plants or animals, ad-hoc categories are created dynamically to serve specific goals. We study open ad-hoc categorization: Given a few labeled exemplars and abundant unlabeled data, the goal is to discover the underlying context and to expand ad-hoc categories through semantic extension and visual clustering around it. Building on the insight that ad-hoc and common categories rely on similar perceptual mechanisms, we propose OAK, a simple model that introduces a small set of learnable context tokens at the input of a frozen CLIP and optimizes with both CLIP's image-text alignment objective and GCD's visual clustering objective. On Stanford and Clevr-4 datasets, OAK achieves state-of-the-art in accuracy and concept discovery across multiple categorizations, including 87.4% novel accuracy on Stanford Mood, surpassing CLIP and GCD by over 50%. Moreover, OAK produces interpretable saliency maps, focusing on hands for Action, faces for Mood, and backgrounds for Location, promoting transparency and trust while enabling adaptive and generalizable categorization.

PaperPDFCode 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="2512.16202")

Code

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

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

Wayne2Wang/OAK found in paper text by SyntologyMIT report

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

15 samples harvested; 2 ran; 1 honoured the contract we drafted; 13 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 · honoured contract
1ran · fixture could not drive it
13unverified

Licence: 0 of the 15 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 Wayne2Wang/OAK. “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.

get_mean_lr Wayne2Wang/OAK/src/utils/general.py found in paper text by Syntology ran · honoured contract MIT (permissive) · c62a45794431e9b7 · report
drop_path Wayne2Wang/OAK/src/models/dino_vision_transformer.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · 55120f2026b56aa2 · report
build_model Wayne2Wang/OAK/src/models/clip/model.py found in paper text by Syntology unverified MIT (permissive) · 39e6b23b55f376ea · report
dict_to_namespace Wayne2Wang/OAK/src/utils/configs.py found in paper text by Syntology unverified MIT (permissive) · 9eb37a3dad52eb3f · report
extract_features Wayne2Wang/OAK/visualize_tsne.py found in paper text by Syntology unverified MIT (permissive) · 585dcab349137ace · report
info_nce_logits Wayne2Wang/OAK/src/engine/losses.py found in paper text by Syntology unverified MIT (permissive) · 57fdc34a54514350 · report
load Wayne2Wang/OAK/src/models/clip/clip.py found in paper text by Syntology unverified MIT (permissive) · 021a688e5389b8b6 · report
load_config Wayne2Wang/OAK/src/utils/configs.py found in paper text by Syntology unverified MIT (permissive) · e6b6248844258f59 · report
log_accs_from_preds Wayne2Wang/OAK/src/engine/cluster_eval.py found in paper text by Syntology unverified MIT (permissive) · a551b95adaa59c5f · report
merge_dict Wayne2Wang/OAK/src/utils/configs.py found in paper text by Syntology unverified MIT (permissive) · c60159f61d71caa5 · report
pairwise_distance Wayne2Wang/OAK/src/engine/cluster_eval.py found in paper text by Syntology unverified MIT (permissive) · 980dd2e8fa24f9da · report
plot_tsne Wayne2Wang/OAK/visualize_tsne.py found in paper text by Syntology unverified MIT (permissive) · 2068c4ac4bbfde4b · report
split_cluster_acc_v2 Wayne2Wang/OAK/src/engine/cluster_eval.py found in paper text by Syntology unverified MIT (permissive) · e211b877949b1b84 · report
vit_small Wayne2Wang/OAK/src/models/dino_vision_transformer.py found in paper text by Syntology unverified MIT (permissive) · 995a10f898196998 · report
vit_tiny Wayne2Wang/OAK/src/models/dino_vision_transformer.py found in paper text by Syntology unverified MIT (permissive) · 996780ba4be89ba3 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2512.16202, was issued in December 2025, after that date, so the archive has no leaderboard rows for it.

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