{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/spatial-memory-for-context-reasoning-in","title":"Spatial Memory for Context Reasoning in Object Detection","arxiv_id":"1704.04224","date":"2017-04-13","proceeding":"ICCV 2017 10","authors":["Xinlei Chen","Abhinav Gupta"],"abstract":"Modeling instance-level context and object-object relationships is extremely\nchallenging. It requires reasoning about bounding boxes of different classes,\nlocations \\etc. Above all, instance-level spatial reasoning inherently requires\nmodeling conditional distributions on previous detections. Unfortunately, our\ncurrent object detection systems do not have any {\\bf memory} to remember what\nto condition on! The state-of-the-art object detectors still detect all object\nin parallel followed by non-maximal suppression (NMS). While memory has been\nused for tasks such as captioning, they mostly use image-level memory cells\nwithout capturing the spatial layout. On the other hand, modeling object-object\nrelationships requires {\\bf spatial} reasoning -- not only do we need a memory\nto store the spatial layout, but also a effective reasoning module to extract\nspatial patterns. This paper presents a conceptually simple yet powerful\nsolution -- Spatial Memory Network (SMN), to model the instance-level context\nefficiently and effectively. Our spatial memory essentially assembles object\ninstances back into a pseudo \"image\" representation that is easy to be fed into\nanother ConvNet for object-object context reasoning. This leads to a new\nsequential reasoning architecture where image and memory are processed in\nparallel to obtain detections which update the memory again. We show our SMN\ndirection is promising as it provides 2.2\\% improvement over baseline Faster\nRCNN on the COCO dataset so far.","url_abs":"http://arxiv.org/abs/1704.04224v1","url_pdf":"http://arxiv.org/pdf/1704.04224v1.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":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/endernewton/tf-faster-rcnn","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/1512159/tf-faster-rcnn-medico","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/AlphaJia/tf-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/ChestnutLi/tf-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/Kenneth-Wong/tf-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/KyeongmoonKim/sb","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/PengchengAi/tf-faster-rcnn-pcai","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/PythonZhengbinChen/tf-faster-rcnn-cpu","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/achiyaj/vqa-sandbox","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/bareblackfoot/faster-rcnn.selection","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/bareblackfoot/lddp-tf-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/buaaYYC/faster-rcnn-tensorflow","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/csmiler/tf-faster-rcnn-cpu","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/daxiapazi/faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/hj963434688/Faster_rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/huan123/py-fatser-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/insigh/Faster-RCNN-Tensorflow","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/ithuanhuan/gpu-py3-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/ithuanhuan/py-fatser-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/liuqiang3/faster_rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/mappy/tf-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/mengyingfei/faster-rcnn-tf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/nautilus261/tf-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/neuqgz/modify-faster-rcnn-tf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/piaosonglin1985/tf-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/rickyHong/faster-rcnn-tensorflow-repl","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/shikorab/tf-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/tianhai123/tf-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/tigerofmurder/tf-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/vietlinhtspt/NewFasterRCNN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/wangzpeng/tf-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/wennieWN/endernewton_tf-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/xinpingwang/tf-faster-rcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/yzgrfsy/tf-fastrcnn-crop","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"spatial-memory-for-context-reasoning-in","repo_url":"https://github.com/zxqcreations/faster-rcnn-tf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}}],"tasks":[{"task_slug":"object","task_name":"Object"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"spatial-reasoning","task_name":"Spatial Reasoning"}],"methods":[{"method_slug":"memory-network","method_name":"Memory Network"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/1704.04224","atlas_url":"https://app.syntology.ai/?focus=1704.04224","mcp":null,"developers":"https://syntology.ai/developers","held":true,"reason":"arxiv_id_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"agent_calls":[{"tool":"get_citation_path","arguments":{"paper_1":"1704.04224"},"arguments_in":{"paper_2":"another paper's arXiv id or title"},"call":"get_citation_path(paper_1=\"1704.04224\", paper_2=\"…\")"},{"tool":"get_concepts_for_paper","arguments":{"arxiv_id":"1704.04224"},"call":"get_concepts_for_paper(arxiv_id=\"1704.04224\")"}],"by_repo":[{"repo":"endernewton/tf-faster-rcnn","kind":"official","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2601.11779"],"harvested_for_calls":[{"arxiv_id":"2601.11779","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2601.11779"},"call":"get_harvested_code_for_paper(arxiv_id=\"2601.11779\")"}]},{"repo":"1512159/tf-faster-rcnn-medico","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"AlphaJia/tf-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"ChestnutLi/tf-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"Kenneth-Wong/tf-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"KyeongmoonKim/sb","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"PengchengAi/tf-faster-rcnn-pcai","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"PythonZhengbinChen/tf-faster-rcnn-cpu","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"achiyaj/vqa-sandbox","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"bareblackfoot/faster-rcnn.selection","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"bareblackfoot/lddp-tf-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"buaaYYC/faster-rcnn-tensorflow","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"csmiler/tf-faster-rcnn-cpu","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"daxiapazi/faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"hj963434688/Faster_rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"huan123/py-fatser-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"insigh/Faster-RCNN-Tensorflow","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["1506.01497"],"harvested_for_calls":[{"arxiv_id":"1506.01497","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"1506.01497"},"call":"get_harvested_code_for_paper(arxiv_id=\"1506.01497\")"}]},{"repo":"ithuanhuan/gpu-py3-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["1506.01497"],"harvested_for_calls":[{"arxiv_id":"1506.01497","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"1506.01497"},"call":"get_harvested_code_for_paper(arxiv_id=\"1506.01497\")"}]},{"repo":"ithuanhuan/py-fatser-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"liuqiang3/faster_rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"mappy/tf-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"mengyingfei/faster-rcnn-tf","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"nautilus261/tf-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"neuqgz/modify-faster-rcnn-tf","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"piaosonglin1985/tf-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"rickyHong/faster-rcnn-tensorflow-repl","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"shikorab/tf-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"tianhai123/tf-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"tigerofmurder/tf-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"vietlinhtspt/NewFasterRCNN","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"wangzpeng/tf-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"wennieWN/endernewton_tf-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"xinpingwang/tf-faster-rcnn","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"yzgrfsy/tf-fastrcnn-crop","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"zxqcreations/faster-rcnn-tf","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0}],"by_repo_harvested_for_is":"harvested_for: the arXiv ids (as Syntology's graph holds them) of every paper whose samples Syntology's graph links to this repository, in arXiv-id order, complete; the page names the first 3 and says how many more. A link only: it does not say the papers are the same work, that one copied the other, or that the code implements this paper's method; harvested_for_calls gives the get_harvested_code_for_paper call for each arXiv-shaped id among them","by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"3f7a69a367bc9edb8249a35ccd3d6de165a06c949dede8fdd273a0509ecba9fb","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}