1 of 35

TV-APPARAT, Radiola Minett Typ 8410, Vänersborgs museum, Sweden, CC BY

Subtitling the Archive:�humans and machines�are better together

A look inside what

the machines do

2 of 35

Single Italian subtitle

3 of 35

Single Italian subtitle

An experience for few, inaccessible to:

  • Non-Italian-speaking people
  • Audio impaired users

What’s needed to widen the audience?

  1. Translation…
  2. …into proper subtitles

Ok, let’s translate!

4 of 35

English subtitles, word by word

5 of 35

English subtitles, word by word

The video content is now accessible to a wider, English-speaking audience

…but the experience is rather poor due to high cognitive load

Translation is not enough!

But what is a “proper subtitle”?

6 of 35

Human subtitling is an “art”

  • Governed by constraints* to reduce viewers’ cognitive load:

7 of 35

Human subtitling is an “art”

  • Governed by constraints* to reduce viewers’ cognitive load:
    • Length: max 2 lines, max 42 chars/line
    • Duration on screen: max reading speed of 21 chars/second
    • Style: syntactic constituents should not be broken

* Subtitling guidelines may (slightly) vary across:

iiiproviders / languages / target audience

The above ones are from Netflix guidelines

8 of 35

Manual subtitles

Even the original - manually generated - subtitles released by Istituto Luce not necessarily stick to common subtitling guidelines

We know that it is a great structure whose

perfect functioning is linked to a great brain.

Too many characters (91)

Broken syntactic constituent

SPEZZARE!!!

9 of 35

Manual subtitles

10 of 35

Manual subtitles

Even the original - manually generated - subtitles released by Istituto Luce do not necessarily stick to common subtitling guidelines

11 of 35

Manual subtitles

Even the original - manually generated - subtitles released by Istituto Luce do not necessarily stick to common subtitling guidelines

We know that it is a great structure whose

perfect functioning is linked to a great brain.

Too many characters (91)

Broken syntactic constituent

12 of 35

Eurosub automatic subtitles

The English subtitles automatically generated by the Eurosub processing chain (try to) be correct and satisfy captioning compliance

We know that it is a great organism.

whose perfect functioning

is linked to a large brain.

Non-compliant subtitle split in two

(max 2 lines, <42 characters each)

13 of 35

Eurosub automatic subtitles

The English subtitles automatically generated by the Eurosub processing chain (try to) be correct and satisfy captioning compliance

We know that it is a great organism.

whose perfect functioning

is linked to a large brain.

Non-compliant subtitle now split in two

(max 2 lines, <42 characters each)

14 of 35

Eurosub automatic subtitles

The English subtitles automatically generated by the Eurosub processing chain (try to) be correct and satisfy captioning compliance

We know that it is a great organism.

whose perfect functioning

is linked to a large brain.

Non-compliant subtitle now split in two

(max 2 lines, <42 characters each)

error

15 of 35

How is this achieved?

16 of 35

Automatic generation of subtitles

A 5-step process

  1. Automatic transcription (ASR)
  2. Segmentation into “blocks” (subtitles)
  3. Automatic translation (MT) of each block
  4. Segmentation of blocks into lines
  5. Timing projection

17 of 35

ASR output

For each word:

For each word: text + timing

For each word: text

18 of 35

ASR output

casing

19 of 35

ASR output

punctuation

20 of 35

ASR output

pauses

21 of 35

ASR output

Questa

Termini,

stazione

quale

cose.

ASR

è

una

moderna

conosciamo

<PAUSE>

Roma

grande

della

tante

22 of 35

Automatic translation of blocks

Segmentation into blocks

Questa

Termini,

stazione

quale

cose.

SEGMENTER

è

una

moderna

conosciamo

Roma

grande

EOB

della

tante

EOB

This

Termini,

modern

which

things.

MT

is

a

station

we know

Roma

large

of

many

23 of 35

MT output

This

Termini,

modern

which

things.

MT

is

EOL a

station

we know

Roma

large

of

many

24 of 35

Segmentation into lines

Timing projection

This

Termini,

modern

which

things.

SEGMENTER

is

EOL a

station

we know

Roma

large

of

many

1

00:00:00,040 --> 00:00:03,280

This is Roma Termini,

a large modern station

2

00:00:03,360 --> 00:00:05,000

of which we know many things.

ASR TIMING

English subtitles (SRT)

25 of 35

Everything looks easy and magic but…

26 of 35

Everything looks easy and magic but…

ASR

Segmenter

MT

27 of 35

Everything looks easy and magic but…

ASR

MT

Segmenter

Deep neural networks, i.e. mathematical models

  • with hundreds of millions of parameters
  • trained on
    • thousands of hours of transcribed audio
    • millions of parallel sentences
    • thousands of segmented sentences
  • fine tuned on in-domain data
  • using high-end GPUs

28 of 35

What about adding a new language?

in-domain ASR/MT available?

in-domain train DATA available?

generic train DATA available?

in-domain ada. DATA available?

collect DATA &

train from scratch generic ASR/MT

collect DATA & adapt generic ASR/MT

FAILURE

START

N

collect DATA &

train from scratch in-domain ASR/MT

Y

SUCCESS

generic ASR/MT available?

FAILURE

SUCCESS

Y

Y

Y

N

N

N

Y

N

29 of 35

What about adding a new language?

in-domain ASR/MT available?

in-domain train DATA available?

generic train DATA available?

in-domain ada. DATA available?

collect DATA &

train from scratch generic ASR/MT

collect DATA & adapt generic ASR/MT

FAILURE

START

N

collect DATA &

train from scratch in-domain ASR/MT

Y

SUCCESS

generic ASR/MT available?

FAILURE

SUCCESS

Y

Y

Y

N

N

N

Y

N

30 of 35

The devil is in the details

  • train” and “adapt” imply the need of:
    • computer scientists and deep learning specialists
    • costly Graphics Processing Units (GPUs)

  • collect” implies the need of:
    • computer scientists and language specialists
    • data that are not copyright-protected
    • an adequate data storage infrastructure

31 of 35

Take-home message

  • The Eurosub project has shown the power of AI to:
    • Automatize the all the steps of the subtitling process
    • so as to provide professionals with good suggestions, suitable for post-editing with reduced effort

  • Subtitling is an “art”: doing it well is still a prerogative of humans

32 of 35

Take-home message

We have come a long way

but we have a long way to go.

Thanks for watching!

33 of 35

Take-home message

We have come a long way but we have a long way to go

Thanks for watching!

34 of 35

Acknowledgments & links

Fondazione Bruno Kessler, Trento, Italy

Mauro Cettolo cettolo@fbk.eu

Matteo Negri negri@fbk.eu

https://pro.europeana.eu/project/europeana-subtitled

https://subbit.eu

35 of 35

Conclusions

Automatic subtitling pipeline of Eurosub:

  • relies on cutting-edge technology
  • generates compliant and high quality subtitles
  • nevertheless, is not free from errors

According to the application requirements:

  • imperfections are judged as acceptable
  • post-editing is deemed necessary and carried out