{"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/ltrl-boosting-long-tail-recognition-via","title":"LTRL: Boosting Long-tail Recognition via Reflective Learning","arxiv_id":"2407.12568","date":"2024-07-17","proceeding":null,"authors":["QiHao Zhao","Yalun Dai","Shen Lin","Wei Hu","Fan Zhang","Jun Liu"],"abstract":"In real-world scenarios, where knowledge distributions exhibit long-tail. Humans manage to master knowledge uniformly across imbalanced distributions, a feat attributed to their diligent practices of reviewing, summarizing, and correcting errors. Motivated by this learning process, we propose a novel learning paradigm, called reflecting learning, in handling long-tail recognition. Our method integrates three processes for reviewing past predictions during training, summarizing and leveraging the feature relation across classes, and correcting gradient conflict for loss functions. These designs are lightweight enough to plug and play with existing long-tail learning methods, achieving state-of-the-art performance in popular long-tail visual benchmarks. The experimental results highlight the great potential of reflecting learning in dealing with long-tail recognition.","url_abs":"https://arxiv.org/abs/2407.12568v2","url_pdf":"https://arxiv.org/pdf/2407.12568v2.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":"ltrl-boosting-long-tail-recognition-via","repo_url":"https://github.com/fistyee/LTRL","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"long-tail-learning","task_name":"Long-tail Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2407.12568","atlas_url":"https://app.syntology.ai/?focus=2407.12568","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2407.12568"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/fistyee/LTRL","reach":{"status":"ok"}}],"summary":{"ran":4,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"official":{"samples":6,"ran":5,"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":6,"samples":[{"code_sha256_prefix":"f2fc3f5d0eefd3f1","entry":"accuracy","repo":"fistyee/LTRL","repo_kind":"official","path":"model/metric.py","file_url":"https://github.com/fistyee/LTRL/blob/HEAD/model/metric.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":"f2fc3f5d0eefd3f1"}},{"code_sha256_prefix":"97f46bc149d00675","entry":"convert_to_soft_labels","repo":"fistyee/LTRL","repo_kind":"official","path":"model/loss.py","file_url":"https://github.com/fistyee/LTRL/blob/HEAD/model/loss.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":"97f46bc149d00675"}},{"code_sha256_prefix":"4dcf06ba28983266","entry":"focal_loss","repo":"fistyee/LTRL","repo_kind":"official","path":"model/loss.py","file_url":"https://github.com/fistyee/LTRL/blob/HEAD/model/loss.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4dcf06ba28983266"}},{"code_sha256_prefix":"522c45d067d201e4","entry":"soft_cross_entropy_with_logits","repo":"fistyee/LTRL","repo_kind":"official","path":"model/loss.py","file_url":"https://github.com/fistyee/LTRL/blob/HEAD/model/loss.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":"522c45d067d201e4"}},{"code_sha256_prefix":"c642158604bebe8a","entry":"top_k_acc","repo":"fistyee/LTRL","repo_kind":"official","path":"model/metric.py","file_url":"https://github.com/fistyee/LTRL/blob/HEAD/model/metric.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":"c642158604bebe8a"}},{"code_sha256_prefix":"0933d643f92c12aa","entry":"init_weights","repo":"fistyee/LTRL","repo_kind":"official","path":"model/model.py","file_url":"https://github.com/fistyee/LTRL/blob/HEAD/model/model.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":"0933d643f92c12aa"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}