NeurIPS 2025spotlight0 citations

Incremental Sequence Classification with Temporal Consistency

Lucas Maystre, Gabriel Barello, Tudor Berariu, Aleix Cambray, Rares Dolga, Alvaro Ortega Gonzalez, Andrei Cristian Nica, David Barber

Abstract

We address the problem of incremental sequence classification, where predictions are updated as new elements in the sequence are revealed. Drawing on temporal-difference learning from reinforcement learning, we identify a temporal-consistency condition that successive predictions should satisfy. We leverage this condition to develop a novel loss function for training incremental sequence classifiers. Through a concrete example, we demonstrate that optimizing this loss can offer substantial gains in data efficiency. We apply our method to text classification tasks and show that it improves predictive accuracy over competing approaches on several benchmark datasets. We further evaluate our approach on the task of verifying large language model generations for correctness in grade-school math problems. Our results show that models trained with our method are better able to distinguish promising generations from unpromising ones after observing only a few tokens.

sequence classificationtemporal-difference learning
BibTeX
@inproceedings{
maystre2025incremental,
title={Incremental Sequence Classification with Temporal Consistency},
author={Lucas Maystre and Gabriel Barello and Tudor Berariu and Aleix Cambray and Rares Dolga and Alvaro Ortega Gonzalez and Andrei Cristian Nica and David Barber},
booktitle={The Thirty-ninth Annual Conference on Neural Information Processing Systems},
year={2025},
url={https://openreview.net/forum?id=bTssV4Cnjn}
}