Implementing Recurrent Neural Networks in Process Systems Engineering applications, the right way!

IF 3.9 2区 工程技术 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
Aswin Chandrasekar, Tyler Wortley, Euan Bohm, Prashant Mhaskar
{"title":"Implementing Recurrent Neural Networks in Process Systems Engineering applications, the right way!","authors":"Aswin Chandrasekar,&nbsp;Tyler Wortley,&nbsp;Euan Bohm,&nbsp;Prashant Mhaskar","doi":"10.1016/j.compchemeng.2025.109027","DOIUrl":null,"url":null,"abstract":"<div><div>This manuscript identifies, addresses and illustrates via comparisons an inconsistency and inaccuracy with the implementation of Recurrent Neural Networks (RNNs) on naturally occurring dynamical processes, particularly focusing on implementations that claim to identify input–output dynamic relationships through a state–space representation. While the RNN structure does lend itself to these types of problems, there are two major issues with how RNNs are typically structured and trained in this context. Firstly, the hidden states of the model are commonly reinitialized or discarded between each of the input–output sequences in the training data set, essentially leading to a framework where the initial state for each sequence is not trained. In contrast, in a typical state–space model identification framework, the model parameters along with the states are (and need to be) identified together. Secondly, the model structure of the RNN is different from a classic state space (SS) representation. While in state space representations the current state is defined to be a function of the state and input from the previous time step, RNNs use input from the same time step. In this paper, two changes are proposed to address these inconsistencies. The first step is to train the initial hidden states for the training sequences. To address the structural inconsistency between a state space model and the RNN, the list of hidden states retrieved from the RNN is formatted to represent the data and state pairings that a state space model would create. The effect of these corrections is demonstrated in the simplest of dynamical systems — data generated using a Linear Time-Invariant (LTI) state space model. The importance of both these corrections is demonstrated by implementing them one at a time. Interestingly, the model that performed the worst in testing was the model with only the trained hidden states. The model with no changes was slightly better, and the model with the correct input timing but no trained hidden states increased performance by a significant amount. Finally, the best results were found when both changes were implemented.</div></div>","PeriodicalId":286,"journal":{"name":"Computers & Chemical Engineering","volume":"195 ","pages":"Article 109027"},"PeriodicalIF":3.9000,"publicationDate":"2025-02-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Chemical Engineering","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0098135425000316","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

This manuscript identifies, addresses and illustrates via comparisons an inconsistency and inaccuracy with the implementation of Recurrent Neural Networks (RNNs) on naturally occurring dynamical processes, particularly focusing on implementations that claim to identify input–output dynamic relationships through a state–space representation. While the RNN structure does lend itself to these types of problems, there are two major issues with how RNNs are typically structured and trained in this context. Firstly, the hidden states of the model are commonly reinitialized or discarded between each of the input–output sequences in the training data set, essentially leading to a framework where the initial state for each sequence is not trained. In contrast, in a typical state–space model identification framework, the model parameters along with the states are (and need to be) identified together. Secondly, the model structure of the RNN is different from a classic state space (SS) representation. While in state space representations the current state is defined to be a function of the state and input from the previous time step, RNNs use input from the same time step. In this paper, two changes are proposed to address these inconsistencies. The first step is to train the initial hidden states for the training sequences. To address the structural inconsistency between a state space model and the RNN, the list of hidden states retrieved from the RNN is formatted to represent the data and state pairings that a state space model would create. The effect of these corrections is demonstrated in the simplest of dynamical systems — data generated using a Linear Time-Invariant (LTI) state space model. The importance of both these corrections is demonstrated by implementing them one at a time. Interestingly, the model that performed the worst in testing was the model with only the trained hidden states. The model with no changes was slightly better, and the model with the correct input timing but no trained hidden states increased performance by a significant amount. Finally, the best results were found when both changes were implemented.
求助全文
约1分钟内获得全文 求助全文
来源期刊
Computers & Chemical Engineering
Computers & Chemical Engineering 工程技术-工程:化工
CiteScore
8.70
自引率
14.00%
发文量
374
审稿时长
70 days
期刊介绍: Computers & Chemical Engineering is primarily a journal of record for new developments in the application of computing and systems technology to chemical engineering problems.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信