## ABC Align: Large Language Model Alignment for Safety &amp; Accuracy

Gareth Seneque, Lap-Hang Ho, Ariel Kuperman, Nafise Erfanian Saeedi, and Jeffrey Molendijk

Australian Broadcasting Corporation

August 2, 2024

## Abstract

Alignment of Large Language Models (LLMs) remains an unsolved problem. Human preferences are highly distributed and can be captured at multiple levels of abstraction, from the individual to diverse populations. Organisational preferences, represented by standards and principles, are defined to mitigate reputational risk or meet legislative obligations. In this paper, we present ABC Align, a novel alignment methodology for LLMs that enables integration of the standards and preferences of a large media organisation into the LLM itself. We combine a set of data and methods that build on recent breakthroughs in synthetic data generation, preference optimisation, and post-training model quantisation. Our unified approach mitigates bias and improves accuracy, while preserving reasoning capability, as measured against standard benchmarks.

## 1 Introduction

## 1.1 Overview

In this paper, we present a novel approach to the alignment of Large Language Models (LLMs) we call 'ABC Align'. This alignment is conducted in two settings: the fine-tuning of open-source models, and In-Context Learning (ICL) of closed-source 'frontier' models (Lin et al., 2023). While the techniques and literature of In-Context Alignment (ICA) are less mature than fine-tuning based alignment, we achieve good results across both settings. By design, our methodology is applicable across any range of open- and closed-source models, offering provider independence and flexibility as underlying model capability grows with time.

We use a variety of data that is both domain-specific and general. These data include news article content, organisational 'AI Principles' (Australian Broadcasting Corporation, 2024a), and humanreviewed question/answer pairs sourced from an internal Retrieval-Augmented Generation (RAG) tool. They are used as input to both generate datasets for fine-tuning, and in the case of the 'AI Principles', directly in the frontier model context window itself.

In the fine-tuning alignment setting, we use several techniques from the literature on synthetic data generation, knowledge distillation, and preference optimisation to produce several datasets conditioned on these data. We include results controlling for the impact of each of these methods and data across two open-source models, from Mistral AI and Meta respectively.

We see general performance improvements across industry standard benchmarks. The version of our dataset that combines all data and methods achieves a 23.51% relative performance improvement on Meta's Llama3-8B model on the TruthfulQA benchmark. Furthermore, these results were achieved using a small dataset of 897 samples, showing substantial improvement over Meta's own fine-tuned version of the base model, which is trained on more than 10M human-annotated examples (AI@Meta, 2024).

For the ICA setting, conducted on OpenAI's GPT4-turbo model, we evaluate the performance of a number of custom system prompts, including the prompt used by our internal RAG tool, and our AI Principles. Most notably in evaluation against the Bias Benchmark for Question Answering

(BBQ), a system prompt that uses our AI Principles improves relative performance over baselines by 77.54%.

Aligning LLMs and conducting evaluations are inherently challenging due to difficulty in defining 'who the alignment is for', and the need to define benchmarks reflecting a measure of alignment specific to that group, in addition to standard benchmarks.

Our work aims to show an example of how organisations can answer these questions, integrate their standards into a process of provider-agnostic alignment, hence providing the organisations with choice and agency in how they apply LLMs across a range of use-cases.

## 1.2 Background

Authors' note: no editorial position is offered or claimed in this publication. We also do not publish our data, and all LLM prompts are provided to support replication of our work and do not reflect optimisation for production use.

For real-world industrial application, in our case a large public-service media (PSM) organisation, alignment of model outputs to policies and preferences is critical. This is due to charter obligations to provide the public with innovative services (Australian Broadcasting Corporation, 2024c) that mitigate reputational risk while being transparent.

Many PSMs face additional constraints specific to their operating model, most notably in the link between their sources of funding and restrictions around commercial activity (European Broadcasting Union, 2012). This reality can limit their capacity to support internal R&amp;D efforts around technology, while they simultaneously rely on technology to deliver content to audiences in a highly competitive media marketplace.

LLMs present a unique opportunity for PSMs to improve internal processes. For example, through enhancing content metadata or supporting information retrieval across large corpora. LLMs also carry a unique risk profile (Huang et al., 2023; Ferrara, 2023; Cui et al., 2024) when working with that content itself, whether it be to transform the content for multi-platform use, or use-cases that sit at the edge of emerging definitions around 'responsible AI', such as content generation (de Lima-Santos et al., 2024).

Recent progress in model capability that enables processing of content across modalities in a single system - text, audio, video - only serves to enhance this risk profile and magnify impact of the constraints PSMs face, given the computational and operational costs associated with utilising such systems at scale.

Scale is a critical consideration for PSMs both in terms of the audience served and content produced and stored. Leveraging the capabilities of LLMs (and their multimodal derivatives) thus involves a considered trade-off between scale, cost, and safety.

The Australian Broadcasting Corporation (ABC) has defined a set of AI Principles (see Appendix A) that are designed to guide the adoption and application of AI in a responsible, principled manner. We build on the use of 'safety' in the literature, particularly work on 'Constitutional AI' (Bai et al., 2022). We make explicit use of the ABC AI Principles in our methodology, and here include the principles of 'protecting data' and 'mitigating bias' to broaden the definition of 'safety'. 'Accuracy' maps directly to the AI Principle of the same name. This paper outlines methods that securely leverage the ABC's data and are evaluated against industry-standard benchmarks that act as proxies for these principles.

## 1.3 ABC Align

Our work sits at the intersection of machine learning theory and application. The organisational context in which it is conducted, under the various constraints outlined above, guides our choices of models, data and methods. These methods leverage the unique advantage of media organisations, namely their content, which is created in line with clearly defined policies and principles. We consider these as data valuable for the alignment and evaluation of LLMs, when paired with the approach we outline in this paper.

To best utilise this data, we build on recent work on synthetic data generation aimed at distilling frontier models' capability into smaller open-source models using ICL (Xu et al., 2024). Both the open-source and frontier models can be substituted, and the impacts of these changes are measurable. In this paper, we include representative results across several open-source models and a specific frontier model to validate and demonstrate our methods. Our aim is to offer a blueprint that is prescriptive on method only, enabling the replication and use of our work by other PSMs with their own unique data.

Our synthetic datasets, also referred to as augmented datasets, are used by a fine-tuning process that conditions each sample on textual article content, organisational 'AI principles', and samples gathered from the live deployment of an internally built assistive tool. This tool enables the capturing of editorial preferences and input at scale, hence also exploiting the ICL abilities of frontier models to guide and align the application to user needs.

Development of this tool involved the crafting of novel, structured prompts and retrieval architectures, evaluated against user-derived acceptance criteria that were reflective of broader organizational preferences. We defer a lengthier discussion of its implementation to a future publication.

In addition to our alignment methods in a fine-tuning setting, the results presented in this paper reflect nascent developments in ICA of frontier models, and we expect to build on these in future work, with more detail covered in our 'Future Work' section. We aim to provide a general methodology: general to our organisation's data, the full complement of available AI models, and application to a range of use-cases specific to media organisations. Such applications can include metadata tagging, sourced information retrieval, and LLM-based approaches to content recommendation (Lyu et al., 2024).

We leave the infrastructure enabling the synthetic dataset creation, knowledge distillation, training and evaluation of LLMs out of scope for this paper. We note that we make extensive use of opensource tools, including Hugging Face's Transformers and TRL (Wolf et al., 2020; von Werra et al., 2020) libraries among others.

Evaluation also forms a key part of our methodology. We build on the work of EleutherAI, specifically their 'Large Language Model Evaluation Harness' (Biderman et al., 2024) and emerging best practices to measure our alignment efforts against industry-standard benchmarks that reflect the 'AI Principles' outlined above. The framework is extensible, enabling custom, organisationspecific evaluations defined in collaboration with non-technical stakeholders. We offer further commentary on this in the 'Future Work' section at the end of this paper.

## 2 Related Work

In this section we outline a brief history of LLM development, and each of the methods we use as part of ABC Align.

Early implementations of the 'Transformer' and related attention mechanism were limited in both scale of pre-training data and the number of parameters in the neural network (Vaswani et al., 2017). However, the new architecture, with query-, key-, and value-cache to optimise both training and inference, went beyond the capacity of earlier architectures like Long Short-Term Memory (LSTM) and Recurrent Neural Networks (RNNs), both being limited in their ability to process long sequences under fixed computational constraints.

Radfort et al. (Radford et al., 2019) moved beyond masked-language modelling approaches and described the Generative pre-trained Transformer (GPT) architecture, which framed the prediction problem in terms of arbitrary sequence-to-sequence modelling (Sutskever et al., 2014; Brown et al., 2020).

Ouyang et al. (Ouyang et al., 2022) directly improved this ability to follow general instructions via their method of 'instruction tuning', framing the model interaction as a 'request/completion' dynamic, leading to the conversational-style interfaces seen in recent iterations of GPT-class models.

As this approach was scaled up, the diversity and distribution of training data (consisting of trillions

of tokens sourced from web-scale datasets), revealed limitations for the application of these models in a practical setting, where user expectations around accuracy and bias were not met (Askell et al., 2021).

## 2.1 Domain-Specific Large Language Models

LLMs have been developed for application to specific fields or areas of industry, such as biology and finance (Ling et al., 2024). A canonical example is BloombergGPT (Wu et al., 2023). Bloomberg has a significant store of domain-specific data (363B tokens) enabling it to perform full pre-training of their own model. Bloomberg's experience informed the methodology outlined in this paper, as the ABC itself has a large store of data across digital-first content and its archives.

A complete pre-training process of an ABC LLM is likely to yield a capable, general model, given that digital content alone contains over a billion tokens, and 90+ years of archival content is currently being digitised. However, the expense and risk associated with maintaining a single artifact given the rate of progress in the field (Digital Platform Regulators Forum, Australian Government, 2023), have led us to favour a lightweight, modular methodology rather than pretraining a base model from scratch. This would allow us to leverage the value of the ABC's extensive data but in a way that was agnostic to underlying base models, in a cost-effective and future-proof manner. This has in part been validated by subsequent research, which has demonstrated that OpenAI's GPT-4 has exceeded the performance of BloombergGPT (Li et al., 2023).

## 2.2 LLM Alignment

LLM alignment is a rapidly evolving area of research, alongside efforts to further scale up pretraining data and neural network parameter counts. Starting in 2023, early evidence (Zhou et al., 2023) emerged that while massive amounts of data were required in the pre-training stage, alignment itself could be facilitated through smaller, high-quality curated datasets with samples numbering in the thousands instead of trillions. In parallel, LLM capabilities were being categorised relative to new evaluation frameworks, specifically around 'reasoning' (problem-solving) (Mitra et al., 2023), extending standard definitions of accuracy beyond metrics like ROUGE and BLEU (Papineni et al., 2002).

Our work builds on 'Constitutional AI' from Anthropic (Kundu et al., 2023) and 'Less is More for Alignment' (LIMA) by Meta (Zhou et al., 2023). Constitutional AI focuses on the self-alignment of LLMs based on a 'constitution' or set of principles that guide the process of 'AI feedback'. We adapt this approach to use the ABC AI Principles directly in the creation of our fine-tuning datasets and frontier model alignment prompts.

LIMA defines the 'Superficial Alignment Hypothesis', that states a 'model's knowledge and capabilities are learnt almost entirely during pre-training, while alignment teaches it which sub-distribution of formats should be used when interacting with users' . The use of 'superficial' here indicates that fine-tuning a subset of parameters, rather than complete pre-training, is the appropriate setting for LLM alignment. Their work examines the impact of a small set of 1000 samples on several alignment metrics, building on Kirstain et al. (2022). Our dataset is thus correspondingly small, high-quality, and informed by our AI Principles.

Our own hypothesis is that given a sub-distribution of fine-tuning and preference data specific to our organisation, we can in turn align LLMs in a way that preserves their general utility, capability, and performance on industry-standard benchmarks that directly map to and reflect our AI Principles. While non-domain-specific data like those from 'Stack Exchange', 'Wikihow' and 'Reddit' can be valuable in an academic fine-tuning setting, their use for alignment in a PSM setting is harder to justify. Consider a user feedback scenario, in the context of PSM obligations outlined in the introduction:

- 'Why did your model generate this inaccurate/biased output?'
- 'It was aligned using reddit threads!'

A key challenge that the LIMA authors observe is that 'manually creating diverse prompts and authoring rich responses in a uniform style is laborious' . In our own organisational context, asking editorial staff to label data, even if for a small sample, represents a significant and resource-intensive task.

## 2.3 Synthetic Data and Knowledge Distillation: ORCA

The utilisation of 'synthetic data' (Nikolenko, 2021) represents a novel source of data for training LLMs. It is often cited in wider discussions about the finite quantity of human-created data (Villalobos et al., 2024). As with human data, not all synthetic data are created equal. Indeed, lowquality synthetic data, when riddled with hallucinations, inaccuracies, and biases, can significantly impact downstream task performance (van Breugel et al., 2023).

To improve the quality of our synthetic data and mitigate these issues, we condition each sample on organisational data: news articles. Beyond the content itself, these articles comply with the ABC's editorial standards and policies (Australian Broadcasting Corporation, 2024b) at the time of their publication, and provide a real-world example of 'human annotated data' that goes well beyond crowd-sourced methods such as or 'Mechanical Turk' or similar. We also go beyond algorithms like Self-Instruct (Wang et al., 2023) that use 'seed instructions' to generate synthetic data, by providing a unique input for each generated sample.

Knowledge distillation techniques have diversified well beyond the original work of Hinton et al. (2015). In the context of this paper, the teacher/student dynamic remains, but occurs between frontier model/smaller open-source model. The distillation occurs per-input, given a prompt. The structure of this prompt confines the possible sub-distribution of the synthetic data used by the student model in our fine-tuning process. Here we build on the work of Mukherjee et al. (2023) on ORCA, where they elicit 'reasoning traces' from OpenAI's GPT-4 based on synthetic samples, with the goal of improving specific capabilities of a smaller 13B parameter model.

We note here that our synthetic data samples are created for the specific purpose of improving underlying model capability rather than meeting editorial standards, following the methods outlined in ORCA. We do not intend on making this data publicly available. This is to avoid any confusion with the published content it is derived from.

## 2.4 Preference Optimisation: ORPO

Soliciting human feedback for alignment efforts proved crucial in the success of tools like ChatGPT (Ouyang et al., 2022). In a reinforcement learning setting, numerical instability and sensitivity to training dynamics were seen as a necessary trade-off for improved alignment performance. Modelfree techniques such as Direct- and Odds-Ratio Preference Optimisation (DPO/ORPO) provide stable alternatives to the Reinforcement Learning with Human Feedback (RLHF) approach (Hong et al., 2024).

Following a pre-training stage, models undergo further post-training to make them suitable for general use. Multiple techniques exist to facilitate this, with initial work focused on RLHF (Ziegler et al., 2020; Stiennon et al., 2020). This method aims to use human preference data to align pretrained models and has demonstrated improved results beyond safety and reducing harmfulness (Tian et al., 2023; Gorbatovski and Kovalchuk, 2024), which are the key areas of focus for our work.

Recent work on preference optimisation (Rafailov et al., 2023) aims to elicit similar changes in model behaviour via methods that reduce implementation complexity compared to RLHF. Given the constraints on PSMs (and organisations whose operational focus is not technology itself), these methods provide a way to demonstrate the value of incorporating their own 'human feedback' in the alignment of models they use.

In this paper, we make use of an implementation of ORPO that is readily available in Hugging Face's libraries. ORPO offers good performance when compared with both Supervised Fine-Tuning (SFT) and DPO, including improved computational efficiency for a given batch of training data, making it suitable for the aims of our work.

## 2.5 In-Context Alignment

There has been significant recent work on exploiting the ICL capabilities of frontier models (Agarwal et al., 2024) where the context length has increased by up to an order-of-magnitude, as seen for instance in Google's Gemini and Anthropic's Claude series. While performance of fine-tuning in an

ICL setting doesn't yet offer consistent improvements when compared with SFT-based approaches across all tasks, there are specific cases where results are promising (Razumovskaia et al., 2024).

The work of Lin et al. (2023) further quantifies the 'Superficial Alignment Hypothesis' proposed in LIMA. They measure the token distribution shift between pre-trained and aligned models, specifically the difference in probabilities of predicted tokens given a position in some sample input across the two models. They find that alignment fine-tuning affects a small subset of tokens that they describe as 'stylistic', specifically 'discourse markers, transitional words, and safety disclaimers'.

Further to the original hypothesis of the LIMA authors, this provides evidence and motivation for the effectiveness of alignment happening in a post-training setting via fine-tuning, and that inference-time alignment may offer comparable results for applications where fine-tuning is unsuitable or not possible. This further validates our decision to not pre-train an LLM, but instead focus on post-training alignment across SFT, PO, and ICA settings in support of our overall aim to provide a lightweight, flexible methodology that considers organisational constraints and the rapid growth of underlying model capabilities.

## 2.6 Model Quantisation

As we discussed in the introduction of this paper, PSMs are funding-constrained, thus any training of LLMs needs to be done in an efficient way. Early methods of model quantisation involved performance trade-offs in terms of prediction quality and performance when compared to fullprecision training and inference. However, recent advances in model quantisation have enabled rapid and low-cost experimentation. QLoRA (Dettmers et al., 2023) addresses the shortcomings of earlier methods sufficiently and is our choice for quantisation for the experiments outlined in this paper.

## 2.7 Retrieval Augmented Generation &amp; Grounding Synthetic Data

Another key aspect of the ABC Align methodology is the refining of the preference dataset, using user-generated outputs from an internally developed RAG tool. This tool is powered by OpenAI's GPT-4-32k (OpenAI, 2024) and uses context information retrieved from a corpus of ABC documents to answer user questions.

Within this context, alignment of the frontier GPT-4 model refers to ensuring that the entire RAG tool produced outputs that were relevant, accurate, and valuable to end users. This ultimately served to reflect whether the application (and thereby the frontier model) met users' expectations, and by proxy their broader organisational values. This effort involved a comprehensive systemwide approach, including not only refining the prompting techniques but also ensuring that the retrieval mechanisms, data sources and generated outputs all complied with the overall expected objectives (Yu et al., 2024). Evaluation of the system includes using user-acceptance derived metrics, conducting user interviews, and manually reviewing generated samples, ensuring an adequate level of alignment of the frontier GPT-4 model to the ABC's AI Principles.

While we generate ORCA-style synthetic data in this work, RAG grounding of synthetic data to produce reasoning traces that are accurate to, rather than derived from, content data will be explored in future work.

## 2.8 Information Theoretic Measures in NLP

A primary focus of this paper is dataset quality, and we demonstrate its impact on LLM performance in multiple fine-tuning settings. While measurement against standard benchmarks is critical, we are also interested in measuring the quality of the data itself, as it is initially transformed during our synthetic data and knowledge distillation process. Information theoretic metrics offer a principled approach to measuring quality and changes in the information that the data represents. For this purpose, we use several well-known metrics, including Shannon entropy, mutual information, and Kullback-Leibler divergence (Cover and Thomas, 2012).

## 3 Methodology

## 3.1 Synthetic Data Generation

In this section, we outline two versions of our alignment dataset for full fine-tuning of open-source models, together with the synthetic dataset generation prompts. The inputs to these datasets are news articles, the ABC AI Principles, and samples from our internal RAG tool.

This tool, while an early prototype, is designed to deliver the capabilities of LLMs directly to users while also providing a means for soliciting editorial feedback and preferences, key to scaling our methods, outlined in the 'Future Work' section of this paper.

An automated pipeline was developed to enable the creation of synthetic datasets by augmenting existing data, as outlined in the previous section. The step-by-step process of creating an ABC Align dataset suitable for SFT is as follows:

- 1. Collect news articles as the input.
- 2. Create LLM-generated question/answer pairs relating to each input news article using an ORCA-style prompt.
- (a) Prompt: Deduce any reasoning or logical problems from this article: { context } Generate a complex question and a logical answer that requires step-by-step thinking, and elaborate on this thinking process as part of the answer. Both the question and answer must not refer to the original article.

The resulting dataset is then used to create a dataset suitable for preference optimisation (PO). The answer for each sample is rewritten considering the AI Principles, given two canonical examples of human-reviewed Q&amp;A pairs from our internal RAG tool.

- 1. Rewrite the answers from the SFT dataset
- 2. For 'chosen' answers:
- (a) Prompt: Here are two high-quality, human-reviewed Question/Answer pairs: Question: { q1 } Answer: { a1 } Question: { q2 } Answer: { a2 } Now review a new Question &amp; Answer pair: { context } -Rewrite the answer to better align with these principles: { abc ai principles } Do not reference the principles in your response. Include only the text of the answer.'
- 3. For 'rejected' answers:
- (a) Prompt: Here are two high-quality, human-reviewed Question/Answer pairs: Question: { q1 } Answer: { a1 } Question: { q2 } Answer: { a2 } Now review a new Question &amp; Answer pair: { context } -Rewrite the answer to be unaligned with these principles: { abc ai principles } Do not reference the principles in your response. Include only the text of the answer.'

In all cases, we use OpenAI's GPT-4-turbo frontier model with a temperature of 0.7 to generate synthetic data for use in a fine-tuning setting. The resulting datasets comprise 897 individual samples.

## 3.2 Control Datasets

We include three additional datasets in our experiments. These are OpenORCA (Lian et al., 2023), LIMA in the SFT setting (GAIR, 2023), and UltraFeedback (Bartolome et al., 2023) for ORPO training.

OpenORCA is a replication of the original ORCA data which was not made public. The dataset is sourced from FLAN-T5 and generated using both OpenAI's GPT-3.5-turbo and GPT-4 models. The authors aim to reflect the distribution of the dataset outlined in the ORCA paper.

UltraFeedback is an updated version of the dataset used in the ORPO paper that addresses a data contamination issue related to the TruthfulQA benchmark.

The LIMA dataset is the original as published by the authors, and in all cases we randomly take 897 samples for direct comparison with our own datasets.

## 3.3 Models and Fine-tuning

We fine-tuned the following pre-trained models: Llama-3-8B (AI@Meta, 2024) and Mistral-7B-v0.3 (MistralAI, 2024), including both the base and instruction-tuned models. We used the default tokenizer of each of the models, and applied Hugging Face's Zephyr-style chat template (with &lt;|system|&gt; , &lt;|user|&gt; , and &lt;|assistant|&gt; tokens).

As described above, we employed a two-step fine-tuning process involving SFT for instruction tuning and ORPO for preference optimisation. To facilitate this, we used TRL's SFTTrainer and ORPOTrainer (von Werra et al., 2020) and scripts from Hugging Face's Alignment Handbook (Tunstall et al., 2023).

ORPO includes an additional training objective, relative ratio loss. It also dynamically penalises 'disfavoured' responses, instead of constructing sets of rejected tokens to control for degenerative model behaviour in the SFT setting.

We trained on single Nvidia A10G GPUs with 24GB memory on cloud infrastructure. We trained for 23 epochs on the SFT dataset, taking around 2.4 hours, and we trained for 10 epochs on the ORPO dataset, taking around 3.8 hours, using a standard checkpoint selection process against selected benchmarks for the models used in our final evaluations.

## 3.4 QLoRA

The SFT/ORPO QLoRA hyperparameters used in this study followed those as set in the Hugging Face Alignment Handbook. An overview of our QLoRA hyperparameters during model fine-tuning are shown in Table 1.

Table 1: QLoRA hyperparameters used for fine-tuning.

| Configuration   |   Dropout |   Rank |   Alpha |   Rank/Alpha Ratio |
|-----------------|-----------|--------|---------|--------------------|
| SFT             |      0.1  |     64 |      16 |                4   |
| ORPO            |      0.05 |     16 |      32 |                0.5 |

Hyperparameter selection for quantisation methods has been shown to influence model performance in numerous ways, where the model may have different optimal 'rank' hyperparameters for different metrics, as well as the ratio between alpha/rank (Hu et al., 2022).

The rank hyperparameter is particularly important since it affects the size of the update matrices, and therefore the number of trainable parameters. It should be noted that these recommendations are evolving, and hyperparameter optimisation may be required for individual use-cases (Tribes et al., 2024).

## 4 In-Context Alignment

For our experiments on ICA, we use OpenAI's GPT-4-turbo model with a temperature of 0.7, and the lm-evaluation-harness evaluation framework. Benchmarking is done in a ' generate until ' setting rather than traditional multiple choice, due to the limitations around the availability of logits from closed-source APIs.

Our primary intervention is setting the ' system instruction ' parameter, including three specific prompts, taken directly from our internal RAG tool, the ABC's AI Principles, and a version of the AI Principles augmented with a Q&amp;A sample sourced from the RAG tool, acting as a canonical example.

## 4.1 Dataset Analysis

This section outlines the information-theoretic and perplexity metrics we used to evaluate the datasets discussed in this study.

## 4.2 Shannon Entropy, Mutual Information, KL Divergence

For dataset analysis, we utilise several information-theoretic metrics on our SFT dataset. Our motivation here is to quantify the changes to average entropy, loss of information, and distribution shift induced by our synthetic data generation process. Our aim is to understand how our methods transform the information present in our input data, as we distil 'reasoning traces' suitable for downstream SFT and ORPO fine-tuning. All metrics are normalised.

In Table 2, we consider the average Shannon entropy of our input news articles, and the resulting synthetic dataset.

| Dataset            |   Avg. Shannon Entropy |   Std Dev. |
|--------------------|------------------------|------------|
| News Articles (NA) |                  0.754 |      0.021 |
| ABC Align SFT      |                  0.813 |      0.019 |

Table 2: Shannon Entropy across input news article dataset and the ABC Align dataset.

In Table 3, we calculate both mutual information and KL divergence across both datasets.

| Datasets   |   Mutual Information |   KL-Divergence |
|------------|----------------------|-----------------|
| NA/SFT     |                0.142 |           0.049 |

Table 3: Mutual Information and KL-Divergence between the news article and the synthetic dataset generated using ABC Align.

These results demonstrate that, through our process of conditioning synthetic data samples on news articles, we have increased sample complexity relative to the input while keeping shared information low (in-line with our attempt to derive specific patterns with high complexity and abstraction, i.e. 'reasoning traces'). We have been able to do this while preserving the similarity of the overall distributions, as reflected in the low KL-Divergence score.

## 4.3 Perplexity

For perplexity (ppl), we measure the mean ppl per dataset per base model. We calculate the perplexity of all datasets for both pre-trained Llama-3-8B and Mistral-7B-v0.3 models. These metrics are shown in Table 4 for the ABC Align, LIMA, OpenORCA and UltraFeedback datasets. We note that the ORPO datasets include 'chosen' and 'rejected' formats, reflecting their preference optimisation nature in line with Hugging Face's Alignment Handbook (Tunstall et al., 2023, Fine-tuning on your datasets | DPO and ORPO). For the ABC Align ORPO dataset, these were generated by OpenAI's GPT-4-turbo frontier model to be aligned/unaligned to the ABC AI Principles.

Table 4: Perplexity (ppl) of all training datasets for pre-trained LLama-3-8B and Mistral-7B-v0.3.

| Dataset        | Format   |   Llama-3-8B |   Mistral-7B-v0.3 |
|----------------|----------|--------------|-------------------|
| ABC Align SFT  | messages |        10.25 |             10.54 |
| ABC Align ORPO | chosen   |         9.37 |              9.1  |
| ABC Align ORPO | rejected |        10.04 |             10.54 |
| LIMA           | messages |        10.04 |             11.75 |
| OpenOrca       | messages |         9.43 |             15.06 |
| UltraFeedback  | chosen   |         6.23 |              6.83 |
| UltraFeedback  | rejected |         7.49 |             11.76 |

Interestingly, among the ORPO datasets, the 'chosen' format shows lower perplexity than the 'rejected' format. Rather than exhibiting equal perplexity for the chosen/rejected formats, this implies that the original model training may have achieved similar results as we aimed to achieve by aligning using the ABC AI Principles.

We limit our use of ppl to the datasets themselves, rather than the fine-tuning phase. As observed by the LIMA authors, there is an anti-correlation between perplexity measured at training time

and generational quality; perplexity can increase without generation quality necessarily decreasing (Zhou et al., 2023, Appendix B).

Finally, we note that while details of the pre-training datasets of either base model have not been released, data quality is known to impact pre-training performance (Longpre et al., 2024), and indeed Meta does emphasise the use of filtering techniques to select only 'high-quality' data (Meta, 2024).

## 5 Model Evaluation

In this section we discuss our evaluation strategy, including the mapping between selected benchmarks and the ABC AI Principles. We evaluate both our datasets and model outputs, whereby results are presented in the section below.

## 5.1 General Reasoning

In the fine-tuning setting, we want to ensure that we are not training the model to be task-specific. Here we use the ARC dataset, specifically the 'challenge' subset, constructed by the Allen AI Institute (Clark et al., 2018). It comprises 7,787 science questions in a multiple-choice setting aimed towards measuring 'reasoning capability'. We select this benchmark to ensure that we do not sacrifice general model capabilities while improving bias identification and accuracy, i.e., limiting their application across a range of use-cases - also known as the 'alignment tax' (Askell et al., 2021).

## 5.2 ABC AI Principle: 'mitigating bias'

The Bias Benchmark for Question &amp; Answering (BBQ) (Parrish et al., 2022) represents a humanconstructed and thorough cross-section of socio-cultural biases in a multiple-choice setting, for the evaluation of a model's ability to detect bias. In this study, we use bbq lite json , a subset version of the original BBQ, containing samples for evaluation against age, nationality, race, gender, sexual orientation, and physical appearance biases.

This benchmark serves as a proxy for the ABC AI Principle 'mitigating bias', which is defined as 'We will seek to prevent bias in our AI data or algorithms that could perpetuate and amplify existing inequalities and lead to discrimination' . BBQ is designed specifically to measure whether model outputs contribute to 'harming marginalised individuals and groups', thus enabling the identification and mitigation of bias. The list of social biases measured are defined by the US Equal Employment Opportunity Commission (EEOC, US Government, 2024). We acknowledge the US-centricity of this definition, and outline how we intend to extend our evaluation metrics in a general way, to make them ABC- or other-specific in our 'Future work' section at the end of this paper.

## 5.3 ABC AI Principle: 'accuracy'

We use performance on TruthfulQA (Lin et al., 2022) as a proxy for the ABC AI Principle 'accuracy'. TruthfulQA consists of 817 multiple-choice questions across 38 subjects, including law, health, and politics. This benchmark addresses the limitations of LLMs, where the distribution of their pre-training data may induce the generation of 'imitative falsehoods', or answers that sound true without being grounded. TruthfulQA thus represents a robust benchmark for accuracy, where the conditions for a claim to be true are 'if it describes..[a]..literal truth about the real world' , and the question/answer choices are written by humans. We specifically use the truthfulqa mc2 task.

## 6 Results

In this section we present the results of our fine-tuning alignment using both SFT and PO datasets.

## 6.1 Fine-tuning: SFT (ORCA/LIMA)

In an SFT setting, we evaluate the performance of our ABC Align SFT dataset against data generated using the two methods we build on, ORCA and LIMA respectively. We present our evaluation results in Figure 1 below.

## SFT alignment for Mistral-7B-v0.3

Figure 1: Comparison of ABC Align SFT dataset against other methods, across arc-challenge (left), bbq-lite-json (middle) and truthfulqa mc2 (right).

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00307v1-figure-c921021b-2b4c-4952-8ba1-8683113e21db.jpg)

## 6.1.1 Evaluation on arc-challenge

For Mistral-7B-v0.3, we see a decrease in performance compared to the pre-trained model of 0.42% and 0.85% for LIMA and OpenORCA. The Align SFT dataset demonstrates a 3.25% improvement compared to the pre-trained model and those fine-tuned on control datasets.

For Llama-3-8B, we see improvements over the pre-trained model for LIMA and OpenORCA datasets of 2.78% and 0.59% respectively. The ABC Align dataset demonstrates a 7.17% improvement over the pre-trained baseline.

## 6.1.2 Evaluation on bbq-lite

For Mistral-7B-v0.3, we see a decrease in performance compared to the pre-trained model of 2.17% on the LIMA dataset. For OpenORCA and ABC Align SFT, we see improvements of 12.81% and 14.57% respectively.

For Llama-3-8B, we see an equivalent decrease in performance of LIMA against the pre-trained model of 1.75%. For OpenORCA and ABC Align SFT, we see improvements of 16.34% and 7.20% respectively over the pre-trained baseline.

## 6.1.3 Evaluation on truthfulqa mc2

For Mistral-7B-v0.3, OpenORCA and LIMA improve over pre-trained baselines by 11.01% and 13.69% respectively. ABC Align SFT demonstrates an improvement of 22.64%.

For Llama-3-8B, LIMA improves over the baseline model by 4.56%. OpenORCA and ABC Align improve by 22.57% and 18.26% respectively.

## 6.1.4 Analysis

In general, LIMA underperforms in this setting. ABC Align SFT offers the best performance on Mistral-7B-v0.3 across all benchmarks, and on Llama-3-8B for arc-challenge . OpenORCA's

performance exceeds ABC Align SFT on BBQ and TruthfulQA on Llama3-8B.

We see our dataset offers consistent improvements on a specific model, Mistral 7B. Where it underperforms on BBQ &amp; TruthfulQA on Llama-3, it has improved general reasoning capability. The SFT dataset is generated with this aim in mind, as reflected in the ORCA-style prompt. Ideally, we would like to see consistent improvements across a range of open-source models and our three evaluations. These results demonstrate that we need to move beyond SFT and explore PO to achieve this.

## 6.2 Fine-tuning: PO (ORPO)

The PO setting represents the ideal setting for the aims of this paper, where for the ABC Align dataset we have used each of the sources of data unique to our organisation. Preference data in particular is scalable beyond the small number of samples used via our internal RAG tool, to include data sourced from additional workflow integrations.

ORPO alignment for Mistral-7B-v0.3

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00307v1-figure-b80adbaf-6060-442e-b43b-d0a3319b9715.jpg)

ORPO alignment for Meta-Llama-3-8B

Figure 2: Comparison of ABC Align ORPO dataset against control datasets, across arc-challenge (left), bbq-lite-json (middle) and truthfulqa mc2 (right).

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00307v1-figure-eb27df6e-2584-4115-aa5a-95fc2c4ae846.jpg)

## 6.2.1 Evaluation on arc-challenge

For Mistral-7B-v0.3, performance on the pre-trained model decreases by 0.85% for the UltraFeedback (UF) dataset, and ABC Align PO offers a 2.68% improvement.

For Llama-3-8B, UF and ABC Align PO offer improvements of 2.78% and 6.44% respectively compared to the pre-trained model.

## 6.2.2 Evaluation on bbq-lite

For Mistral-7B-v0.3, UF and ABC Align PO both improve over the pre-trained baseline by 5.26%.

For Llama-3-8B, UF and ABC Align PO both improve over the pre-trained baseline by 7.64% and 7.48% respectively.

## 6.2.3 Evaluation on truthfulqa mc2

For Mistral-7B-v0.3,, we see improvements over the pre-trained baseline for both UF and ABC Align PO of 12.25% and 17.97% respectively.

For Llama-3-8B, we see improvements over the pre-trained baseline for both UF and ABC Align PO of 21.75% and 23.51% respectively.

## 6.2.4 Analysis

Here we see ABC Align PO outperforms or offers equivalent performance to the control dataset used by ORPO in all cases. These results demonstrate consistent performance improvements across both base models and all benchmarks. They emphasise the importance of including additional data sources in a PO setting, where ORPO's penalisation of disfavoured responses better aligns model outputs in a measurable way.

## 6.3 Comparison of Instruction Fine-Tuned (IFT) and SFT/PO Align models

In this section we include results comparing our models and the Instruction Fine-Tuned (IFT) variants of both Mistral-7B-v0.3 and Llama3-8B. Our aim in performing this evaluation is to quantify the impact of large datasets in a fine-tuning setting on the models and benchmarks we have selected.

We note that Mistral do not publish the size of their IFT dataset, while Meta indicates that over 10 million human-annotated samples are included in theirs. We thus restrict our analysis to Llama-3, and include Mistral in our results for completeness.

We can see in Figure 3 that our models offer near-equivalent performance gains on arc-challenge . Furthermore, our PO model outperforms the IFT version of Llama3 by 5.2% on truthfulqa mc2 , despite our datasets being five orders of magnitude smaller than the IFT dataset.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00307v1-figure-9c78b98c-e118-45f8-9afc-d0ed82c81687.jpg)

Metric

Alignment comparison for Meta-Llama-3-8B

Figure 3: Comparison between IFT and ABC Align models fine-tuned using SFT or ORPO, across arc-challenge (left), bbq-lite-json (middle) and truthfulqa mc2 (right).

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00307v1-figure-6d4b7f7d-88c1-4614-8292-e579b34488fb.jpg)

The IFT model significantly outperforms both our SFT and PO models on bbq-lite . This result indicates that scaling dataset size and diversity of preference data is likely to offer benefits for specific alignment criteria, represented here by bbq-lite . Identifying socio-cultural biases is a nuanced rather than determinative task, where a wider distribution of samples would be valuable. We elaborate further on this analysis in the 'Future Work' section of this paper.

## 6.4 In-Context Alignment

Here we present results of an ICA experiment on a subset of evaluations using data from our ABC Align datasets. This data includes both our internal RAG tool's system prompt, and prompts designed specifically for the ICA setting, constructed using the ABC AI Principles. These prompts were evaluated using OpenAI's GPT-4-turbo. It is important to note, as discussed in the 'InContext Alignment' section, that these results are not comparable across the fine-tuning and ICA settings.

## GPT-4 Turbo / ICL Alignment

Figure 4: Evaluation of ICL Alignment using augmented prompts drawn from our internal RAG tool and the ABC AI Principles. Evaluation is conducted across bbq-lite and BLEU and ROUGE scores drawn from truthfulqa mc2 .

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00307v1-figure-dc30c424-ff35-444d-8412-36392c67777f.jpg)

We do not include the prompt for our internal RAG tool in this paper. We defer it and a discussion on its construction in a future publication.

The prompt referred to as ai principles v1 in Figure 4 includes our AI Principles themselves, whereas ai principles v2 is an augmentation of the former including a Q&amp;A pair sourced from our internal RAG tool. Please refer to Appendix B for the full v1 prompt.

## 6.4.1 Evaluation on bbq-lite

Compared to the baseline, the improvements across the three versions of our ICA prompts of up to 78.58%.

## 6.4.2 Evaluation on truthfulqa mc2

Results on truthfulqa mc2 demonstrate that our custom prompts reduce performance on this benchmark overall by up to 5.55% across BLEU and ROUGE scores.

## 6.4.3 Summary

These results demonstrate that much work remains on ICA in general. We do see significant improvements across the three prompts in comparison to the baseline 'You are a helpful AI Assistant' on the BBQ benchmark, including a 26% improvement on BBQ for the AI Principle-based prompt that includes a canonical Q&amp;A pair taken from our internal RAG tool ('v2'). However,

neither the highly-crafted internal RAG prompt nor the AI Principle-based prompt improve performance on TruthfulQA over the baseline, implying that further work exploring automated prompt optimisation and similar techniques is warranted for improved results.

## 7 Discussion

In this paper we have defined an organisational context, a PSM subject to operational constraints, that motivates our choice of models and methods. One constraint that PSMs do not face is availability of high-quality data. Indeed, that is their key competitive advantage.

In the literature, alignment methods leverage a mixture of synthetic and human-annotated data to achieve their results, however PSMs have domain- and subject-matter expertise available at a scale that the providers of frontier models and related services do not.

Building on this insight, we have demonstrated that by applying several techniques across SFT, PO, and ICA to this data, we can outperform existing methods that use datasets constructed without that domain expertise.

Our experiments have been conducted with a small dataset, and a small number of human-reviewed samples. Integration of the underlying platform into a range of systems that support content workflows, with schema appropriate to the PO, and emerging ICA settings, will enable the scaling of our approach beyond the results presented here.

As PSMs and continue to leverage LLMs to address a variety of use-cases, our results demonstrate that they can both align these models using their existing content data, as well as editorial feedback (in the form of preferences) gathered directly from users. These data can be conditioned via naturallanguage prompts, which provide an additional mechanism for providing a combination of technical and editorial oversight.

Paired with evolving work on principle alignment, a key part of our contribution in this paper, organisations that implement feedback loops at multiple points of intervention in their workflows can expect to exert a measure of control over large models and their behaviours.

Evaluation of these outputs remains a key consideration. In this paper we have demonstrated the effectiveness of consistent evaluation across multiple controls, through employing the Language Model Evaluation Harness, an open, extensible framework that allows for the definition and integration of organisation-specific benchmarks.

## 8 Limitations

The aim of this paper is not to exhaustively evaluate all possible combinations of algorithm hyperparameters, model architectures and quantisation techniques. Nor has our aim been to evaluate an iterative or complete set of synthetic data and ICA prompt modifications.

Our primary goal has been to demonstrate that a combination of methods present in the literature and our organisation's data can be used to achieve our goal of sustainably aligning LLMs to organisational preferences and principles. We achieve this while maintaining the LLM's underlying reasoning capability while operating within organisational constrains and requirements specific to PSMs.

## 9 Future Work

In this section, we outline how we will build on the results presented here, beyond optimisation of the individual techniques used in our methodology.

## 9.1 Custom Evaluations

Defining custom evaluations, going beyond the industry-standard benchmarks we have used in this paper, is critical to ensure we are aligning LLMs towards organisational standards that are

explicitly defined for measuring model capabilities and performance. We will define both general and use-case specific custom evaluations.

## 9.2 Datasets

While we achieve results that are significant given the size of our dataset, particularly in the consistency with which our methods improve reasoning capability, comparisons with IFT versions of open-source models indicate that an increase in PO dataset size and diversity will likely yield further improvements. Following work on custom evaluations, we aim to source a variety of preference data, reflecting domain- and subject-matter expertise, to build on the results presented in this paper. The combination of methods we have outlined give us the flexibility to optimise that data for alignment of LLMs in multiple settings.

## 9.3 Prompts

We see natural language prompts as a key point of human intervention and human oversight, both in the example of our internal RAG tool, and in defining common integration patterns and product identities, via system prompts that either guide outputs or define API integration patterns, or across a range of other applications.

The collaborative definition and evaluation of these prompts will form a key part of future work. The authors believe evolving our alignment framework to facilitate this goal is critical, particularly for emerging 'agent' frameworks where LLMs are a key component of goal- and task-directed systems.

In the context of a PSM, the human oversight of AI systems and the accountability &amp; transparency it affords will continue to be a matter of policy, compliance, and likely legislative obligation. By establishing a methodology for alignment and evaluation of LLMs, this can be incrementally improved and expanded upon as our organisation's obligations and commitments change. We aim to enable our organisation to leverage the capabilities of new models without compromising its values or independence.

## 9.4 Multimodality and ICA

Multimodal LLMs have wide-ranging application across text, audio, and video content. We expect to evaluate and refine our methodology in this context. We consider new and emerging evidence that the embedding representation across these modalities is converging, particularly as the underlying models themselves grow larger (Huh et al., 2024).

By implication, the alignment and evaluation of frontier models via ICA will be critical, and we expect to develop a methodology here that is generally applicable to any further development that accords with these early results.

## 9.5 Acknowledgements

The authors would like to thank those who have contributed to the larger body of work that this paper implies. Indeed, while this paper outlines a number of specific contributions to the Machine Learning literature, these experimental results were dependent on an infrastructure and product built by a much larger team. The team are responsible for putting in place the foundations that enable our organisation to work with LLMs at scale. Without their efforts and these foundations, our contribution and future work would not be possible.

We would like to thank the ABC's complete ML/AI team across all domains of practice, including Scott Burns, Michael Collett, Julie Tran, Mahesh Bisl, Hanna Karlsson, Vijayan Rajendran.

Our long-term collaboration with the ABC's Innovation Lab has demonstrated what can be done when we work together across organisational lines. Matthew Heffernan and Andrew Hystek-Dunk worked directly on ABC Assist and were integral to the development process.

We also express our gratitude to the ABC's Engineering, Product, and Technology leadership for the support to do this work, and our Corporate Strategy team for their invaluable feedback on ABC Assist throughout the development process.

## Appendix A

## ABC AI Principles

The ABC is committed to ongoing innovation to improve the media services it delivers to audiences. AI technologies have the potential to offer new opportunities to empower content creation, strengthen research and reporting, and make ABC content more accessible. These technologies also offer ways to help our teams work more effectively. At the same time, AI technologies are not without risks and will require careful management to ensure we use these technologies responsibly and in ways that maintain or strengthen the trust that audiences place in the ABC.

Our use of AI will adhere to the following principles. We will develop policies and guidance to provide practical detail on the application of these principles.

## Serving Audiences

We will use and experiment with AI tools that can strengthen the services we provide to audiences.

## Accuracy

We will ensure that our staff are accountable for any ABC content created using AI. This is especially important for news, information and factual content.

## Openness and Transparency

We will inform our audiences about how we are using AI technologies. We will be able to explain how the AI works and how it will affect our audiences. We will not use AI in ways that could mislead our audiences.

## Protecting Data

We will work to ensure that our use of AI protects both the ABC's data and the personal information the public entrusts to us.

## Mitigating Bias

We will seek to prevent bias in our AI data or algorithms that could perpetuate and amplify existing inequalities and lead to discrimination.

## Respect for Creators' Rights

We will always consider the rights of creators and rights-holders when using AI. We will protect our rights in the works that ABC staff create.

## Experimentation and Evaluation

We will continue to assess and experiment with AI technologies as they evolve to identify opportunities for innovation and mitigate potential risks for our audiences and organisation

## 10 Appendix B

You are a helpful assistant working for ABC Australia and are guided by their AI Principles.

Here is the list of principles and their definitions:

## Serving Audiences

We will use and experiment with AI tools that can strengthen the services we provide to audiences.

## Accuracy

We will ensure that our staff are accountable for any ABC content created using AI. This is especially important for news, information and factual content.

## Openness and Transparency

We will inform our audiences about how we are using AI technologies. We will be able to explain how the AI works and how it will affect our audiences. We will not use AI in ways that could mislead our audiences.

## Protecting Data

We will work to ensure that our use of AI protects both the ABC's data and the personal information the public entrusts to us.

## Mitigating Bias

We will seek to prevent bias in our AI data or algorithms that could perpetuate and amplify existing inequalities and lead to discrimination.

## Respect for Creators' Rights

We will always consider the rights of creators and rights-holders when using AI. We will protect our rights in the works that ABC staff create.

## Experimentation and Evaluation

We will continue to assess and experiment with AI technologies as they evolve to identify opportunities for innovation and mitigate potential risks for our audiences and organisation.

Here is an example of a question/answer aligned with these principles:

...

## References

Rishabh Agarwal, Avi Singh, Lei M. Zhang, Bernd Bohnet, Luis Rosias, Stephanie Chan, Biao Zhang, Ankesh Anand, Zaheer Abbas, Azade Nova, John D. Co-Reyes, Eric Chu, Feryal Behbahani, Aleksandra Faust, and Hugo Larochelle. Many-Shot In-Context Learning, 2024. URL https://arxiv.org/abs/2404.11018 .

AI@Meta. Llama 3 Model Card. Technical report, Meta, 2024. URL https://github.com/ meta-llama/llama3/blob/main/MODEL\_CARD.md .

Amanda Askell, Yuntao Bai, Anna Chen, Dawn Drain, Deep Ganguli, Tom Henighan, Andy Jones, Nicholas Joseph, Ben Mann, Nova DasSarma, Nelson Elhage, Zac Hatfield-Dodds, Danny Hernandez, Jackson Kernion, Kamal Ndousse, Catherine Olsson, Dario Amodei, Tom Brown, Jack Clark, Sam McCandlish, Chris Olah, and Jared Kaplan. A General Language Assistant as a Laboratory for Alignment, 2021. URL https://arxiv.org/abs/2112.00861 .

Australian Broadcasting Corporation. ABC AI Principles. https://www.abc.net.au/about/ abc-ai-principles/104036790 , 2024a. Accessed: 2024-07-16.

Australian Broadcasting Corporation. Editorial Policies &amp; Guidance. https://www.abc.net.au/ about/editorial-policies-and-guidance/103543042 , 2024b. Accessed: 2024-07-16.

Australian Broadcasting Corporation. Legislative Framework. https://www.abc.net.au/about/ legislative-framework/103700608 , 2024c. Accessed: 2024-07-16.

Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen, Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, Carol Chen, Catherine Olsson, Christopher Olah, Danny Hernandez, Dawn Drain, Deep Ganguli, Dustin Li, Eli TranJohnson, Ethan Perez, Jamie Kerr, Jared Mueller, Jeffrey Ladish, Joshua Landau, Kamal Ndousse, Kamile Lukosuite, Liane Lovitt, Michael Sellitto, Nelson Elhage, Nicholas Schiefer, Noemi Mercado, Nova DasSarma, Robert Lasenby, Robin Larson, Sam Ringer, Scott Johnston, Shauna Kravec, Sheer El Showk, Stanislav Fort, Tamera Lanham, Timothy Telleen-Lawton, Tom Conerly, Tom Henighan, Tristan Hume, Samuel R. Bowman, Zac Hatfield-Dodds, Ben Mann, Dario Amodei, Nicholas Joseph, Sam McCandlish, Tom Brown, and Jared Kaplan. Constitutional AI: Harmlessness from AI Feedback, 2022. URL https://arxiv.org/abs/2212.08073 .

Alvaro Bartolome, Gabriel Martin, and Daniel Vila. Notus. https://github.com/argilla-io/ notus , 2023.

Stella Biderman, Hailey Schoelkopf, Lintang Sutawika, Leo Gao, Jonathan Tow, Baber Abbasi, Alham Fikri Aji, Pawan Sasanka Ammanamanchi, Sidney Black, Jordan Clive, Anthony DiPofi, Julen Etxaniz, Benjamin Fattori, Jessica Zosa Forde, Charles Foster, Jeffrey Hsu, Mimansa Jaiswal, Wilson Y. Lee, Haonan Li, Charles Lovering, Niklas Muennighoff, Ellie Pavlick, Jason Phang, Aviya Skowron, Samson Tan, Xiangru Tang, Kevin A. Wang, Genta Indra Winata, Fran¸ cois Yvon, and Andy Zou. Lessons from the Trenches on Reproducible Evaluation of Language Models, 2024. URL https://arxiv.org/abs/2405.14782 .

Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language Models are Few-Shot Learners. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems , volume 33, pages 1877-1901. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper\_files/paper/2020/file/ 1457c0d6bfcb4967418bfb8ac142f64a-Paper.pdf .

Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge, 2018. URL https://arxiv.org/abs/1803.05457 .

Thomas M. Cover and Joy A. Thomas. Elements of Information Theory . Wiley, Hoboken, NJ, 2nd edition, 2012.

| Tianyu Cui, Yanling Wang, Chuanpu Fu, Yong Xiao, Sijia Li, Xinhao Deng, Yunpeng Liu, Qinglin Zhang, Ziyi Qiu, Peiyang Li, Zhixing Tan, Junwu Xiong, Xinyu Kong, Zujie Wen, Ke Xu, and Qi Li. Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems, 2024. URL https://arxiv.org/abs/2401.05778 .                                                                                                                 |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| M. F. de Lima-Santos, W. N. Yeung, and T. Dodds. Guiding the Way: A Comprehensive Exami- nation of AI Guidelines in Global Media, 2024. URL https://arxiv.org/abs/2405.04706 .                                                                                                                                                                                                                                                                  |
| Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, and Luke Zettlemoyer. QLoRA: Efficient Fine- tuning of Quantized LLMs. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems , volume 36, pages 10088- 10115. Curran Associates, Inc., 2023. URL https://proceedings.neurips.cc/paper_files/ paper/2023/file/1feb87871436031bdc0f2beaa62a049b-Paper-Conference.pdf . |
| Digital Platform Regulators Forum, Australian Government. Working Paper 2: Examina- tion of technology - Large Language Models. https://dp-reg.gov.au/publications/ working-paper-2-examination-technology-large-language-models , 2023. Section 5: Re- cent Australian Government developments.                                                                                                                                                |
| EEOC, US Government. Prohibited Employment Policies/Practices. https://www.eeoc.gov/ prohibited-employment-policiespractices , 2024. Accessed: 2024-16-07.                                                                                                                                                                                                                                                                                      |
| European Broadcasting Union. EBU Viewpoint: PSM Funding. https://www.ebu.ch/files/ live/sites/ebu/files/Publications/EBU-Viewpoint-PSM-Funding_EN.pdf , 2012. Ac- cessed: 2024-07-16.                                                                                                                                                                                                                                                           |
| Emilio Ferrara. Should ChatGPT be biased? Challenges and risks of bias in large language models. First Monday , November 2023. ISSN 1396-0466. doi: 10.5210/fm.v28i11.13346. URL http://dx.doi.org/10.5210/fm.v28i11.13346 .                                                                                                                                                                                                                    |
| GAIR. GAIR/lima. https://huggingface.co/datasets/GAIR/lima , 2023. Accessed: 2024-07- 16.                                                                                                                                                                                                                                                                                                                                                       |
| Alexey Gorbatovski and Sergey Kovalchuk. Reinforcement Learning for Question Answering in Programming Domain using Public Community Scoring as a Human Feedback. In Proceedings of the 23rd International Conference on Autonomous Agents and Multiagent Systems , AAMAS '24, page 2294-2296, Richland, SC, 2024. International Foundation for Autonomous Agents and Multiagent Systems. ISBN 9798400704864.                                    |
| Geoffrey Hinton, Oriol Vinyals, and Jeffrey Dean. Distilling the Knowledge in a Neural Network. In NIPS Deep Learning and Representation Learning Workshop , 2015. URL http://arxiv. org/abs/1503.02531 .                                                                                                                                                                                                                                       |
| Jiwoo Hong, Noah Lee, and James Thorne. ORPO: Monolithic Preference Optimization without Reference Model, 2024. URL https://arxiv.org/abs/2403.07691 .                                                                                                                                                                                                                                                                                          |
| Edward J Hu, yelong shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-Rank Adaptation of Large Language Models. In International Conference on Learning Representations , 2022. URL https://openreview.net/forum?id= nZeVKeeFYf9 .                                                                                                                                                            |
| Minyoung Huh, Brian Cheung, Tongzhou Wang, and Phillip Isola. The Platonic Representation Hypothesis, 2024. URL https://arxiv.org/abs/2405.07987 .                                                                                                                                                                                                                                                                                              |
| Y Kirstain, P Lewis, S Riedel, and O Levy. A Few More Examples May Be Worth Billions Parameters. In Findings of the Association for Computational Linguistics: EMNLP 2022 ,                                                                                                                                                                                                                                                                     |
| of pages 1017-1029, Abu Dhabi, United Arab Emirates, 2022. ACL Anthology.                                                                                                                                                                                                                                                                                                                                                                       |
| Sandipan Kundu, Yuntao Bai, Saurav Kadavath, Amanda Askell, Andrew Callahan, Anna Chen, Anna Goldie, Avital Balwit, Azalia Mirhoseini, Brayden McLean, Catherine Olsson, Cassie                                                                                                                                                                                                                                                                 |

Evraets, Eli Tran-Johnson, Esin Durmus, Ethan Perez, Jackson Kernion, Jamie Kerr, Kamal Ndousse, Karina Nguyen, Nelson Elhage, Newton Cheng, Nicholas Schiefer, Nova DasSarma, Oliver Rausch, Robin Larson, Shannon Yang, Shauna Kravec, Timothy Telleen-Lawton, Thomas I. Liao, Tom Henighan, Tristan Hume, Zac Hatfield-Dodds, S¨ oren Mindermann, Nicholas Joseph, Sam McCandlish, and Jared Kaplan. Specific versus General Principles for Constitutional AI, 2023. URL https://arxiv.org/abs/2310.13798 .

Xianzhi Li, Samuel Chan, Xiaodan Zhu, Yulong Pei, Zhiqiang Ma, Xiaomo Liu, and Sameena Shah. Are ChatGPT and GPT-4 General-Purpose Solvers for Financial Text Analytics? A Study on Several Typical Tasks, 2023. URL https://arxiv.org/abs/2305.05862 .

Wing Lian, Bleys Goodson, Eugene Pentland, Austin Cook, Chanvichet Vong, and 'Teknium'. OpenOrca: An Open Dataset of GPT Augmented FLAN Reasoning Traces. https://https: //huggingface.co/Open-Orca/OpenOrca , 2023.

Bill Yuchen Lin, Abhilasha Ravichander, Ximing Lu, Nouha Dziri, Melanie Sclar, Khyathi Chandu, Chandra Bhagavatula, and Yejin Choi. The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learning, 2023. URL https://arxiv.org/abs/2312.01552 .

Stephanie Lin, Jacob Hilton, and Owain Evans. TruthfulQA: Measuring How Models Mimic Human Falsehoods. In Smaranda Muresan, Preslav Nakov, and Aline Villavicencio, editors, Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , pages 3214-3252, Dublin, Ireland, May 2022. Association for Computational Linguistics. doi: 10.18653/v1/2022.acl-long.229. URL https://aclanthology.org/2022.acl-long.229 .

Chen Ling, Xujiang Zhao, Jiaying Lu, Chengyuan Deng, Can Zheng, Junxiang Wang, Tanmoy Chowdhury, Yun Li, Hejie Cui, Xuchao Zhang, Tianjiao Zhao, Amit Panalkar, Dhagash Mehta, Stefano Pasquali, Wei Cheng, Haoyu Wang, Yanchi Liu, Zhengzhang Chen, Haifeng Chen, Chris White, Quanquan Gu, Jian Pei, Carl Yang, and Liang Zhao. Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Survey, 2024. URL https: //arxiv.org/abs/2305.18703 .

Shayne Longpre, Gregory Yauney, Emily Reif, Katherine Lee, Adam Roberts, Barret Zoph, Denny Zhou, Jason Wei, Kevin Robinson, David Mimno, and Daphne Ippolito. A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, &amp; Toxicity. In Kevin Duh, Helena Gomez, and Steven Bethard, editors, Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers) , pages 32453276, Mexico City, Mexico, June 2024. Association for Computational Linguistics. URL https://aclanthology.org/2024.naacl-long.179 .

Hanjia Lyu, Song Jiang, Hanqing Zeng, Yinglong Xia, Qifan Wang, Si Zhang, Ren Chen, Chris Leung, Jiajie Tang, and Jiebo Luo. LLM-Rec: Personalized Recommendation via Prompting Large Language Models. In Kevin Duh, Helena Gomez, and Steven Bethard, editors, Findings of the Association for Computational Linguistics: NAACL 2024 , pages 583-612, Mexico City, Mexico, June 2024. Association for Computational Linguistics. URL https://aclanthology. org/2024.findings-naacl.39 .

Meta. Introducing Meta Llama 3: The most capable openly available LLM to date. https: //ai.meta.com/blog/meta-llama-3/ , 2024. Accessed: 2024-16-07.

MistralAI. mistralai/Mistral-7B-v0.3. https://huggingface.co/mistralai/Mistral-7B-v0.3 , 2024. Accessed: 2024-07-16.

Arindam Mitra, Luciano Del Corro, Shweti Mahajan, Andres Codas, Clarisse Simoes, Sahaj Agarwal, Xuxi Chen, Anastasia Razdaibiedina, Erik Jones, Kriti Aggarwal, Hamid Palangi, Guoqing Zheng, Corby Rosset, Hamed Khanpour, and Ahmed Awadallah. Orca 2: Teaching Small Language Models How to Reason, 2023. URL https://arxiv.org/abs/2311.11045 .

Subhabrata Mukherjee, Arindam Mitra, Ganesh Jawahar, Sahaj Agarwal, Hamid Palangi, and Ahmed Awadallah. Orca: Progressive Learning from Complex Explanation Traces of GPT-4, 2023. URL https://arxiv.org/abs/2306.02707 .

Sergey I. Nikolenko. Synthetic Data for Deep Learning . Springer Optimization and Its Applications. Springer Cham, 1 edition, 2021. ISBN 978-3-030-75178-4. doi: 10.1007/978-3-030-75178-4.

OpenAI. GPT-4 Technical Report. Technical report, OpenAI, 2024. URL https://arxiv.org/ abs/2303.08774 .

Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul F Christiano, Jan Leike, and Ryan Lowe. Training language models to follow instructions with human feedback. In S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh, editors, Advances in Neural Information Processing Systems , volume 35, pages 27730-27744. Curran Associates, Inc., 2022. URL https://proceedings.neurips.cc/paper\_files/paper/2022/ file/b1efde53be364a73914f58805a001731-Paper-Conference.pdf .

Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. BLEU: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting on Association for Computational Linguistics , ACL '02, page 311-318, USA, 2002. Association for Computational Linguistics. doi: 10.3115/1073083.1073135. URL https://doi.org/10.3115/1073083. 1073135 .

Alicia Parrish, Angelica Chen, Nikita Nangia, Vishakh Padmakumar, Jason Phang, Jana Thompson, Phu Mon Htut, and Samuel Bowman. BBQ: A hand-built bias benchmark for question answering. In Smaranda Muresan, Preslav Nakov, and Aline Villavicencio, editors, Findings of the Association for Computational Linguistics: ACL 2022 , pages 2086-2105, Dublin, Ireland, May 2022. Association for Computational Linguistics. doi: 10.18653/v1/2022.findings-acl.165. URL https://aclanthology.org/2022.findings-acl.165 .

Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language Models are Unsupervised Multitask Learners, 2019. URL https://api.semanticscholar.org/ CorpusID:160025533 .

Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D Manning, Stefano Ermon, and Chelsea Finn. Direct Preference Optimization: Your Language Model is Secretly a Reward Model. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems , volume 36, pages 53728-53741. Curran Associates, Inc., 2023. URL https://proceedings.neurips.cc/paper\_files/paper/2023/ file/a85b405ed65c6477a4fe8302b5e06ce7-Paper-Conference.pdf .

Evgeniia Razumovskaia, Ivan Vuli´, and Anna Korhonen. Analyzing and Adapting Large Language c Models for Few-Shot Multilingual NLU: Are We There Yet?, 2024. URL https://arxiv.org/ abs/2403.01929 .

Nisan Stiennon, Long Ouyang, Jeffrey Wu, Daniel Ziegler, Ryan Lowe, Chelsea Voss, Alec Radford, Dario Amodei, and Paul F Christiano. Learning to summarize with human feedback. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems , volume 33, pages 3008-3021. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper\_files/paper/2020/file/ 1f89885d556929e98d3ef9b86448f951-Paper.pdf .

Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to Sequence Learning with Neural Networks. In Z. Ghahramani, M. Welling, C. Cortes, N. Lawrence, and K.Q. Weinberger, editors, Advances in Neural Information Processing Systems , volume 27. Curran Associates, Inc., 2014. URL https://proceedings.neurips.cc/paper\_files/paper/2014/file/ a14ac55a4f27472c5d894ec1c3c743d2-Paper.pdf .

Katherine Tian, Eric Mitchell, Huaxiu Yao, Christopher D. Manning, and Chelsea Finn. Finetuning Language Models for Factuality, 2023. URL https://arxiv.org/abs/2311.08401 .

Christophe Tribes, Sacha Benarroch-Lelong, Lu Peng, and Ivan Kobyzev. Hyperparameter optimization for Large Language Model instruction-tuning. Les Cahiers du GERAD G-2023-62, Groupe d'´ etudes et de recherche en analyse des d´cisions, e GERAD, Montr´ eal QC H3T 2A7, Canada, February 2024. URL https://www.gerad.ca/en/papers/G-2023-62 .

Lewis Tunstall, Edward Beeching, Nathan Lambert, Nazneen Rajani, Shengyi Huang, Kashif Rasul, Alexander M. Rush, and Thomas Wolf. The Alignment Handbook. https://github.com/ huggingface/alignment-handbook , 2023.

Boris van Breugel, Zhaozhi Qian, and Mihaela van der Schaar. Synthetic data, real errors: how (not) to publish and use synthetic data, 2023. URL https://arxiv.org/abs/2305.09235 .

Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, glyph[suppress] L ukasz Kaiser, and Illia Polosukhin. Attention is All you Need. In I. Guyon, U. Von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems , volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips.cc/paper\_files/paper/2017/file/ 3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf .

Pablo Villalobos, Anson Ho, Jaime Sevilla, Tamay Besiroglu, Lennart Heim, and Marius Hobbhahn. Will we run out of data? Limits of LLM scaling based on human-generated data, 2024. URL https://arxiv.org/abs/2211.04325 .

Leandro von Werra, Younes Belkada, Lewis Tunstall, Edward Beeching, Tristan Thrush, Nathan Lambert, and Shengyi Huang. TRL: Transformer Reinforcement Learning. https://github. com/huggingface/trl , 2020.

Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A. Smith, Daniel Khashabi, and Hannaneh Hajishirzi. Self-Instruct: Aligning Language Models with Self-Generated Instructions. ACL , 2023. doi: 10.18653/v1/2023.acl-long.754. URL https://par.nsf.gov/biblio/ 10462301 .

Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, R´mi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick e von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander M. Rush. Transformers: State-of-the-Art Natural Language Processing. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations , pages 38-45, Online, October 2020. Association for Computational Linguistics. URL https://www.aclweb.org/anthology/2020. emnlp-demos.6 .

Shijie Wu, Ozan Irsoy, Steven Lu, Vadim Dabravolski, Mark Dredze, Sebastian Gehrmann, Prabhanjan Kambadur, David Rosenberg, and Gideon Mann. BloombergGPT: A Large Language Model for Finance, 2023. URL https://arxiv.org/abs/2303.17564 .

Xiaohan Xu, Ming Li, Chongyang Tao, Tao Shen, Reynold Cheng, Jinyang Li, Can Xu, Dacheng Tao, and Tianyi Zhou. A Survey on Knowledge Distillation of Large Language Models, 2024. URL https://arxiv.org/abs/2402.13116 .

Hao Yu, Aoran Gan, Kai Zhang, Shiwei Tong, Qi Liu, and Zhaofeng Liu. Evaluation of RetrievalAugmented Generation: A Survey, 2024. URL https://arxiv.org/abs/2405.07437 .

- Chunting

Zhou, Pengfei Liu, Puxin Xu, Srinivasan Iyer, Jiao Sun, Yuning Mao, Xuezhe Ma, Avia Efrat, Ping Yu, LILI YU, Susan Zhang, Gargi Ghosh, Mike Lewis, Luke Zettlemoyer, and Omer Levy. LIMA: Less Is More for Alignment. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems , volume 36, pages 55006-55021. Curran Associates, Inc., 2023. URL https://proceedings.neurips.cc/paper\_files/paper/2023/file/ ac662d74829e4407ce1d126477f4a03a-Paper-Conference.pdf .

Daniel M. Ziegler, Nisan Stiennon, Jeffrey Wu, Tom B. Brown, Alec Radford, Dario Amodei, Paul Christiano, and Geoffrey Irving. Fine-Tuning Language Models from Human Preferences, 2020. URL https://arxiv.org/abs/1909.08593 .
Gareth Seneque Lap-Hang Ho Ariel Kuperman Nafise Erfanian Saeedi Jeffrey Molendijk
ABC Align: Large Language Model Alignment for Safety & Accuracy
Alignment of Large Language Models (LLMs) remains an unsolved problem. Human
preferences are highly distributed and can be captured at multiple levels of
abstraction, from the individual to diverse populations. Organisational
preferences, represented by standards and principles, are defined to mitigate
reputational risk or meet legislative obligations. In this paper, we present
ABC Align, a novel alignment methodology for LLMs that enables integration of
the standards and preferences of a large media organisation into the LLM
itself. We combine a set of data and methods that build on recent breakthroughs
in synthetic data generation, preference optimisation, and post-training model
quantisation. Our unified approach mitigates bias and improves accuracy, while
preserving reasoning capability, as measured against standard benchmarks.