{"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-2601-09236","title":"Reward Learning through Ranking Mean Squared Error","arxiv_id":"2601.09236","date":"2026-01-14","proceeding":"ICML","authors":["Chaitanya Kharyal","Calarina Muslimani","Matthew E. Taylor"],"abstract":"Reward design remains a significant bottleneck in applying reinforcement learning (RL) to real-world problems. A popular alternative is reward learning, where reward functions are inferred from human feedback rather than manually specified. Recent work has proposed learning reward functions from human ratings rather than traditional binary preferences, enabling richer and potentially less cognitively demanding supervision. Building on this paradigm, we introduce a new rating-based RL method, Ranked Return Regression for RL (R4). At its core, R4 uses a novel ranking mean squared error loss that learns from a dataset of trajectory-rating pairs, treating the human-provided discrete ratings (e.g., bad, neutral, good) as ordinal targets. Unlike prior rating-based approaches, R4 offers formal guarantees: its solution set is provably minimal and complete under mild assumptions. Empirically, using both human-provided and simulated ratings, we demonstrate that R4 consistently matches or outperforms existing rating and preference-based RL methods on robotic benchmarks from OpenAI Gym and the DeepMind Control Suite. Code released at https://github.com/IRLL/R4.","url_abs":"https://arxiv.org/abs/2601.09236","url_pdf":"https://arxiv.org/pdf/2601.09236","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":"https://app.syntology.ai/?focus=2601.09236","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2601.09236"}},"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/IRLL/R4","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":6},"by_repo_kind":{"found_in_text":{"samples":6,"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":"6c83fa8b8a03a8a8","entry":"create_q_learning_agent","repo":"IRLL/R4","repo_kind":"found_in_text","path":"src/algos/q_learning.py","file_url":"https://github.com/IRLL/R4/blob/HEAD/src/algos/q_learning.py","link_basis":"first_harvest_node","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":"6c83fa8b8a03a8a8"}},{"code_sha256_prefix":"151580d4be848a32","entry":"kendalltau_distance","repo":"IRLL/R4","repo_kind":"found_in_text","path":"src/fitnessFunctions/kendalltau.py","file_url":"https://github.com/IRLL/R4/blob/HEAD/src/fitnessFunctions/kendalltau.py","link_basis":"first_harvest_node","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":"151580d4be848a32"}},{"code_sha256_prefix":"84099d3e84482ccf","entry":"normalize","repo":"IRLL/R4","repo_kind":"found_in_text","path":"src/lossFunctions/rMSE_ot.py","file_url":"https://github.com/IRLL/R4/blob/HEAD/src/lossFunctions/rMSE_ot.py","link_basis":"first_harvest_node","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":"84099d3e84482ccf"}},{"code_sha256_prefix":"9e43e4bd1f4486b3","entry":"read_bin_data","repo":"IRLL/R4","repo_kind":"found_in_text","path":"src/utils.py","file_url":"https://github.com/IRLL/R4/blob/HEAD/src/utils.py","link_basis":"first_harvest_node","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":"9e43e4bd1f4486b3"}},{"code_sha256_prefix":"f76d34b2796b3544","entry":"read_pickle","repo":"IRLL/R4","repo_kind":"found_in_text","path":"src/utils.py","file_url":"https://github.com/IRLL/R4/blob/HEAD/src/utils.py","link_basis":"first_harvest_node","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":"f76d34b2796b3544"}},{"code_sha256_prefix":"c33045e32cf798cc","entry":"spearmanr_correlation","repo":"IRLL/R4","repo_kind":"found_in_text","path":"src/fitnessFunctions/spearmanr.py","file_url":"https://github.com/IRLL/R4/blob/HEAD/src/fitnessFunctions/spearmanr.py","link_basis":"first_harvest_node","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":"c33045e32cf798cc"}}]},"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}