Papers › UniCTokens: Boosting Personalized Understanding and Generation via Unified Concept Tokens

UniCTokens: Boosting Personalized Understanding and Generation via Unified Concept Tokens

20 May 2025arXiv:2505.14671archive 2025-07-28

Ruichuan An, Sihan Yang, Renrui Zhang, Zijun Shen, Ming Lu, Gaole Dai, Hao Liang, Ziyu Guo, Shilin Yan, Yulin Luo, Bocheng Zou, Chaoqun Yang, Wentao Zhang

Personalized models have demonstrated remarkable success in understanding and generating concepts provided by users. However, existing methods use separate concept tokens for understanding and generation, treating these tasks in isolation. This may result in limitations for generating images with complex prompts. For example, given the concept ⟨bo⟩, generating "⟨bo⟩ wearing its hat" without additional textual descriptions of its hat. We call this kind of generation personalized knowledge-driven generation. To address the limitation, we present UniCTokens, a novel framework that effectively integrates personalized information into a unified vision language model (VLM) for understanding and generation. UniCTokens trains a set of unified concept tokens to leverage complementary semantics, boosting two personalized tasks. Moreover, we propose a progressive training strategy with three stages: understanding warm-up, bootstrapping generation from understanding, and deepening understanding from generation to enhance mutual benefits between both tasks. To quantitatively evaluate the unified VLM personalization, we present UnifyBench, the first benchmark for assessing concept understanding, concept generation, and knowledge-driven generation. Experimental results on UnifyBench indicate that UniCTokens shows competitive performance compared to leading methods in concept understanding, concept generation, and achieving state-of-the-art results in personalized knowledge-driven generation. Our research demonstrates that enhanced understanding improves generation, and the generation process can yield valuable insights into understanding. Our code and dataset will be released at: \href{https://github.com/arctanxarc/UniCTokens}{https://github.com/arctanxarc/UniCTokens}.

PaperPDFCodeCode 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="2505.14671")

Code

Syntology Ran 13 of 23 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 5 ran · our draft was wrong; 2 ran · fixture could not drive it; 6 ran with no contract checked.

By repository: official repository: 23 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

arctanxarc/unictokens officialmentioned in papermentioned on GitHubjaxApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

23 samples harvested; 13 ran; 0 honoured the contract we drafted; 10 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.

5ran · our draft was wrong
2ran · fixture could not drive it
6ran
10unverified

Licence: 0 of the 23 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 arctanxarc/unictokens. “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.

log arctanxarc/unictokens/models/sampling.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · b5472673332de78e · report
repeat_kv arctanxarc/unictokens/models/phi.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 30d7eec482ebf6b1 · report
Normalize arctanxarc/unictokens/models/common_modules.py official repository ran · our draft was wrong Apache-2.0 (permissive) · c3a6b977022957cb · report
apply_rotary_pos_emb arctanxarc/unictokens/models/phi.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · d61c483a3c2b3156 · report
broadcast arctanxarc/unictokens/models/misc.py official repository ran fingerprinted Apache-2.0 (permissive) · 1f6ae43d06c76ba5 · report
get_constant_schedule arctanxarc/unictokens/models/lr_schedulers.py official repository ran Apache-2.0 (permissive) · a8366f238618edad · report
get_constant_schedule_with_warmup arctanxarc/unictokens/models/lr_schedulers.py official repository ran Apache-2.0 (permissive) · 11f07821d1b2286b · report
get_linear_schedule_with_warmup arctanxarc/unictokens/models/lr_schedulers.py official repository ran Apache-2.0 (permissive) · 1975e0c51e6f5753 · report
gumbel_noise arctanxarc/unictokens/models/sampling.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 53202c68f703b2ab · report
nonlinearity arctanxarc/unictokens/models/common_modules.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 3137073275f8c21a · report
parse_structured arctanxarc/unictokens/models/misc.py official repository ran Apache-2.0 (permissive) · 0e7f77d6003e2412 · report
rotate_half arctanxarc/unictokens/models/phi.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · b99eea6376d1e212 · report
unpack_time arctanxarc/unictokens/models/common_modules.py official repository ran fingerprinted Apache-2.0 (permissive) · 2d82abbef2c4addb · report
cross_entropy_per_percent_masked_bucket arctanxarc/unictokens/models/training_utils.py official repository unverified Apache-2.0 (permissive) · d873b16aa360b164 · report
get_logger arctanxarc/unictokens/models/logging.py official repository unverified Apache-2.0 (permissive) · 376bf22d5737fc2a · report
get_parameter_device arctanxarc/unictokens/models/modeling_utils.py official repository unverified Apache-2.0 (permissive) · 3e268fcaaf4273fe · report
get_parameter_dtype arctanxarc/unictokens/models/modeling_utils.py official repository unverified Apache-2.0 (permissive) · 33338f20f5619c59 · report
gumbel_sample arctanxarc/unictokens/models/sampling.py official repository unverified Apache-2.0 (permissive) · 8ad18d39129fe86a · report
image_entropy_per_percent_masked_bucket arctanxarc/unictokens/models/training_utils.py official repository unverified Apache-2.0 (permissive) · 9e8f7bb15c8e25d5 · report
image_transform arctanxarc/unictokens/pdata.py official repository unverified Apache-2.0 (permissive) · 7607f82f8d25705d · report
image_transform_dict arctanxarc/unictokens/pdata.py official repository unverified Apache-2.0 (permissive) · ce58552dce8a89eb · report
pixel_entropy_per_percent_masked_bucket arctanxarc/unictokens/models/training_utils.py official repository unverified Apache-2.0 (permissive) · 9ccedd97edcf58cf · report
resize_img arctanxarc/unictokens/pdata.py official repository unverified Apache-2.0 (permissive) · a9912a90cc3379de · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

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