{"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-pieces-efficient-personalized","title":"Personalized Pieces: Efficient Personalized Large Language Models through Collaborative Efforts","arxiv_id":"2406.10471","date":"2024-06-15","proceeding":null,"authors":["Zhaoxuan Tan","Zheyuan Liu","Meng Jiang"],"abstract":"Personalized large language models (LLMs) aim to tailor interactions, content, and recommendations to individual user preferences. While parameter-efficient fine-tuning (PEFT) methods excel in performance and generalization, they are costly and limit communal benefits when used individually. To this end, we introduce Personalized Pieces (Per-Pcs), a framework that allows users to safely share and assemble personalized PEFT efficiently with collaborative efforts. Per-Pcs involves selecting sharers, breaking their PEFT into pieces, and training gates for each piece. These pieces are added to a pool, from which target users can select and assemble personalized PEFT using their history data. This approach preserves privacy and enables fine-grained user modeling without excessive storage and computation demands. Experimental results show Per-Pcs outperforms non-personalized and PEFT retrieval baselines, offering performance comparable to OPPU with significantly lower resource use across six tasks. Further analysis highlights Per-Pcs's robustness concerning sharer count and selection strategy, pieces sharing ratio, and scalability in computation time and storage space. Per-Pcs's modularity promotes safe sharing, making LLM personalization more efficient, effective, and widely accessible through collaborative efforts.","url_abs":"https://arxiv.org/abs/2406.10471v3","url_pdf":"https://arxiv.org/pdf/2406.10471v3.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-pieces-efficient-personalized","repo_url":"https://github.com/TamSiuhin/Per-Pcs","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"parameter-efficient-fine-tuning","task_name":"parameter-efficient fine-tuning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2406.10471","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2406.10471"}},"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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/TamSiuhin/Per-Pcs","reach":{"status":"ok"}}],"summary":{"ran":9},"by_repo_kind":{"official":{"samples":9,"ran":9,"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":9,"samples":[{"code_sha256_prefix":"0744ae2f10dfde4f","entry":"apply_rotary_emb","repo":"TamSiuhin/Per-Pcs","repo_kind":"official","path":"llama/model.py","file_url":"https://github.com/TamSiuhin/Per-Pcs/blob/HEAD/llama/model.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":"0744ae2f10dfde4f"}},{"code_sha256_prefix":"55df4fd0d5b67770","entry":"collate_fn","repo":"TamSiuhin/Per-Pcs","repo_kind":"official","path":"lora_composition.py","file_url":"https://github.com/TamSiuhin/Per-Pcs/blob/HEAD/lora_composition.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":"55df4fd0d5b67770"}},{"code_sha256_prefix":"2efc8bf4946d1b9c","entry":"extract_article","repo":"TamSiuhin/Per-Pcs","repo_kind":"official","path":"train_anchor_PEFT.py","file_url":"https://github.com/TamSiuhin/Per-Pcs/blob/HEAD/train_anchor_PEFT.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":"2efc8bf4946d1b9c"}},{"code_sha256_prefix":"7e86bfcbb4f77726","entry":"extract_citation_title","repo":"TamSiuhin/Per-Pcs","repo_kind":"official","path":"utils.py","file_url":"https://github.com/TamSiuhin/Per-Pcs/blob/HEAD/utils.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":"7e86bfcbb4f77726"}},{"code_sha256_prefix":"d9ca2b9e65dd8669","entry":"extract_movie","repo":"TamSiuhin/Per-Pcs","repo_kind":"official","path":"utils.py","file_url":"https://github.com/TamSiuhin/Per-Pcs/blob/HEAD/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":"d9ca2b9e65dd8669"}},{"code_sha256_prefix":"45a6039a5ec5e51b","entry":"extract_option","repo":"TamSiuhin/Per-Pcs","repo_kind":"official","path":"utils.py","file_url":"https://github.com/TamSiuhin/Per-Pcs/blob/HEAD/utils.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":"45a6039a5ec5e51b"}},{"code_sha256_prefix":"7ae5f8e51e747d79","entry":"precompute_freqs_cis","repo":"TamSiuhin/Per-Pcs","repo_kind":"official","path":"llama/model.py","file_url":"https://github.com/TamSiuhin/Per-Pcs/blob/HEAD/llama/model.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":"7ae5f8e51e747d79"}},{"code_sha256_prefix":"ba3eef3cbd9a3066","entry":"reshape_for_broadcast","repo":"TamSiuhin/Per-Pcs","repo_kind":"official","path":"llama/model.py","file_url":"https://github.com/TamSiuhin/Per-Pcs/blob/HEAD/llama/model.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":"ba3eef3cbd9a3066"}},{"code_sha256_prefix":"83e7fa7c6fecc249","entry":"split_batch","repo":"TamSiuhin/Per-Pcs","repo_kind":"official","path":"anchor_selection/history_anchor.py","file_url":"https://github.com/TamSiuhin/Per-Pcs/blob/HEAD/anchor_selection/history_anchor.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":"83e7fa7c6fecc249"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}