Manuscript Offprint

arXiv:2610.29101

Dual-Channel Contrastive Encoding of Sperm Whale Coda

João Victor Quintanilha, Emma Virnelli, Shuo Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

João Victor Quintanilha †^{\dagger}, Emma Virnelli †^{\dagger}, Shuo Zhang

Tufts University, Medford, MA, USA

Joao.Quintanilha@tufts.edu, Emma.Virnelli@tufts.edu, Shuo.Zhang@tufts.edu

Abstract—Sperm whales (Physeter macrocephalus) communicate through short click sequences called codas, whose structure includes the rhythmic pattern of inter-click intervals (ICI) and the spectral composition of the clicks. In this paper, we propose the Dual-Channel Contrastive Encoder (DCCE), which explicitly encodes rhythm and spectral information with separate encoders before fusing them. We evaluate DCCE on three coda-understanding tasks: social unit, coda type, and individual identification. We compare DCCE against strong baselines from literature under a common linear-probe protocol and analyze the role of each channel and training objective through ablations. On 1,383 codas, shared partitions and validation-only layer selection support three random splits and three recording-date-disjoint folds. DCCE with unit pairing and type supervision achieves mean random-split macro-F1 of 0.901/0.865/0.597 for unit/type/identity. Raw ICI remains strongest for type (0.987), and ICI plus temporal mel statistics is a strong identity reference (0.724). An auxiliary identity objective improves spectral-branch identity prediction but does not improve the mean fused-identity score in this configuration. Date-grouped evaluation and four year holdouts expose generalization limits. The results support task-dependent combinations of timing and spectral information, without establishing independent biological channels or general architectural superiority. Code, notebooks, and complete results are available at https://dcce-research-site.vercel.app.

Index Terms—Sperm whale codas, contrastive learning, bioacoustics, representation learning, individual identification

1. INTRODUCTION

Sperm whales (Physeter macrocephalus) live in stable, matrilineal family units that belong to vocal clans, each clan sharing a distinct vocal dialect [1], [2]. That dialect is built from codas: short, stereotyped sequences of clicks that whales exchange during social contact. Deciphering what codas encode is a central goal of computational bioacoustics and of the Cetacean Translation Initiative [1], [3]. The rhythm channel, the pattern of inter-click intervals (ICIs), contributes to coda type: a category defined by click count and timing [2], [4]. The spectral channel, the frequency content within each click, includes vowel- and diphthong-like patterns [5], [6]. The analogy to human voice motivates asking which features distinguish callers, without assuming that the two channels are independent.

The individual signal in a coda depends both on the coda type produced and on the set of whales one compares against. Gero et al. [2] make these two dependencies concrete: discriminant analysis of 5R1 timing classified individuals within units J, U, and F at 73%, 78%, and 83% accuracy, respectively, but at 46% when individuals across units were pooled. The 1+1+3 type did not reliably discriminate individuals within units. Recovering who produced a coda therefore depends on which coda was produced and on how large and diverse the candidate pool is.

In this paper we propose the Dual-Channel Contrastive Encoder (DCCE), which learns a representation of sperm whale codas by encoding rhythm and spectral information with separate encoders followed by a fusion layer. Our guiding question is: does encoding rhythm and spectral texture as separate input channels, rather than learning implicitly from one input representation, improve what a model can learn from sperm whale codas? The study contributes a dual-input architecture, matched supervision and channel ablations, and an evaluation of recording-context generalization.

References (17)