PhD Position F/M Trustable Machine Learning : Analysis and Verification of Soft Automata

1000scholars

Rennes

On-site

EUR 20,000 - 27,000

Full time

9 days ago
Application generator

Stand out for this role — generate a tailored resume and cover letter in about a minute.

Get past ATS filters

Benefits offered by this job

Health insurance
Transportation expenses

Job summary

INRIA Rennes invites applications for a PhD position within SAIF: Safe AI through Formal methods. The project explores “soft automata” learned from traces, combining system theory, statistics, optimization, and formal methods to guarantee properties of dynamic models.

The candidate will work on RNNs, LSTMs, transformers, and state-space models, investigating robustness to noise and data quality, with focus on verification techniques for neural networks.

Qualifications

  • Solid background in mathematics and a taste for formal methods.
  • Ability to perform experimental work using standard machine learning libraries.
  • Interest in learning automata from traces and neural architectures.

Responsibilities

  • Pursue theoretical research within the Safe AI through Formal methods project.
  • Prototype and experiment with original algorithms using ML libraries.
  • Design experiments, run simulations, and analyze results.

Skills

Mathematics
Formal methods
Machine learning libraries

Education

Master's in CS

Tools

Python
PyTorch

Job description

Context

Location and environment:

The PhD will take place at INRIA Rennes (Brittany, France).

The candidate will be part of the collaborative project SAIF, “Safe AI through Formal methods,” (https://project.inria.fr/saif/), that involves renowned research labs in Computet Science : Inria, CEA-List, LIX, LaBRI, LMF, ENS Paris, ENS Saclay.

Salary includes health insurance and participation to public transportation expenses.

Assignment
Topic

Learning automata from their traces has long been addressed from a purely logical perspective (e.g. Angluin’s L* algorithm), until neural architectures offered an amazing alternative : ground breaking performances, summoning models at the boundary between the continuous world and the discrete world, leveraging probabilistic approaches... but providing no guarantees on the models produced by the learning algorithms !The objective of this thesis is to shed light on the properties of these “soft automata,” based on neural networks, by crossing perspectives from system theory, statistics, optimization and formal methods in order to provide guarantees on these dynamic systems, to understand their expressivity, their robustness to noise and attacks, and their sensitivity to data quality. The thesis will examine different architectures, from plain recurrent neural networks to gating and attention mechanisms, and up to more recent architectures like state space models or Mamba. The design of new neural architectures with better properties, and the design of jailbreaking and poisoning attacks to these models are also in the scope. More details below.

The adaptation of verification techniques to neural networks (NN) has (successfully) focused on a rather narrow topic : how robust is the output of a NN to perturbations on the input. Standard approaches are borrowed to static analysis, and perform reasonings at the scale of individul neurons. Besides scalability issues, these methods are oriented to classifiers and hardly adapt to models of dynamic systems. Mostly, they put aside the huge engineering effort that led to high performance neural architectures. This is the angle adopted here : exploiting this architecture to tailor verification approaches. Numerous neural architectures have been designed to identify dynamic systems from their traces. We focus here on the learning of automata from part of their language. These models are trained as predictors of the future, from positive examples only, and not as classifiers (deciding if some imput word is in the language or not). This makes them generative models, that could be used as surrogate of automata, whence the generic name of “soft automata” as these models compute with real numbers.

Recurrent neural networks (RNN) are the most natural neural architecture that comes to mind when one wants to learn an automaton. While trained with gradient descent, these objects have been shown to converge to discrete behaviors : their state space tends to form clusters which structure and properties are still under investigation. Similar behaviors appear with variants like LSTM or GRU, that inrtroduce gating mechanisms in order to prevent the fast memory decay of plain RNN. These emerging properties suggest that understanding the structuration of the state space of these models is key to address questions like their robustness to noise, to data quality and to attacks.

Independently, the success of transformers in text modeling/generation has motivated their adaptation to the larger domain of time series analysis. It is yet unclear if foundation models could emerge in that field, but successful attempts have been reported with rather simple architectures. The simplest is probably PatchTST, which abilities to learn automata remain to be explored (taking words in the language as time series). A possible research direction could be to identify how the attention mechanism and the sketching of patches in a time series combine to identify features in a sequence, and further to structure the state space of these models. Still with the aim of assessing their generalization abilities and their robustness to noise or attacks.

More recently, other architectures have been introduced under the generic term of “state space models,” like HiPPO or S4, and further Mamba. While originally addressing two limitations of transformers, a finite window context and a quadratic computational cost in the size of this window, they take inspiration from well known linear models in systems theory, and open the way to a more interpretable state space. A possible direction of the thesis could therefore be to explore the relevance of these models as surrogate automata, and again make use of their internal structure to design analysis and verification techniques.

The 3 research directions mentioned above will not all be explored at the same level. The topic will be adapted to the candidate. The ideal candidate should have a solid background in mathematics, a taste for formal methods and abilities for experimental work using standard machine learning libraries.

Requirements

The ideal candidate should have a solid background in mathematics, a taste for formal methods and abilities for experimental work using standard machine learning libraries.

Bibliography
  • Gail Weiss, Yoav Goldberg, Eran Yahav : “On the Practical Computational Power of Finite Precision RNNs for Language Recognition,” 2018.
  • J. Michalenko, A. Shah, A. Verma, R. Baraniuk, S. Chaudhuri, A. Patel : “Representing Formal Languages : A Comparison Between Finite Automata and Recurrent Neural Networks,” ICLR 2019.
  • Zeyuan Allen-Zhu, Yuanzhi Li, “Physics of Language Models : Part 1, Learning Hierarchical Language Structures,” 2023, ICML 2024 tutorial.
  • Albert Gu, Tri Dao, “Mamba : Linear-Time Sequence Modeling with Selective State Spaces,” 2024, https://doi.org/10.48550/arXiv.2312.0075
  • Yuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, Jayant Kalagnanam : “A time series is worth 64 words : long-term forecasting with transformers,” ICLR 2023.
Main activities
  • the usual with PhD preparation
  • bibliography
  • theoretical research
  • experimental research (prototyping original algorithms, use of machine learning libraries, experimental design, analysis of simulation results)
  • research paper writing (submission to journals and conferences), participation to conferences (includes traveling abroad)
  • participation to team meetings anf project meetings, oral presentation of results
  • thesis writing and thesis defense
Additional activities
  • scientific training (a total of >100 hours is mandatory along the 3 years of the thesis)
Skills

Technical skills and level required

: a Master in CS (or equivalent) is mandatory ; strong background in mathematics and theoretical computer science ; autonomy in software production (use of standard machine learning libraries) ; taste for formal methods

Languages

: English, possibly French

Relational skills

ability to engage in informal personal or scientific exchanges and to establish connections with other students in the lab ; ability to speak to an audience (scientific presentation) ; scientific integrity ; reliability in work relations (conformance to work plan, regularity of work, commitment,...)

Other values appreciated

scientific creativity, strong curiosity

Get your free, confidential resume review.

or drag and drop your file here.

Similar jobs

Similar jobs worth comparing

PhD Position F/M Trustable Machine Learning : Analysis and Verification of Soft Automata
PhD Position F/M Trustable Machine Learning : Analysis and Verification of Soft Automata

Inria • Rennes

On-site
EUR 23,000 - 28,000
Remboursement partiel des transports
Congés annuels + RTT
Télétravail possible après 6 mois
+1
Postdoc in formal methods for control systems
Postdoc in formal methods for control systems

Enac Isae-Supaero • Toulouse

On-site
EUR 40,000 - 50,000
PhD Position F/M Pretrained models of multimodal neuroimaging for predicting individual cognition
PhD Position F/M Pretrained models of multimodal neuroimaging for predicting individual cognition

Inria • Palaiseau

On-site
EUR 18,000 - 30,000
Remboursement des frais de transport
7 semaines de congés + RTT
Télétravail possible et organisation d
+2
PhD Position F/M Cognitive Network Observability: Bridging Graph Neural Networks and Large Language Models for Generalizable and Explainable Network Tomography
PhD Position F/M Cognitive Network Observability: Bridging Graph Neural Networks and Large Language Models for Generalizable and Explainable Network Tomography

1000scholars • Rennes

Hybrid
EUR 18,000 - 25,000
Partial transport reimbursement
RTT and 7 weeks leave + teleworking (≈
Teleworking (90 days/yr)
Post-Doctoral Research Visit F/M From AI audits to AI security: an information gain hierarchy
Post-Doctoral Research Visit F/M From AI audits to AI security: an information gain hierarchy

1000scholars • Rennes

On-site
EUR 42,000 - 54,000
Research Engineer F/M — Crowd data acquisition, processing and modelling
Research Engineer F/M — Crowd data acquisition, processing and modelling

1000scholars • Rennes

On-site
EUR 42,000 - 62,000
PhD Position F/M Pretrained models of multimodal neuroimaging for predicting individual cognition
PhD Position F/M Pretrained models of multimodal neuroimaging for predicting individual cognition

1000scholars • Palaiseau

On-site
EUR 16,000 - 23,000
NLP Post-doc / Engineer for Information Mining in Historical Data (French 3rd Republic)
NLP Post-doc / Engineer for Information Mining in Historical Data (French 3rd Republic)

1000scholars • Paris

On-site
EUR 42,000 - 54,000
PhD Position F/M Scientific Claim Verification in Research Articles
PhD Position F/M Scientific Claim Verification in Research Articles

1000scholars • Nantes

On-site
EUR 24,000 - 30,000
Post-Doctoral Research Visit F/M Learning crowd dynamics from real-world data
Post-Doctoral Research Visit F/M Learning crowd dynamics from real-world data

1000scholars • Rennes

On-site
EUR 40,000 - 48,000