Lu Yin, Bo Jiang, Yuxiang Guo, Jiaqi Zhang
We lifted 4 functions out of this paper's own repositories and ran 0 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.
| Repository | Role | Ran |
|---|---|---|
| XXares/TODO | canonical | 0 of 4 |
| Function | Status | Where it lives |
|---|---|---|
| apply_chat_template | Not yet run | XXares/TODO/utils/utils.py code served (permissive licence) · get_code("6744441ca5bd1ea7") |
| create_model | Not yet run | XXares/TODO/dpo_tie_train.py code served (permissive licence) · get_code("f4b89d549bca2365") |
| create_tie_model | Not yet run | XXares/TODO/dpo_tie_eval.py code served (permissive licence) · get_code("8914ec0b7ae7a97f") |
| pad_to_length | Not yet run | XXares/TODO/utils/dpo_tie_trainer_eval.py code served (permissive licence) · get_code("39e3cf1d3ab26978") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Aligning large language models (LLMs) with human intent is critical for enhancing their performance across a variety of tasks. Standard alignment techniques, such as Direct Preference Optimization (DPO), often rely on the binary Bradley-Terry (BT) model, which can struggle to capture the complexities of human preferences-particularly in the presence of noisy or inconsistent labels and frequent ties. To address these limitations, we introduce the Tie-rank Oriented Bradley-Terry model (TOBT), an extension of the BT model that explicitly incorporates ties, enabling more nuanced preference representation. Building on this, we propose Tie-rank Oriented Direct Preference Optimization (TODO), a novel alignment algorithm that leverages TOBT's ternary ranking system to improve preference alignment. In evaluations on Mistral-7B and Llama 3-8B models, TODO consistently outperforms DPO in modeling preferences across both in-distribution and out-of-distribution datasets. Additional assessments using MT Bench and benchmarks such as Piqa, ARC-c, and MMLU further demonstrate TODO's superior alignment performance. Notably, TODO also shows strong results in binary preference alignment, highlighting its versatility and potential for broader integration into LLM alignment. The implementation details and datasets can be found in https://github.com/XXares/TODO.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2411.02442")
get_code_for_paper("2411.02442")
have("2411.02442")
Connect an agent — have() is free.