University of Göttingen's SiLVi Turns Animal Videos Into Relational Training Data
A new open-source annotator fills the gap between behavior labeling and bounding-box tracking, producing training data for interaction detection models.
Takeaways
- SiLVi is an open-source desktop app for annotating spatially and temporally localized interactions in video.
- Available on macOS, Windows, and Linux via the project site; web version planned.
- Imports MOT Challenge tracking files from external trackers like PriMAT, no built-in detection.
- Distinguishes subject-target interactions from subject-only actions, outputs CSV for ML training.
- Includes workflow for correcting ID switches, false positives, and missed detections via interpolation.
- Validated on 56 hours of wild lemur footage with ten interaction classes; paper here.
Researchers training models to recognize social behavior need labels that connect an action to its participants, location, and duration. Conventional behavior-logging tools record events such as grooming without locating the animals in the frame, while many computer-vision annotators track individuals without describing their relationships. Neither output captures a complete interaction such as one primate grooming another or looking toward a food box.
A team from the University of Göttingen and the German Primate Center has released SiLVi, an open-source desktop application that combines behavioral and spatial annotation. According to the accompanying paper, the tool produces dynamic scene graphs: records of entities and their relationships as they change across video frames. That structure can support training data for animal-behavior models and other systems that analyze interactions over time.
Behavior labels lose the actors
Behavior-logging tools such as BORIS can mark when an interaction occurs, but they do not tie the event to a region of the video. Models that learn spatially grounded behavior need both the event and the relevant people, animals, or objects. Other annotation tools support spatial and temporal action labels, yet many represent only individual actions. Systems based on pose keypoints can encode interactions, although reliable keypoint tracking remains difficult in cluttered or changing environments.
Representing group behavior as simultaneous individual actions creates ambiguity. A grooming event, for example, may be split into “grooming” and “being groomed” labels. When several animals interact at once, those labels may not identify which animal groomed which recipient. Distance-dependent behavior such as gaze introduces the same problem because the relationship requires a source and a target.
Electron outside, tracker required
SiLVi is written in JavaScript with Electron and runs on macOS, Windows, and Linux; the team also plans a web version. The application imports detections from an external tracker rather than detecting or identifying subjects itself. Researchers can generate those detections with a multi-animal tracking model such as PriMAT and load them in simplified or extended MOT Challenge format.
| Imported field | Purpose |
|---|---|
| Frame number | Places the detection on the video timeline |
| Object ID | Links the same individual across frames |
| Bounding-box coordinates | Locates the individual within the image |
| Confidence | Records the tracker’s detection score |
| Object class | Identifies the detected category |
Imported bounding boxes become annotation targets. SiLVi distinguishes actions performed by one subject from interactions that connect a subject to another subject or object:
- Actions attach to one individual through a keyboard shortcut.
- Interactions store both a subject and a target, preserving who acted on whom or what.
- Multiple camera views appear side by side and synchronize with the main video.
- Keyboard shortcuts are assigned alphabetically, with preference given to letters matching individual names.
Tracker corrections can be made inside the application. Annotators can repair misclassifications, identity switches, false positives, and partial detections without returning to the tracking pipeline. When a tracker misses an individual moving along a linear path, the annotator can draw a box on the final frame and let SiLVi interpolate the intermediate positions.
Wild lemurs test the workflow
The researchers evaluated SiLVi with footage of wild red-fronted lemurs in Madagascar’s Kirindy Forest. Eight cameras recorded animals learning to open food boxes by lifting the lid or pushing the box backward. Earlier work had used BORIS to annotate 80 hours of footage, while the newer collection exceeded 650 hours and created a need for computer-vision-assisted tracking.
| Interaction classes | 10 |
|---|---|
| Feeding-box videos | 176 |
| Gaze videos | 50 |
| Annotated footage | 56 hours |
The ethogram covered looking, successful and unsuccessful lifts, pushes, slides, scrounging, licking, and manipulating the food box. Keyboard shortcuts reduced the need to select boxes repeatedly. Because action labels attach to an individual’s identity rather than a particular detection, annotators could continue labeling through brief tracking gaps.
Manual labels, external vision
SiLVi depends on detections and identity tracks generated elsewhere. It provides no automated box proposals, subject identification, or model-assisted labeling, so teams must maintain a separate computer-vision pipeline before annotation begins. Its interface also offers limited customization beyond the supported workflows, although developers can modify the open source code.
The exported annotations encode subject-predicate-object relationships localized in space and time. In plain terms, each record can identify the actor, the behavior, the recipient or object, and the relevant frames. That representation also fits video scene-graph research and datasets for sports analysis, clinical observation, and surveillance research, where models must follow interactions among several entities across a sequence.