{"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/tango-commonsense-generalization-in","title":"TANGO: Commonsense Generalization in Predicting Tool Interactions for Mobile Manipulators","arxiv_id":"2105.04556","date":"2021-05-05","proceeding":null,"authors":["Shreshth Tuli","Rajas Bansal","Rohan Paul","Mausam"],"abstract":"Robots assisting us in factories or homes must learn to make use of objects as tools to perform tasks, e.g., a tray for carrying objects. We consider the problem of learning commonsense knowledge of when a tool may be useful and how its use may be composed with other tools to accomplish a high-level task instructed by a human. We introduce a novel neural model, termed TANGO, for predicting task-specific tool interactions, trained using demonstrations from human teachers instructing a virtual robot. TANGO encodes the world state, comprising objects and symbolic relationships between them, using a graph neural network. The model learns to attend over the scene using knowledge of the goal and the action history, finally decoding the symbolic action to execute. Crucially, we address generalization to unseen environments where some known tools are missing, but alternative unseen tools are present. We show that by augmenting the representation of the environment with pre-trained embeddings derived from a knowledge-base, the model can generalize effectively to novel environments. Experimental results show a 60.5-78.9% absolute improvement over the baseline in predicting successful symbolic plans in unseen settings for a simulated mobile manipulator.","url_abs":"https://arxiv.org/abs/2105.04556v2","url_pdf":"https://arxiv.org/pdf/2105.04556v2.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":"tango-commonsense-generalization-in","repo_url":"https://github.com/reail-iitd/tango","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"BSD-2-Clause"}}],"tasks":[{"task_slug":"graph-neural-network","task_name":"Graph Neural Network"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2105.04556","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2105.04556"}},"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/reail-iitd/tango","reach":{"status":"ok","spdx":"BSD-2-Clause"}}],"summary":{"unverified":14},"by_repo_kind":{"official":{"samples":14,"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":"cff902e62a7a6b18","entry":"allActionTypes","repo":"reail-iitd/tango","repo_kind":"official","path":"analyze.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/analyze.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"cff902e62a7a6b18"}},{"code_sha256_prefix":"5842c92e5964be7c","entry":"convertActions","repo":"reail-iitd/tango","repo_kind":"official","path":"src/actions.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/src/actions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"5842c92e5964be7c"}},{"code_sha256_prefix":"6f8eb99c754ceedf","entry":"convertActionsFromFile","repo":"reail-iitd/tango","repo_kind":"official","path":"src/actions.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/src/actions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"6f8eb99c754ceedf"}},{"code_sha256_prefix":"014dfa205be068ec","entry":"fct","repo":"reail-iitd/tango","repo_kind":"official","path":"approx.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/approx.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"014dfa205be068ec"}},{"code_sha256_prefix":"2ca7da4ad6dccbc3","entry":"fcw","repo":"reail-iitd/tango","repo_kind":"official","path":"approx.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/approx.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"2ca7da4ad6dccbc3"}},{"code_sha256_prefix":"e4f260449b2520a6","entry":"form_goal_vec","repo":"reail-iitd/tango","repo_kind":"official","path":"src/extract_vectors.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/src/extract_vectors.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"e4f260449b2520a6"}},{"code_sha256_prefix":"21aba124f362dee5","entry":"getInteractedObjs","repo":"reail-iitd/tango","repo_kind":"official","path":"analyze.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/analyze.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"21aba124f362dee5"}},{"code_sha256_prefix":"1f193210eddf07cd","entry":"getInterestTools","repo":"reail-iitd/tango","repo_kind":"official","path":"analyze.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/analyze.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"1f193210eddf07cd"}},{"code_sha256_prefix":"8184f2361f9ea6d0","entry":"initWingPos","repo":"reail-iitd/tango","repo_kind":"official","path":"src/initialise.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/src/initialise.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"8184f2361f9ea6d0"}},{"code_sha256_prefix":"bf901dc21c7d331e","entry":"listSum","repo":"reail-iitd/tango","repo_kind":"official","path":"src/generalization.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/src/generalization.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"bf901dc21c7d331e"}},{"code_sha256_prefix":"34f8e4041ae2e7c5","entry":"load_all_vectors","repo":"reail-iitd/tango","repo_kind":"official","path":"src/extract_vectors.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/src/extract_vectors.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"34f8e4041ae2e7c5"}},{"code_sha256_prefix":"b52b00285d990bde","entry":"load_vectors","repo":"reail-iitd/tango","repo_kind":"official","path":"src/extract_vectors.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/src/extract_vectors.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"b52b00285d990bde"}},{"code_sha256_prefix":"a32d700177f2271e","entry":"load_world","repo":"reail-iitd/tango","repo_kind":"official","path":"approx.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/approx.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"a32d700177f2271e"}},{"code_sha256_prefix":"30e7a00d1c9c5573","entry":"world_split","repo":"reail-iitd/tango","repo_kind":"official","path":"rl.py","file_url":"https://github.com/reail-iitd/tango/blob/HEAD/rl.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"30e7a00d1c9c5573"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}