Improving Flow-Function Learning by Means of Linear Approximation
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesisAlternative title
Förbättrad inlärning av lösningsoperatorer med hjälp av linjär approximation (Swedish)
Abstract [en]
Artificial neural networks have revolutionised the modelling of dynamic systems, offering a data-driven alternative to traditional differential equations. In this thesis, we study how to improve a state-of-the-art RNN-based architecture for learning flow functions of continuous-time control systems by integrating linearised system dynamics knowledge in the hypothesis space. The core problem addressed is whether embedding such prior knowledge can reduce the volume of required training data while improving prediction accuracy and training efficiency. This problem is significant in its complexity and impact. Learning models of high-dimensional nonlinear systems requires a large amount of data and computational resources. This project attempts to bridge the gap between theoretical modelling and practical implementation by combining data-driven learning with insights from linear system theory. To tackle the problem, we analyse in detail the RNN structure proposed in the baseline work. We then implemented a new architecture with a custom RNN cell which incorporates both hidden and system states. The cell update integrates the linearised dynamics, enabling the model to combine physics-informed and learned representations. The experimental results, validated on benchmark systems such as the Van der Pol oscillator, support our hypothesis. The modified architecture achieved comparable or improved accuracy using fewer training epochs, and outperformed the baseline architecture in test loss. These outcomes confirm that embedding approximate system knowledge within the network’s architecture enhances learning efficiency and generalisation. This work contributes to a hybrid modelling framework that can be extended to more complex dynamic systems.
Abstract [sv]
Artificiella neurala nätverk har revolutionerat modelleringen av dynamiska system och erbjuder ett datadrivet alternativ till traditionella differentialekvationer. I denna avhandling studerar vi hur man kan förbättra en toppmodern RNN-baserad arkitektur för inlärning av flödesfunktioner i kontinuerliga styrsystem, genom att integrera linjäriserad systemdynamikkunskap i hypotesutrymmet. Kärnproblemet som behandlas är huruvida inbäddning av sådan förkunskap kan minska volymen av nödvändig träningsdata samtidigt som prediktionsnoggrannheten och träningseffektiviteten förbättras. Detta problem är betydande i sin komplexitet och inverkan. Inlärningsmodeller av högdimensionella icke-linjära system kräver en stor mängd data och beräkningsresurser. Detta projekt försöker överbrygga klyftan mellan teoretisk modellering och praktisk implementering genom att kombinera datadrivet lärande med insikter från linjär systemteori. För att ta itu med problemet analyserar vi i detalj den RNN-struktur som föreslogs i baslinjearbetet. Vi implementerade sedan en ny arkitektur med en anpassad RNN-cell som innehåller både dolda och systemtillstånd. Celluppdateringen integrerar den linjäriserade dynamiken, vilket gör det möjligt för modellen att kombinera fysikinformerade och inlärda representationer. De experimentella resultaten, validerade på riktmärkessystem som Van der Pol-oscillatorn, stöder vår hypotes. Den modifierade arkitekturen uppnådde jämförbar eller förbättrad noggrannhet med färre träningsepoker och överträffade baslinjearkitekturen i testförlust. Dessa resultat bekräftar att inbäddning av approximativ systemkunskap i nätverkets arkitektur förbättrar inlärningseffektiviteten och generaliseringen. Detta arbete bidrar till ett hybridmodelleringsramverk som kan utökas till mer komplexa dynamiska system.
Abstract [it]
Le reti neurali artificiali hanno rivoluzionato la modellazione dei sistemi dinamici, offrendo un’alternativa basata sui dati alle tradizionali equazioni differenziali. In questa tesi, studiamo come migliorare un’architettura all’avanguardia basata su RNN per l’apprendimento delle funzioni di flusso di sistemi di controllo a tempo continuo, integrando la conoscenza della dinamica dei sistemi linearizzata nello spazio delle ipotesi. Il problema principale affrontato è se l’integrazione di tale conoscenza pre-gressa possa ridurre il volume dei dati di addestramento richiesti, migliorando al contempo l’accuratezza delle previsioni e l’efficienza dell’addestramento. Questo problema è significativo per complessità e impatto. L’apprendimento di modelli di sistemi non lineari ad alta dimensionalità richiede una grande quantità di dati e risorse computazionali. Questo progetto cerca di colmare il divario tra la modellazione teorica e l’implementazione pratica combinando l’apprendimento basato sui dati con le intuizioni della teoria dei sistemi lineari. Per affrontare il problema, analizziamo in dettaglio la struttura RNN proposta nel lavoro di base. Abbiamo quindi implementato una nuova architettura con una cella RNN personalizzata che incorpora sia stati nascosti che stati di sistema. L’aggiornamento della cella integra la dinamica linearizzata, consentendo al modello di combinare rappresentazioni basate sulla fisica e apprese. I risultati sperimentali, validati su sistemi di riferimento come l’oscillatore Van der Pol, supportano la nostra ipotesi. L’architettura modificata ha raggiunto un’accuratezza comparabile o migliorata utilizzando un minor numero di epoche di addestramento e ha superato l’architettura di base in termini di perdita di test. Questi risultati confermano che l’integrazione di una conoscenza approssimativa del sistema all’interno dell’architettura della rete migliora l’efficienza di apprendimento e la generalizzazione. Questo lavoro contribuisce a un framework di modellazione ibrida che può essere esteso a sistemi dinamici più complessi.
Place, publisher, year, edition, pages
2025. , p. 118
Series
TRITA-EECS-EX ; 2025:625
Keywords [en]
Machine Learning, Recurrent Neural Networks, Flow Function Learning, Dynamical Systems, Discretisation Methods, Control systems.
Keywords [it]
Apprendimento automatico, Reti neurali ricorrenti, Apprendimento delle funzioni di flusso, Sistemi dinamici, Metodi di discretizzazione, Sistemi di controllo.
Keywords [sv]
Maskininlärning, Rekurrenta neurala nätverk, Inlärning av flödesfunktioner, Dynamiska system, Diskretiseringsmetoder, Reglersystem.
National Category
Electrical Engineering, Electronic Engineering, Information Engineering
Identifiers
URN: urn:nbn:se:kth:diva-368312OAI: oai:DiVA.org:kth-368312DiVA, id: diva2:1988426
Supervisors
Examiners
2025-08-182025-08-112025-08-18Bibliographically approved