Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

TAPIR: Learning Adaptive Revision for Incremental Natural Language Understanding with a Two-Pass Model

About

Language is by its very nature incremental in how it is produced and processed. This property can be exploited by NLP systems to produce fast responses, which has been shown to be beneficial for real-time interactive applications. Recent neural network-based approaches for incremental processing mainly use RNNs or Transformers. RNNs are fast but monotonic (cannot correct earlier output, which can be necessary in incremental processing). Transformers, on the other hand, consume whole sequences, and hence are by nature non-incremental. A restart-incremental interface that repeatedly passes longer input prefixes can be used to obtain partial outputs, while providing the ability to revise. However, this method becomes costly as the sentence grows longer. In this work, we propose the Two-pass model for AdaPtIve Revision (TAPIR) and introduce a method to obtain an incremental supervision signal for learning an adaptive revision policy. Experimental results on sequence labelling show that our model has better incremental performance and faster inference speed compared to restart-incremental Transformers, while showing little degradation on full sequences.

Patrick Kahardipraja, Brielen Madureira, David Schlangen• 2023

Related benchmarks

TaskDatasetResultRank
Named Entity RecognitionNER (test)
F1 Score78.04
68
Part-of-Speech TaggingPOS (test)
Accuracy91.49
33
ChunkingChunk (test)
F1 Score87.52
28
Slot FillingSnips (test)
F1 Score0.9047
25
ChunkingCoNLL
CT0.013
7
Named Entity RecognitionCoNLL
CT0.011
7
Part-of-Speech TaggingCoNLL
CT (Coverage Threshold)2.3
7
Part-of-Speech TaggingUD EWT
Error Rate (CT)0.023
7
Slot FillingARW
CT0.004
7
Part-of-Speech TaggingEWT (test)
Accuracy0.92
7
Showing 10 of 18 rows

Other info

Code

Follow for update