Ben-Gurion University of the Negev DRIVE Lab M.Sc., Data Science

Portrait of Ram Hirsch, smiling, wearing an olive green T-shirt.
Fig. 0 Ram Hirsch

Ram Hirsch

I work at the intersection of reinforcement learning, automated planning, and language models.

My focus is on building systems that can be evaluated carefully, so that what a language model proposes gets checked before anything depends on it.

Researching
Reward machines, planning, and language models in the DRIVE Lab
Teaching
Methods and Processes Engineering for AI
Studying
M.Sc., Data Science track, Mitar Excellence Program

About

I'm an M.Sc. student in Industrial Engineering and Management at Ben-Gurion University of the Negev, in the Data Science track, and I'm completing my B.Sc. in the same department with a specialization in Information Systems.

My work combines three things: research on reinforcement learning and planning in the DRIVE Lab, teaching applied AI as a teaching assistant, and the systems view that industrial engineering trains you to take, where you look at how the parts of a process interact rather than at one component in isolation.

Before graduate school, most of my experience was in leading people: a youth entrepreneurship team in the Unistream program, and command roles during my military service.

Degree
M.Sc., Industrial Engineering and Management, Data Science
Program
Mitar Excellence Program
Lab
DRIVE Lab, advised by Dr. Ayal Taitler
Teaching
Teaching Assistant, Methods and Processes Engineering for AI
University
Ben-Gurion University of the Negev

Research

Active M.Sc. research · not yet published · no results reported here

Can we check the milestones a language model proposes before a reinforcement learning agent trains on them?

Reinforcement learning agents learn from reward. When reward arrives only at the end of a long task, learning can be slow, because the agent gets little signal about which intermediate steps mattered. One response is to give the agent milestones along the way, encoded as a reward machine.

Language models can propose milestones quickly, but a proposal can be wrong in quiet ways: a milestone that isn't actually needed, an order the task doesn't respect, or a path that makes the task more expensive than it has to be. My research studies how to validate these proposals with planning tools before training, and how to turn each failed check into specific feedback the language model can use to repair its proposal.

Fig. 1 · Toy illustration

Grid world: start in the left room, a key in the left room, a locked door in the wall, and the goal in the right room. K G door start Reward machine: a chain of four states, u0 to u3, advancing on each milestone in the proposed order. key door goal u0 u1 u2 u3 machine in u0 · next milestone: key

Fig. 1 A reward machine in miniature. To reach the goal, the agent must collect the key, open the door, then cross to the right room. The machine tracks which milestone comes next. Proposal B lists the door before the key, which the task cannot satisfy: this is the kind of ordering error a check should catch before training. A toy example, not taken from the thesis.

Fig. 2 · Research workflow

01

Planning task

The starting point is a deterministic planning task: a model of how actions change the world, a start state, and a goal.

Why it's here It is the reference that every later check is measured against.

02

LLM milestone proposal

A language model proposes an ordered chain of milestones toward the goal. That chain is the candidate reward machine.

Why it's here Language models can produce plausible milestone sequences quickly. Plausible is not the same as correct, which is what the next step tests.

03

Structural and planning checks

Planning tools test the proposal. Is each milestone necessary? Is the chain consistent with the order the task requires? Can it be traversed without skipping intermediate states? Does following it avoid forcing additional plan cost?

Why it's here Each check targets a different way a milestone chain can be wrong while still looking reasonable.

04

Critique and repair

When a check fails, it returns localized feedback about what went wrong. The language model revises the proposal, and the revision goes back through the checks.

Why it's here Feedback that points to a specific problem gives the next revision something concrete to fix.

05

Reward shaping

An accepted reward machine is intended to provide potential-based reward shaping: additional reward for making progress through the milestones.

Why it's here Potential-based shaping is a standard way to add intermediate reward without changing which policies are optimal (Ng, Harada, and Russell, 1999).

06

PPO training in an RDDL simulator

PPO trains a policy in an RDDL simulator, with the shaped reward added to the task's own reward.

Why it's here This is where the validated milestones are meant to be used. This page does not report training results.

Steps 02 to 04 repeat until the proposal passes the checks.

Fig. 2 Research workflow. Select a step, or use the arrow keys, to read what happens there.
Technical layerfor readers familiar with planning and RL
Input
A deterministic planning task.
Proposal
An LLM proposes a reward machine as an ordered chain of milestones.
Validation
Planning tools check that the milestones are necessary, consistent with their required order, traversable without skipping intermediate states, and that they do not force additional plan cost.
Repair
The checks return localized feedback, which drives an iterative critique and repair loop.
Use
An accepted reward machine is intended to provide potential-based reward shaping while PPO trains in an RDDL simulator.

This description is deliberately high level. The work is in progress and has not been published, so detailed methodology and any experimental findings are not described here.

Lab

Research home

DRIVE Lab

Decision-making, Robotics & Intelligent Vehicles

I'm an M.Sc. student in the DRIVE Lab at Ben-Gurion University of the Negev. The lab studies intelligent decision-making in complex, dynamic systems, combining structured models, optimization, search, and learning, with applications in robotics, autonomous systems, and intelligent transportation.

  1. I

    Model-based planning and optimization

    Stochastic planning, reinforcement learning, and automated planning and scheduling, using mathematical programming, model-based reinforcement learning, gradient-based planning, and search.

    Closest to my thesis

  2. II

    Robotics and autonomous systems

    Connecting high-level task planning with trajectory optimization and optimal control, under timing and physical constraints.

  3. III

    Intelligent transportation

    Learning-based coordination of traffic signals across road networks, and network-level traffic management.

The lab's research page also lists open-source tools such as pyRDDLGym, a Python framework for modeling and simulating RDDL environments. Its projects and publications belong to their authors.

Background

Several of these overlap, so they are shown side by side rather than as one sequence. Ongoing roles are marked in green.

  1. 2025 to present

    Research

    M.Sc. research, DRIVE Lab

    Reinforcement learning, reward machines, planning, and language models.

  2. 2025 to present

    Teaching

    Teaching Assistant, Methods and Processes Engineering for AI

    Ben-Gurion University of the Negev

    Teach process optimization and lead practical labs on LLM integration, agent-based architectures, and prompt engineering.

  3. 2025 to present

    Education

    M.Sc., Industrial Engineering and Management, Data Science

    Ben-Gurion University of the Negev

    Mitar Excellence Program. GPA 95.

  4. 2024 to 2025

    Project

    Social Media Sentiment Analysis

    End-to-end sentiment classification pipeline on X data, comparing SVM and Random Forest with neural networks.

  5. 2022 to present

    Education

    B.Sc., Industrial Engineering and Management

    Ben-Gurion University of the Negev

    Specialization in Information Systems. GPA 88.

  6. 2018 to 2021

    Service

    Military service, Prison 6

    Detention Facility Commander and Base Sergeant Major.

  7. 2015 to 2022

    Leadership

    CEO, youth entrepreneurship team, Unistream

    Led a team of 20 participants to first place in a national competition.

Fig. 3 Roles by year, most recent first. Bars span whole calendar years; the dashed line marks today.

Education

2025 to present

M.Sc. in Industrial Engineering and Management

Data Science

Ben-Gurion University of the Negev

GPA
95
Program
Mitar Excellence Program

2022 to present

B.Sc. in Industrial Engineering and Management

Information Systems specialization

Ben-Gurion University of the Negev

GPA
88

Selected project

2024 to 2025

Social Media Sentiment Analysis

I built an end-to-end sentiment classification pipeline using data from X, and used it to compare classical models, SVM and Random Forest, with neural networks.

  1. X data
  2. Classification pipeline
  3. SVM Random Forest Neural networks
  4. Model comparison
Fig. 4 Project structure.

Skills

Programming

  • Python
  • SQL
  • C++
  • Java

ML and data tools

  • PyTorch
  • Scikit-learn
  • Pandas
  • NumPy
  • SciPy
  • Matplotlib

Areas

  • Reinforcement Learning
  • LLMs
  • Generative AI
  • RDDL

Grouped by kind, not ranked by proficiency.

Contact