Back to search

McGill University

A neural network based nonlinear weighted finite automata

Abstract

dc:description.abstract

Weighted finite automata (WFA) can expressively model functions defined over strings. However, a WFA is inherently a linear model, with the transition matrices being a linear function. Neural network, on the other hand, is a powerful nonlinear function approximator. In this paper, we propose a neural network based nonlinearWFA model along with a learning algorithm. Our learning algorithm is inspired by the classic spectral learning method for WFA. It turns out that learning the WFA canbe described as a two-stage process. The first one is to find a rank factorization for the so-called Hankel matrix and the step two is a regression problem based on thisfactorization. This two-stage procedure provides us with two places to apply non-linearity, thus with three different settings for learning the nonlinear WFA. Insteadof using linear rank factorization of the matrix, we will use nonlinear auto encoderdecoder to learn the factorization and we will use neural network to replace the linear regression for the second stage. We will show that all these three settings have the form of the defined nonlinear WFA. We also provide the method to use this nonlinear method to predict the likelihood for a string as well as the next letter after reading a prefix. We assessed the performance of the proposed model on the synthetic Dyck language data, and two metrics – Pautomac score and word error rate will be tested.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
2018

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Li, Tianyu
Advisor dc:contributor.advisor
  • Precup, Doina (Internal/Supervisor)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
1030147268
Dc Identifier Other
hyrax:3n2041596

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Li, Tianyu. A neural network based nonlinear weighted finite automata. McGill University, 2018. https://doi.org/10.82308/29428