[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-85747-en":3,"doc-seo-85747-105":29,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},85747,5909877438554,"Maeve","https://ap-avatar.wpscdn.com/avatar/5600025385ad2bf12a7?_k=1778553567797529272",8,"Research & Report","Prompting-MammAlps Fine-Grained Text-to-Video Retrieval for Camera-Trap Data","Automatically retrieving videos from large camera-trap datasets remains challenging in ecological analysis. Prompting-MammAlps presents a new camera-trap TVR benchmark and a fine-grained, interpretable text-to-video retrieval method. A vision transformer performs spatiotemporal action localization and converts results into structured text per video. An LLM-based coding agent parses this representation using function calls to reduce hallucinations. The method reaches 34% set-based F1 on 135 queries over 775 candidates, outperforming a best zero-shot VLM at 18%.","arXiv :2607 .09876v1 [ cs .CV] 10 Jul 2026  \nPrompting-MammAlps: Fine-Grained Text-to-Video Retrieval  \nfor Camera-Trap Data  \nValentin Gabeff1 , Baptiste Maquignaz 1 , Jennifer Shan 1 , Sepideh Mamooler 1 , Gencer Sumbul 1 , Blair  \nCostelloe2 ,3 , Devis Tuia 1 , and Alexander Mathis 1 ,4  \n1 Ecole Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland  \n2 Max Planck Institute of Animal Behavior, Konstanz, Germany  \n3 University of Konstanz, Konstanz, Germany 4  \n[alexander.mathis@epfl.ch](alexander.mathis@epfl.ch)  \nAbstract. Automatically retrieving videos from large camera-trap datasets remains challenging.  \nText-to-Video retrieval (TVR) methods based on large video-language models (VLMs) have potential to retrieve events of interest by describing them with simple text queries. However, current methods often lack spatiotemporal understanding and do not generalize well to ecological data. In this work, we introduce Prompting-MammAlps, the first camera-trap TVR benchmark, and propose a fine-grained and interpretable TVR method. Specifically, we trained a vision transformer to performspatiotemporal action localization, and convert its output to structured text, describing each video.  \nIndependently, ethology-inspired queries are processed by a Large-Language Model (LLM) based coding agent to parse the structured text per video and retrieve videos accordingly. We harnessed the LLM to use functions from a custom parsing library to minimize the risk of LLM hallucinations and to improve method interpretability. This retrieval approach applied on the Prompting-MammAlps benchmark achieved a set-based F1-score of 34% on a test set of 135 ecologically-relevant queries and 775 candidate videos. In comparison the best zero-shot VLM achieved a F1-score of 18%, while also lacking interpretability.  \n[Project page](Project page: cnai.epfl.ch/prompting-mammalps)[: cnai.epfl.ch/prompting-mammalps](Project page: cnai.epfl.ch/prompting-mammalps)  \nKeywords: Text-to-Video Retrieval · Camera-Traps · Benchmark  \n-  \n135 text queries  \n\n| \"An adult female red deer nursing .\" |\n| --- |\n| \"A video showing individuals from at least two different species .\" |\n| \"A roe deer foraging in rainy weather .\" |\n\n. . .  \nVideos matching the query (N=51) Not matching the query (N=2814)  \nDensely annotated for up to 6 attributes  \na) Prompting-MammAlps Benchmark  \nFig. 1: Overview of Prompting-MammAlps and our TVR method. (a) We associate a densely annotated pool of camera-trap videos with 135 queries spanning six fine-grained visual attributes and diverse spatiotemporal relationships. (b) We perform spatiotemporal action localization on the candidate videos and store each result ina structured .json format. For each query, we task a LLM to write a parsing function that assesses if the text representation of a candidate video matches the query or not.  \n2 V. Gabeff et al.  \n1 Introduction  \nWildlife monitoring is crucial to design accurate ecosystem conservation strategies, to measure their impact over time [21, 39, 69, 73], and more generally to improve our fundamental understanding of how animals behave in complex, real-world environments [2, 8, 20, 42] . To achieve this, ecologists deploy networks of camera-traps –among other remote sensors and other techniques– that capture fine-grained visual information of ecological events with minimal disturbance [11, 13, 57, 66, 67] . However, processing this data remains time-consuming, far exceeding the time spent in data analysis [5, 73, 88] . While deep learning advances have been improving camera-trap data processing, for example to filter out false positive images [6, 32] or to recognize species identity for some taxonomic groups [61]; fine-grained visual attributes (e.g. animal behavior) are still typically annotated manually by experts [34, 66, 88] or through citizen-science initiatives with notable exceptions [29, 49, 56, 62] .  \nWhen recording videos, camera-traps can capture rich information on a","cbCaiuL1AOKymHd3","https://ap.wps.com/l/cbCaiuL1AOKymHd3","pdf",8489664,1,28,"English","en",105,"# Introduction\n## Wildlife monitoring and camera-trap data\n## Challenges in fine-grained ecological video processing\n## Text-to-Video retrieval with video-language models\n## Prompting-MammAlps contribution\n# Method Overview\n## Spatiotemporal action localization\n## Structured text representation\n## LLM-based parsing and retrieval with function calls\n# Benchmark and Evaluation\n## Query set and candidate videos\n## Performance comparison with zero-shot VLM","[{\"question\":\"What problem does Prompting-MammAlps address?\",\"answer\":\"It targets automatic text-to-video retrieval for large camera-trap datasets, where existing approaches struggle with spatiotemporal understanding and generalization to ecological data.\"},{\"question\":\"How does the proposed TVR method work end to end?\",\"answer\":\"A vision transformer localizes spatiotemporal actions and outputs structured text for each video; an LLM-based coding agent then parses that structured text to decide whether candidates match each query.\"},{\"question\":\"How does the method reduce risks of hallucination and improve interpretability?\",\"answer\":\"It uses the LLM to call functions from a custom parsing library, constraining how structured text is interpreted and making retrieval decisions more interpretable.\"}]",1784205996,71,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":27},"prompting-mammalps-fine-grained-text-to-video-retrieval-for-camera-trap-data","",{"@graph":35,"@context":85},[36,53,68],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,47,50],{"item":40,"name":41,"@type":42,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":46},"https://docshare.wps.com/document/","Document",2,{"item":48,"name":12,"@type":42,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":42,"position":52},"https://docshare.wps.com/document/prompting-mammalps-fine-grained-text-to-video-retrieval-for-camera-trap-data/85747/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":40,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-17","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What problem does Prompting-MammAlps address?","Question",{"text":75,"@type":76},"It targets automatic text-to-video retrieval for large camera-trap datasets, where existing approaches struggle with spatiotemporal understanding and generalization to ecological data.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How does the proposed TVR method work end to end?",{"text":80,"@type":76},"A vision transformer localizes spatiotemporal actions and outputs structured text for each video; an LLM-based coding agent then parses that structured text to decide whether candidates match each query.",{"name":82,"@type":73,"acceptedAnswer":83},"How does the method reduce risks of hallucination and improve interpretability?",{"text":84,"@type":76},"It uses the LLM to call functions from a custom parsing library, constraining how structured text is interpreted and making retrieval decisions more interpretable.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":45,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":46,"doc_module":4,"doc_module_name":45,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":45,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":45,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":45,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":45,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":45,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":45,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":45,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":45,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]