Saved in:
Bibliographic Details
Main Authors: Galatolo, Alessio, Dai, Zhenbang, Winkle, Katie, Beloucif, Meriem
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.03460
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916857681805312
author Galatolo, Alessio
Dai, Zhenbang
Winkle, Katie
Beloucif, Meriem
author_facet Galatolo, Alessio
Dai, Zhenbang
Winkle, Katie
Beloucif, Meriem
contents Fine-tuning Large Language Models (LLMs) with first-order methods like back-propagation is computationally intensive. Zeroth-Order (ZO) optimisation uses function evaluations instead of gradients, reducing memory usage, but suffers from slow convergence in high-dimensional models. As a result, ZO research in LLMs has mostly focused on classification, overlooking more complex generative tasks. In this paper, we introduce ZOPrO, a novel ZO algorithm designed for Preference Optimisation in LLMs. We begin by analysing the interplay between policy and reward models during traditional (first-order) Preference Optimisation, uncovering patterns in their relative updates. Guided by these insights, we adapt Simultaneous Perturbation Stochastic Approximation (SPSA) with a targeted sampling strategy to accelerate convergence. Through experiments on summarisation, machine translation, and conversational assistants, we demonstrate that our method consistently enhances reward signals while achieving convergence times comparable to first-order methods. While it falls short of some state-of-the-art methods, our work is the first to apply Zeroth-Order methods to Preference Optimisation in LLMs, going beyond classification tasks and paving the way for a largely unexplored research direction. Code and visualisations are available at https://github.com/alessioGalatolo/VisZOPrO
format Preprint
id arxiv_https___arxiv_org_abs_2503_03460
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Visualising Policy-Reward Interplay to Inform Zeroth-Order Preference Optimisation of Large Language Models
Galatolo, Alessio
Dai, Zhenbang
Winkle, Katie
Beloucif, Meriem
Computation and Language
Fine-tuning Large Language Models (LLMs) with first-order methods like back-propagation is computationally intensive. Zeroth-Order (ZO) optimisation uses function evaluations instead of gradients, reducing memory usage, but suffers from slow convergence in high-dimensional models. As a result, ZO research in LLMs has mostly focused on classification, overlooking more complex generative tasks. In this paper, we introduce ZOPrO, a novel ZO algorithm designed for Preference Optimisation in LLMs. We begin by analysing the interplay between policy and reward models during traditional (first-order) Preference Optimisation, uncovering patterns in their relative updates. Guided by these insights, we adapt Simultaneous Perturbation Stochastic Approximation (SPSA) with a targeted sampling strategy to accelerate convergence. Through experiments on summarisation, machine translation, and conversational assistants, we demonstrate that our method consistently enhances reward signals while achieving convergence times comparable to first-order methods. While it falls short of some state-of-the-art methods, our work is the first to apply Zeroth-Order methods to Preference Optimisation in LLMs, going beyond classification tasks and paving the way for a largely unexplored research direction. Code and visualisations are available at https://github.com/alessioGalatolo/VisZOPrO
title Visualising Policy-Reward Interplay to Inform Zeroth-Order Preference Optimisation of Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2503.03460