收藏切换
Temporal Action Localization of Mounting Behavior in Dairy Goats Based on Improved AdaTAD
收藏切换
Jiayuan WANG1, Qitong LI1, Yuantao LUO1, Shuqin YANG2, Zhenhua WANG1, Jifeng NING1, Meili WANG1
Smart Agriculture | 2026, 8(4) : 148 - 163
Less
收藏切换
Smart Agriculture | 2026, 8(4): 148-163
• Information Processing and Decision Making •
Temporal Action Localization of Mounting Behavior in Dairy Goats Based on Improved AdaTAD
Full
Jiayuan WANG1, Qitong LI1, Yuantao LUO1, Shuqin YANG2, Zhenhua WANG1, Jifeng NING1, Meili WANG1
Affiliations
  • 1.College of Information Engineering, Northwest A & F University, Yangling 712100, China
  • 2.College of Mechanical and Electronic Engineering, Northwest A & F University, Yangling 712100, China
  • WANG Jiayuan, E-mail:

About Author:

WANG Jiayuan, E-mail:

Published: 2026-07-30 doi: 10.12133/j.smartag.SA202601012
Outline
收藏切换

[Objective] Accurate temporal localization of mounting behavior in dairy goats is important for intelligent reproductive management, as event frequency, onset time, and duration provide useful evidence for heat monitoring and mating decisions. Unlike simple behavior recognition, temporal localization in untrimmed videos enables fine-grained, time-resolved records for practical farm use. However, real-world mounting behavior is usually brief and sporadic, with few informative frames in long video streams. Moreover, weak discrimination from similar non-target interactions, together with occlusion, viewpoint variation, and background motion, often degrades boundary-aware representation learning and leads to unstable start-end localization. To enhance localization accuracy and stability while maintaining practical efficiency for deployment, an improved AdaTAD-based end-to-end temporal action localization approach was proposed for mounting behavior in dairy goats. [Methods] The proposed approach adopted AdaTAD as the baseline end-to-end temporal action localization framework and introduced two complementary improvements, explicit key-frame guidance and multi-scale motion modelling, while retaining the original detection head and post-processing pipeline for generating temporal action instances. First, visual prompt tuning (VPT) was incorporated to provide task-conditioned guidance to backbone feature extraction in a parameter-efficient manner. Specifically, a small number of learnable prompt tokens were inserted into the Transformer backbone with backbone parameters frozen. Through multi-head attention interactions between prompt tokens and patch tokens, the prompts steered attention towards mounting-relevant temporal regions, strengthened feature responses at critical frames and in boundary neighbourhoods, and improved the separability between brief target segments and abundant background frames. Second, a multi-scale motion adapter (MSMA) was introduced to model motion patterns at different temporal scales and improve robustness to diverse scene dynamics. MSMA employed parallel multi-scale temporal depthwise separable convolution branches to capture short-, mid-, and longer-range temporal variations, enhancing representations of subtle short-duration micro-actions as well as relatively complete action processes. Residual connections and nonlinear mappings further stabilised feature injection and gradient propagation, enabling multi-scale dynamics to be integrated into backbone features with limited additional optimisation burden. Overall, VPT focused on boundary-relevant attention guidance, whereas MSMA emphasised multi-scale temporal dynamics modelling; Together, they formed a complementary design within the end-to-end localization pipeline. [Results and Discussions] Comparative experiments showed that the proposed method achieves an average mAP (mean Average Precision@[0.3:0.1:0.7]) of 81.72%, improving upon the baseline AdaTAD by 5.00 percentage points, indicating that incorporating VPT and MSMA enhanced overall localization performance. At a temporal Intersection over Union (tIoU) threshold of 0.7, the proposed method attained 68.85%, exceeding AdaTAD by 4.06 percentage points, demonstrating that the performance gain was preserved under stricter temporal boundary-consistency criteria. Further comparisons with representative approaches, including TadTR, VSGN, AFSD, ActionFormer, TriDet, DyFADet, and Re2TAL, showed average mAP improvements of 38.82, 33.83, 25.29, 4.09, 2.83, 1.20, and 6.06 percentage points, respectively, demonstrating stronger overall competitiveness. In terms of efficiency, the model ran at 65.78 f/s with 27.941 million trainable parameters, indicating that the accuracy gains were achieved while maintaining a relatively low parameter overhead and practical runtime efficiency. Overall, task-guided prompting and multi-scale temporal modelling improved key temporal feature representations with limited parameter increments, thereby benefiting localization of short, sporadic behaviors. [Conclusions] By combining VPT for boundary-relevant attention guidance with an MSMA for multi-scale temporal dynamics modelling, the proposed AdaTAD-based end-to-end temporal action localization method improves localization accuracy and maintains stable advantages under stricter boundary-consistency requirements, while preserving practical inference efficiency. The method could provide temporal information for reproductive behavior monitoring and decision support, and offer a feasible basis for building individual-level, time-resolved management systems in real farming environments.

mounting behavior  /  temporal action localization  /  AdaTAD  /  precision livestock farming  /  multi-scale motion modeling  /  end-to-end model  /  smart breeding
王佳源, 李其同, 罗元滔, 杨蜀秦, 王振华, 宁纪锋, 王美丽. 基于改进AdaTAD的奶山羊爬跨行为时序动作定位方法. 智慧农业(中英文), 2026 , 8 (4) : 148 -163 . DOI: 10.12133/j.smartag.SA202601012
Jiayuan WANG, Qitong LI, Yuantao LUO, Shuqin YANG, Zhenhua WANG, Jifeng NING, Meili WANG. Temporal Action Localization of Mounting Behavior in Dairy Goats Based on Improved AdaTAD[J]. Smart Agriculture, 2026 , 8 (4) : 148 -163 . DOI: 10.12133/j.smartag.SA202601012
  • National Key Research and Development Program of China(2022YFD1300200)
  • Shaanxi Qinchuangyuan High-level Innovation and Entrepreneurship Talent Program(QCYRCXM-2022-359)
Year 2026 volume 8 Issue 4
99
48
Cite this Article
BibTeX
Article Info
doi: 10.12133/j.smartag.SA202601012
  • Receive Date:2026-01-09
  • Online Date:2026-10-16
  • Published:2026-07-30
Article Data
Affiliations
History
  • Received:2026-01-09
Funding
National Key Research and Development Program of China(2022YFD1300200)
Shaanxi Qinchuangyuan High-level Innovation and Entrepreneurship Talent Program(QCYRCXM-2022-359)
Affiliations
    1.College of Information Engineering, Northwest A & F University, Yangling 712100, China
    2.College of Mechanical and Electronic Engineering, Northwest A & F University, Yangling 712100, China

Corresponding:

NING Jifeng, E-mail:
References
Share
https://castjournals.cast.org.cn/joweb/zhny/EN/10.12133/j.smartag.SA202601012
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT