{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2605-12138","title":"Design Your Ad: Personalized Advertising Image and Text Generation with Unified Autoregressive Models","arxiv_id":"2605.12138","date":"2026-05-12","proceeding":null,"authors":["Yexing Xu","Wei Feng","Shen Zhang","Haohan Wang","Yuxin Qin","Yaoyu Li","Ao Ma","Yuhao Luo","Lu Wang","Xudong Ren","Haoran Wang","Run Ling","Zheng Zhang","Jingjing Lv","Junjie Shen","Ching Law","Longguang Wang","Yulan Guo"],"abstract":"Generating realistic and user-preferred advertisements is a key challenge in e-commerce. Existing approaches utilize multiple independent models driven by click-through-rate (CTR) to controllably create attractive image or text advertisements. However, their pipelines lack cross-modal perception and rely on CTR that only reflects average preferences. Therefore, we explore jointly generating personalized image-text advertisements from historical click behaviors. We first design a Unified Advertisement Generative model (Uni-AdGen) that employs a single autoregressive framework to produce both advertising images and texts. By incorporating a foreground perception module and instruction tuning, Uni-AdGen enhances the realism of the generated content. To further personalize advertisements, we equip Uni-AdGen with a coarse-to-fine preference understanding module that effectively captures user interests from noisy multimodal historical behaviors to drive personalized generation. Additionally, we construct the first large-scale Personalized Advertising image-text dataset (PAd1M) and introduce a Product Background Similarity (PBS) metric to facilitate training and evaluation. Extensive experiments show that our method outperforms baselines in general and personalized advertisement generation. Our project is available at https://github.com/JD-GenX/Uni-AdGen.","url_abs":"https://arxiv.org/abs/2605.12138","url_pdf":"https://arxiv.org/pdf/2605.12138","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2605.12138","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.12138"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/JD-GenX/Uni-AdGen","reach":null}],"summary":{"ran":10,"ran_fixture":1,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":12,"ran":11,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":12,"samples":[{"code_sha256_prefix":"e4e978506c90e261","entry":"deal_dig","repo":"JD-GenX/Uni-AdGen","repo_kind":"found_in_text","path":"PBS_metrics/main_inference.py","file_url":"https://github.com/JD-GenX/Uni-AdGen/blob/HEAD/PBS_metrics/main_inference.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e4e978506c90e261"}},{"code_sha256_prefix":"55120f2026b56aa2","entry":"drop_path","repo":"JD-GenX/Uni-AdGen","repo_kind":"found_in_text","path":"PBS_metrics/model/vision_transformer.py","file_url":"https://github.com/JD-GenX/Uni-AdGen/blob/HEAD/PBS_metrics/model/vision_transformer.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"55120f2026b56aa2"}},{"code_sha256_prefix":"54fe1a0e861834de","entry":"extract_prompt_content","repo":"JD-GenX/Uni-AdGen","repo_kind":"found_in_text","path":"summary_script.py","file_url":"https://github.com/JD-GenX/Uni-AdGen/blob/HEAD/summary_script.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"54fe1a0e861834de"}},{"code_sha256_prefix":"00a0e44046e8b797","entry":"get_image_files","repo":"JD-GenX/Uni-AdGen","repo_kind":"found_in_text","path":"PBS_metrics/convert_images_to_base64.py","file_url":"https://github.com/JD-GenX/Uni-AdGen/blob/HEAD/PBS_metrics/convert_images_to_base64.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"00a0e44046e8b797"}},{"code_sha256_prefix":"1adcf2d05b2faed1","entry":"get_imports","repo":"JD-GenX/Uni-AdGen","repo_kind":"found_in_text","path":"Personalize/transformers/dynamic_module_utils.py","file_url":"https://github.com/JD-GenX/Uni-AdGen/blob/HEAD/Personalize/transformers/dynamic_module_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1adcf2d05b2faed1"}},{"code_sha256_prefix":"518f6a89865f25d2","entry":"get_relative_import_files","repo":"JD-GenX/Uni-AdGen","repo_kind":"found_in_text","path":"Personalize/transformers/dynamic_module_utils.py","file_url":"https://github.com/JD-GenX/Uni-AdGen/blob/HEAD/Personalize/transformers/dynamic_module_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"518f6a89865f25d2"}},{"code_sha256_prefix":"4af5faa701d0f2c9","entry":"get_relative_imports","repo":"JD-GenX/Uni-AdGen","repo_kind":"found_in_text","path":"Personalize/transformers/dynamic_module_utils.py","file_url":"https://github.com/JD-GenX/Uni-AdGen/blob/HEAD/Personalize/transformers/dynamic_module_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4af5faa701d0f2c9"}},{"code_sha256_prefix":"62fe97f9cfe16a7b","entry":"image_to_base64","repo":"JD-GenX/Uni-AdGen","repo_kind":"found_in_text","path":"PBS_metrics/convert_images_to_base64.py","file_url":"https://github.com/JD-GenX/Uni-AdGen/blob/HEAD/PBS_metrics/convert_images_to_base64.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"62fe97f9cfe16a7b"}},{"code_sha256_prefix":"dd8f7751ef859581","entry":"infer_metric_tags_from_eval_results","repo":"JD-GenX/Uni-AdGen","repo_kind":"found_in_text","path":"Personalize/transformers/modelcard.py","file_url":"https://github.com/JD-GenX/Uni-AdGen/blob/HEAD/Personalize/transformers/modelcard.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dd8f7751ef859581"}},{"code_sha256_prefix":"5640acac07079219","entry":"load_features_and_labels","repo":"JD-GenX/Uni-AdGen","repo_kind":"found_in_text","path":"PBS_metrics/compute_pbs.py","file_url":"https://github.com/JD-GenX/Uni-AdGen/blob/HEAD/PBS_metrics/compute_pbs.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5640acac07079219"}},{"code_sha256_prefix":"e6632a5722f0840d","entry":"parse_keras_history","repo":"JD-GenX/Uni-AdGen","repo_kind":"found_in_text","path":"Personalize/transformers/modelcard.py","file_url":"https://github.com/JD-GenX/Uni-AdGen/blob/HEAD/Personalize/transformers/modelcard.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e6632a5722f0840d"}},{"code_sha256_prefix":"ec7b1528a936234d","entry":"is_hf_dataset","repo":"JD-GenX/Uni-AdGen","repo_kind":"found_in_text","path":"Personalize/transformers/modelcard.py","file_url":"https://github.com/JD-GenX/Uni-AdGen/blob/HEAD/Personalize/transformers/modelcard.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ec7b1528a936234d"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CL","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}