{"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/personalized-clustering-via-targeted","title":"Personalized Clustering via Targeted Representation Learning","arxiv_id":"2412.13690","date":"2024-12-18","proceeding":null,"authors":["Xiwen Geng","Suyun Zhao","Yixin Yu","Borui Peng","Pan Du","Hong Chen","Cuiping Li","Mengdie Wang"],"abstract":"Clustering traditionally aims to reveal a natural grouping structure within unlabeled data. However, this structure may not always align with users' preferences. In this paper, we propose a personalized clustering method that explicitly performs targeted representation learning by interacting with users via modicum task information (e.g., $\\textit{must-link}$ or $\\textit{cannot-link}$ pairs) to guide the clustering direction. We query users with the most informative pairs, i.e., those pairs most hard to cluster and those most easy to miscluster, to facilitate the representation learning in terms of the clustering preference. Moreover, by exploiting attention mechanism, the targeted representation is learned and augmented. By leveraging the targeted representation and constrained contrastive loss as well, personalized clustering is obtained. Theoretically, we verify that the risk of personalized clustering is tightly bounded, guaranteeing that active queries to users do mitigate the clustering risk. Experimentally, extensive results show that our method performs well across different clustering tasks and datasets, even when only a limited number of queries are available.","url_abs":"https://arxiv.org/abs/2412.13690v2","url_pdf":"https://arxiv.org/pdf/2412.13690v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"personalized-clustering-via-targeted","repo_url":"https://github.com/hhdxwen/pcl","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"clustering","task_name":"Clustering"},{"task_slug":"representation-learning","task_name":"Representation Learning"}],"methods":[{"method_slug":"align","method_name":"ALIGN"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"softmax","method_name":"Softmax"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2412.13690","atlas_url":"https://app.syntology.ai/?focus=2412.13690","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.13690"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/hhdxwen/pcl","reach":{"status":"ok"}}],"summary":{"unverified":4},"by_repo_kind":{"official":{"samples":4,"ran":0,"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":4,"samples":[{"code_sha256_prefix":"f6d031f1affc8b74","entry":"calculate_cost_matrix","repo":"hhdxwen/pcl","repo_kind":"official","path":"evaluation/evaluation.py","file_url":"https://github.com/hhdxwen/pcl/blob/HEAD/evaluation/evaluation.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":"f6d031f1affc8b74"}},{"code_sha256_prefix":"c5807f4f8acc5c0b","entry":"get_cluster_labels_from_indices","repo":"hhdxwen/pcl","repo_kind":"official","path":"evaluation/evaluation.py","file_url":"https://github.com/hhdxwen/pcl/blob/HEAD/evaluation/evaluation.py","link_basis":"first_harvest_node","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":"c5807f4f8acc5c0b"}},{"code_sha256_prefix":"6df43a5023f20180","entry":"get_resnet","repo":"hhdxwen/pcl","repo_kind":"official","path":"modules/resnet.py","file_url":"https://github.com/hhdxwen/pcl/blob/HEAD/modules/resnet.py","link_basis":"first_harvest_node","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":"6df43a5023f20180"}},{"code_sha256_prefix":"5f0e459393da7338","entry":"yaml_config_hook","repo":"hhdxwen/pcl","repo_kind":"official","path":"utils/yaml_config_hook.py","file_url":"https://github.com/hhdxwen/pcl/blob/HEAD/utils/yaml_config_hook.py","link_basis":"first_harvest_node","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":"5f0e459393da7338"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}