Skip to content

What are we teaching the machine? : toward responsible AI and rigorous data science for farm animal welfare

Sep 2026 · cIRcle (University of British Columbia)
Animal Behavior and Welfare Studies

Abstract

Technology is increasingly integrated into dairy cattle management to monitor health and productivity. The rise of artificial intelligence (AI) has led to a plethora of claims that AI could improve animal welfare, yet much of this discussion lacks critical reflection. The overall aim of my thesis was to critically evaluate how data are collected, analysed and interpreted to understand animal welfare and how are farm animals portrayed in general-purpose AI. I addressed four overarching questions: 1) Are we interpreting existing data streams in biologically meaningful ways? 2) Are the methods used to analyse these data reproducible and reliable? 3) Do we truly understand what “ground truth” means when training machines to detect health problems? 4) As generative AI becomes mainstream, how is it shaping public perception of livestock farming? In Chapter 2, I challenged the common practice of using agonistic interactions recorded right after fresh feed delivery to calculate dominance hierarchies in indoor-housed dairy cows, showing that these interactions likely reflect motivation to access fresh feed rather than dominance per se. In Chapter 3, I developed moo4feed, an open-source R package for reliably extracting biologically meaningful behavioural variables, including agonistic interactions, non-nutritive visits, and feeding strategies, from electronic feeder and drinker data, revealing feeding strategies among different individuals. In Chapters 4 and 5, I challenged the reliability of traditional lameness scoring and proposed a new approach: asking untrained observers to judge which cow is ‘more lame’ while watching two cows walk side by side. Even untrained observers could do this reliably, and these pairwise comparisons were used to rank cows from healthy (not lame) to most lame. In Chapter 6, I found that, despite being aware of the realities of modern livestock farming, generative AI uses an internal mechanism called ‘prompt revision’ to silence that reality, reflecting the pastoral ideal that dairy cows graze on pasture and pigs root happily in mud. Together, these findings demonstrate the importance of critically examining how animal data are collected, analysed, and interpreted, and reveal how generative AI encodes implicit assumptions about how animals are raised and understood.

View source

Similar papers

#artificial intelligence Open access May 2023

Evaluating the Performance of Large Language Models on GAOKAO Benchmark

GAOKAO-Bench is introduced, an intuitive benchmark that employs questions from the Chinese GAOKAO examination as test samples, including both subjective and objective questions that contribute a robust evaluation benchmark for future large language models and offers valuable insights into the advantages and limitations of such models.

Xiaotian Zhang, Chun-yan Li, Yi Zong et al. · 216 citations · ⚡17

PRISM: Self-Pruning Intrinsic Selection Method for Training-Free Multimodal Data Selection

Empirically, PRISM reduces the end-to-end time for data selection and model tuning to just 30% of conventional pipelines, and achieves this efficiency while simultaneously enhancing performance, surpassing models fine-tuned on the full dataset across eight multimodal and three language understanding benchmarks.

Jinhe Bi, Yifan Wang, Danqi Yan et al. · 73 citations · ⚡4
#artificial intelligence Conference Open access Apr 2020

ECCOLA - a Method for Implementing Ethically Aligned AI Systems

The method, ECCOLA, is presented, which aims at making the high-level AI ethics principles more practical, making it possible for developers to more easily implement them in practice.

Ville Vakkuri, Kai-Kristian Kemell, P. Abrahamsson · 64 citations · ⚡6
#computer vision Review Apr 2024

AI-powered Code Review with LLMs: Early Results

In this paper, we present a novel approach to improving software quality and efficiency through a Large Language Model (LLM)-based model designed to review code and identify potential issues. Our proposed LLM-based AI agent model is trained on large code repositories. This training includes code reviews, bug reports, and documentation of best practices. It aims to detect code smells, identify potential bugs, provide suggestions for improvement, and optimize the code. Unlike traditional static code analysis tools, our LLM-based AI agent has the ability to predict future potential risks in the code. This supports a dual goal of improving code quality and enhancing developer education by encouraging a deeper understanding of best practices and efficient coding techniques. Furthermore, we explore the model's effectiveness in suggesting improvements that significantly reduce post-release bugs and enhance code review processes, as evidenced by an analysis of developer sentiment toward LLM feedback. For future work, we aim to assess the accuracy and efficiency of LLM-generated documentation updates in comparison to manual methods. This will involve an empirical study focusing on manually conducted code reviews to identify code smells and bugs, alongside an evaluation of best practice documentation, augmented by insights from developer discussions and code reviews. Our goal is to not only refine the accuracy of our LLM-based tool but also to underscore its potential in streamlining the software development lifecycle through proactive code improvement and education.

Z. Rasheed, Malik Abdul Sami, Muhammad Waseem et al. · 62 citations · ⚡3

Let the Flows Tell: Solving Graph Combinatorial Optimization Problems with GFlowNets

This paper designs Markov decision processes (MDPs) for different combinatorial problems and proposes to train conditional GFlowNets to sample from the solution space and demonstrates that GFlowNet policies can efficiently find high-quality solutions.

Dinghuai Zhang, H. Dai, Esmeralda S. Whitammer et al. · 59 citations · ⚡8

Ethically Aligned Design of Autonomous Systems: Industry viewpoint and an empirical study

An empirical study on the current state of practice in artificial intelligence ethics is conducted by means of a multiple case study of five case companies, which indicates a gap between research and practice in the area.

Ville Vakkuri, Kai-Kristian Kemell, Joni Kultanen et al. · 56 citations · ⚡6

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.