Skip to main content
QUICK REVIEW

[논문 리뷰] Layer-wise Swapping for Generalizable Multilingual Safety

Hyunseo Shin, Wonseok Hwang|arXiv (Cornell University)|2026. 01. 30.
Natural Language Processing TechniquesComputer Science인용 수 0
한 줄 요약

본 논문은 영어 안전 전문가로부터의 안전 정렬을 저자원 다국어 모델로 이전시키는 훈련 없이 작동하는 안전 인식 계층/모듈 교체 방법을 제시하여, 일반 언어 이해를 유지하면서 다국어 안전성을 향상시킨다.

ABSTRACT

Despite the rapid advancements of Large Language Models (LLMs), safety risks remain a critical challenge for low-resource languages. Existing safety datasets are predominantly English centric, limiting progress in multilingual safety alignment. As a result, low resource expert models, finetuned on their respective instruction datasets, tend to exhibit higher unsafety rates compared to their high resource counterparts. In this work, we propose a safety aware layer swapping method that transfers safety alignment from an English safety expert to low resource language experts without additional training. To further enhance transfer ability, our method adaptively selects or blends modules based on their degree of specialization. Our approach preserves performance on general language understanding tasks while enhancing safety in the target languages. Experimental results show that the proposed method achieves comparable performance to the language expert on general benchmarks such as MMMLU, BELEBELE, and MGSM, while producing more aligned and less harmful responses on the MultiJail safety benchmark.

연구 동기 및 목표

  • 영어 중심의 안전 데이터셋으로 인한 다국어 대형 언어 모델의 안전성 격차를 해결한다.
  • 영어로부터 저자원 언어로 안전 정렬을 이전하기 위한 훈련 없이 계층별(layers) 및 모듈별(module) 교체 방법을 제안한다.
  • 통합 표현 공간 내에서 다국어 능력과 안전 전문화를 구성하기 위한 작업 벡터 기반 프레임워크를 개발한다.
  • 전문화 정도에 따라 주의(attention) 및 MLP 모듈을 자동으로 선택하거나 혼합하여 안전 이전을 최적화한다.
  • 저자원 언어에서 다국어 안전성을 향상시키는 한편 일반 벤치마크에서의 성능을 유지하는 것을 시연한다.

제안 방법

  • 레이어 교체를 기반 모델로부터의 θ 차이로 다국어·안전 작업 벡터를 구성하는 것으로 형식화한다.
  • 셀프 어텐션(self-attention) 및 MLP 모듈로 분해하고 이들의 작업 벡터를 계산하여 모듈 단위 교체로 확장한다.
  • 상대 업데이트 크기를 사용하여 모듈 단위 중요도를 계산하고 정규화하여 층/모듈 중요도 점수를 산출한다.
  • 임계값 tau 및 보간 가중치 alpha(기본값 tau=0.001, alpha=0.5)로 모듈을 자동으로 선택하거나 혼합한다.
  • 안전 업데이트와 다국어 업데이트를 병합하여 하이브리드 모델을 구성하는 효율적이고 훈련이 필요 없는 절차(Algorithm 1)를 제공한다.
Figure 1: Comparison between prior layer swapping (Bandarkar et al. , 2025 ) , which relies on static, manual layer replacement (left), and our proposed safety-aware swapping method that automatically identifies and merges optimal attention and MLP modules for safety transfer (right).
Figure 1: Comparison between prior layer swapping (Bandarkar et al. , 2025 ) , which relies on static, manual layer replacement (left), and our proposed safety-aware swapping method that automatically identifies and merges optimal attention and MLP modules for safety transfer (right).

실험 결과

연구 질문

  • RQ1추가 훈련 없이 영어 안전 전문가의 안전 정렬을 저자원 언어로 이전할 수 있는가?
  • RQ2동적 모듈 단위 교체가 언어 일반 이해를 보존하면서 언어 간 안전성을 향상시키는가?
  • RQ3다국어 안전 이전을 최적화하기 위해 어텐션과 MLP 모듈을 어떻게 혼합하거나 선택해야 하는가?
  • RQ4여러 저자원 언어에 대해 자동층/모듈 선택이 안전성과 일반 성능에 미치는 영향은 무엇인가?
  • RQ5제안된 접근법이 서로 다른 기본 모델과 다국어 벤치마크에서 견고한가?

주요 결과

  • 레이어 단위 교체는 MMMLU, BELEBELE, MGSM과 같은 벤치마크에서 일반 성능을 유지하면서 여러 언어에서 다국어 비안전성을 감소시킨다.
  • 모듈 단위 교체는 레이어 단위 교체 및 고정 기준선에 비해 교차 언어 강건성과 안전성 이전을 더욱 개선한다.
  • 적응적이고 학습이 필요 없는 병합 전략은 언어 전용 또는 안전 전용 baselines에 비해 더 안전한 출력을 달성하고 경쟁력 있거나 개선된 성능을 보인다.
  • 평가에 통합된 안전 판정은 유해 프롬프트에 대해 인간 판단과 높은 일치를 보인다(Qwen Guard ~85.5% 평균 정확도).
  • 소거 실험은 tau=0.001 및 alpha=0.5가 안전 이전과 언어 이해 간의 최적 절충을 제공함을 시사한다.
Figure 2: Workflow of our method. We begin with a pretrained base model and its safety-tuned and multilingual-tuned models. For each layer, we compute parameter updates $W$ relative to the base from safety-tuned and multilingual-tuned experts, measure module-wise importance (Attention and FFN), and
Figure 2: Workflow of our method. We begin with a pretrained base model and its safety-tuned and multilingual-tuned models. For each layer, we compute parameter updates $W$ relative to the base from safety-tuned and multilingual-tuned experts, measure module-wise importance (Attention and FFN), and

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.