barnowl-turnbench / README.md
bhaveshnarra's picture
BarnOwl: TurnBench write-up
e8d95c9 verified
|
Raw History Blame
8.52 kB
metadata
language:
  - en
tags:
  - turn-taking
  - end-of-turn-detection
  - interruption-detection
  - voice-activity-detection
  - full-duplex
  - turnbench
pipeline_tag: voice-activity-detection

BarnOwl: turn-taking for voice agents (Joveo)

BarnOwl is Joveo's turn-taking system for spoken voice agents. This card describes the system behind our TurnBench entry and how its operating points were chosen. Weights are not released.

The entry has two parts, one per TurnBench task:

Task What decides Model
End of turn (EOT) A causal decision policy on voice-activity frames Silero VAD v5 behind our causal automatic gain control; no learned turn model
Interruption (INT) A read-out of the BarnOwl core, committed by TurnBench's standard commit rule BarnOwl core, a 12 M-parameter two-channel streaming model

End of turn

  • Front end. Silero VAD v5 (512-sample windows at 16 kHz) runs on each speaker's channel after a causal automatic gain control.
    • The gain is set every 160 ms from the 95th percentile of the 32 ms frame RMS over the previous 10 s, aiming at −20 dBFS. It is clipped to [−12, +24] dB.
    • Speech is Silero probability ≥ 0.35.
  • Decision policy. We re-implemented the rules-only policy described in p99lab's turn-1-mini README (Apache-2.0) and re-tuned its constants on TurnBench dev for our front end. The policy uses both channels.
    • A pause candidate opens when the speaker's vocalisation ends. Gaps under 0.2 s are bridged. Own speech lasting c = 0.3 s cancels the candidate.
    • The first event in a pause fires at the earliest frame at least w = 0.5 s after the stop where any of these holds:
      • the other speaker has been vocalising for at least m = 0.2 s;
      • the silence has lasted T = 2.0 s;
      • the other speaker began at least h = 1.0 s before the stop and is still talking.
    • The 2.5 s confirmation. If the candidate is still open 2.5 s into the pause, the policy fires a second, final event. turn-1-mini does the same.
    • End of stream. A candidate still open at the end of the recording gets one event at the final frame.
  • Both conventions are disclosed below, with the dev number without each.

Interruption

  • The BarnOwl core. A two-channel streaming model with 12.0 M parameters, of which 7.7 M are the encoder.
    • Each channel is encoded by a causal Whisper-tiny encoder, initialised from OpenAI's weights.
    • A 4-layer, 256-wide transformer with cross-channel attention then attends causally over a 128-frame window.
    • It runs in 160 ms steps on a 20 ms frame clock.
    • Its heads, per frame: voice activity for each speaker, who holds the floor, end of turn, voice-activity projection (future speech of both speakers), and onset type.
  • Signal (E2). The square root of two terms multiplied together:
    • the run length of the speaker's own speech that started while the other speaker was talking. It uses the model's own voice activity; own dips of up to 60 ms are bridged, and the other speaker must have spoken within the previous 0.5 s or start during the run. The run length is capped at 1 s.
    • the model's probability that this speaker holds the floor.
  • Commit rule. TurnBench's commit_events: one event per rising edge above θ = 0.62, with a 1.0 s refractory instead of the default 2.0 s. Each event still needs a new rising edge of the signal.

Training data (the interruption core)

The core was pretrained and fine-tuned on public conversational and read speech and on our own synthetic dialogues. It uses no Joveo customer data and no TurnBench audio:

  • TurnBench dev is excluded from every training manifest by our leak guard;
  • the test audio is in no training manifest. We downloaded it for this submission, after the training data were built.
Dataset Licence
Smart Turn v3.2 train CC-BY-4.0
otoSpeech full-duplex 280h CC-BY-4.0
otoSpeech full-duplex task-oriented v2 CC-BY-4.0
Snorbyte Indic audio dialog (sample) CC-BY-4.0
AMI meeting corpus (headset mix) CC-BY-4.0
AliMeeting (near-field) CC-BY-SA-4.0
YODAS2 CC-BY-3.0
Emilia-YODAS CC-BY-4.0
FLEURS CC-BY-4.0
Multilingual LibriSpeech CC-BY-4.0
MediaSpeech CC-BY-4.0
Two-speaker dialogues we scripted with an LLM and synthesised with commercial text-to-speech, 14 languages our own synthetic data

We did not use otoSpeech-full-duplex-turn-104h, the TurnBench training set.

Leak check against TurnBench. otoSpeech and TurnBench share a collaborator, so we checked our otoSpeech training audio against every TurnBench dev and test conversation.

  • Durations: the number of conversations with an otoSpeech session of the same duration, within 0.01 s, is at chance level.
  • Audio fingerprints: we compared 30 s log-energy envelopes of three windows per TurnBench channel against all otoSpeech audio, at every offset, rebuilt into 2,344 whole-session channels (613 h).
    • The best single-window match is 0.94. An exact copy scores 1.0. A copy degraded by a ±10 dB gain change and a −60 dB noise floor scored 0.87–0.96 in our control, so one window alone cannot rule out a degraded copy.
    • Alignment: a copied channel would line up all three of its windows with one otoSpeech session at consistent offsets. No TurnBench channel, dev or test, has even two windows aligned (correlation > 0.8). In the control, the degraded copies were found at the right offset in 97 of 100 windows.
    • Not covered: other transforms, such as re-encoding, time-stretching or a different mix.

Results on TurnBench dev

All numbers are on TurnBench dev (38 conversations), scored with the official scorer. The operating points were chosen on dev, so these are optimistic estimates of test performance. Cross-fit numbers choose the operating point on held-out folds; in-sample numbers use the frozen point that we submit.

Task Cross-fit recall / FPR / p50 latency Submitted point, in-sample on dev
EOT 0.973 / 0.097 / 553 ms (95 % CI of recall [0.964, 0.981]) 0.9732 / 0.0960 / 570 ms
INT 0.983 / 0.072 / 643 ms 0.9885 / 0.0721 / 663 ms

Disclosed EOT conventions (cross-fit recall on dev, at the same FPR budget):

EOT system Recall
as submitted (with both conventions) 0.973
without the 2.5 s confirmation 0.914
without the end-of-stream event 0.959
without either 0.901

How the operating points were chosen.

  • Each task's point is the highest-recall point on all of dev with dev FPR ≤ 0.10.
  • In 200 random 19/19 splits of dev, the held-out FPR's 95th percentile at this budget was 0.126 for EOT and 0.087 for INT, below the 0.15 ceiling.

Causality

  • Every timestamp is the end of the 20 ms frame whose decision it reports, plus a 20 ms margin.
  • We checked that the Silero front end, the gain control and the BarnOwl core depend only on audio up to each frame's end. Re-running each on audio cut at a random point left all earlier frames bit-identical.
  • The margin covers our offline resampling of the 48 kHz TurnBench audio to 16 kHz.
  • Compute time is not added; none of the components reads future audio.

Attribution

  • The EOT decision policy re-implements the rules published by p99lab in turn-1-mini (Apache-2.0), with constants re-tuned for our front end.
  • Silero VAD (MIT).
  • The core's encoder is initialised from OpenAI Whisper-tiny (MIT).
  • TurnBench: SesameAILabs/turnbench and the mundo-ai TurnBench datasets (Dataset Public License v1.0, non-commercial). They were used only for evaluation, never for training.

Contact

Joveo