Skip to Content
에이전트 시대의 AI 시스템 설계
book

에이전트 시대의 AI 시스템 설계

by 발리아파 락슈마난, 하네스 하프케, 류광
April 2026
Intermediate
592 pages
13h 28m
Korean
Hanbit Media, Inc.
Content preview from 에이전트 시대의 AI 시스템 설계
87
2
장
콘텐츠 스타일의 제어
다는 점이다. 이 패턴이 표집 과정에 끼어드는 방식 때문에 이런 통신이 발생하게 된다. 모델을
로컬에 호스팅하거나 클라이언트 코드를 모델이 있는 컴퓨터에서 직접 실행하는 방식으로 애
플리케이션을 배포하지 않는 한 (이 부분은 모델 제공업체에 문의해야 할 것이다 ), 이런 통신
요구사항 때문에 지연시간이 허용할 수 없을 정도로 길어질 여지가 있다. 그래서 현실적으로
로짓 마스킹은 모델을 로컬에서 호스팅하는 경우에만 적용할 수 있을 때가 많다. 하지만 그런
조건이 충족된다면, 이 패턴은 특정 유형의 복잡한 문제들에서 더 작은 모델이 더 크고 비싼 모
델에 필적하는 성능을 내게 하는 방법을 제공한다.
셋째 고려사항은 로짓 마스킹이 특정한 시퀀스들을 ‘검열’하는 방식으로 작동한다는 점이다. 규
칙을 충족하는 후보 토큰 시퀀스가 아예 없으면 유효한 콘텐츠를 생성할 수 없다. 앞의 논의에
서는 그런 상황에 처한 경우 다른 출발점에서 생성을 다시 시작할 것을 제안했지만, 더 간단한
방법은 오류를 발생하거나 요청을 거부하는 것이다. 로짓 마스킹을 사용하는
AI
엔지니어는 이
런 일이 드물게 발생하도록 프롬프트에 충분한 정보를 제공하는 것이 중요하다.
자체점검
패턴 (제
9
장의 패턴
31
)도 로짓을 사용하는 또 다른 예이다.
2.1.5
참고문헌
강화학습에서는 로짓을 변경해서 선택 확률을
0
으로 만드는 것을
유효하지 않은 행동 마스킹
in-
valid
action
masking
이라고 부른다. 기록된 첫 용례는 비냘스
Vinyals ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

메타데이터 관리의 기본 원칙

메타데이터 관리의 기본 원칙

Ole Olesen-Bagneux
그림으로 배우는 생성형 AI

그림으로 배우는 생성형 AI

프리양카 베르가디아, 발리아파 락슈마난
잘되는 머신러닝 팀엔 이유가 있다

잘되는 머신러닝 팀엔 이유가 있다

데이비드 탄, 에이다 양, 데이비드 콜스

Publisher Resources

ISBN: 9791175790490