SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2408.08072 · 2024

I-SHEEP: Self-Alignment of LLM from Scratch through an Iterative Self-Enhancement Paradigm

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 8 functions out of this paper's own repositories and ran 6 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
multimodal-art-projection/I-SHEEP canonical 6 of 8
FunctionStatusWhere it lives
encode_prompt Ran multimodal-art-projection/I-SHEEP/seed_ppl/generate_instruction.py
pointer only (licence: NONE) · get_code("ca84d7c5495591c0")
extract_number_from_eval Ran multimodal-art-projection/I-SHEEP/seed_ppl/evaluate_prompt.py
pointer only (licence: NONE) · get_code("b45a72bd84f8f3ae")
generate_prompt_eval_following Ran multimodal-art-projection/I-SHEEP/seed_ppl/evaluate_prompt.py
pointer only (licence: NONE) · get_code("ce139503666c147f")
generate_prompt_eval_quality Ran multimodal-art-projection/I-SHEEP/seed_ppl/evaluate_prompt.py
pointer only (licence: NONE) · get_code("440b5e7abb72e1c4")
sample_by_ppl Ran multimodal-art-projection/I-SHEEP/seed_ppl/generate_instruction.py
pointer only (licence: NONE) · get_code("f59e6e21f977bebc")
weighted_sample_without_replacement Ran multimodal-art-projection/I-SHEEP/seed_ppl/generate_instruction.py
pointer only (licence: NONE) · get_code("684e541204aa6d36")
encode_input Not yet run multimodal-art-projection/I-SHEEP/seed_ppl/generate_output.py
pointer only (licence: NONE) · get_code("68e88d11a1f9f4f4")
encode_rawoutput Not yet run multimodal-art-projection/I-SHEEP/seed_ppl/generate_output.py
pointer only (licence: NONE) · get_code("db753eb30a65a8ff")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large Language Models (LLMs) have achieved significant advancements, however, the common learning paradigm treats LLMs as passive information repositories, neglecting their potential for active learning and alignment. Some approaches train LLMs using their own generated synthetic data, exploring the possibility of active alignment. However, there is still a huge gap between these one-time alignment methods and the continuous automatic alignment of humans. In this paper, we introduce \textbf{I-SHEEP}, an \textbf{I}terative \textbf{S}elf-En\textbf{H}anc\textbf{E}m\textbf{E}nt \textbf{P}aradigm.This human-like paradigm enables LLMs to \textbf{continuously self-align from scratch with nothing}. Compared to the one-time alignment method Dromedary \cite{sun2023principledriven}, which refers to the first iteration in this paper, I-SHEEP can significantly enhance capacities on both Qwen and Llama models. I-SHEEP achieves a maximum relative improvement of 78.2\% in the Alpaca Eval, 24.0\% in the MT Bench, and an absolute increase of 8.88\% in the IFEval accuracy over subsequent iterations in Qwen-1.5 72B model. Additionally, I-SHEEP surpasses the base model in various standard benchmark generation tasks, achieving an average improvement of 24.77\% in code generation tasks, 12.04\% in TrivialQA, and 20.29\% in SQuAD. We also provide new insights based on the experiment results. Our codes, datasets, and models are available at \textbf{https://anonymous.4open.science/r/I-SHEEP}.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2408.08072")
get_code_for_paper("2408.08072")
have("2408.08072")

Connect an agent — have() is free.