{"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/efficient-hyperparameter-tuning-for-large","title":"Efficient Hyperparameter Tuning for Large Scale Kernel Ridge Regression","arxiv_id":"2201.06314","date":"2022-01-17","proceeding":null,"authors":["Giacomo Meanti","Luigi Carratino","Ernesto de Vito","Lorenzo Rosasco"],"abstract":"Kernel methods provide a principled approach to nonparametric learning. While their basic implementations scale poorly to large problems, recent advances showed that approximate solvers can efficiently handle massive datasets. A shortcoming of these solutions is that hyperparameter tuning is not taken care of, and left for the user to perform. Hyperparameters are crucial in practice and the lack of automated tuning greatly hinders efficiency and usability. In this paper, we work to fill in this gap focusing on kernel ridge regression based on the Nystr\\\"om approximation. After reviewing and contrasting a number of hyperparameter tuning strategies, we propose a complexity regularization criterion based on a data dependent penalty, and discuss its efficient optimization. Then, we proceed to a careful and extensive empirical evaluation highlighting strengths and weaknesses of the different tuning strategies. Our analysis shows the benefit of the proposed approach, that we hence incorporate in a library for large scale kernel methods to derive adaptively tuned solutions.","url_abs":"https://arxiv.org/abs/2201.06314v1","url_pdf":"https://arxiv.org/pdf/2201.06314v1.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":"efficient-hyperparameter-tuning-for-large","repo_url":"https://github.com/FalkonML/falkon","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"regression-1","task_name":"regression"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2201.06314","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2201.06314"}},"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/FalkonML/falkon","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":3},"by_repo_kind":{"official":{"samples":3,"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":0,"samples":[{"code_sha256_prefix":"3b02f701bc259778","entry":"elbo_opt_step","repo":"FalkonML/falkon","repo_kind":"official","path":"falkon/benchmarks/models/gpflow_model.py","file_url":"https://github.com/FalkonML/falkon/blob/HEAD/falkon/benchmarks/models/gpflow_model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3b02f701bc259778"}},{"code_sha256_prefix":"7ffd297b87989724","entry":"get_rbf_kernel","repo":"FalkonML/falkon","repo_kind":"official","path":"falkon/benchmarks/models/gpytorch_variational_models.py","file_url":"https://github.com/FalkonML/falkon/blob/HEAD/falkon/benchmarks/models/gpytorch_variational_models.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7ffd297b87989724"}},{"code_sha256_prefix":"ce393f2993b83687","entry":"lib_from_oserror","repo":"FalkonML/falkon","repo_kind":"official","path":"falkon/c_ext/_backend.py","file_url":"https://github.com/FalkonML/falkon/blob/HEAD/falkon/c_ext/_backend.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ce393f2993b83687"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}