{"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/arxiv-2609-02204","title":"TAME: Temporal-Aware Mixture-of-Experts for Text-Video Retrieval","arxiv_id":"2609.02204","date":"2026-09-02","proceeding":"IEEE Access 14 (2026) 16188-16203","authors":["Uicheol Jung","Juyoung Hong","Hojung Kwon","Yukyung Choi"],"abstract":"Text-Video Retrieval (TVR) retrieves videos that match a natural-language query, but extending image-text models such as CLIP to videos is fundamentally limited by the lack of temporal modeling. Videos exhibit frame-wise heterogeneity in appearance and motion, and compressing all frames into a single representation often obscures temporal structure and semantic transitions. To address this, we propose Temporal-Aware Mixture-of-Experts for Text-Video Retrieval (TAME), a CLIP-based framework that jointly models frame-level structure and temporal relations. First, we integrate sparse Mixture-of-Experts (MoE) layers into both CLIP encoders and apply frame-consistent routing on the vision branch so that experts specialize according to frame-level visual patterns while preserving the original vision-language alignment. Second, we introduce Frame-Temporal (FT) tokens that aggregate global cross-frame information and feed it back to each frame, enabling the visual encoder to capture long-range temporal dependencies without harming local details. Third, we design a Cross-Temporal Interaction and Aggregation (CTIA) module that refines frame-wise sentence-video similarities through staged temporal filtering and fusion. Experiments on standard TVR benchmarks show that TAME consistently improves over CLIP-based baselines. On MSR-VTT, it improves R@1 by 4.0 over CLIP4Clip, and also achieves consistent gains on DiDeMo, MSVD, LSMDC, and ActivityNet. The code is available at https://github.com/sejong-rcv/TAME.","url_abs":"https://arxiv.org/abs/2609.02204","url_pdf":"https://arxiv.org/pdf/2609.02204","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2609.02204","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2609.02204"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/sejong-rcv/TAME","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":5,"ran_violates":1,"ran_honours":2,"ran_fixture":1,"unverified":15},"by_repo_kind":{"found_in_text":{"samples":24,"ran":9,"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":24,"samples":[{"code_sha256_prefix":"98f385d847636a3e","entry":"basic_clean","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/tokenization_clip.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/tokenization_clip.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"98f385d847636a3e"}},{"code_sha256_prefix":"47c2715feba5fd6b","entry":"check_attr","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/modeling_frame_text_sim_TAME.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/modeling_frame_text_sim_TAME.py","link_basis":"plan_row","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"47c2715feba5fd6b"}},{"code_sha256_prefix":"40e9fee2e0b7e278","entry":"gelu","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/until_module.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/until_module.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"40e9fee2e0b7e278"}},{"code_sha256_prefix":"d919ae32e5e4e616","entry":"get_pairs","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/tokenization_clip.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/tokenization_clip.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d919ae32e5e4e616"}},{"code_sha256_prefix":"a0c23f10479a984e","entry":"init_device","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"main_task_retrieval.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/main_task_retrieval.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a0c23f10479a984e"}},{"code_sha256_prefix":"d34a2226d2cf142e","entry":"update_attr","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/modeling_frame_text_sim_TAME.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/modeling_frame_text_sim_TAME.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d34a2226d2cf142e"}},{"code_sha256_prefix":"af64ec220e8bcdbc","entry":"url_to_filename","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/file_utils.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/file_utils.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"af64ec220e8bcdbc"}},{"code_sha256_prefix":"e0960afdb0d64aa7","entry":"warmup_linear","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/optimization.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/optimization.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e0960afdb0d64aa7"}},{"code_sha256_prefix":"9542161e9640b858","entry":"whitespace_clean","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/tokenization_clip.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/tokenization_clip.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9542161e9640b858"}},{"code_sha256_prefix":"f2d952c64db1c32a","entry":"build_attn_config","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/module_clip_moe_TAME.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/module_clip_moe_TAME.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":"f2d952c64db1c32a"}},{"code_sha256_prefix":"2e509d5fd4f1f3fb","entry":"build_model","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/module_clip_moe_TAME.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/module_clip_moe_TAME.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":"2e509d5fd4f1f3fb"}},{"code_sha256_prefix":"349d780dd4a89a37","entry":"cached_path","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/file_utils.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/file_utils.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":"349d780dd4a89a37"}},{"code_sha256_prefix":"b05823d3dd0bdd19","entry":"compute_metrics","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"metrics.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/metrics.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":"b05823d3dd0bdd19"}},{"code_sha256_prefix":"1cd9a569d3043ec8","entry":"download_model","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/module_clip_moe_TAME.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/module_clip_moe_TAME.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":"1cd9a569d3043ec8"}},{"code_sha256_prefix":"db0ac56aaf6e35e6","entry":"filename_to_url","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/file_utils.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/file_utils.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":"db0ac56aaf6e35e6"}},{"code_sha256_prefix":"6d08fe828957e8fc","entry":"get_args","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"main_task_retrieval.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/main_task_retrieval.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":"6d08fe828957e8fc"}},{"code_sha256_prefix":"3e863ec151094058","entry":"load_balancing_loss_func","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/MoE_utils.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/MoE_utils.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":"3e863ec151094058"}},{"code_sha256_prefix":"9b9174b87f63cc4c","entry":"load_balancing_loss_func","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/until_module.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/until_module.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":"9b9174b87f63cc4c"}},{"code_sha256_prefix":"0df6f898e6f622b9","entry":"remap_state_for_clipattention","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/MoE_utils.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/MoE_utils.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":"0df6f898e6f622b9"}},{"code_sha256_prefix":"00d09008863361eb","entry":"remap_state_for_clipattention","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/until_module.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/until_module.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":"00d09008863361eb"}},{"code_sha256_prefix":"eaba4d57f71c3b6e","entry":"tensor_text_to_video_metrics","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"metrics.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/metrics.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":"eaba4d57f71c3b6e"}},{"code_sha256_prefix":"b6f9f3930836fe3f","entry":"tensor_video_to_text_sim","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"metrics.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/metrics.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":"b6f9f3930836fe3f"}},{"code_sha256_prefix":"59e4e730a9dc5dc6","entry":"warmup_constant","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/optimization.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/optimization.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":"59e4e730a9dc5dc6"}},{"code_sha256_prefix":"20b3d25ba1b796e5","entry":"warmup_cosine","repo":"sejong-rcv/TAME","repo_kind":"found_in_text","path":"modules/optimization.py","file_url":"https://github.com/sejong-rcv/TAME/blob/HEAD/modules/optimization.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":"20b3d25ba1b796e5"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_daily_20260903.json"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6264},"entries":[],"not_placed":{"boards":5,"rejected_by_independent_check":0,"refused_by_a_rule":5,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}