{"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-08110","title":"BaLoRA: Bayesian Low-Rank Adaptation of Large Scale Models","arxiv_id":"2605.08110","date":"2026-04-27","proceeding":null,"authors":["Dario Coscia","Sindy Löwe","Max Welling"],"abstract":"Low-Rank Adaptation (LoRA) has become the standard for fine-tuning large pre-trained models at reduced computational cost. However, its low-rank point-estimate updates limit expressiveness, leave a persistent gap relative to full fine-tuning accuracy, and provide no built-in uncertainty quantification, limiting its applicability in settings where reliability matters as much as accuracy. We introduce BaLoRA, a Bayesian extension of LoRA with a novel input-adaptive Bayesian parameterization of LoRA matrices that adds minimal parameters and compute. Surprisingly, not only does the Bayesian extension yield well-calibrated uncertainty estimates, but the adaptive noise injection underlying our approach also significantly improves prediction accuracy, narrowing the gap with full fine-tuning across both natural language reasoning and vision tasks. When applied to band gap prediction in metal-organic frameworks, BaLoRA produces zero-shot test-time uncertainty estimates that correlate more strongly with model error than a trained ensemble of LoRA models, and improve monotonically with compute without sacrificing accuracy.","url_abs":"https://arxiv.org/abs/2605.08110","url_pdf":"https://arxiv.org/pdf/2605.08110","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":null,"mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.08110"}},"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/AGI-Edgerunners/LLM-Adapters","reach":null}],"summary":{"ran":1,"ran_draft_wrong":6,"unverified":2},"by_repo_kind":{"found_in_text":{"samples":9,"ran":7,"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":0,"samples":[{"code_sha256_prefix":"2dc17f5e6fb39b3f","entry":"evaluate","repo":"AGI-Edgerunners/LLM-Adapters","repo_kind":"found_in_text","path":"multi_dataset_eval.py","file_url":"https://github.com/AGI-Edgerunners/LLM-Adapters/blob/HEAD/multi_dataset_eval.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2dc17f5e6fb39b3f"}},{"code_sha256_prefix":"56e674752db00649","entry":"generate_prompt","repo":"AGI-Edgerunners/LLM-Adapters","repo_kind":"found_in_text","path":"finetune.py","file_url":"https://github.com/AGI-Edgerunners/LLM-Adapters/blob/HEAD/finetune.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"56e674752db00649"}},{"code_sha256_prefix":"0dbc7fc6c518d0fb","entry":"generate_prompt","repo":"AGI-Edgerunners/LLM-Adapters","repo_kind":"found_in_text","path":"generate.py","file_url":"https://github.com/AGI-Edgerunners/LLM-Adapters/blob/HEAD/generate.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0dbc7fc6c518d0fb"}},{"code_sha256_prefix":"1c6b8be890b6118a","entry":"generate_prompt","repo":"AGI-Edgerunners/LLM-Adapters","repo_kind":"found_in_text","path":"commonsense_evaluate.py","file_url":"https://github.com/AGI-Edgerunners/LLM-Adapters/blob/HEAD/commonsense_evaluate.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1c6b8be890b6118a"}},{"code_sha256_prefix":"56a9466ff35b35bb","entry":"load_data","repo":"AGI-Edgerunners/LLM-Adapters","repo_kind":"found_in_text","path":"commonsense_evaluate.py","file_url":"https://github.com/AGI-Edgerunners/LLM-Adapters/blob/HEAD/commonsense_evaluate.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"56a9466ff35b35bb"}},{"code_sha256_prefix":"1266012e186b82e8","entry":"read_json","repo":"AGI-Edgerunners/LLM-Adapters","repo_kind":"found_in_text","path":"dataset/mawps/data_process.py","file_url":"https://github.com/AGI-Edgerunners/LLM-Adapters/blob/HEAD/dataset/mawps/data_process.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1266012e186b82e8"}},{"code_sha256_prefix":"a4f5d0414a1cf9c6","entry":"translate_state_dict_key","repo":"AGI-Edgerunners/LLM-Adapters","repo_kind":"found_in_text","path":"export_state_dict_checkpoint.py","file_url":"https://github.com/AGI-Edgerunners/LLM-Adapters/blob/HEAD/export_state_dict_checkpoint.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a4f5d0414a1cf9c6"}},{"code_sha256_prefix":"a2f49e13f6e13d6b","entry":"permute","repo":"AGI-Edgerunners/LLM-Adapters","repo_kind":"found_in_text","path":"export_state_dict_checkpoint.py","file_url":"https://github.com/AGI-Edgerunners/LLM-Adapters/blob/HEAD/export_state_dict_checkpoint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a2f49e13f6e13d6b"}},{"code_sha256_prefix":"6e275f232bbfb9b6","entry":"unpermute","repo":"AGI-Edgerunners/LLM-Adapters","repo_kind":"found_in_text","path":"export_state_dict_checkpoint.py","file_url":"https://github.com/AGI-Edgerunners/LLM-Adapters/blob/HEAD/export_state_dict_checkpoint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6e275f232bbfb9b6"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}