¡Hola! I'm

Jaime Jarauta Gastelu

A machine learning engineer in Madrid, trained as an industrial engineer. I build models, software and simulators for things that move: steel across Europe, cobots in warehouses, learning controllers for robots, attacks on language models and, once, a satellite.

Right now: AI agents, robotics and LLM research at ARRK Engineering.

8
companies and labs
2
hackathon prizes
1
satellite in orbit
3
countries worked in

Experience

10
Machine Learning EngineerARRK Engineering, Madrid Now
  • Built, as part of the team, an internal AI-agent tool for BMW that filters and retrieves the information relevant to software and hardware car development.
  • Architected a ROS/Gazebo ecosystem with several perception mechanisms for object detection, monitored through Grafana dashboards.
  • Researching Joint-Embedding Predictive Architectures (JEPA) to analyse what the embeddings of autonomous-driving scenes actually encode.

LangChain · Kubernetes · n8n · ROS · Gazebo · Grafana · JEPA

Machine Learning InternARRK Engineering, Munich 2026
  • Researched the optimisation of system prompts as soft embeddings in decoder-only LLMs.
  • Goal: better cross-dataset performance, tested across several model architectures.
  • Wrote a paper on the work.
  • Earlier: tooling for automated testing and data processing inside an autonomous-driving stack.

PyTorch · Hugging Face · LLMs

Master's thesisComillas Pontifical University 2025 – 26
  • Investigated LLM safety through GCG-based adversarial jailbreak attacks on Llama‑2‑7B‑Chat.
  • Extended the attack loss with semantic-similarity objectives.
  • Organised the attacks as a multi-goal, progressive curriculum.

PyTorch · Llama 2 · adversarial ML

Engineering InternAccenture 2025
  • Developed a digital twin with Model-Based Systems Engineering (MBSE) to optimise product design and lifecycle management.
  • Connected CAD, simulation and lifecycle data in a single model.
  • Delivered digital-transformation solutions for industrial clients with the consulting team.

MBSE · digital twin

Software Engineering InternAcerinox 2024 – 25
  • Built Pathfinder, a Python optimisation tool for Acerinox's product delivery strategy.
  • Plans ship, truck and container routes under capacity, time-window and cost constraints.
  • Improved cost efficiency, delivery times and logistics across both transport channels.
  • Won first prize at the 9th Smart Industry Hackathon with the team; the tool was deployed internally.

Python · MILP · logistics

Research InternGrupo Antolín 2024
  • Developed an LLM-based RAG solution for document search and classification.
  • Integrated it with Microsoft Teams.

LLMs · RAG · Microsoft Teams

Undergraduate ResearcherUniversity of Illinois Urbana-Champaign 2023 – 24
  • Developed a Mountain Car dynamics simulator in ROS/Gazebo to assess machine-learning policies.
  • Benchmarked four families of learning controllers on it.
  • Measured how far the textbook model drifts from real wheeled-robot dynamics.
  • Formed the basis of the bachelor's thesis.

ROS · Gazebo · Python · reinforcement learning

Engineering InternEnagás 2023
  • Built a digital twin of a natural-gas transport grid on Microsoft Power Platform.
  • Designed as a redundancy layer for the SCADA system, in case the main system fails.
  • Also serves as a reference for reconciling flow anomalies.

Power Platform · SCADA

Software Engineering InternID Logistics 2022 – 23
  • Developed a Python warehouse-operations simulator to optimise Locus cobot performance and e-commerce picking.
  • Modelled pick paths, demand waves and operator-to-cobot ratios.
  • Used with the operations team to size cobot fleets at two client sites.

Python · simulation

Research InternEndesa 2022
  • Supported the engineering team on a voltage-detection system for outdoor disconnectors on medium- and high-voltage distribution lines.

Electrical · high voltage

Projects

6

Master's research thesis

1The question

AI chatbots are trained to say no to dangerous requests. Can adding a few nonsense words to the end of a question trick one into saying yes?

3What it found

How Llama 2 answered, across all 3,909 attacks of the best run

69.3%21.7%9%

JailbrokenPartially jailbrokenRefused

Same model, same request: the suffix only adds a few words, yet it tips the decision from refusing to answering. With it, replies began with “Sure, here is” on all 25 requests it had never seen. Read for meaning, 75 % were real answers.

What the suffix does inside the model

input inside decision

Jailbreaking Llama 2,
and measuring it honestly
Master's thesis, 2025 to 2026

Goal: find out how easily a safety-trained chatbot can be pushed into answers it should refuse, and how to measure that honestly. I reproduced the GCG attack, which searches for a gibberish suffix that makes Llama‑2‑7B‑Chat comply, then trained one suffix on many requests at once (a multi-goal, progressive curriculum) and added a semantic-similarity loss. After 16 hours on two 48 GB GPUs, the best suffix “worked” on all 25 requests it had never seen, if you only check the first words of the reply. Reading what the replies actually say gives 75 %: the usual metric overstates the threat.

PyTorch · Hugging Face · Llama 2 · adversarial ML · LLM safety

Map of Europe with colour-coded truck and ship routes between steel delivery points, next to a panel of simulation results.

Pathfinder: steel logistics optimiser across Europe Acerinox, 2024 to 2025

A Python planning tool for steel distribution across Europe. Optimises ship, truck and container routing under capacity, time-window and cost constraints. First prize at the 9th Smart Industry Hackathon; deployed internally at Acerinox.

Python · MILP · logistics

force
Step
0
Position
-0.50
Velocity
+0.000

Reinforcement learning for a hill-climbing robot UIUC, 2023 to 2024

The engine is too weak to drive straight up, so the car has to swing back and forth to build momentum. My bachelor's thesis put this textbook problem into ROS and Gazebo to benchmark four families of learning controllers, and measured how far the textbook model drifts from real wheeled-robot dynamics. Try it: full throttle never makes it.

ROS · Gazebo · Python · reinforcement learning

0 items picked·Fleet cost €0/h·– per item

Digital twin that sized two cobot warehouses ID Logistics, 2022 to 2023

A Python simulator of a distribution centre running Locus cobots alongside human pickers. Models pick paths, demand waves and operator-to-cobot ratios. Used to size cobot fleets at two client sites. Above, a simplified re-creation: change the fleet and watch throughput move.

Python · simulation · digital twin

A row of gold-coloured ThinSat units, each labelled with a school name, wired up on a lab bench. An Antares rocket lifting off above a cloud of exhaust at Wallops Island.

ThinSat 1: student satellite on a NASA launch NG‑11 mission, 2019

Payload design, integration and pre-flight checks for a student satellite measuring solar cosmic rays in extremely low Earth orbit. It flew on Northrop Grumman's NG‑11 from Wallops Island in April 2019 and sent back seven days of telemetry. With NASA and XinaBox.

Hardware · NASA · XinaBox

Sign-in screen of the Enagás app, with fields for transport centre and password.

Digital twin backing up Spain's gas grid SCADA Enagás, 2023

Spain's natural-gas transport network modelled on Microsoft Power Platform, as a second screen for operators if SCADA goes down, and a reference for reconciling flow anomalies.

Power Platform · SCADA · utilities

About

I trained as an industrial engineer at ICAI Comillas in Madrid, spent a research year at the University of Illinois Urbana-Champaign, and finished a dual master's in Industrial Engineering and Smart Industry.

Most of what I've built is the unglamorous middle: the simulator a team trusts before buying a fleet of robots, the optimiser that decides which ship carries which coil, the fallback screen nobody looks at until the main one goes dark. I like that middle. It's where CAD files, SCADA and neural networks have to agree with each other.

The interesting problems are always at the boundary of the unknown.
Building
An AI-agent tool for car development teams
Listening
House of the Rising Sun, The Animals
Based
Madrid
Languages
Spanish (native), English (C2, TOEFL 114), French (B1)
Off the clock
Violin and harpsichord (professional diploma)
Where I've lived and worked
Madrid Washington DC Urbana Ireland Munich
  1. Madrid home · ICAI Comillas, internships, and ARRK now
  2. Washington DC high school, 2017 to 2019 · the satellite
  3. Urbana-Champaign, IL exchange and research, 2023 to 2024
  4. Ireland
  5. Munich ARRK Engineering, 2026

Skills

Machine learning & LLMs
Deep learning, LLMs, RAG, AI agents, JEPA · PyTorch, TensorFlow, Hugging Face, LangChain
Robotics
ROS, Gazebo, perception and object detection, simulation
Programming
Python, SQL, C, MATLAB
Engineering
Optimisation (MILP), digital twins, MBSE, CAD in Solid Edge
Cloud & tools
Docker, Kubernetes, AWS, n8n, Grafana, Git, Linux

Certifications

Cambridge C2 Proficiency
English, highest Cambridge level
TOEFL iBT
114 / 120 · ETS, 2022
Drone pilot licence
EASA open category · 2022
American High School Diploma
Academica Dual Diploma · 2016 to 2020

Honours

  1. 2025
    X Smart Industry Hackathon Second prize, team lead. Kearney and CAF. Read about the X Smart Industry Hackathon
  2. 2024
    IX Smart Industry Hackathon First prize. Acerinox. Read about the IX Smart Industry Hackathon
  3. 2024
    Student Cloister, ICAI Elected academic representative.
  4. 2023
    Illinois Space Society Spaceshot rocket programme.
  5. 2019
    ThinSat 1 Student payload to extremely low Earth orbit. NASA NG‑11.

Have something that needs to move? Write to me.

[email protected]

Madrid, open to working abroad.

Are you sure?

This may cause uncontrollable beer rain, flashing colours and sound.