paper-with-me

Papers

Multilingual Contrastive Decoding via Language-Agnostic Layers Skipping

2024-07-15 · Wenhao Zhu, Sizhe Liu, ShuJian Huang, Shuaijie She, Chris Wendler, Jiajun Chen

Decoding by contrasting layers (DoLa), is designed to improve the generation quality of large language models (LLMs) by contrasting the prediction probabilities between an early exit output (amateur logits) and the final output (expert logits). However, we find that this approach does not work well on non-English tasks. Inspired by previous interpretability work on language transition during the model's forward pass, we discover that this issue arises from a language mismatch between early exit output and final output. In this work, we propose an improved contrastive decoding algorithm that is effective for diverse languages beyond English. To obtain more helpful amateur logits, we devise two strategies to skip a set of bottom, language-agnostic layers based on our preliminary analysis. Experimental results on multilingual reasoning benchmarks demonstrate that our proposed method outperforms previous contrastive decoding baselines and substantially improves LLM's chain-of-thought reasoning accuracy across 11 languages. The project will be available at: https://github.com/NJUNLP/SkipLayerCD.

📄 PDF Abstract BibTeX arXiv:2407.10795

Code (1)

njunlp/skiplayercd 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Tracing Multilingual Representations in LLMs with Cross-Layer Transcoders

2025-11-13 · Abir Harrasse, Florent Draye, Punya Syon Pandey, Zhijing Jin 외 arxiv

Multilingual Large Language Models (LLMs) can process many languages, yet how they internally represent this diversity remains unclear. Do they form shared multilingual representations with language-specific decoding, an…

A Language-Agnostic Hierarchical LoRA-MoE Architecture for CTC-based Multilingual ASR

2026-01-02 · Yuang Zheng, Dongxu Chen, Yuxiang Mei, Dongxing Xu 외 arxiv

Large-scale multilingual ASR (mASR) models such as Whisper achieve strong performance but incur high computational and latency costs, limiting their deployment on resource-constrained edge devices. In this study, we prop…

Domain Adaptation

Mitigating Hallucinations and Off-target Machine Translation with Source-Contrastive and Language-Contrastive Decoding

2023-09-13 · Rico Sennrich, Jannis Vamvas, Alireza Mohammadshahi

Hallucinations and off-target translation remain unsolved problems in MT, especially for low-resource languages and massively multilingual models. In this paper, we introduce two related methods to mitigate these failure…

Machine TranslationTranslation

Language-Informed Beam Search Decoding for Multilingual Machine Translation

2024-08-11 · Yilin Yang, Stefan Lee, Prasad Tadepalli

Beam search decoding is the de-facto method for decoding auto-regressive Neural Machine Translation (NMT) models, including multilingual NMT where the target language is specified as an input. However, decoding multiling…

Language IdentificationMachine TranslationNMTTranslation

LayerCake: Token-Aware Contrastive Decoding within Large Language Model Layers

2025-07-06 · Jingze Zhu, Yongliang Wu, Wenbo Zhu, Jiawang Cao 외 arxiv

Large language models (LLMs) excel at natural language understanding and generation but remain vulnerable to factual errors, limiting their reliability in knowledge-intensive tasks. While decoding-time strategies provide…

Natural Language Understanding