{"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/learning-visual-abstract-reasoning-through","title":"Learning Visual Abstract Reasoning through Dual-Stream Networks","arxiv_id":"2411.19451","date":"2024-11-29","proceeding":null,"authors":["Kai Zhao","Chang Xu","Bailu Si"],"abstract":"Visual abstract reasoning tasks present challenges for deep neural networks, exposing limitations in their capabilities. In this work, we present a neural network model that addresses the challenges posed by Raven's Progressive Matrices (RPM). Inspired by the two-stream hypothesis of visual processing, we introduce the Dual-stream Reasoning Network (DRNet), which utilizes two parallel branches to capture image features. On top of the two streams, a reasoning module first learns to merge the high-level features of the same image. Then, it employs a rule extractor to handle combinations involving the eight context images and each candidate image, extracting discrete abstract rules and utilizing an multilayer perceptron (MLP) to make predictions. Empirical results demonstrate that the proposed DRNet achieves state-of-the-art average performance across multiple RPM benchmarks. Furthermore, DRNet demonstrates robust generalization capabilities, even extending to various out-of-distribution scenarios. The dual streams within DRNet serve distinct functions by addressing local or spatial information. They are then integrated into the reasoning module, leveraging abstract rules to facilitate the execution of visual reasoning tasks. These findings indicate that the dual-stream architecture could play a crucial role in visual abstract reasoning.","url_abs":"https://arxiv.org/abs/2411.19451v1","url_pdf":"https://arxiv.org/pdf/2411.19451v1.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":"learning-visual-abstract-reasoning-through","repo_url":"https://github.com/VecchioID/DRNet","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"visual-reasoning","task_name":"Visual Reasoning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2411.19451","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2411.19451"}},"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":"deterministic:regex_extraction","url":"https://github.com/VecchioID/DRNet","reach":null}],"summary":{"ran":8},"by_repo_kind":{"official":{"samples":8,"ran":8,"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":"4db15df59f1d4a53","entry":"ClassificationHead","repo":"VecchioID/DRNet","repo_kind":"official","path":"src/model.py","file_url":"https://github.com/VecchioID/DRNet/blob/HEAD/src/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4db15df59f1d4a53"}},{"code_sha256_prefix":"e16afeb3bc223ca9","entry":"FeedForwardBlock","repo":"VecchioID/DRNet","repo_kind":"official","path":"src/model.py","file_url":"https://github.com/VecchioID/DRNet/blob/HEAD/src/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e16afeb3bc223ca9"}},{"code_sha256_prefix":"7759c8c62ae8eedd","entry":"MultiHeadAttention","repo":"VecchioID/DRNet","repo_kind":"official","path":"src/model.py","file_url":"https://github.com/VecchioID/DRNet/blob/HEAD/src/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7759c8c62ae8eedd"}},{"code_sha256_prefix":"e4d709f5a7cb6e80","entry":"PatchEmbedding","repo":"VecchioID/DRNet","repo_kind":"official","path":"src/model.py","file_url":"https://github.com/VecchioID/DRNet/blob/HEAD/src/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e4d709f5a7cb6e80"}},{"code_sha256_prefix":"68fa1a2fe725f1e4","entry":"ResidualAdd","repo":"VecchioID/DRNet","repo_kind":"official","path":"src/model.py","file_url":"https://github.com/VecchioID/DRNet/blob/HEAD/src/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"68fa1a2fe725f1e4"}},{"code_sha256_prefix":"4139e07735254c6b","entry":"TransformerEncoder","repo":"VecchioID/DRNet","repo_kind":"official","path":"src/model.py","file_url":"https://github.com/VecchioID/DRNet/blob/HEAD/src/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4139e07735254c6b"}},{"code_sha256_prefix":"e903bed26561a0e1","entry":"TransformerEncoderBlock","repo":"VecchioID/DRNet","repo_kind":"official","path":"src/model.py","file_url":"https://github.com/VecchioID/DRNet/blob/HEAD/src/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e903bed26561a0e1"}},{"code_sha256_prefix":"1bc043c489e15b86","entry":"ViT","repo":"VecchioID/DRNet","repo_kind":"official","path":"src/model.py","file_url":"https://github.com/VecchioID/DRNet/blob/HEAD/src/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1bc043c489e15b86"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}