Online Non-Additive Path Learning under Full and Partial Information

Corinna Cortes, Vitaly Kuznetsov, Mehryar Mohri, Holakou Rahmanian, Manfred K. Warmuth

Abstract

We study the problem of online path learning with non-additive gains, which is a central problem appearing in several applications, including ensemble structured prediction. We present new online algorithms for path learning with non-additive count-based gains for the three settings of full information, semi-bandit and full bandit with very favorable regret guarantees. A key component of our algorithms is the definition and computation of an intermediate context-dependent automaton that enables us to use existing algorithms designed for additive gains. We further apply our methods to the important application of ensemble structured prediction. Finally, beyond count-based gains, we give an efficient implementation of the EXP3 algorithm for the full bandit setting with an arbitrary (non-additive) gain.

Introduction

In traditional online path learning, a learner selects a path through a directed graph to maximize a reward, typically assumed to be the sum of individual edge weights. However, in domains like Natural Language Processing (NLP) or computational biology, rewards are often non-additive. For instance, the BLEU score in machine translation depends on $n$-gram overlaps—sequences of words that span multiple edges. Changing a single word can affect multiple overlapping $n$-grams, meaning the total gain cannot be decomposed into independent edge-level rewards.

Example of path learning in a translation graph where rewards depend on word sequences.

The challenge lies in the exponential number of paths relative to nodes, making it impossible to treat each path as a separate "expert," and the failure of standard efficient algorithms that rely on additivity for shortest path or flow updates.

Methodology

The core innovation of this work is a transformation that bridges non-additive gains with additive algorithms.

Context-Dependent Automaton ($A'$)

The authors utilize Finite-State Transducers (FSTs) and rewrite rules to expand the original graph $A$ into a new graph $A'$. In $A'$, each edge represents a specific pattern (e.g., an $n$-gram). This transformation ensures that the non-additive gain in $A$ is mathematically equivalent to an additive gain in $A'$.

An example of a finite-state automaton used to model path transitions and labels.

Algorithm Suite

By mapping the problem to $A'$, the authors adapt classic online learning algorithms:

  • CDCH (Context-dependent Component Hedge): Designed for the full-information setting.
  • CDSB (Context-dependent Semi-Bandit): Used when rewards are observed only for traversed edges.
  • CDCB (Context-dependent ComBand): Applied to the full-bandit setting, where only the final path score is visible.

For arbitrary gains without $n$-gram structure, the authors provide EXP3-AG, an efficient implementation of the EXP3 algorithm using Weighted Finite Automata (WFA) operations like intersection and weight pushing.

Key Insights and Results

A significant finding is Alphabet Independence: the size of the transformed graph $A'$ depends on the graph structure and pattern length, not the size of the vocabulary. This allows the reuse of established additive path learning research by simply redesigning the graph topology.

The proposed algorithms achieve superior theoretical performance:

  • Regret Bounds: The CDCH algorithm provides a regret bound tighter by a factor of $K$ (path length) than previous state-of-the-art methods.
  • Bandit Settings: This work introduces the first efficient algorithms for non-additive path learning in bandit scenarios.
  • Versatility: The framework supports "gappy" $n$-grams, which are essential for biological sequence analysis where patterns may not be perfectly adjacent.

Limitations and Future Work

The current framework assumes the expert automaton is acyclic. Extending these methods to cyclic graphs remains an open challenge. Additionally, the pre-processing cost of constructing $A'$ is significant; future work may explore incremental construction to optimize memory usage. Finally, the system currently requires a finite set of patterns, leaving the handling of evolving or infinite pattern sets for future research.

Summary updated

BibTeX
@inproceedings{cortes2019online,
  author = {Corinna Cortes and Vitaly Kuznetsov and Mehryar Mohri and Holakou Rahmanian and Manfred K. Warmuth},
  title = {{Online Non-Additive Path Learning under Full and Partial Information}},
  booktitle = {ALT},
  year = {2019},
  url = {https://openreview.net/forum?id=84plDVZ7JxB},
}
Figure