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

IF 3.9 2区 工程技术 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Computers & Chemical Engineering Pub Date : 2025-04-01 Epub Date: 2025-02-03 DOI:10.1016/j.compchemeng.2025.109027
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-04-01","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":"2025/2/3 0:00:00","PubModel":"Epub","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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
在过程系统工程应用中实现递归神经网络的正确方法!
本文通过比较递归神经网络(rnn)在自然发生的动态过程中的不一致和不准确性,特别关注那些声称通过状态空间表示识别输入-输出动态关系的实现,来识别、解决和说明。虽然RNN的结构确实可以解决这些类型的问题,但在这种情况下,RNN的结构和训练方式有两个主要问题。首先,模型的隐藏状态通常在训练数据集中的每个输入输出序列之间被重新初始化或丢弃,本质上导致一个框架,其中每个序列的初始状态都没有被训练。相反,在典型的状态空间模型识别框架中,模型参数与状态一起被(并且需要)识别。其次,RNN的模型结构不同于经典的状态空间(SS)表示。在状态空间表示中,当前状态被定义为状态和前一个时间步长的输入的函数,而rnn使用来自同一时间步长的输入。在本文中,提出了两个变化来解决这些不一致。第一步是为训练序列训练初始隐藏状态。为了解决状态空间模型和RNN之间的结构不一致,从RNN检索的隐藏状态列表被格式化为表示状态空间模型将创建的数据和状态对。这些修正的效果在最简单的动力系统-使用线性时不变(LTI)状态空间模型生成的数据中得到了证明。这两种纠正的重要性通过一次执行一个来证明。有趣的是,在测试中表现最差的模型是只有训练过的隐藏状态的模型。没有变化的模型稍微好一点,而具有正确输入时间但没有训练隐藏状态的模型的性能显著提高。最后,当实现这两个更改时,可以获得最佳结果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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.
期刊最新文献
Kolmogorov-Arnold network driven soft sensors for chemical processes with distributed output Reproducibility of GPU-based Large Eddy Simulations for mixing in stirred tank reactors PlantGraphExpert: A knowledge graph-driven tool for chemical plant operator assistance Strategic design of decentralized multi-hub hydrogen supply chains with LNG value chain integration for global trade Adaptive physics-informed neural network-based digital twins integrated with Ensemble Kalman Filter
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1