프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

Gemma: Open Models Based on Gemini Research and Technology

Gemma: Gemini 연구 및 기술 기반의 오픈 모델

  • 연구 문제 Gemma는 Gemini 기술을 바탕으로 한 2B와 7B 크기의 경량 공개 모델로, 같은 규모의 공개 모델과 비교했을 때 어떤 능력을 보이는지와 공개에 따른 위험을 어떻게 다루는지를 검증합니다.
  • 연구 방법 트랜스포머 디코더에 RoPE, GeGLU, RMSNorm과 크기별 어텐션 선택을 적용해 학습한 뒤, SFT와 RLHF로 명령 튜닝 모델을 만드는 방식입니다.
  • 주요 결과 Gemma 7B IT는 창작·코딩·지시 따르기 평가에서 Mistral v0.2 7B Instruct 대비 61.2%의 긍정 승률을 보였고, MMLU와 수학·코딩 벤치마크의 여러 항목에서 비교 공개 모델보다 높은 값을 보고합니다.

공개 모델 계열의 목표와 공개 범위

Gemma는 Gemini 연구와 기술에서 가져온 설계를 바탕으로 한 경량 오픈 모델 계열입니다. 이 논문은 이 계열을 2B와 7B 파라미터 두 크기로 공개하며, 각 크기마다 pre-training 체크포인트와 대화·지시 따르기·유용성·안전성을 위해 미세조정한 체크포인트를 함께 제공한다고 밝힙니다. 2B 모델은 CPU와 온디바이스 응용을, 7B 모델은 GPU와 TPU에서의 효율적인 배포와 개발을 겨냥합니다.

이 연구가 다루는 질문은 상대적으로 작은 공개 모델이 같은 규모의 다른 공개 모델과 비교해 어떤 능력을 보이는지, 그리고 그 공개가 안전성과 책임 있는 사용 측면에서 어떤 위험을 동반하는지입니다. 저자들은 Gemma가 같은 규모의 공개 모델들을 넘어서는 성능을 보인다고 주장하며, 18개 텍스트 기반 과제 중 11개에서 유사 규모 공개 모델보다 높다고 보고합니다. 이 수치는 논문 초록에서 제시된 요약이며, 과제별 세부 비교는 이후 평가 절에서 확인해야 합니다.

Figure 1: | Language understanding and generation performance of Gemma 7B across different capa-
bilities compared to similarly sized open models. We group tog…

Figure 1 | Language understanding and generation performance of Gemma 7B across different capa- bilities compared to similarly sized open models. We group together standard academic benchmark evaluations by capability and average the respective scores; see Table 6 for a detailed breakdown of performance.

원문 · CC BY 4.0 · Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Léonard Hussenot, Pier Giuseppe Sessa, Aakanksha Chowdhery, Adam Roberts, Aditya Barua, Alex Botev, Alex Castro-Ros, Ambrose Slone, Amélie Héliou, Andrea Tacchetti, Anna Bulanova, Antonia Paterson, Beth Tsai, Bobak Shahriari, Charline Le Lan, Christopher A. Choquette-Choo, Clément Crepy, Daniel Cer, Daphne Ippolito, David Reid, Elena Buchatskaya, Eric Ni, Eric Noland, Geng Yan, George Tucker, George-Christian Muraru, Grigory Rozhdestvenskiy, Henryk Michalewski, Ian Tenney, Ivan Grishchenko, Jacob Austin, James Keeling, Jane Labanowski, Jean-Baptiste Lespiau, Jeff Stanway, Jenny Brennan, Jeremy Chen, Johan Ferret, Justin Chiu, Justin Mao-Jones, Katherine Lee, Kathy Yu, Katie Millican, Lars Lowe Sjoesund, Lisa Lee, Lucas Dixon, Machel Reid, Maciej Mikuła, Mateo Wirth, Michael Sharman, Nikolai Chinaev, Nithum Thain, Olivier Bachem, Oscar Chang, Oscar Wahltinez, Paige Bailey, Paul Michel, Petko Yotov, Rahma Chaabouni, Ramona Comanescu, Reena Jana, Rohan Anil, Ross McIlroy, Ruibo Liu, Ryan Mullins, Samuel L Smith, Sebastian Borgeaud, Sertan Girgin, Sholto Douglas, Shree Pandya, Siamak Shakeri, Soham De, Ted Klimenko, Tom Hennigan, Vlad Feinberg, Wojciech Stokowiec, Yu-hui Chen, Zafarali Ahmed, Zhitao Gong, Tris Warkentin, Ludovic Peran, Minh Giang, Clément Farabet, Oriol Vinyals, Jeff Dean, Koray Kavukcuoglu, Demis Hassabis, Zoubin Ghahramani, Douglas Eck, Joelle Barral, Fernando Pereira, Eli Collins, Armand Joulin, Noah Fiedel, Evan Senter, Alek Andreev, Kathleen Kenealy · Gemma: Open Models Based on Gemini Research and Technology · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

모델 학습 데이터도 이 질문의 조건에 속합니다. Gemma 2B와 7B는 주로 영어로 된 웹 문서, 수학, 코드 데이터를 각각 3T와 6T 토큰 규모로 학습한다고 설명됩니다. 따라서 이 결과는 영어 중심 데이터와 텍스트 과제라는 범위 안에서 읽어야 합니다. 논문은 이 모델들이 Gemini와 달리 멀티모달이 아니며, 다국어 과제의 최고 성능을 목표로 하지 않는다고 명시합니다.

트랜스포머 디코더 기반 구조와 pre-training 설정

Gemma의 구조는 트랜스포머 디코더를 기반으로 합니다. 학습 문맥 길이는 8192 토큰이며, 원래 트랜스포머 이후에 제안된 몇 가지 개선을 적용합니다. 2B 모델은 hidden 차원 2048, 18개 층, 헤드 8개, KV 헤드 1개를 가지며, 7B 모델은 hidden 차원 3072, 28개 층, 헤드 16개, KV 헤드 16개를 가집니다. 두 모델 모두 헤드 크기는 256이고 어휘 크기는 256128입니다.

Table 1: | Key model parameters

Table 1 | Key model parameters.

원문 · CC BY 4.0 · Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Léonard Hussenot, Pier Giuseppe Sessa, Aakanksha Chowdhery, Adam Roberts, Aditya Barua, Alex Botev, Alex Castro-Ros, Ambrose Slone, Amélie Héliou, Andrea Tacchetti, Anna Bulanova, Antonia Paterson, Beth Tsai, Bobak Shahriari, Charline Le Lan, Christopher A. Choquette-Choo, Clément Crepy, Daniel Cer, Daphne Ippolito, David Reid, Elena Buchatskaya, Eric Ni, Eric Noland, Geng Yan, George Tucker, George-Christian Muraru, Grigory Rozhdestvenskiy, Henryk Michalewski, Ian Tenney, Ivan Grishchenko, Jacob Austin, James Keeling, Jane Labanowski, Jean-Baptiste Lespiau, Jeff Stanway, Jenny Brennan, Jeremy Chen, Johan Ferret, Justin Chiu, Justin Mao-Jones, Katherine Lee, Kathy Yu, Katie Millican, Lars Lowe Sjoesund, Lisa Lee, Lucas Dixon, Machel Reid, Maciej Mikuła, Mateo Wirth, Michael Sharman, Nikolai Chinaev, Nithum Thain, Olivier Bachem, Oscar Chang, Oscar Wahltinez, Paige Bailey, Paul Michel, Petko Yotov, Rahma Chaabouni, Ramona Comanescu, Reena Jana, Rohan Anil, Ross McIlroy, Ruibo Liu, Ryan Mullins, Samuel L Smith, Sebastian Borgeaud, Sertan Girgin, Sholto Douglas, Shree Pandya, Siamak Shakeri, Soham De, Ted Klimenko, Tom Hennigan, Vlad Feinberg, Wojciech Stokowiec, Yu-hui Chen, Zafarali Ahmed, Zhitao Gong, Tris Warkentin, Ludovic Peran, Minh Giang, Clément Farabet, Oriol Vinyals, Jeff Dean, Koray Kavukcuoglu, Demis Hassabis, Zoubin Ghahramani, Douglas Eck, Joelle Barral, Fernando Pereira, Eli Collins, Armand Joulin, Noah Fiedel, Evan Senter, Alek Andreev, Kathleen Kenealy · Gemma: Open Models Based on Gemini Research and Technology · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

어텐션 방식은 크기에 따라 다릅니다. 7B 모델은 멀티 헤드 어텐션을 쓰고, 2B 체크포인트는 num_kv_heads = 1인 Multi-Query Attention을 씁니다. 이 선택은 작은 규모에서 Multi-Query Attention이 잘 작동한다는 절제 결과에 근거합니다. 위치 정보는 절대 위치 임베딩 대신 각 층에 적용되는 RoPE 임베딩으로 넣고, 입력과 출력의 임베딩을 공유해 모델 크기를 줄입니다.

Table 2: | Parameter counts for the Gemma mod-
els. We inherit from the large Gemini vocabulary
(256k entries), that is designed to work on large
quantities of…

Table 2 | Parameter counts for the Gemma mod- els. We inherit from the large Gemini vocabulary (256k entries), that is designed to work on large quantities of languages, hence, the larger embed- ding parameter counts compared to models that are limited to one or a few languages.

원문 · CC BY 4.0 · Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Léonard Hussenot, Pier Giuseppe Sessa, Aakanksha Chowdhery, Adam Roberts, Aditya Barua, Alex Botev, Alex Castro-Ros, Ambrose Slone, Amélie Héliou, Andrea Tacchetti, Anna Bulanova, Antonia Paterson, Beth Tsai, Bobak Shahriari, Charline Le Lan, Christopher A. Choquette-Choo, Clément Crepy, Daniel Cer, Daphne Ippolito, David Reid, Elena Buchatskaya, Eric Ni, Eric Noland, Geng Yan, George Tucker, George-Christian Muraru, Grigory Rozhdestvenskiy, Henryk Michalewski, Ian Tenney, Ivan Grishchenko, Jacob Austin, James Keeling, Jane Labanowski, Jean-Baptiste Lespiau, Jeff Stanway, Jenny Brennan, Jeremy Chen, Johan Ferret, Justin Chiu, Justin Mao-Jones, Katherine Lee, Kathy Yu, Katie Millican, Lars Lowe Sjoesund, Lisa Lee, Lucas Dixon, Machel Reid, Maciej Mikuła, Mateo Wirth, Michael Sharman, Nikolai Chinaev, Nithum Thain, Olivier Bachem, Oscar Chang, Oscar Wahltinez, Paige Bailey, Paul Michel, Petko Yotov, Rahma Chaabouni, Ramona Comanescu, Reena Jana, Rohan Anil, Ross McIlroy, Ruibo Liu, Ryan Mullins, Samuel L Smith, Sebastian Borgeaud, Sertan Girgin, Sholto Douglas, Shree Pandya, Siamak Shakeri, Soham De, Ted Klimenko, Tom Hennigan, Vlad Feinberg, Wojciech Stokowiec, Yu-hui Chen, Zafarali Ahmed, Zhitao Gong, Tris Warkentin, Ludovic Peran, Minh Giang, Clément Farabet, Oriol Vinyals, Jeff Dean, Koray Kavukcuoglu, Demis Hassabis, Zoubin Ghahramani, Douglas Eck, Joelle Barral, Fernando Pereira, Eli Collins, Armand Joulin, Noah Fiedel, Evan Senter, Alek Andreev, Kathleen Kenealy · Gemma: Open Models Based on Gemini Research and Technology · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

비선형성은 표준 ReLU 대신 GeGLU 활성화 함수의 근사 버전을 사용합니다. 각 트랜스포머 서브레이어인 어텐션 층과 피드포워드 층의 입력은 RMSNorm으로 정규화되어 학습을 안정화합니다. 이 구조 변경은 모두 원래 트랜스포머 대비 추가된 구성요소이며, 논문은 각 항목을 개별적으로 나열해 설명합니다.

지도 fine-tuning과 인간 피드백 강화학습

pre-training 뒤에 Gemma 2B와 7B는 지도 fine-tuning(SFT)을 거칩니다. 이 단계의 데이터는 텍스트 전용이며 영어 중심의 합성 프롬프트-응답 쌍과 사람이 만든 쌍을 섞어 사용합니다. 데이터 혼합은 보류된 프롬프트에 대해 기준 모델과 테스트 모델의 응답을 만든 뒤, 더 큰 고성능 모델이 두 응답 중 선호를 고르는 LM 기반 side-by-side 평가로 선택됩니다. 프롬프트 집합은 지시 따르기, 사실성, 창의성, 안전성 같은 능력을 드러내도록 구성됩니다.

SFT 데이터는 필터링을 여러 단계 거칩니다. 개인 정보, 안전하지 않거나 독성 있는 출력, 모델의 잘못된 자기 정체성 데이터, 중복 예시를 제거합니다. 논문은 문맥 속 출처 표시, 망설임 표현, 거절을 장려하는 데이터 일부를 포함하면 사실성 지표가 좋아지고 다른 지표는 떨어지지 않는다고 보고합니다. 최종 데이터 혼합과 하이퍼파라미터는 도움성을 높이면서 안전성과 환각 관련 해악을 줄이는 기준으로 선택되었습니다.

이후 SFT 모델은 RLHF로 한 번 더 미세조정됩니다. 사람 평가자가 제공한 선호 쌍으로 Bradley-Terry 모델 기반의 보상 함수를 학습하고, 정책은 이 보상을 최적화하는 새로운 강화학습 알고리즘으로 학습합니다. 보상 해킹을 줄이기 위해 높은 용량의 모델을 자동 평가자로 사용해 기준 모델과 side-by-side 비교를 계산합니다. 채팅 형식에서는 user와 model 같은 역할 토큰과 turn 구분 토큰을 사용하며, 논문은 이 형식을 벗어나면 출력이 학습 분포 밖에 놓여 품질이 떨어질 수 있다고 설명합니다.

인간 선호 평가와 안전성 승률

인간 선호 평가에서 최종 릴리스 후보는 Mistral v0.2 7B Instruct와 비교되었습니다. 약 1000개의 보류 프롬프트는 창작 쓰기, 코딩, 지시 따르기를 대상으로 하며, 이 집합에서 Gemma 7B IT는 61.2%의 긍정 승률을 얻었고 Gemma 2B IT는 45%의 승률을 얻었습니다. 약 400개의 보류 프롬프트는 기본 안전 프로토콜을 확인하는 데 쓰였고, 같은 기준에서 Gemma 7B IT는 63.5%, Gemma 2B IT는 60.1%의 승률을 보였습니다.

표 5에 제시된 값은 Gemma 1.1 IT 모델의 결과입니다. 무승부는 동일하게 나누어 최종 승률에 반영되었고, 95% 신뢰구간이 함께 보고되었습니다. 예를 들어 지시 따르기에서 Gemma 1.1 IT 7B는 61.2%이며 신뢰구간은 59.3%에서 63%입니다. 같은 표에서 2B의 지시 따르기 승률은 45%이고 신뢰구간은 43.1%에서 46.9%입니다. 이 결과는 Mistral v0.2 7B Instruct를 상대로 한 쌍대 평가이므로, 다른 기준 모델에 대한 우열로 옮기지 않아야 합니다.

Table 5: | Win rate of Gemma 1.1 IT models ver-
sus Mistral 7B v0.2 Instruct with 95% confidence
intervals. We report breakdowns of wins, ties,
and losses, and…

Table 5 | Win rate of Gemma 1.1 IT models ver- sus Mistral 7B v0.2 Instruct with 95% confidence intervals. We report breakdowns of wins, ties, and losses, and we break ties evenly when report- ing the final win rate. Gemma 1.0 results can be found in the appendix.

원문 · CC BY 4.0 · Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Léonard Hussenot, Pier Giuseppe Sessa, Aakanksha Chowdhery, Adam Roberts, Aditya Barua, Alex Botev, Alex Castro-Ros, Ambrose Slone, Amélie Héliou, Andrea Tacchetti, Anna Bulanova, Antonia Paterson, Beth Tsai, Bobak Shahriari, Charline Le Lan, Christopher A. Choquette-Choo, Clément Crepy, Daniel Cer, Daphne Ippolito, David Reid, Elena Buchatskaya, Eric Ni, Eric Noland, Geng Yan, George Tucker, George-Christian Muraru, Grigory Rozhdestvenskiy, Henryk Michalewski, Ian Tenney, Ivan Grishchenko, Jacob Austin, James Keeling, Jane Labanowski, Jean-Baptiste Lespiau, Jeff Stanway, Jenny Brennan, Jeremy Chen, Johan Ferret, Justin Chiu, Justin Mao-Jones, Katherine Lee, Kathy Yu, Katie Millican, Lars Lowe Sjoesund, Lisa Lee, Lucas Dixon, Machel Reid, Maciej Mikuła, Mateo Wirth, Michael Sharman, Nikolai Chinaev, Nithum Thain, Olivier Bachem, Oscar Chang, Oscar Wahltinez, Paige Bailey, Paul Michel, Petko Yotov, Rahma Chaabouni, Ramona Comanescu, Reena Jana, Rohan Anil, Ross McIlroy, Ruibo Liu, Ryan Mullins, Samuel L Smith, Sebastian Borgeaud, Sertan Girgin, Sholto Douglas, Shree Pandya, Siamak Shakeri, Soham De, Ted Klimenko, Tom Hennigan, Vlad Feinberg, Wojciech Stokowiec, Yu-hui Chen, Zafarali Ahmed, Zhitao Gong, Tris Warkentin, Ludovic Peran, Minh Giang, Clément Farabet, Oriol Vinyals, Jeff Dean, Koray Kavukcuoglu, Demis Hassabis, Zoubin Ghahramani, Douglas Eck, Joelle Barral, Fernando Pereira, Eli Collins, Armand Joulin, Noah Fiedel, Evan Senter, Alek Andreev, Kathleen Kenealy · Gemma: Open Models Based on Gemini Research and Technology · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

부록의 Gemma 1.0 IT 결과는 같은 비교 방식으로 보고되었지만, 본문 결과와 같은 모델 버전으로 취급하지 않아야 합니다. 1.0 IT 7B의 안전성 승률은 58%, 지시 따르기 승률은 51.7%였고, 2B는 각각 56.5%와 41.6%였습니다. 따라서 Gemma 1.1 IT의 개선 폭은 같은 버전 내 비교로 해석해야 합니다.

Table 9: | Win rate of Gemma 1.0 IT models versus Mistral 7B v0.2 Instruct with 95% confidence
intervals. We report breakdowns of wins, ties, and losses. Ties…

Table 9 | Win rate of Gemma 1.0 IT models versus Mistral 7B v0.2 Instruct with 95% confidence intervals. We report breakdowns of wins, ties, and losses. Ties are broken evenly in the final win rate.

원문 · CC BY 4.0 · Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Léonard Hussenot, Pier Giuseppe Sessa, Aakanksha Chowdhery, Adam Roberts, Aditya Barua, Alex Botev, Alex Castro-Ros, Ambrose Slone, Amélie Héliou, Andrea Tacchetti, Anna Bulanova, Antonia Paterson, Beth Tsai, Bobak Shahriari, Charline Le Lan, Christopher A. Choquette-Choo, Clément Crepy, Daniel Cer, Daphne Ippolito, David Reid, Elena Buchatskaya, Eric Ni, Eric Noland, Geng Yan, George Tucker, George-Christian Muraru, Grigory Rozhdestvenskiy, Henryk Michalewski, Ian Tenney, Ivan Grishchenko, Jacob Austin, James Keeling, Jane Labanowski, Jean-Baptiste Lespiau, Jeff Stanway, Jenny Brennan, Jeremy Chen, Johan Ferret, Justin Chiu, Justin Mao-Jones, Katherine Lee, Kathy Yu, Katie Millican, Lars Lowe Sjoesund, Lisa Lee, Lucas Dixon, Machel Reid, Maciej Mikuła, Mateo Wirth, Michael Sharman, Nikolai Chinaev, Nithum Thain, Olivier Bachem, Oscar Chang, Oscar Wahltinez, Paige Bailey, Paul Michel, Petko Yotov, Rahma Chaabouni, Ramona Comanescu, Reena Jana, Rohan Anil, Ross McIlroy, Ruibo Liu, Ryan Mullins, Samuel L Smith, Sebastian Borgeaud, Sertan Girgin, Sholto Douglas, Shree Pandya, Siamak Shakeri, Soham De, Ted Klimenko, Tom Hennigan, Vlad Feinberg, Wojciech Stokowiec, Yu-hui Chen, Zafarali Ahmed, Zhitao Gong, Tris Warkentin, Ludovic Peran, Minh Giang, Clément Farabet, Oriol Vinyals, Jeff Dean, Koray Kavukcuoglu, Demis Hassabis, Zoubin Ghahramani, Douglas Eck, Joelle Barral, Fernando Pereira, Eli Collins, Armand Joulin, Noah Fiedel, Evan Senter, Alek Andreev, Kathleen Kenealy · Gemma: Open Models Based on Gemini Research and Technology · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

자동 벤치마크에서 Gemma 7B의 위치

학술 벤치마크 비교에서 Gemma 7B는 MMLU 5-shot top-1에서 64.3을 기록합니다. 같은 표의 Mistral 7B는 62.5, LLaMA-2 13B는 54.8, LLaMA-2 7B는 45.3이며, Gemma 2B는 42.3입니다. 따라서 이 표에서 Gemma 7B는 비교된 공개 모델보다 높은 MMLU 값을 보입니다. 다만 논문은 인간 전문가 성능이 89.8%로 보고되었다고 덧붙여, MMLU에서도 개선 여지가 남아 있다고 설명합니다.

Table 6: | Academic benchmark results, compared to similarly sized, openly-available models trained
on general English text data.† Mistral reports 50.2 on a di…

Table 6 | Academic benchmark results, compared to similarly sized, openly-available models trained on general English text data.† Mistral reports 50.2 on a different split for MBPP and on their split our 7B model achieves 54.5.∗ evaluations run by us. Note that due to restrictive licensing, we were unable to run evals on LLaMA-2; all values above were previously reported in Touvron et al. (2023b).

원문 · CC BY 4.0 · Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Léonard Hussenot, Pier Giuseppe Sessa, Aakanksha Chowdhery, Adam Roberts, Aditya Barua, Alex Botev, Alex Castro-Ros, Ambrose Slone, Amélie Héliou, Andrea Tacchetti, Anna Bulanova, Antonia Paterson, Beth Tsai, Bobak Shahriari, Charline Le Lan, Christopher A. Choquette-Choo, Clément Crepy, Daniel Cer, Daphne Ippolito, David Reid, Elena Buchatskaya, Eric Ni, Eric Noland, Geng Yan, George Tucker, George-Christian Muraru, Grigory Rozhdestvenskiy, Henryk Michalewski, Ian Tenney, Ivan Grishchenko, Jacob Austin, James Keeling, Jane Labanowski, Jean-Baptiste Lespiau, Jeff Stanway, Jenny Brennan, Jeremy Chen, Johan Ferret, Justin Chiu, Justin Mao-Jones, Katherine Lee, Kathy Yu, Katie Millican, Lars Lowe Sjoesund, Lisa Lee, Lucas Dixon, Machel Reid, Maciej Mikuła, Mateo Wirth, Michael Sharman, Nikolai Chinaev, Nithum Thain, Olivier Bachem, Oscar Chang, Oscar Wahltinez, Paige Bailey, Paul Michel, Petko Yotov, Rahma Chaabouni, Ramona Comanescu, Reena Jana, Rohan Anil, Ross McIlroy, Ruibo Liu, Ryan Mullins, Samuel L Smith, Sebastian Borgeaud, Sertan Girgin, Sholto Douglas, Shree Pandya, Siamak Shakeri, Soham De, Ted Klimenko, Tom Hennigan, Vlad Feinberg, Wojciech Stokowiec, Yu-hui Chen, Zafarali Ahmed, Zhitao Gong, Tris Warkentin, Ludovic Peran, Minh Giang, Clément Farabet, Oriol Vinyals, Jeff Dean, Koray Kavukcuoglu, Demis Hassabis, Zoubin Ghahramani, Douglas Eck, Joelle Barral, Fernando Pereira, Eli Collins, Armand Joulin, Noah Fiedel, Evan Senter, Alek Andreev, Kathleen Kenealy · Gemma: Open Models Based on Gemini Research and Technology · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

수학과 코딩 과제에서 차이는 더 큽니다. Gemma 7B는 GSM8K maj@1에서 46.4, MATH 4-shot에서 24.3을 기록합니다. 표에 함께 제시된 Mistral 7B의 GSM8K는 35.4, MATH는 12.7이고, LLaMA-2 13B는 GSM8K 28.7, MATH 3.9입니다. 저자들은 이 수학 과제에서 Gemma가 다른 모델보다 최소 10점 이상 높다고 보고하며, 이 결과가 일반적인 분석 능력의 지표로 쓰이는 수학 과제에서 나타났다고 해석합니다. 코딩에서는 HumanEval pass@1 32.3과 MBPP 3-shot 44.4가 제시되며, HumanEval은 대체 공개 모델보다 최소 6점 높습니다.

MBPP 비교에는 한 가지 조건이 붙어 있습니다. 본문은 CodeLLaMA-7B가 MBPP에서 41.4%를 얻었다고 인용하며, Gemma 7B는 44.4%를 얻는다고 비교합니다. 이 CodeLLaMA 값은 본문 인용이며 이 표의 같은 행에 있는 실측 비교가 아닙니다. LLaMA-2 값은 제한적 라이선스 때문에 저자들이 직접 실행하지 않았고 기존 보고값을 인용한 것입니다.

기억 평가와 개인 정보 탐지

기억 평가는 pre-training 모델이 학습 데이터를 얼마나 재생성하는지 측정합니다. 저자들은 각 말뭉치에서 문서 10,000개를 샘플링하고, 문서의 첫 50 토큰을 프롬프트로 사용해 모델의 후속 생성이 원문의 다음 50 토큰과 정확히 일치하는지를 봅니다. 정확 기억은 이 일치로 판정하며, 근사 기억은 10% 편집 거리 임계값을 사용해 더 넓게 확인합니다.

Figure 4: | Comparing exact and approximate
memorization

Figure 4 | Comparing exact and approximate memorization.

원문 · CC BY 4.0 · Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Léonard Hussenot, Pier Giuseppe Sessa, Aakanksha Chowdhery, Adam Roberts, Aditya Barua, Alex Botev, Alex Castro-Ros, Ambrose Slone, Amélie Héliou, Andrea Tacchetti, Anna Bulanova, Antonia Paterson, Beth Tsai, Bobak Shahriari, Charline Le Lan, Christopher A. Choquette-Choo, Clément Crepy, Daniel Cer, Daphne Ippolito, David Reid, Elena Buchatskaya, Eric Ni, Eric Noland, Geng Yan, George Tucker, George-Christian Muraru, Grigory Rozhdestvenskiy, Henryk Michalewski, Ian Tenney, Ivan Grishchenko, Jacob Austin, James Keeling, Jane Labanowski, Jean-Baptiste Lespiau, Jeff Stanway, Jenny Brennan, Jeremy Chen, Johan Ferret, Justin Chiu, Justin Mao-Jones, Katherine Lee, Kathy Yu, Katie Millican, Lars Lowe Sjoesund, Lisa Lee, Lucas Dixon, Machel Reid, Maciej Mikuła, Mateo Wirth, Michael Sharman, Nikolai Chinaev, Nithum Thain, Olivier Bachem, Oscar Chang, Oscar Wahltinez, Paige Bailey, Paul Michel, Petko Yotov, Rahma Chaabouni, Ramona Comanescu, Reena Jana, Rohan Anil, Ross McIlroy, Ruibo Liu, Ryan Mullins, Samuel L Smith, Sebastian Borgeaud, Sertan Girgin, Sholto Douglas, Shree Pandya, Siamak Shakeri, Soham De, Ted Klimenko, Tom Hennigan, Vlad Feinberg, Wojciech Stokowiec, Yu-hui Chen, Zafarali Ahmed, Zhitao Gong, Tris Warkentin, Ludovic Peran, Minh Giang, Clément Farabet, Oriol Vinyals, Jeff Dean, Koray Kavukcuoglu, Demis Hassabis, Zoubin Ghahramani, Douglas Eck, Joelle Barral, Fernando Pereira, Eli Collins, Armand Joulin, Noah Fiedel, Evan Senter, Alek Andreev, Kathleen Kenealy · Gemma: Open Models Based on Gemini Research and Technology · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

비교 결과에서 Gemma의 기억률은 비슷한 크기의 PaLM 및 PaLM 2 모델과 함께 제시됩니다. 논문은 두 모델군이 공유하는 학습 데이터 부분집합으로는 중복이 적어 낮은 기억률만 관찰되었다고 설명합니다. 그래서 저자들은 전체 pre-training 데이터에 대한 total memorization으로 추정하는 방식이 더 신뢰할 만하다고 해석하며, 그 방식에서 Gemma는 PaLM과 비슷한 비율로 학습 데이터를 기억한다고 보고합니다.

Figure 2: | Comparing average memorization rates
across model families. We compare the Gemma
pretrained models to PaLM and PaLM 2 models
of comparable size and…

Figure 2 | Comparing average memorization rates across model families. We compare the Gemma pretrained models to PaLM and PaLM 2 models of comparable size and find similarly low rates of memorization.

원문 · CC BY 4.0 · Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Léonard Hussenot, Pier Giuseppe Sessa, Aakanksha Chowdhery, Adam Roberts, Aditya Barua, Alex Botev, Alex Castro-Ros, Ambrose Slone, Amélie Héliou, Andrea Tacchetti, Anna Bulanova, Antonia Paterson, Beth Tsai, Bobak Shahriari, Charline Le Lan, Christopher A. Choquette-Choo, Clément Crepy, Daniel Cer, Daphne Ippolito, David Reid, Elena Buchatskaya, Eric Ni, Eric Noland, Geng Yan, George Tucker, George-Christian Muraru, Grigory Rozhdestvenskiy, Henryk Michalewski, Ian Tenney, Ivan Grishchenko, Jacob Austin, James Keeling, Jane Labanowski, Jean-Baptiste Lespiau, Jeff Stanway, Jenny Brennan, Jeremy Chen, Johan Ferret, Justin Chiu, Justin Mao-Jones, Katherine Lee, Kathy Yu, Katie Millican, Lars Lowe Sjoesund, Lisa Lee, Lucas Dixon, Machel Reid, Maciej Mikuła, Mateo Wirth, Michael Sharman, Nikolai Chinaev, Nithum Thain, Olivier Bachem, Oscar Chang, Oscar Wahltinez, Paige Bailey, Paul Michel, Petko Yotov, Rahma Chaabouni, Ramona Comanescu, Reena Jana, Rohan Anil, Ross McIlroy, Ruibo Liu, Ryan Mullins, Samuel L Smith, Sebastian Borgeaud, Sertan Girgin, Sholto Douglas, Shree Pandya, Siamak Shakeri, Soham De, Ted Klimenko, Tom Hennigan, Vlad Feinberg, Wojciech Stokowiec, Yu-hui Chen, Zafarali Ahmed, Zhitao Gong, Tris Warkentin, Ludovic Peran, Minh Giang, Clément Farabet, Oriol Vinyals, Jeff Dean, Koray Kavukcuoglu, Demis Hassabis, Zoubin Ghahramani, Douglas Eck, Joelle Barral, Fernando Pereira, Eli Collins, Armand Joulin, Noah Fiedel, Evan Senter, Alek Andreev, Kathleen Kenealy · Gemma: Open Models Based on Gemini Research and Technology · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

개인 정보 측면에서는 Google Cloud Sensitive Data Protection으로 민감도 세 단계 가운데 가장 높은 단계를 민감 정보, 나머지를 개인 정보로 분류합니다. 기억된 출력에서 민감 정보 사례는 관찰되지 않았고, 개인 정보로 분류된 일부 데이터는 낮은 비율로 기억되었습니다. 다만 이 도구는 패턴만 맞추고 문맥을 고려하지 않아 위양성이 많으므로, 개인 정보 수치는 실제보다 과대 추정되었을 가능성이 있다고 저자들은 설명합니다.

배포 위험과 평가의 한계

저자들은 Gemma 모델의 평가가 여러 응용과 상황을 모두 다룰 수 없다고 설명합니다. 따라서 모든 Gemma 사용자는 배포나 사용 전에 자신의 사용 사례에 맞는 안전성 테스트를 수행해야 합니다. 이 점은 논문의 안전성 평가가 보편적 보증이 아니라 제한된 테스트 범위의 결과라는 뜻입니다.

모델 가중치를 API 뒤에 두지 않고 공개하는 방식도 별도의 위험을 만듭니다. 논문은 공개된 가중치를 악의적 행위자가 미세조정해 악용하는 것을 막을 수 없다고 인정하며, 사용 정책이 이를 금지하더라도 완전한 방어가 되지 않는다고 설명합니다. 또한 생성 독성, 차별적 사회 편향, 환각, 개인 식별 정보 유출 같은 의도하지 않은 행동에 대해서도 API 필터링을 대신할 층이 없다고 지적합니다.

저자들은 이번 공개가 되돌릴 수 없고, 공개 모델의 피해는 아직 충분히 정의되지 않았다고 밝힙니다. 그래서 가능한 위험에 비례하는 평가와 안전 완화책을 적용하고, 향후 능력이 발전하면 확장된 테스트나 단계적 공개를 검토할 수 있다고 말합니다. 이 점은 Gemma의 안전성 결과를 공개 모델 일반의 안전성 결론으로 옮기지 않도록 하는 경계이기도 합니다.

논문 정보

저자
Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Léonard Hussenot, Pier Giuseppe Sessa, Aakanksha Chowdhery, Adam Roberts, Aditya Barua, Alex Botev, Alex Castro-Ros, Ambrose Slone, Amélie Héliou, Andrea Tacchetti, Anna Bulanova, Antonia Paterson, Beth Tsai, Bobak Shahriari, Charline Le Lan, Christopher A. Choquette-Choo, Clément Crepy, Daniel Cer, Daphne Ippolito, David Reid, Elena Buchatskaya, Eric Ni, Eric Noland, Geng Yan, George Tucker, George-Christian Muraru, Grigory Rozhdestvenskiy, Henryk Michalewski, Ian Tenney, Ivan Grishchenko, Jacob Austin, James Keeling, Jane Labanowski, Jean-Baptiste Lespiau, Jeff Stanway, Jenny Brennan, Jeremy Chen, Johan Ferret, Justin Chiu, Justin Mao-Jones, Katherine Lee, Kathy Yu, Katie Millican, Lars Lowe Sjoesund, Lisa Lee, Lucas Dixon, Machel Reid, Maciej Mikuła, Mateo Wirth, Michael Sharman, Nikolai Chinaev, Nithum Thain, Olivier Bachem, Oscar Chang, Oscar Wahltinez, Paige Bailey, Paul Michel, Petko Yotov, Rahma Chaabouni, Ramona Comanescu, Reena Jana, Rohan Anil, Ross McIlroy, Ruibo Liu, Ryan Mullins, Samuel L Smith, Sebastian Borgeaud, Sertan Girgin, Sholto Douglas, Shree Pandya, Siamak Shakeri, Soham De, Ted Klimenko, Tom Hennigan, Vlad Feinberg, Wojciech Stokowiec, Yu-hui Chen, Zafarali Ahmed, Zhitao Gong, Tris Warkentin, Ludovic Peran, Minh Giang, Clément Farabet, Oriol Vinyals, Jeff Dean, Koray Kavukcuoglu, Demis Hassabis, Zoubin Ghahramani, Douglas Eck, Joelle Barral, Fernando Pereira, Eli Collins, Armand Joulin, Noah Fiedel, Evan Senter, Alek Andreev, Kathleen Kenealy
학회·저널
arXiv · 프리프린트
최초 공개일
2024년 3월 13일
등록일
2026년 10월 20일
수정일
2024년 4월 16일
버전
v4
arXiv
2403.08295
분류
cs.CL · cs.AI
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

This work introduces Gemma, a family of lightweight, state-of-the art open models built from the research and technology used to create Gemini models. Gemma models demonstrate strong performance across academic benchmarks for language understanding, reasoning, and safety. We release two sizes of models (2 billion and 7 billion parameters), and provide both pretrained and fine-tuned checkpoints. Gemma outperforms similarly sized open models on 11 out of 18 text-based tasks, and we present comprehensive evaluations of safety and responsibility aspects of the models, alongside a detailed description of model development. We believe the responsible release of LLMs is critical for improving the safety of frontier models, and for enabling the next wave of LLM innovations.

원문 인용

Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Léonard Hussenot, Pier Giuseppe Sessa, Aakanksha Chowdhery, Adam Roberts, Aditya Barua, Alex Botev, Alex Castro-Ros, Ambrose Slone, Amélie Héliou et al. (2024). Gemma: Open Models Based on Gemini Research and Technology. arXiv:2403.08295v4. https://arxiv.org/abs/2403.08295v4

BibTeX
@misc{team2024gemma,
  title = {{Gemma: Open Models Based on Gemini Research and Technology}},
  author = {Gemma Team and Thomas Mesnard and Cassidy Hardin and Robert Dadashi and Surya Bhupatiraju and Shreya Pathak and Laurent Sifre and Morgane Rivière and Mihir Sanjay Kale and Juliette Love and Pouya Tafti and Léonard Hussenot and Pier Giuseppe Sessa and Aakanksha Chowdhery and Adam Roberts and Aditya Barua and Alex Botev and Alex Castro-Ros and Ambrose Slone and Amélie Héliou and Andrea Tacchetti and Anna Bulanova and Antonia Paterson and Beth Tsai and Bobak Shahriari and Charline Le Lan and Christopher A. Choquette-Choo and Clément Crepy and Daniel Cer and Daphne Ippolito and David Reid and Elena Buchatskaya and Eric Ni and Eric Noland and Geng Yan and George Tucker and George-Christian Muraru and Grigory Rozhdestvenskiy and Henryk Michalewski and Ian Tenney and Ivan Grishchenko and Jacob Austin and James Keeling and Jane Labanowski and Jean-Baptiste Lespiau and Jeff Stanway and Jenny Brennan and Jeremy Chen and Johan Ferret and Justin Chiu and Justin Mao-Jones and Katherine Lee and Kathy Yu and Katie Millican and Lars Lowe Sjoesund and Lisa Lee and Lucas Dixon and Machel Reid and Maciej Mikuła and Mateo Wirth and Michael Sharman and Nikolai Chinaev and Nithum Thain and Olivier Bachem and Oscar Chang and Oscar Wahltinez and Paige Bailey and Paul Michel and Petko Yotov and Rahma Chaabouni and Ramona Comanescu and Reena Jana and Rohan Anil and Ross McIlroy and Ruibo Liu and Ryan Mullins and Samuel L Smith and Sebastian Borgeaud and Sertan Girgin and Sholto Douglas and Shree Pandya and Siamak Shakeri and Soham De and Ted Klimenko and Tom Hennigan and Vlad Feinberg and Wojciech Stokowiec and Yu-hui Chen and Zafarali Ahmed and Zhitao Gong and Tris Warkentin and Ludovic Peran and Minh Giang and Clément Farabet and Oriol Vinyals and Jeff Dean and Koray Kavukcuoglu and Demis Hassabis and Zoubin Ghahramani and Douglas Eck and Joelle Barral and Fernando Pereira and Eli Collins and Armand Joulin and Noah Fiedel and Evan Senter and Alek Andreev and Kathleen Kenealy},
  year = {2024},
  eprint = {2403.08295},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.08295v4}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입