{"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/chain-of-action-faithful-and-multimodal","title":"Chain-of-Action: Faithful and Multimodal Question Answering through Large Language Models","arxiv_id":"2403.17359","date":"2024-03-26","proceeding":null,"authors":["Zhenyu Pan","Haozheng Luo","Manling Li","Han Liu"],"abstract":"We present a Chain-of-Action (CoA) framework for multimodal and retrieval-augmented Question-Answering (QA). Compared to the literature, CoA overcomes two major challenges of current QA applications: (i) unfaithful hallucination that is inconsistent with real-time or domain facts and (ii) weak reasoning performance over compositional information. Our key contribution is a novel reasoning-retrieval mechanism that decomposes a complex question into a reasoning chain via systematic prompting and pre-designed actions. Methodologically, we propose three types of domain-adaptable `Plug-and-Play' actions for retrieving real-time information from heterogeneous sources. We also propose a multi-reference faith score (MRFS) to verify and resolve conflicts in the answers. Empirically, we exploit both public benchmarks and a Web3 case study to demonstrate the capability of CoA over other methods.","url_abs":"https://arxiv.org/abs/2403.17359v1","url_pdf":"https://arxiv.org/pdf/2403.17359v1.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":"chain-of-action-faithful-and-multimodal","repo_url":"https://github.com/MAGICS-LAB/Chain-of-Actions","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"hallucination","task_name":"Hallucination"},{"task_slug":"information-retrieval","task_name":"Information Retrieval"},{"task_slug":"question-answering","task_name":"Question Answering"},{"task_slug":"retrieval","task_name":"Retrieval"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/question-answering-on-fever","task":"Question Answering","dataset":"FEVER","model":"CoA","rank_in_archive_order":1,"of":8,"metrics":{"EM":"68.9"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-fever","task":"Question Answering","dataset":"FEVER","model":"Self-Ask","rank_in_archive_order":3,"of":8,"metrics":{"EM":"64.2"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-fever","task":"Question Answering","dataset":"FEVER","model":"DSP","rank_in_archive_order":5,"of":8,"metrics":{"EM":"62.2"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-fever","task":"Question Answering","dataset":"FEVER","model":"CoA w/o actions","rank_in_archive_order":6,"of":8,"metrics":{"EM":"54.2"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-fever","task":"Question Answering","dataset":"FEVER","model":"Zero-shot","rank_in_archive_order":8,"of":8,"metrics":{"EM":"50"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-strategyqa","task":"Question Answering","dataset":"StrategyQA","model":"CoA","rank_in_archive_order":7,"of":12,"metrics":{"EM":"79.2"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-strategyqa","task":"Question Answering","dataset":"StrategyQA","model":"SearchChain","rank_in_archive_order":9,"of":12,"metrics":{"EM":"77"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-strategyqa","task":"Question Answering","dataset":"StrategyQA","model":"CoA w/o actions","rank_in_archive_order":10,"of":12,"metrics":{"EM":"70.6"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-strategyqa","task":"Question Answering","dataset":"StrategyQA","model":"Least-to-Most","rank_in_archive_order":12,"of":12,"metrics":{"EM":"65.8"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-truthfulqa","task":"Question Answering","dataset":"TruthfulQA","model":"CoA","rank_in_archive_order":29,"of":33,"metrics":{"EM":"67.3"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-truthfulqa","task":"Question Answering","dataset":"TruthfulQA","model":"CoA w/o actions","rank_in_archive_order":31,"of":33,"metrics":{"EM":"63.3"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-webquestions","task":"Question Answering","dataset":"WebQuestions","model":"CoA","rank_in_archive_order":1,"of":37,"metrics":{"EM":"70.7"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-webquestions","task":"Question Answering","dataset":"WebQuestions","model":"CoA w/o actions","rank_in_archive_order":2,"of":37,"metrics":{"EM":"64.7"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-webquestions","task":"Question Answering","dataset":"WebQuestions","model":"DSP","rank_in_archive_order":4,"of":37,"metrics":{"EM":"59.4"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-webquestions","task":"Question Answering","dataset":"WebQuestions","model":"Few-shot","rank_in_archive_order":10,"of":37,"metrics":{"EM":"44.7"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-webquestions","task":"Question Answering","dataset":"WebQuestions","model":"Zero-shot","rank_in_archive_order":13,"of":37,"metrics":{"EM":"43"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-webquestions","task":"Question Answering","dataset":"WebQuestions","model":"CoT","rank_in_archive_order":16,"of":37,"metrics":{"EM":"42.5"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-webquestions","task":"Question Answering","dataset":"WebQuestions","model":"React","rank_in_archive_order":21,"of":37,"metrics":{"EM":"38.3"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-webquestions","task":"Question Answering","dataset":"WebQuestions","model":"Self-Ask","rank_in_archive_order":24,"of":37,"metrics":{"EM":"31.1"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-webquestions","task":"Question Answering","dataset":"WebQuestions","model":"ToT","rank_in_archive_order":28,"of":37,"metrics":{"EM":"26.3"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2403.17359","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.17359"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/MAGICS-LAB/Chain-of-Actions","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":8,"unverified":2},"by_repo_kind":{"official":{"samples":10,"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":"483518008187ff8f","entry":"calculate_metrics","repo":"MAGICS-LAB/Chain-of-Actions","repo_kind":"official","path":"chain-of-search.py","file_url":"https://github.com/MAGICS-LAB/Chain-of-Actions/blob/HEAD/chain-of-search.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"483518008187ff8f"}},{"code_sha256_prefix":"0982eadbeea994c8","entry":"calculate_rouge_l","repo":"MAGICS-LAB/Chain-of-Actions","repo_kind":"official","path":"chain-of-search-wo-ir.py","file_url":"https://github.com/MAGICS-LAB/Chain-of-Actions/blob/HEAD/chain-of-search-wo-ir.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0982eadbeea994c8"}},{"code_sha256_prefix":"ae9e2f22ae2b60f8","entry":"excute","repo":"MAGICS-LAB/Chain-of-Actions","repo_kind":"official","path":"baselines/src/Search-in-the-Chain/SearChain_without_IR.py","file_url":"https://github.com/MAGICS-LAB/Chain-of-Actions/blob/HEAD/baselines/src/Search-in-the-Chain/SearChain_without_IR.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ae9e2f22ae2b60f8"}},{"code_sha256_prefix":"047a7d86ce36d383","entry":"extract_answer","repo":"MAGICS-LAB/Chain-of-Actions","repo_kind":"official","path":"chain-of-search-wo-ir.py","file_url":"https://github.com/MAGICS-LAB/Chain-of-Actions/blob/HEAD/chain-of-search-wo-ir.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"047a7d86ce36d383"}},{"code_sha256_prefix":"5b6d30b9deb44c97","entry":"get_max_rouge_l","repo":"MAGICS-LAB/Chain-of-Actions","repo_kind":"official","path":"baselines/dsp-cot.py","file_url":"https://github.com/MAGICS-LAB/Chain-of-Actions/blob/HEAD/baselines/dsp-cot.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5b6d30b9deb44c97"}},{"code_sha256_prefix":"2399d46f91722e1d","entry":"match_or_not","repo":"MAGICS-LAB/Chain-of-Actions","repo_kind":"official","path":"baselines/src/Search-in-the-Chain/Server/server.py","file_url":"https://github.com/MAGICS-LAB/Chain-of-Actions/blob/HEAD/baselines/src/Search-in-the-Chain/Server/server.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2399d46f91722e1d"}},{"code_sha256_prefix":"4cca112e5e6da5dc","entry":"normalize_answer","repo":"MAGICS-LAB/Chain-of-Actions","repo_kind":"official","path":"baselines/src/Search-in-the-Chain/Server/server.py","file_url":"https://github.com/MAGICS-LAB/Chain-of-Actions/blob/HEAD/baselines/src/Search-in-the-Chain/Server/server.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4cca112e5e6da5dc"}},{"code_sha256_prefix":"b9c8e9c4a7c30765","entry":"retrieve_top_k","repo":"MAGICS-LAB/Chain-of-Actions","repo_kind":"official","path":"chain-of-search.py","file_url":"https://github.com/MAGICS-LAB/Chain-of-Actions/blob/HEAD/chain-of-search.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b9c8e9c4a7c30765"}},{"code_sha256_prefix":"f3f4aec2e916df51","entry":"excute","repo":"MAGICS-LAB/Chain-of-Actions","repo_kind":"official","path":"baselines/src/Search-in-the-Chain/SearChain_w_IR.py","file_url":"https://github.com/MAGICS-LAB/Chain-of-Actions/blob/HEAD/baselines/src/Search-in-the-Chain/SearChain_w_IR.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f3f4aec2e916df51"}},{"code_sha256_prefix":"4ee7b08849b3f9fc","entry":"excute","repo":"MAGICS-LAB/Chain-of-Actions","repo_kind":"official","path":"baselines/src/Search-in-the-Chain/without_retriveal.py","file_url":"https://github.com/MAGICS-LAB/Chain-of-Actions/blob/HEAD/baselines/src/Search-in-the-Chain/without_retriveal.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4ee7b08849b3f9fc"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}