{"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/randomized-kaczmarz-with-tail-averaging","title":"Randomized Kaczmarz with tail averaging","arxiv_id":"2411.19877","date":"2024-11-29","proceeding":null,"authors":["Ethan N. Epperly","Gil Goldshlager","Robert J. Webber"],"abstract":"The randomized Kaczmarz (RK) method is a well-known approach for solving linear least-squares problems with a large number of rows. RK accesses and processes just one row at a time, leading to exponentially fast convergence for consistent linear systems. However, RK fails to converge to the least-squares solution for inconsistent systems. This work presents a simple fix: average the RK iterates produced in the tail part of the algorithm. The proposed tail-averaged randomized Kaczmarz (TARK) converges for both consistent and inconsistent least-squares problems at a polynomial rate, which is known to be optimal for any row-access method. An extension of TARK also leads to efficient solutions for ridge-regularized least-squares problems.","url_abs":"https://arxiv.org/abs/2411.19877v3","url_pdf":"https://arxiv.org/pdf/2411.19877v3.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":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"randomized-kaczmarz-with-tail-averaging","repo_url":"https://github.com/eepperly/Randomized-Kaczmarz-with-Tail-Averaging","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2411.19877","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2411.19877"}},"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/eepperly/Randomized-Kaczmarz-with-Tail-Averaging","reach":{"status":"ok"}}],"summary":{"unverified":5},"by_repo_kind":{"official":{"samples":5,"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":5,"samples":[{"code_sha256_prefix":"0b502bbf0bb65f3f","entry":"leverage_sample","repo":"eepperly/Randomized-Kaczmarz-with-Tail-Averaging","repo_kind":"official","path":"active_regression.py","file_url":"https://github.com/eepperly/Randomized-Kaczmarz-with-Tail-Averaging/blob/HEAD/active_regression.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":"0b502bbf0bb65f3f"}},{"code_sha256_prefix":"f8001a3540e1950b","entry":"rk","repo":"eepperly/Randomized-Kaczmarz-with-Tail-Averaging","repo_kind":"official","path":"tark.py","file_url":"https://github.com/eepperly/Randomized-Kaczmarz-with-Tail-Averaging/blob/HEAD/tark.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":"f8001a3540e1950b"}},{"code_sha256_prefix":"723264b4fc11ff4c","entry":"rka","repo":"eepperly/Randomized-Kaczmarz-with-Tail-Averaging","repo_kind":"official","path":"tark.py","file_url":"https://github.com/eepperly/Randomized-Kaczmarz-with-Tail-Averaging/blob/HEAD/tark.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":"723264b4fc11ff4c"}},{"code_sha256_prefix":"95d838739dea20a5","entry":"tark","repo":"eepperly/Randomized-Kaczmarz-with-Tail-Averaging","repo_kind":"official","path":"tark.py","file_url":"https://github.com/eepperly/Randomized-Kaczmarz-with-Tail-Averaging/blob/HEAD/tark.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":"95d838739dea20a5"}},{"code_sha256_prefix":"dc90a22ffc929832","entry":"volume_sample_orth","repo":"eepperly/Randomized-Kaczmarz-with-Tail-Averaging","repo_kind":"official","path":"active_regression.py","file_url":"https://github.com/eepperly/Randomized-Kaczmarz-with-Tail-Averaging/blob/HEAD/active_regression.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":"dc90a22ffc929832"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}