{"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/temporal-dependencies-in-feature-importance","title":"Temporal Dependencies in Feature Importance for Time Series Predictions","arxiv_id":"2107.14317","date":"2021-07-29","proceeding":null,"authors":["Kin Kwan Leung","Clayton Rooke","Jonathan Smith","Saba Zuberi","Maksims Volkovs"],"abstract":"Time series data introduces two key challenges for explainability methods: firstly, observations of the same feature over subsequent time steps are not independent, and secondly, the same feature can have varying importance to model predictions over time. In this paper, we propose Windowed Feature Importance in Time (WinIT), a feature removal based explainability approach to address these issues. Unlike existing feature removal explanation methods, WinIT explicitly accounts for the temporal dependence between different observations of the same feature in the construction of its importance score. Furthermore, WinIT captures the varying importance of a feature over time, by summarizing its importance over a window of past time steps. We conduct an extensive empirical study on synthetic and real-world data, compare against a wide range of leading explainability methods, and explore the impact of various evaluation strategies. Our results show that WinIT achieves significant gains over existing methods, with more consistent performance across different evaluation metrics. The code for our work is publicly available at \\url{https://github.com/layer6ai-labs/WinIT}.","url_abs":"https://arxiv.org/abs/2107.14317v2","url_pdf":"https://arxiv.org/pdf/2107.14317v2.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":"temporal-dependencies-in-feature-importance","repo_url":"https://github.com/layer6ai-labs/WinIT","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"feature-importance","task_name":"Feature Importance"},{"task_slug":"time-series-1","task_name":"Time Series"},{"task_slug":"time-series","task_name":"Time Series Analysis"},{"task_slug":"time-series-prediction","task_name":"Time Series Prediction"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2107.14317","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2107.14317"}},"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/layer6ai-labs/WinIT","reach":null}],"summary":{"ran":2,"unverified":5},"by_repo_kind":{"official":{"samples":7,"ran":2,"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":7,"samples":[{"code_sha256_prefix":"a82d848f2c3a05b8","entry":"IndividualFeatureGenerator","repo":"layer6ai-labs/WinIT","repo_kind":"official","path":"winit/explainer/winitexplainers.py","file_url":"https://github.com/layer6ai-labs/WinIT/blob/HEAD/winit/explainer/winitexplainers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a82d848f2c3a05b8"}},{"code_sha256_prefix":"775a629ed241752f","entry":"JointFeatureGenerator","repo":"layer6ai-labs/WinIT","repo_kind":"official","path":"winit/explainer/winitexplainers.py","file_url":"https://github.com/layer6ai-labs/WinIT/blob/HEAD/winit/explainer/winitexplainers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"775a629ed241752f"}},{"code_sha256_prefix":"04330ef09c09edfe","entry":"BaseExplainer","repo":"layer6ai-labs/WinIT","repo_kind":"official","path":"winit/explainer/winitexplainers.py","file_url":"https://github.com/layer6ai-labs/WinIT/blob/HEAD/winit/explainer/winitexplainers.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":"04330ef09c09edfe"}},{"code_sha256_prefix":"2504bbd65fa68cde","entry":"BaseFeatureGenerator","repo":"layer6ai-labs/WinIT","repo_kind":"official","path":"winit/explainer/winitexplainers.py","file_url":"https://github.com/layer6ai-labs/WinIT/blob/HEAD/winit/explainer/winitexplainers.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":"2504bbd65fa68cde"}},{"code_sha256_prefix":"cf8fae712ff7ef18","entry":"FeatureGenerator","repo":"layer6ai-labs/WinIT","repo_kind":"official","path":"winit/explainer/winitexplainers.py","file_url":"https://github.com/layer6ai-labs/WinIT/blob/HEAD/winit/explainer/winitexplainers.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":"cf8fae712ff7ef18"}},{"code_sha256_prefix":"572157a7e1212183","entry":"TorchModel","repo":"layer6ai-labs/WinIT","repo_kind":"official","path":"winit/explainer/winitexplainers.py","file_url":"https://github.com/layer6ai-labs/WinIT/blob/HEAD/winit/explainer/winitexplainers.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":"572157a7e1212183"}},{"code_sha256_prefix":"98dc6974b9c726a2","entry":"WinITExplainer","repo":"layer6ai-labs/WinIT","repo_kind":"official","path":"winit/explainer/winitexplainers.py","file_url":"https://github.com/layer6ai-labs/WinIT/blob/HEAD/winit/explainer/winitexplainers.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":"98dc6974b9c726a2"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}