AI-15 · ARTIFICIAL INTELLIGENCE

선호 학습·정렬 목표와 평가 한계Preference learning, alignment objectives and evaluation limits

관측 별점에서 비교 확률·보상·정책·DPO와 세 실제 사례까지From observed ratings to comparisons, rewards, policies, DPO and three factual cases

실습 6종 · 풀이 포함 연습문제 42개6 labs · 42 exercises with solutions

학부 기초Undergraduate foundations

맞는 답을 찾는 일과 더 좋은 답을 고르는 일A correct answer and a preferred answer are different

친구에게 같은 설명 두 개를 보여 줍니다. A는 짧지만 중요한 조건을 빼먹었고, B는 길지만 예시가 있습니다. 친구가 B를 골랐다는 기록은 실제 관측입니다. 그러나 이 선택 하나로 B의 모든 사실이 참이거나 모든 사람이 B를 더 좋아한다고 결론 낼 수는 없습니다. 누가, 어떤 질문에서, 어떤 기준으로 골랐는지가 함께 필요합니다.

이 장에서 선호는 두 대안 가운데 어느 쪽을 더 낫다고 평가했는지에 관한 판단입니다. 판단에는 도움 정도·문체·정확성·안전 같은 여러 기준이 섞일 수 있습니다. 기준들이 충돌할 수도 있습니다. 아이스크림 맛을 고르는 것과 사실 확인 문제를 같은 정답표로 취급하지 마세요. 평가자의 선호를 잘 예측하는 모형과 사실을 잘 말하는 시스템은 서로 연결될 수 있지만 같은 성능은 아닙니다.

먼저 작은 선택 확률을 손으로 계산하고, 그 확률에 맞는 점수를 학습합니다. 이후 기준 정책에서 너무 멀어지지 않는 선택 분포와 DPO 목적함수로 이어갑니다. 마지막에는 실제 별점과 국가·기업 관측을 사용합니다. 실제 인간 별점, 별점을 변환한 비교 표적, 사람이 정하지 않은 교육용 대리 기준을 끝까지 구분합니다.

Show a friend two explanations. A is brief but omits an important condition; B is longer and includes an example. The friend choosing B is an observation. It does not establish that every statement in B is true or that everyone prefers B. Record who judged, under which question and criterion.

A preference judgment compares alternatives under a context. Helpfulness, style, factual accuracy and safety can all influence it, sometimes in conflicting directions. Choosing an ice-cream flavor differs from checking a factual answer. Predicting a judge’s preference and producing a truthful system can be related without being the same performance measure.

We begin with hand-calculated choice probabilities and learned scores, then derive a reference-constrained policy and the DPO objective. Actual stars and country/company observations follow. Keep observed human ratings, mechanically derived comparison targets and stipulated educational proxies distinct throughout.

학부 기초Undergraduate foundations

별점 한 개는 쌍 비교 한 번이 아니다One star rating is not one paired judgment

영화 A에 4점, 영화 B에 2점을 주었다면 A를 더 높게 평가한 관측 두 개가 있습니다. 이를 A 승리라는 비교 한 개로 바꿀 수는 있습니다. 하지만 같은 순간에 두 영화를 나란히 보고 A를 골랐다는 원자료가 생기는 것은 아닙니다. 두 평가 사이에 시간이 지났거나 기분과 기준이 달랐을 수도 있습니다. 변환 규칙을 쓰고 원 별점·시각을 보존해야 합니다.

MovieLens 사례에서는 원래 별점이 실제 인간 관측입니다. 사용자마다 시각순 첫 20개 평가를 두 개씩 짝지어 10쌍을 만듭니다. 높은 별점 쪽을 1, 반대쪽을 0, 같으면 교육용 소프트 표적 1/2로 표시합니다. 동일 별점은 별점 눈금에서 같다는 뜻이지, 실제로 무차별하다는 심리 실험 결과는 아닙니다. 숫자 1/2를 반 명이 선택했다는 뜻으로 읽지 않습니다.

한 평가를 여러 쌍에 반복 쓰면 비교 행이 많아져도 새로운 평가자가 그만큼 생기지 않습니다. 여기서는 선택한 20개 평가를 겹치지 않게 짝지어 관계를 따라가기 쉽게 합니다. 그래도 같은 사용자의 쌍들은 연관될 수 있습니다. 사용자 전체를 같은 훈련·검증·시험 역할에 놓는 이유를 이전 장의 그룹 평가와 연결해 보세요.

Stars of four for A and two for B give two item-wise observations. A declared transformation can label an A-over-B pair, but it does not create an original contemporaneous head-to-head judgment. Time, mood or criteria may differ between ratings. Preserve the original values and timestamps with the transformation rule.

The MovieLens stars are actual human observations. We order each selected user’s first twenty ratings by timestamp and form ten nonoverlapping pairs. A higher left rating maps to one, a lower one to zero, and equal stars to a declared soft target of one half. Equal points on a rating scale are not a psychological experiment establishing indifference; one half does not mean half a person voted.

Reusing a rating across many pairs creates more rows without creating that many independent judges. Nonoverlapping pairs make our lineage easier to follow, but pairs from one user can remain related. Connect placing all of a user’s pairs into one train/validation/test role with the preceding chapter’s group assessment.

학부 기초Undergraduate foundations

불일치와 순환을 지우지 않고 남기기Preserve disagreement and cycles

같은 두 설명을 본 세 사람이 A,A,B를 골랐다면 다수결은 A지만 의견은 하나로 일치하지 않았습니다. A 승리 2건과 B 승리 1건을 보존하세요. 다수결 결과만 남기면 3 대 0과 2 대 1을 구별할 수 없습니다. 평가자 구성을 바꾸거나 질문 표현을 바꾸면 비중도 달라질 수 있습니다.

구성 예로 A가 B보다 좋고, B가 C보다 좋고, C가 A보다 좋다는 세 방향이 관측될 수 있습니다. 가위바위보처럼 고리가 생깁니다. 한 사람의 맥락 변화, 여러 사람의 서로 다른 기준, 관측 잡음이 원인일 수 있습니다. 이 고리를 지운 뒤 완벽한 일렬 순위가 관측됐다고 쓰지 않습니다. 반대로 몇 번의 순환만으로 모든 확률적 점수 모형이 불가능하다고 단정하지도 않습니다.

실습의 방향 그래프는 같은 것으로 선언한 맥락 안에서만 화살표를 잇습니다. 숫자 0, 문자 "0", 논리값 거짓은 서로 다른 집단입니다. 이름에 구분 기호가 포함되어도 다른 맥락의 대안을 같은 노드로 합치지 않습니다. 그래프는 데이터 감사를 돕는 장치이고, 관측 표본의 순환 유무 자체가 보편적 가치나 독립성의 증명은 아닙니다.

If three judges choose A, A and B, the majority favors A without unanimity. Preserve two A wins and one B win. A majority label alone hides the difference between three-to-zero and two-to-one, and changing judges or wording can change the composition.

Constructed comparisons can favor A over B, B over C and C over A, forming a cycle like rock–paper–scissors. Changing contexts, heterogeneous criteria or observation noise can contribute. Do not delete the cycle and describe a perfectly observed total ordering. Conversely, a few cyclic observations do not alone rule out every probabilistic score model.

Our directional graph joins edges only within declared common contexts. Numeric zero, text zero and boolean false remain distinct groups. Delimiter-bearing names must not accidentally merge nodes from different contexts. This graph audits the observations; observed cyclicity or acyclicity is not a certificate of universal values or independence.

학부 기초Undergraduate foundations

강도 1 대 2를 확률로 바꾸기Turn strengths of one and two into a probability

점수라는 말을 곧바로 확률이라고 읽지 마세요. A의 양수 강도를 1, B의 강도를 2라고 선언해 봅니다. 두 강도의 합 3 가운데 A가 차지하는 몫을 A가 선택될 확률로 정하면 1/3입니다. 강도 2는 확률 2가 아닙니다. 모든 강도를 10배해도 A 몫은 10/30으로 같습니다. 이 방식이 Bradley–Terry 모형의 한 표현입니다.

P(A≻B)=sAsA+sB,sA>0, sB>0P(A\succ B)=\frac{s_A}{s_A+s_B},\qquad s_A>0,\ s_B>0

A의 강도를 2, B를 1로 바꾸면 A 확률은 2/3입니다. 강도가 같으면 1/2입니다. 관측 A 승리가 한 번 나왔다고 확률이 1이어야 하는 것은 아닙니다. 동전을 한 번 던져 앞면이 나와도 앞면 확률을 즉시 1로 정하지 않는 것과 비슷합니다. 확률은 반복될 판단을 설명하려는 모형이지 한 관측의 복사본이 아닙니다.

실습 A에서 강도 1·2와 A 승리 표적 1을 입력하세요. 확률 1/3과 제곱오차 4/9를 확인합니다. 강도를 동시에 10·20으로 바꾼 뒤 확률이 같은지 확인하세요. 실제 별점 숫자를 강도에 그대로 대입하는 것은 또 다른 가정입니다. 별점 간격과 선택 확률의 관계가 원자료에서 자동으로 주어지는 것은 아닙니다.

Do not immediately read a score as a probability. Declare positive strengths one for A and two for B. A’s share of their total three is one third. Strength two is not probability two. Multiplying both strengths by ten keeps A’s share at ten thirtieths. This is a Bradley–Terry parameterization.

P(A≻B)=sAsA+sB,sA>0, sB>0P(A\succ B)=\frac{s_A}{s_A+s_B},\qquad s_A>0,\ s_B>0

Reversing strengths to two and one gives A probability two thirds; equal strengths give one half. One observed A win does not require probability one, just as a single coin head does not establish certainty. The probability models repeated judgments rather than copying one observed label.

In Lab A enter strengths one and two with a left-win target of one. Check probability one third and squared error four ninths. Scale strengths to ten and twenty and check invariance. Directly treating movie star values as strengths would be an additional assumption: the native rating scale does not automatically specify its link to choice probability.

학부 심화 · 선택Advanced undergraduate · optional

로그 점수는 차이로 식별된다Log scores are identified through differences

양수 강도 s에 자연로그를 취해 r=log(s)라는 점수를 만들 수 있습니다. 강도가 1과 2이면 점수는 0과 log(2)입니다. 로그를 아직 익숙하게 쓰지 못해도 먼저 “강도를 모두 같은 배수로 늘리면 확률은 그대로”라는 사실을 기억하세요. 로그에서는 같은 배수를 곱하는 일이 두 점수에 같은 상수를 더하는 일로 바뀝니다.

P(A≻B)=σ(rA−rB),σ(z)=11+e−z,ri=log⁡siP(A\succ B)=\sigma(r_A-r_B),\quad \sigma(z)=\frac1{1+e^{-z}},\quad r_i=\log s_i

모든 점수에 100을 더해도 차이는 그대로입니다. 따라서 비교만으로 절대적인 보상 100이라는 기준점을 정할 수 없습니다. 비교되지 않은 대안 묶음들이 서로 떨어져 있다면, 자유로운 대안별 점수 모형에서는 묶음 사이의 높이 차이도 자료가 정해 주지 못합니다. 점수 하나를 0으로 고정하는 기준 선택과 경험적 정보는 서로 다릅니다.

우리 학습 실습은 각 대안의 두 특징을 공통 계수로 결합하는 제한된 모형입니다. 자유로운 대안별 점수와 같은 매개변수 집합이 아닙니다. 비교 그래프가 떨어져 있다는 진단을 그대로 “두 특징 계수가 모두 식별 불가”라는 주장으로 바꾸지 마세요. 특징 차이가 모두 0이면 공통 계수에 대한 기울기와 곡률도 0이 되는 별도의 예를 다음에 계산합니다.

A positive strength can be written as a natural-log score r=log(s). Strengths one and two correspond to zero and log two. If logarithms are unfamiliar, start from the shared-scale invariance. Multiplying both strengths by the same factor becomes adding the same constant to both log scores.

P(A≻B)=σ(rA−rB),σ(z)=11+e−z,ri=log⁡siP(A\succ B)=\sigma(r_A-r_B),\quad \sigma(z)=\frac1{1+e^{-z}},\quad r_i=\log s_i

Adding one hundred to every score preserves each difference. Comparisons do not determine an absolute reward origin. In an unrestricted item-wise model, disconnected comparison components also leave their relative levels undetermined. Fixing one score to zero chooses a gauge rather than supplying new empirical information.

Our learning lab instead shares two feature coefficients across alternatives. Its parameter class differs from unrestricted item rewards. A disconnected item graph does not automatically prove that both shared coefficients are unidentified. A distinct example has all feature differences zero, making the corresponding gradient and curvature zero; we calculate that next.

학부 기초Undergraduate foundations

승리 표적·소프트 표적과 두 종류의 제곱오차Wins, soft targets and two squared-error quantities

확률 p=1/3인데 실제 A 승리 Y=1을 관측했다면 제곱오차는 (1/3−1)²=4/9입니다. 실제 패배 Y=0이면 1/9입니다. 0 또는 1인 사건 정답에 대한 이 오차가 이진 Brier 손실입니다. 확률을 더 크게 썼다가 틀리면 더 큰 벌점을 받습니다.

그런데 같은 별점을 소프트 표적 y=1/2로 바꾼 교육 자료는 단일 이진 사건 정답이 아닙니다. 이때 실습의 (p−y)²는 소프트 표적과의 거리입니다. p=1/2이면 이 거리는 0이지만, 실제 승리 확률이 1/2인 이진 판단을 반복했을 때의 Brier 평균은 1/4입니다. 이 둘을 같은 0손실이라고 부르면 불확실성을 지운 셈입니다.

E[(p−Y)2]=(p−y)2+y(1−y),Y∼Bernoulli(y)\mathbb E[(p-Y)^2]=(p-y)^2+y(1-y),\quad Y\sim\mathrm{Bernoulli}(y)

오른쪽 추가항 y(1−y)는 p에 따라 바뀌지 않으므로 같은 행과 질량에서 p를 비교하는 순서는 같습니다. 그러나 보고하는 위험의 값과 해석은 다릅니다. 원자료의 동점 별점을 잠재적인 승리 확률 1/2라고 단정한 것도 아닙니다. 소프트 표적은 우리가 선언한 변환이고, 위 기대식은 Bernoulli 모형을 따로 가정했을 때의 수학입니다.

로그 손실도 함께 보겠습니다. 표적이 1이면 −log(p), 0이면 −log(1−p)입니다. 표적 y가 중간이면 두 항을 y와 1−y로 섞은 소프트 교차엔트로피를 씁니다. 양수 표적에 확률 0을 주면 손실은 무한대입니다. 아주 작은 양수 확률의 큰 유한 로그 손실과 이 무한대를 구분해야 합니다.

With probability one third and an observed left win Y=1, squared error is four ninths; with an observed loss Y=0 it is one ninth. For binary event outcomes this is Brier loss, which penalizes confident errors.

An equal-star comparison transformed to soft target y=one half is different from a single binary event. Our (p−y) squared measures distance to that soft target. At p=one half it is zero, whereas repeated binary outcomes with true win probability one half have expected Brier one quarter. Calling both zero loss would erase outcome uncertainty.

E[(p−Y)2]=(p−y)2+y(1−y),Y∼Bernoulli(y)\mathbb E[(p-Y)^2]=(p-y)^2+y(1-y),\quad Y\sim\mathrm{Bernoulli}(y)

The added y(1−y) is constant in p, so ordering predictions on identical weighted rows is unchanged, but reported risk values and meanings differ. Equal stars have not established a latent win probability of one half. The soft label is a declared transformation; the expectation identity additionally assumes a Bernoulli outcome model.

We also use log loss: negative log p for target one and negative log(1−p) for target zero. A soft target mixes these terms with y and one minus y. Assigning probability zero to an event with positive target weight produces infinity, distinct from the large finite loss of a tiny positive probability.

학부 기초Undergraduate foundations

두 특징으로 작은 보상 모형 만들기Build a small reward model with two features

대안마다 두 특징을 적어 보겠습니다. 영화가 Comedy 장르를 포함하는지, Drama 장르를 포함하는지를 각각 0 또는 1로 표시할 수 있습니다. 둘 다 포함하는 영화도 있으므로 두 값의 합을 꼭 1로 만들지는 않습니다. 이 두 숫자는 원 장르에서 만든 특징이고, 그 장르가 모두에게 좋다는 정답이 아닙니다.

두 계수 θ₀,θ₁를 정해 특징과 곱한 뒤 더합니다. 그 합을 2의 지수에 넣으면 언제나 양수 강도가 됩니다. 예를 들어 θ=(1,−1), A=(1,0), B=(0,1)이면 A 강도는 2, B는 1/2입니다. A의 선택 확률은 2/(2+1/2)=4/5입니다. θ=(0,0)이면 두 강도가 모두 1이라 확률은 1/2입니다.

s(x)=2θ⊤x,r(x)=(log⁡2)θ⊤x,P(A≻B)=σ((log⁡2)θ⊤(xA−xB))s(x)=2^{\theta^\top x},\quad r(x)=(\log2)\theta^\top x,\quad P(A\succ B)=\sigma((\log2)\theta^\top(x_A-x_B))

이 작은 모형은 같은 특징을 가진 모든 대안에 같은 강도를 줍니다. 실제로는 사용자별 취향과 질문 맥락이 크게 다를 수 있습니다. 공유 특징 계수 두 개로 그런 차이를 모두 표현한 척하지 않습니다. 실제 별점 사례에서는 사람을 암기하는 모형을 만드는 대신 제한된 특징 모형이 어디까지 설명하고 어디서 실패하는지 읽습니다.

Represent each alternative with two features. A movie can have Comedy and Drama genre indicators, each zero or one. Both can be present, so their sum need not be one. These features derive from observed genre metadata; they do not declare that a genre is desirable to everyone.

Multiply by coefficients theta zero and theta one, sum, and use that sum as an exponent of two. Positive strengths result automatically. For theta=(1,−1), A=(1,0), B=(0,1), the strengths are two and one half; A wins with probability four fifths. Zero coefficients give equal strengths and probability one half.

s(x)=2θ⊤x,r(x)=(log⁡2)θ⊤x,P(A≻B)=σ((log⁡2)θ⊤(xA−xB))s(x)=2^{\theta^\top x},\quad r(x)=(\log2)\theta^\top x,\quad P(A\succ B)=\sigma((\log2)\theta^\top(x_A-x_B))

The small learner gives identical strength to alternatives with identical features. Real preferences can depend strongly on the user and context; two shared coefficients do not express every such difference. The rating case exposes what this restricted representation explains and misses rather than pretending to memorize personal taste.

학부 심화 · 선택Advanced undergraduate · optional

가중 우도를 정확한 곱으로 비교하기Compare weighted likelihoods with exact products

관측을 더 그럴듯하게 설명하는 후보를 고르기 위해 우도를 사용합니다. 승리 표적 1이면 해당 후보의 p를 곱하고 패배 표적 0이면 1−p를 곱합니다. 소프트 표적 y와 분석 질량 w를 선언했다면 p의 지수는 wy, 1−p의 지수는 w(1−y)입니다. 실수 지수의 곱을 곧바로 정확한 유리수라고 부를 수는 없습니다.

L(θ)=∏ipi(θ)wiyi(1−pi(θ))wi(1−yi)L(\theta)=\prod_i p_i(\theta)^{w_i y_i}(1-p_i(\theta))^{w_i(1-y_i)}

지수들이 유리수라면 공통 양수 정수 D를 곱해 모두 정수로 만들 수 있습니다. L을 D제곱해도 양수 후보들의 대소 순서는 바뀌지 않습니다. 예를 들어 승리 질량 1/2와 패배 질량 1/3이 같은 p를 쓰면, D=6에서 비교할 곱은 p³(1−p)²입니다. 분수 표적이나 질량을 마음대로 반올림해 정수로 만든 것이 아닙니다.

실습의 유한 후보는 이 정수 거듭제곱 우도를 정확히 비교합니다. 소수 로그 손실이 화면에서 같은 값으로 보인다고 동률로 처리하지 않습니다. 반대로 공통 지수나 수의 크기가 계산 범위를 넘으면 명시적으로 계산을 거부합니다. 제한을 피하려고 표적이나 질량을 몰래 바꾸면 다른 학습 문제가 됩니다.

분수 질량은 분석자가 선언한 중요도일 수 있습니다. 실제 사람 수나 독립 투표 수와 같다고 해석하지 마세요. 우도를 곱하는 모형과 그 모형을 사용한 학습 계산, 실제 표본에서 불확실성을 추론하는 일은 별도 층위입니다.

Likelihood chooses candidates that assign greater probability to the observed targets. A win contributes p; a loss contributes one minus p. With soft target y and analysis mass w, the exponents become wy and w(1−y). Real-valued powers are not automatically exact rational numbers.

L(θ)=∏ipi(θ)wiyi(1−pi(θ))wi(1−yi)L(\theta)=\prod_i p_i(\theta)^{w_i y_i}(1-p_i(\theta))^{w_i(1-y_i)}

Rational exponents can share a positive integer denominator D. Raising every positive candidate likelihood to D preserves its ordering. A win mass one half and loss mass one third at the same p become p cubed times (one minus p) squared when D is six. This clears denominators without rounding targets or masses.

The finite lab compares these integer-power products exactly. Rounded log-loss displays do not establish ties. If exponents or exact numbers exceed its computation bounds, it rejects explicitly rather than quietly changing the problem.

A fractional mass may be a declared analytical importance, not an actual number of people or independent votes. Distinguish a likelihood model, computation under it and inference about uncertainty in the actual sample.

대학원 연결Graduate bridge

기울기는 확률과 표적의 차이를 옮긴다Gradients move the probability–target difference

모형이 A 승리 확률을 1/2로 냈는데 관측은 승리 1이라고 합시다. A 쪽 점수를 올리면 이 관측의 로그 손실이 줄어드는 방향입니다. 그 방향을 수식으로 정리하면 p−y라는 오차와 두 대안 특징의 차이가 나옵니다. A와 B의 특징이 같은 좌표는 점수 차이를 바꿀 수 없으므로 그 좌표 기울기는 0입니다.

자연로그 계수를 a=(log 2)θ로 쓰고 d=x_A−x_B라고 하겠습니다. 아래 기울기는 평균이 아닌 질량 가중 로그 손실 합에 대한 것입니다. 앞 절의 θ좌표와 a좌표를 혼동하면 log 2의 배율을 빠뜨리게 됩니다.

∇aℓi=wi(pi−yi)di,∇a2ℓi=wipi(1−pi)didi⊤\nabla_a\ell_i=w_i(p_i-y_i)d_i,\qquad\nabla_a^2\ell_i=w_i p_i(1-p_i)d_i d_i^\top

A=(1,0), B=(0,1), a=(0,0), y=1, w=2이면 p=1/2이고 기울기는 (−1,1)입니다. 경사하강은 기울기를 빼므로 첫 계수를 올리고 둘째를 내립니다. A의 상대 점수를 올리는 직관과 일치합니다. 곡률 행렬은 1/2×[[1,−1],[−1,1]]입니다. 두 계수를 동시에 같은 크기로 옮기는 방향에서는 이 한 비교의 점수 차이가 변하지 않습니다.

θ에 대한 기울기는 위 결과에 log 2를 곱하고, Hessian은 (log 2)²를 곱합니다. 기울기·곡률이 있다는 사실만으로 이 자료에 유한한 최대우도해가 존재하거나 특정 수치 알고리즘이 수렴했다고 결론 내리지 않습니다. 실습은 이 좌표와 가정을 표시합니다.

Suppose the model gives a left-win probability of one half but observes a win. Raising the left relative score reduces that observation’s log loss. The derivative combines p−y with the difference between alternative features. Coordinates identical in both alternatives cannot change their score difference and contribute zero derivative.

Write natural-log coefficients a=(log two)theta and difference features d=x_A−x_B. The following derivatives concern the weighted loss sum, not its mean. Mixing a and theta coordinates loses factors of log two.

∇aℓi=wi(pi−yi)di,∇a2ℓi=wipi(1−pi)didi⊤\nabla_a\ell_i=w_i(p_i-y_i)d_i,\qquad\nabla_a^2\ell_i=w_i p_i(1-p_i)d_i d_i^\top

For A=(1,0), B=(0,1), zero coefficients, target one and weight two, the gradient is (−1,1). Subtracting it in gradient descent raises the first coefficient and lowers the second, increasing A’s relative score. The Hessian is one half times [[1,−1],[−1,1]]. Shifting both coefficients together leaves this single comparison unchanged.

Theta-coordinate derivatives require log two for the gradient and its square for the Hessian. Derivatives do not themselves certify a finite maximum-likelihood estimator or convergence of an optimizer. The lab reports the coordinate convention explicitly.

대학원 연결Graduate bridge

가장 좋은 격자점과 유한 MLE는 다르다A best grid point is not a finite unrestricted MLE

계수를 −1,0,1 가운데서만 고른다면 후보는 유한합니다. 모든 후보를 비교해 가장 큰 우도를 찾을 수 있습니다. 그러나 이것은 계수가 모든 실수를 움직일 수 있는 문제를 풀었다는 뜻이 아닙니다. 더 큰 2나 10이 허용되면 다른 결과가 나올 수도 있습니다.

한 특징 차이가 1이고 A 승리만 관측됐다고 합시다. 계수 a를 계속 올리면 σ(a)는 1에 가까워지고 손실은 0에 가까워집니다. 하지만 유한 a에서 확률이 정확히 1이 되지는 않습니다. 이 경우 제한 없는 문제는 최선 값에 가까워질 수 있어도 유한한 최소점은 없을 수 있습니다. 유한 격자에서 끝값 1을 골랐다는 결과를 유한 MLE 존재 증명으로 바꾸지 않습니다.

ℓ(a)=−log⁡σ(a)⟶0(a⟶+∞),ℓ(a)>0 for finite a\ell(a)=-\log\sigma(a)\longrightarrow0\quad(a\longrightarrow+\infty),\qquad\ell(a)>0\ \text{for finite }a

한편 모든 비교의 특징 차이가 0이면 어떤 계수에서도 확률은 1/2입니다. 이는 계수를 바꿀 정보가 없는 경우이고, 승패를 완벽히 가르는 분리 문제와는 다릅니다. 특징 행렬의 랭크 부족, 절대 점수 기준의 모호함, 분리로 인한 유한해 부재를 구별하세요. 정규화나 사전분포를 추가하면 목적함수와 가정이 달라집니다.

실습은 작은 유한 후보를 정확히 고를 뿐 연속 최적화·분리 판정·일반 MLE 존재 검정을 자동 제공하지 않습니다. 대학원 확장에서는 볼록성·엄격 볼록성·강제성·비교 설계의 식별 조건을 따로 확인합니다. 곡률이 양의 준정부호라는 사실 하나로 모든 질문을 해결하지 않습니다.

Restricting coefficients to minus one, zero and one gives finitely many candidates, so their largest likelihood can be found. This does not solve the problem over every real coefficient. Allowing two or ten can change the answer.

With one positive difference feature and only left wins, increasing a pushes sigmoid(a) toward one and log loss toward zero. No finite a gives certainty. The unrestricted problem can approach its optimum without attaining a finite minimum. Selecting the endpoint one from a finite grid is not proof that a finite unrestricted MLE exists.

ℓ(a)=−log⁡σ(a)⟶0(a⟶+∞),ℓ(a)>0 for finite a\ell(a)=-\log\sigma(a)\longrightarrow0\quad(a\longrightarrow+\infty),\qquad\ell(a)>0\ \text{for finite }a

If every feature difference is zero, all coefficients instead give probability one half. This is absence of identifying variation, distinct from perfect separation. Distinguish rank deficiency, reward-origin ambiguity and nonexistence from separation. Regularization or a prior changes the objective and assumptions.

Our lab solves the finite declared search, not a general continuous optimizer or MLE-existence test. Graduate extensions separately examine convexity, strict convexity, coercivity and identification. A positive-semidefinite Hessian does not settle every issue.

학부 기초Undergraduate foundations

훈련·검증·시험은 세 역할이다Training, validation and testing are three roles

한 자료에서 후보를 맞추고 그 자료에서 가장 좋아 보이는 결과까지 고르면 시험지를 미리 본 셈이 될 수 있습니다. 이 장은 특징 0만 쓰는 세 후보, 특징 1만 쓰는 세 후보, 둘 다 쓰는 아홉 후보를 미리 정합니다. 각 가족 안의 승자는 훈련 우도로 정하고, 그 세 승자 사이의 선택은 검증 우도로 정합니다. 시험 표적은 마지막 채점에만 씁니다.

훈련을 가장 잘 맞춘 큰 가족이 검증에서도 항상 이기는 것은 아닙니다. 선택 기준도 미리 고정해야 합니다. 여기서는 검증 우도를 쓰며 화면에서 함께 보여 주는 제곱오차가 가장 작다는 이유로 선택 규칙을 중간에 바꾸지 않습니다. 우도와 제곱오차는 여러 행을 함께 비교할 때 항상 같은 후보 순서를 주지는 않습니다.

정확히 같은 우도면 미리 선언한 순서의 앞 후보를 고릅니다. 이 규칙은 재현을 위한 것이며 앞 후보가 실질적으로 더 우월하다는 증거가 아닙니다. 검증에 양수 질량의 완전한 비교가 없으면 최종 선택은 미정의입니다. 훈련 승자로 몰래 대체하지 않습니다.

실제 개인 자료에서는 같은 사용자의 쌍을 세 역할에 나누지 않습니다. 새 사용자 판단이라는 목표를 위해 사용자 전체를 한 역할에 놓습니다. 시험을 여러 번 들여다보고 특징·쌍 구성·사용자 선택 규칙을 바꾸면 그 시험도 선택에 참여합니다. 독립 시험이라는 이름만 붙여 다시 새 자료가 되지는 않습니다.

Fitting and choosing a favorable result on the same observations can reuse the examination. We prespecify three feature-zero candidates, three feature-one candidates and nine joint candidates. Training likelihood chooses within each family; validation likelihood chooses among their three winners. Test targets are used only for final assessment.

A larger family fitting training best need not win validation. Prespecify the criterion too. We choose by validation likelihood and do not silently switch to the simultaneously displayed squared error. Across multiple rows those criteria need not order candidates identically.

Exact likelihood ties choose the earliest declared candidate for reproducibility, not as substantive evidence of superiority. Without positive-mass complete validation comparisons, final selection is undefined rather than silently replaced by a training winner.

For the new-user personal case, every pair of one user shares a role. Changing features, pairing or user selection after repeatedly seeing test outcomes uses that test for selection. Renaming reused observations cannot make them new independent evidence.

학부 기초Undergraduate foundations

실습: 가족 선택과 정보 경계를 확인하기Lab: inspect family choice and information boundaries

실습 B에는 왼쪽·오른쪽 두 특징, 표적, 질량, 역할을 직접 입력합니다. 먼저 훈련 두 행과 검증 한 행, 시험 한 행을 만드세요. 입력을 계산하기 전에 각 θ 후보의 상대 점수와 확률 하나를 손으로 적습니다. θ=(1,−1), 특징 (1,0) 대 (0,1)의 확률 4/5가 기준 예입니다.

계산 뒤에는 훈련에서 고른 각 가족의 θ, 그 후보의 훈련 우도, 검증 우도와 최종 선택을 순서대로 읽습니다. 같은 선택 결과라도 왜 골랐는지 장부가 필요합니다. 시험 표적만 뒤집어 다시 계산하면 시험 점수는 달라질 수 있지만 훈련 우도·가족 승자·검증 선택 θ는 같아야 합니다. 전체 출력에 시험 예측도 포함되므로 전체 JSON이 바이트 단위로 같아야 한다는 뜻은 아닙니다.

모든 비교의 두 특징을 같게 바꾸면 확률 1/2, 자연로그 계수 기울기 0, 곡률 0을 확인합니다. 이때 앞 후보가 선택되더라도 계수 효과가 관측됐다는 뜻은 아닙니다. 검증 행의 표적을 null로 바꾸면 최종 선택이 미정의가 되는지도 보세요. 결측은 0인 패배와 다릅니다.

마지막에는 같은 입력을 보존한 채 한영을 전환하고, 원분수·로그 근삿값·빈 분모를 구분해 읽습니다. 화면의 선택을 연속 최적화 성공이나 사람의 참 보상을 복원했다는 주장으로 넓히지 마세요.

Lab B takes paired feature vectors, target, mass and role. Start with two training rows, one validation row and one test row. Predict one candidate probability on paper first: theta=(1,−1) with (1,0) versus (0,1) gives four fifths.

Read each training family winner, its likelihood, the validation comparison and the final selection in that order. Flip only test targets. Test assessment can change while training likelihoods, family winners and the validation-selected theta remain fixed. Because full output also contains test predictions and scores, this does not require the entire JSON to remain byte-identical.

Set both alternatives’ features equal in every pair and inspect probability one half with zero gradient and curvature in natural-log coefficients. An earliest tied winner does not establish a coefficient effect. Removing validation targets should leave final selection undefined; missing is not a negative outcome.

Switch languages while retaining inputs and distinguish exact fractions, approximate logarithms and empty denominators. Do not reinterpret a finite selection as continuous optimization success or recovery of a person’s true reward.

학부 기초Undergraduate foundations

점수를 잘 맞춘 뒤에도 선택 문제는 남는다Fitting a score leaves a decision problem

A가 B보다 높은 점수를 받았다고 도구가 언제나 A만 내보내야 할까요? 두 답의 차이를 추정한 자료가 적거나, 학습에 없던 질문을 만나거나, 한 평가 기준에만 맞춘 점수일 수 있습니다. 가장 큰 추정 점수를 무조건 최대로 만드는 것과 믿을 만한 답을 고르는 일은 같지 않습니다.

여기서는 가능한 대안 몇 개에 확률을 나눠 주는 정책을 생각합니다. A 1/3, B 2/3 같은 목록입니다. 상태·문맥 하나를 고정한 유한 선택 모형이며, 긴 문장을 생성하는 토큰별 신경망 전체를 학습하는 프로그램은 아닙니다. 앞에서 배운 정책이라는 말이 실제 시스템에서는 더 큰 조건부 분포로 확장됩니다.

기준 정책 q는 출발점의 선택 확률입니다. 학습한 점수만 높이려 하면 이 기준에서 너무 멀어질 수 있어 이동 비용을 붙입니다. 그 비용을 실제 인간의 피해나 경제적 금액이라고 부르지 않습니다. 여기서는 확률 분포가 얼마나 달라졌는지를 나타내는 명시한 수학적 벌점입니다. 점수와 비용을 정한 주체도 함께 밝힙니다.

Does a higher estimated score mean the system must always choose A? Evidence may be sparse, the question unfamiliar, or the learned score aligned with only one criterion. Maximizing an estimated proxy is not automatically making a trustworthy decision.

A policy here allocates probability across a few alternatives, such as one third to A and two thirds to B. This is one fixed-context finite decision model, not a program training the token-by-token neural network of a language model. Larger systems extend the policy to conditional distributions over generated sequences.

A reference policy q records the starting choice distribution. We penalize moving too far from it when optimizing a learned score. That penalty is a declared mathematical discrepancy between distributions, not automatically human harm or a monetary cost. State who chose the reward and penalty.

학부 기초Undergraduate foundations

KL의 분모와 0의 의미KL denominators and the meaning of zero

두 정책이 같으면 이동 벌점이 0이고, 달라지면 양수가 되도록 만드는 한 방법이 KL 발산입니다. 정책 π와 기준 q에 대해 π가 실제로 주는 질량으로 로그 비율을 평균합니다. 이는 두 벡터 원소의 단순 거리나 대칭적인 유클리드 거리가 아닙니다. 순서를 바꾸면 값도 달라질 수 있습니다.

DKL(π∥q)=∑i:πi>0πilog⁡πiqiD_{\rm KL}(\pi\Vert q)=\sum_{i:\pi_i>0}\pi_i\log\frac{\pi_i}{q_i}

q=(1/2,1/2)에서 π=(1,0)으로 바꾸면 값은 log 2입니다. 두 번째 항은 π=0의 극한 관례에 따라 0으로 셉니다. 하지만 기준이 q=(1,0)인데 π가 두 번째 대안에 양수 질량을 주면, 분모 q₂=0이라 이 방향 KL은 무한대입니다. 0 log 0이라는 표기와 양수×log(양수/0)를 혼동하지 마세요.

이 장의 유한 비용 정책은 기준이 양수인 지지 안에서만 움직입니다. 기준에 없던 대안을 추가하려면 기준을 평활화하거나 새 정책 모형을 선언해야 하며, 이는 같은 계산을 단순히 더 정확하게 한 것이 아닙니다. 작은 양수 기준 확률과 정확한 0도 구별합니다.

유한 지지에서 KL은 음수가 아니고 두 정책이 같을 때만 0입니다. 다만 화면의 부동소수점 0이 수학적 0이라는 뜻은 아닙니다. 매우 작은 양수 차이는 표시 범위 아래일 수 있어 정확한 정책 질량과 상태 표지를 함께 확인합니다.

KL divergence gives a discrepancy that is zero for identical distributions and positive otherwise. It averages the log policy/reference ratio using the policy’s own mass. It is neither a plain coordinate distance nor symmetric Euclidean geometry; reversing its arguments can change the result.

DKL(π∥q)=∑i:πi>0πilog⁡πiqiD_{\rm KL}(\pi\Vert q)=\sum_{i:\pi_i>0}\pi_i\log\frac{\pi_i}{q_i}

Moving from reference (one half, one half) to policy (one, zero) costs log two. The zero-policy term uses its limiting convention of zero. But with reference (one, zero), assigning positive policy mass to the second alternative makes this KL infinite. A zero-mass limit is different from a positive mass multiplying log of division by zero.

Finite-cost policies stay inside reference support here. Adding unsupported alternatives requires a changed reference or model, not merely a more accurate calculation of the same objective. Distinguish exact zero from a tiny positive reference probability.

On finite support, KL is nonnegative and vanishes only for identical distributions. A floating display of zero need not mean mathematical zero: a tiny positive difference may fall below display range. Inspect exact policy masses and the accompanying status.

대학원 연결Graduate bridge

보상과 기준을 동시에 고려한 목적An objective combining reward and the reference

선택 확률 π를 바꾸어 평균 보상을 높이되 기준에서 멀어지는 KL에 β만큼의 벌점을 주겠습니다. β는 양수이며 보상과 벌점 사이의 단위를 연결합니다. 점수에 쓴 자연로그 기준도 고정해야 합니다. 로그 밑을 바꾼 뒤 β를 그대로 두면 같은 균형이라고 할 수 없습니다.

J(π)=∑iπiri−βDKL(π∥q),β>0J(\pi)=\sum_i\pi_i r_i-\beta D_{\rm KL}(\pi\Vert q),\qquad\beta>0

이 유한 문제의 해는 기준 질량 q에 exp(r/β)를 곱하고 합으로 나눈 값입니다. 보상이 큰 대안을 늘리되 기준 질량도 남습니다. 같은 보상이라면 기준에서 상대적으로 많이 보던 대안이 더 큰 질량을 받습니다. 평균 보상만의 최대화와는 다릅니다.

πi∗=qieri/βZ,Z=∑jqjerj/β\pi_i^*=\frac{q_i e^{r_i/\beta}}{Z},\qquad Z=\sum_j q_j e^{r_j/\beta}

왜 이 식이 최선인지 확인하려면 목적을 아래처럼 다시 쓰면 됩니다. KL이 0 이상이므로 π=π*에서 최대가 됩니다. 여기서 보상은 유한하고, 확률의 합은 1이며, 기준이 0인 지점은 허용 지지에서 제외한 조건입니다. 분포의 정규화 제약을 빼고 각 항을 따로 최대로 만드는 문제가 아닙니다.

J(π)=βlog⁡Z−βDKL(π∥π∗)J(\pi)=\beta\log Z-\beta D_{\rm KL}(\pi\Vert\pi^*)

이 식은 선언한 r과 q 아래의 최적 정책을 주지, r이 실제 인간의 복지를 정확히 나타낸다는 보장은 주지 않습니다. 최적화 정확성과 목표의 타당성을 분리하는 것이 이 장의 중심입니다.

Choose a policy to raise expected reward while penalizing KL departure by positive beta. Beta links reward and discrepancy units. Fix the logarithm convention too: changing log bases while retaining beta can change the intended tradeoff.

J(π)=∑iπiri−βDKL(π∥q),β>0J(\pi)=\sum_i\pi_i r_i-\beta D_{\rm KL}(\pi\Vert q),\qquad\beta>0

The finite optimum multiplies reference mass by exp(reward/beta), then normalizes. Higher rewards gain mass while the reference still matters. Equal rewards preserve relative reference masses. This differs from maximizing expected reward alone.

πi∗=qieri/βZ,Z=∑jqjerj/β\pi_i^*=\frac{q_i e^{r_i/\beta}}{Z},\qquad Z=\sum_j q_j e^{r_j/\beta}

Rewrite the objective as below. Nonnegative KL makes the reference-supported optimum explicit. Conditions are finite rewards, a probability simplex and restriction to positive-reference support; it is not independent unconstrained optimization of each coordinate.

J(π)=βlog⁡Z−βDKL(π∥π∗)J(\pi)=\beta\log Z-\beta D_{\rm KL}(\pi\Vert\pi^*)

This optimizes the declared reward/reference objective. It does not establish that the reward accurately represents human welfare. Separate correctness of optimization from validity of its target.

학부 기초Undergraduate foundations

작은 β와 큰 β,그리고 역온도Small beta, large beta and inverse temperature

β가 작으면 같은 보상 차이가 더 강하게 작용하고, β가 크면 기준에 가까워집니다. 무한히 큰 β의 극한은 기준 정책입니다. 반대로 β를 0으로 둔 문제는 KL 벌점을 없애 평균 보상만 최대화하는 별도 문제이며, 보상이 같은 최고 대안이 여러 개면 최적 정책도 하나가 아닐 수 있습니다.

실습 C는 정확한 분수를 위해 r=log(s), k=1/β를 사용합니다. k를 1부터 8까지의 정수로 고르면 exp(r/β)=s^k가 유리수의 정수 거듭제곱이 됩니다. 화면의 k=0은 β=0이 아니라 β→∞인 기준 정책 극한입니다. 두 숫자를 거꾸로 읽지 않도록 변수 이름과 해석을 함께 확인하세요.

πi∗∝qisik,k=1/β>0\pi_i^*\propto q_i s_i^k,\qquad k=1/\beta>0

기준 (1/2,1/2), 강도 (1,2)에서는 k=1의 정책이 (1/3,2/3), k=2는 (1/5,4/5)입니다. k를 키울수록 높은 점수에 질량이 몰립니다. 이때 보상 모형의 오류도 함께 증폭될 수 있습니다. 높은 모형 점수를 얻었다는 사실과 독립 평가자의 좋은 판단을 얻었다는 사실을 따로 기록하세요.

일반 실수 β의 공식도 이론적으로 유효하지만 모든 지수 결과가 유리수는 아닙니다. 정확 계산을 제공하는 이 실습의 정수 k 범위와 일반 정리를 구별합니다. 지원하지 않는 값은 지원하지 않는다고 쓰며, 근삿값을 정확 분수로 포장하지 않습니다.

Smaller beta makes a fixed reward difference more influential; larger beta stays closer to the reference. Infinite beta approaches the reference. Setting beta to zero instead removes the KL penalty and defines a separate unregularized reward problem, potentially with several optima when top rewards tie.

Lab C uses r=log strength and inverse temperature k=1/beta. Integer k from one through eight makes exp(r/beta)=s to the k-th power rational. The displayed k=zero denotes the infinite-beta reference limit, not beta zero. Read the variable name and interpretation together.

πi∗∝qisik,k=1/β>0\pi_i^*\propto q_i s_i^k,\qquad k=1/\beta>0

At reference halves and strengths one, two, k=one yields policy thirds, two thirds; k=two yields one fifth, four fifths. Concentration on a larger estimated reward can also amplify reward-model errors. Record proxy score and independently judged quality separately.

The general formula permits real positive beta, but not every resulting power is rational. Distinguish that theory from the exact integer-k teaching subset; do not relabel an approximation as an exact fraction.

학부 기초Undergraduate foundations

공통 점수 상수와 기준 선택의 효과A common reward shift and changing the reference

모든 보상에 같은 상수 c를 더하면 exp(c/β)가 모든 정규화 전 질량에 똑같이 곱해집니다. 합으로 나눌 때 그 인자가 사라져 정책은 그대로입니다. 앞의 비교 확률에서 절대 보상 기준이 식별되지 않았던 사실과 연결됩니다. 목적의 수치에는 c가 더해지지만 최적 선택 분포는 바뀌지 않습니다.

기준 q를 바꾸는 일은 다릅니다. 강도 (1,2), k=1에서 기준이 (1/2,1/2)이면 정책은 (1/3,2/3)입니다. 기준을 (3/4,1/4)로 바꾸면 정규화 전 값은 (3/4,1/2)이므로 정책은 (3/5,2/5)가 됩니다. 같은 보상 강도만으로 최종 행동을 설명할 수 없는 이유입니다.

기준은 어떤 답을 기본으로 내는지, 어떤 대안이 지지에서 빠지는지와 관계됩니다. 기준을 중립적 진리나 유일한 정상 상태라고 부르지 않습니다. 교육용 두 대안의 동일 기준 1/2도 우리가 선언한 출발점입니다. 실제 시스템에서는 기준 모델의 학습 자료·기능·편향과 사용 맥락을 따로 검토해야 합니다.

Adding a common constant c to every reward multiplies all unnormalized masses by exp(c/beta). Normalization cancels that factor, leaving the policy unchanged. This connects policy invariance with the reward-origin ambiguity of pair comparisons. Objective values shift by c, but the optimal distribution does not.

Changing the reference differs. Strengths one, two and k=one give policy one third, two thirds from equal reference masses. Reference three quarters, one quarter instead gives unnormalized masses three quarters, one half and normalized policy three fifths, two fifths. Rewards alone do not determine the final behavior.

The reference controls default probabilities and available support; it is not a neutral ground truth or uniquely normal state. Our equal two-item reference is a declared teaching starting point. A real system also requires scrutiny of its reference model’s data, capabilities, biases and deployment context.

학부 기초Undergraduate foundations

실습: 원분수 정책과 로그 벌점 나란히 읽기Lab: read exact policy masses beside log penalties

실습 C에 강도 1·2, 기준 1/2·1/2를 입력하고 k=1과 k=2를 비교합니다. 분수 정책을 먼저 손으로 구한 뒤 합이 1인지 확인하세요. 기준 질량 하나를 정확한 0으로 바꾸려면 나머지 질량도 조정해 합을 1로 유지해야 합니다. 기준의 합이 틀렸는데 프로그램이 몰래 정규화한다고 가정하지 않습니다.

k=0에서는 정책이 원 기준과 정확히 같고 KL도 수학적으로 0입니다. 강도 하나를 1에서 아주 조금 올리면 정책이 정확히는 달라지지만 KL이 화면 범위 아래일 수 있습니다. 그때 “0이 아님·표시 범위 아래”와 실제 동일 분포의 0을 구별하세요. 로그 효용은 양수·음수 항이 상쇄될 수도 있어 소수 표시만으로 정확한 0을 단정하지 않습니다.

이 실습의 원분수는 정책 질량과 정규화 상수입니다. KL과 기대 log 강도는 명시한 근사 계산이며, 정확한 계수·로그 인자는 따로 펼쳐 확인합니다. 자연로그를 유리수처럼 표현하지 않습니다. 실행된 고정 Python·R 예제도 현재 입력과 다른 보관본임을 구별해 읽게 됩니다.

마지막으로 점수에 없는 외부 평가 기준을 종이에 하나 정해 보세요. k가 커지며 모형 점수는 높아져도 그 기준이 나빠질 수 있는 상황을 구성합니다. 이는 목적의 한계를 생각하는 가상 반례이며 실제 인간 평가가 새로 수집되었다는 뜻이 아닙니다.

In Lab C compare k=one and k=two at strengths one, two and reference halves. Calculate policy fractions first and verify they sum to one. To set one reference mass to exact zero, adjust the remaining mass to preserve the simplex. Do not assume the program silently normalizes an invalid reference.

At k=zero the policy equals the reference and KL is mathematically zero. An extremely small strength change can instead give a genuinely different policy with KL below display range. Distinguish that nonzero status from exact equality. Signed log utility can also cancel, so its displayed zero alone does not establish mathematical zero.

Policy masses and the normalizer are exact fractions; KL and expected log strength are explicitly approximate, with exact log arguments available for inspection. Logarithms are not disguised as rational numbers. Archived Python/R examples also have fixed inputs distinct from the current live inputs.

Finally stipulate an external evaluation criterion absent from the learned score. Construct a situation where increasing k raises proxy reward but worsens that criterion. It is a hypothetical counterexample about objectives, not newly collected human evaluation.

학부 기초Undergraduate foundations

정책에서 보상 차이를 거꾸로 읽기Read reward differences back from a policy

앞 절은 보상을 주고 정책을 구했습니다. 이번에는 정책과 기준의 비율에서 그 정책에 대응하는 보상 차이를 읽습니다. 최적 정책 식의 양변에 로그를 취하면, 보상은 기준 대비 정책 로그 비율에 β를 곱한 값과 모든 대안에 공통인 상수로 나뉩니다. 기준과 정책이 모두 양수인 대안에서 먼저 유도합니다.

πi∗=qieri/β/Z⟹ri=βlog⁡(πi∗/qi)+βlog⁡Z\pi_i^*=q_i e^{r_i/\beta}/Z\quad\Longrightarrow\quad r_i=\beta\log(\pi_i^*/q_i)+\beta\log Z

비교에서는 A와 B의 보상 차이만 필요하므로 공통인 β log Z가 사라집니다. 이 점이 직접 선호 최적화, DPO를 이해하는 핵심 연결입니다. 정책에 대응하는 보상 표현을 비교 손실에 대입할 수 있습니다. 그러나 현재 임의 정책이 진짜 사람 보상의 최적 정책이라는 사실을 관측한 것은 아닙니다.

정책 비율 π/q가 큰 대안은 기준보다 더 많이 선택하게 된 대안입니다. π 하나만 보면 이 변화를 놓칩니다. 원래 자주 나오던 대안과 새로 크게 늘어난 대안은 같은 정책 확률에서도 의미가 다를 수 있습니다. 정책과 기준을 쌍으로 기록하는 이유입니다.

Earlier we started with a reward and derived a policy. Now take logs of the optimal-policy equation to express a corresponding reward through a policy/reference ratio and a common constant. Start on alternatives with positive policy and reference mass.

πi∗=qieri/β/Z⟹ri=βlog⁡(πi∗/qi)+βlog⁡Z\pi_i^*=q_i e^{r_i/\beta}/Z\quad\Longrightarrow\quad r_i=\beta\log(\pi_i^*/q_i)+\beta\log Z

The common beta log normalizer cancels in a reward difference. This is the central algebraic bridge to direct preference optimization, or DPO: substitute a policy-based reward expression into a comparison loss. It does not establish that an arbitrary observed policy optimizes people’s true rewards.

A large policy/reference ratio means an alternative gained mass relative to the starting policy. Looking only at policy mass misses that change. A frequently generated default and a newly promoted alternative can have the same current probability but different reference-relative behavior.

학부 심화 · 선택Advanced undergraduate · optional

DPO의 비교 확률과 손실DPO comparison probabilities and loss

A를 선호할 모형 확률은 보상 차이에 로지스틱 함수를 적용한 값이었습니다. 그 차이를 방금 구한 정책 비율로 바꾸면 아래 식이 됩니다. 문맥 x를 고정한 두 대안의 식이며, 문맥이 바뀌면 기준·정책·정규화 상수도 달라질 수 있습니다.

pA≻B=σ ⁣(β[log⁡πAqA−log⁡πBqB])=(πA/qA)β(πA/qA)β+(πB/qB)βp_{A\succ B}=\sigma\!\left(\beta\left[\log\frac{\pi_A}{q_A}-\log\frac{\pi_B}{q_B}\right]\right)=\frac{(\pi_A/q_A)^\beta}{(\pi_A/q_A)^\beta+(\pi_B/q_B)^\beta}

선호된 A의 관측 표적이 1이면 손실은 −log p입니다. 양쪽을 절반씩 반영하는 연성 표적 y라면 −y log p−(1−y)log(1−p)를 씁니다. 이 장은 고정된 유한 확률 목록에서 손실과 경계를 계산합니다. 거대한 언어 모델을 실제로 미세 조정하거나 학습 안정성을 검증하는 실습은 아닙니다.

기준이 다르면 정책 확률이 같아도 DPO 비교 확률은 달라집니다. q=(1/4,3/4), π=(1/2,1/2), β=1이면 비율은 2와 2/3, 비교 확률은 3/4입니다. π만 보고 1/2라고 계산하면 기준을 빠뜨린 것입니다. 정답 여부를 판단한 확률도 아닙니다.

A Bradley–Terry comparison uses the logistic function of a reward difference. Substitute the reference-relative policy expression to obtain the following formula for two alternatives in one fixed context. Other contexts can have different policies, references and normalizers.

pA≻B=σ ⁣(β[log⁡πAqA−log⁡πBqB])=(πA/qA)β(πA/qA)β+(πB/qB)βp_{A\succ B}=\sigma\!\left(\beta\left[\log\frac{\pi_A}{q_A}-\log\frac{\pi_B}{q_B}\right]\right)=\frac{(\pi_A/q_A)^\beta}{(\pi_A/q_A)^\beta+(\pi_B/q_B)^\beta}

For observed target one the loss is minus log p. A soft target uses the usual weighted two-sided cross entropy. This chapter computes losses and boundaries for a finite probability list; it neither fine-tunes a large language model nor verifies its training stability.

Equal policy probabilities do not imply equal comparison probabilities when the reference differs. Reference one quarter, three quarters and policy halves give relative masses two and two thirds. At beta one the comparison probability is three quarters. One half would incorrectly omit the reference; this is also not a probability of factual correctness.

학부 기초Undergraduate foundations

선택된 답만 외우는 학습과 무엇이 다른가How comparison learning differs from copying chosen answers

교사가 좋은 답 하나를 주고 그 답의 확률을 높이는 지도 미세 조정, SFT와 두 답을 비교하는 목적은 다릅니다. 선택된 답 A만의 −log π(A)를 줄이면 B가 어떤 답인지, 기준에서 A와 B가 얼마나 흔했는지에 대한 비교식이 들어 있지 않습니다. DPO는 같은 문맥의 선택·비선택 쌍과 기준 대비 변화가 함께 들어갑니다.

그렇다고 비선택 답의 절대 확률을 항상 낮추기만 한다는 뜻도 아닙니다. 비교 목적은 상대 로그 비율의 차이를 요구합니다. 문맥마다 가능한 다른 답과 확률 합 제약이 있으며, 실제 매개변수는 여러 문맥에 공유됩니다. 두 답만 따로 보고 전체 모델의 모든 확률 변화를 단정할 수 없습니다.

인간 피드백을 이용한 강화학습, RLHF의 한 대표적 흐름은 SFT, 비교 자료로 보상 모형 학습, 기준과의 벌점을 둔 정책 갱신입니다. PPO는 그 갱신을 수행하는 한 알고리즘입니다. DPO는 다른 목적의 매개변수화를 이용해 별도 보상 모형·정책 강화학습 단계를 대체할 수 있는 접근이지, 비교 자료의 편향·프롬프트 범위·평가 문제를 없애는 장치는 아닙니다.

이 장의 평가에서는 정확한 유한 모형 계산을 연습합니다. 실제 InstructGPT나 DPO 논문의 언어 모델 성능 수치를 다시 산출했다고 주장하지 않습니다. 원 논문의 절차를 읽고 무엇을 가정하고 무엇을 따로 평가했는지 구분합니다.

Supervised fine-tuning, or SFT, can increase the probability of a demonstrated answer. Minimizing minus log policy probability of chosen A alone has no explicit rejected answer or reference-relative comparison. DPO uses a chosen/rejected pair in one context together with the reference.

This does not mean every rejected answer must decrease in absolute probability. A comparison constrains a difference of relative log probabilities, while normalization, other answers and parameters shared across contexts also matter. Two alternatives alone do not determine every change in a full model.

A representative RLHF pipeline starts with SFT, fits a reward model from comparisons and updates a policy with a reference penalty. PPO is one algorithm for that update. DPO uses an alternative parameterization and objective that can replace a separate reward model and reinforcement-learning stage. It does not remove biased annotations, limited prompt coverage or evaluation problems.

We practice explicit finite models here, not reproduce language-model performance results from InstructGPT or DPO. Read those papers to separate their assumptions, procedures and independent evaluations.

학부 기초Undergraduate foundations

0인 확률과 정의되지 않은 쌍Zero probabilities and undefined pairs

로그 비율에는 분모와 분자가 있습니다. 기준 확률 q가 0인 답은 이 장의 비교식에 넣을 수 없습니다. 그 답의 π도 0이니 0/0을 1로 보자는 식의 임의 처리로 해결되지 않습니다. 기준 지지 밖의 정책 질량도 허용하지 않습니다.

기준은 두 답 모두 양수인데 정책이 A에 0, B에 양수 질량을 주면 DPO의 A 선호 확률은 정확히 0입니다. 표적이 A 선호라면 손실은 무한대입니다. 작은 양수로 바꾸어 유한하게 만들면 새로운 정책입니다. 표시상 0으로 반올림된 작은 양수와 구별하세요.

세 대안 중 C에 모든 정책 질량을 두어 A와 B가 모두 0이면, A 대 B의 상대 확률은 이 식만으로 정의되지 않습니다. 두 0을 더해 나누는 0/0이기 때문입니다. 다른 대안 C에 질량이 있다는 사실이 A와 B의 상대 크기를 정해 주지는 않습니다. 무한 손실, 표시 범위 아래의 유한 손실, 비교 자체 미정의는 각각 다른 상태입니다.

Log ratios have both denominators and numerators. A zero-reference alternative cannot enter this comparison formula. Declaring zero divided by zero to equal one does not repair it, and the policy cannot place mass outside reference support.

If both references are positive but policy A is zero and policy B positive, A’s comparison probability is exactly zero. Target one then has infinite loss. Replacing zero by a tiny positive mass changes the policy; distinguish that change from a positive probability merely rounding to zero on screen.

With three alternatives, a policy concentrated entirely on C gives A and B both zero mass. Their relative comparison is undefined by this formula: zero divided by zero. Mass on C does not determine the ratio between A and B. Infinite loss, a finite value below display range and an undefined comparison are distinct.

대학원 연결Graduate bridge

두 실습의 β를 같은 숫자로 읽지 않기Do not identify two controls by their numbers

정책 실습은 유리수 거듭제곱을 위해 k=1/β를 정수로 받습니다. DPO 실습은 비교식의 거듭제곱 β를 정수로 받습니다. 이 두 지원 범위는 서로 다른 정확 계산 부분집합입니다. k=2와 DPO β=2를 나란히 골랐다고 같은 정규화 문제의 앞뒤 계산이 되는 것은 아닙니다.

일반 양수 실수 β의 이론에서는 두 식이 연결됩니다. 정책이 π∝q·s^(1/β)이면 (π/q)^β에 공통 상수를 제외하고 s가 남아 원 비교 확률을 복원합니다. 다만 두 실습이 동시에 정수 입력을 받는 현재 범위에서는 k=1, β=1에서 이 연결을 직접 확인할 수 있습니다.

πi/qi=si1/β/Z⟹(πA/qA)β(πA/qA)β+(πB/qB)β=sAsA+sB\pi_i/q_i=s_i^{1/\beta}/Z\quad\Longrightarrow\quad \frac{(\pi_A/q_A)^\beta}{(\pi_A/q_A)^\beta+(\pi_B/q_B)^\beta}=\frac{s_A}{s_A+s_B}

계산기가 허용하는 값의 범위와 정리의 범위를 구별하는 습관은 중요합니다. 지원하지 않는 1/2를 억지로 1로 고르거나, 근사 제곱근을 정확 분수로 바꾼 뒤 원 정리라고 부르지 않습니다.

The policy lab accepts integer inverse temperature k=one/beta for exact rational powers. The DPO lab accepts integer beta in its comparison formula. These are different exact-arithmetic subsets. Selecting two in both controls does not make them forward and reverse computations of the same regularization problem.

For general positive real beta the formulas do connect. When policy is proportional to reference times strength to the one-over-beta power, raising the policy/reference ratio to beta recovers relative strengths. Within the two supported integer subsets, k=one and beta=one directly demonstrate that bridge.

πi/qi=si1/β/Z⟹(πA/qA)β(πA/qA)β+(πB/qB)β=sAsA+sB\pi_i/q_i=s_i^{1/\beta}/Z\quad\Longrightarrow\quad \frac{(\pi_A/q_A)^\beta}{(\pi_A/q_A)^\beta+(\pi_B/q_B)^\beta}=\frac{s_A}{s_A+s_B}

Separate a theorem’s domain from a calculator’s supported inputs. Rounding unsupported beta one half to one, or treating an approximate root as an exact fraction, changes the problem.

학부 기초Undergraduate foundations

실습: 기준을 바꾸고 지지를 점검하기Lab: change the reference and inspect support

실습 D에서 기준 (1/4,3/4), 정책 (1/2,1/2), A 선호 표적 1을 시작점으로 둡니다. β=1의 비교 확률 3/4와 손실 log(4/3)를 손으로 확인하세요. β=2에서는 상대 질량을 제곱하여 9/10이 됩니다. 기준을 무시한 정책 비율과 어떻게 다른지 표에 나란히 씁니다.

다음에는 기준을 그대로 두고 정책을 (0,1)로 바꿉니다. A의 정확한 비교 확률과 무한 손실 상태를 읽습니다. 세 번째 대안을 추가해 정책을 (0,0,1)로 두는 예에서는 A와 B 쌍이 미정의가 되는 이유를 설명합니다. 두 대안뿐인 정책에서 (0,0)은 합이 1이 아니므로 입력 자체가 잘못된 사례입니다.

마지막으로 실습 C의 k=1 정책을 D에 옮기고 β=1을 골라 원 강도 비교 확률을 복원합니다. 현재 입력의 결과와 보관된 Python·R 코드는 같은 입력인지 확인한 뒤 비교하세요. 실습은 고정 유한 정책과 명시한 자료를 다루며, 새로운 인간 선호나 거대 언어 모델을 생성하지 않습니다.

Start Lab D with reference one quarter, three quarters, policy halves and target one for A. Verify comparison probability three quarters and loss log four thirds at beta one. At beta two, squaring the relative masses gives nine tenths. Compare these with the incorrect calculation that omits the reference.

Next keep the reference and change the policy to zero, one. Read exact zero comparison probability and infinite loss. With a third alternative and policy zero, zero, one, explain why the A/B comparison is undefined. A two-item policy zero, zero would instead violate the simplex and be invalid input.

Finally transfer Lab C’s k=one policy into Lab D at beta one to recover the original strength comparison. Check whether archived Python/R examples use the same inputs before comparing results. These are fixed finite-policy exercises, not new human judgments or a newly trained language model.

학부 기초Undergraduate foundations

선호 일치·확률 오차·로그 손실은 다른 질문Agreement, probability error and log loss ask different questions

두 모형이 모두 A를 더 좋아한다고 예측해도 확신은 다를 수 있습니다. 실제 표적 y=1인 한 쌍에서 p=3/4와 p=9/10은 둘 다 방향을 맞힙니다. 이 장의 방향 일치 점수는 둘 다 1이지만 제곱 오차는 1/16과 1/100, 로그 손실은 log(4/3)와 log(10/9)로 다릅니다. 방향만 맞히면 된다는 평가와 확률까지 잘 맞춰야 한다는 평가는 같지 않습니다.

연성 표적 y가 들어오면 방향 일치는 예측 방향에 대한 표적 질량을 셉니다. p>1/2이면 y, p<1/2이면 1−y, p=1/2이면 절반 점수입니다. p의 크기를 더 정밀하게 평가하는 제곱 오차·로그 손실과 나란히 읽습니다. 연성 표적에 대한 제곱 오차를 관측된 이진 사건의 Brier 점수라고 단정하지 않는 이유는 6절에서 배웠습니다.

ℓsq=(p−y)2,ℓlog⁡=−ylog⁡p−(1−y)log⁡(1−p)\ell_{\rm sq}=(p-y)^2,\qquad\ell_{\log}=-y\log p-(1-y)\log(1-p)

확률 보정은 “0.8이라고 말한 경우에 실제로도 약 80%인가”라는 반복 자료의 질문입니다. 열 건 중 여덟 건이 A를 선호했다는 한 묶음만으로 모든 문맥·집단에서 보정되었다고 결론 내리지 않습니다. 독립성·표본 크기·묶음 기준과 학습에 쓰지 않은 평가가 필요합니다. 적절한 손실의 모집단 최적점 성질이 유한 모형·유한 표본·불완전 최적화에서 자동으로 구현되는 것도 아닙니다.

Two models can predict the same direction with different confidence. For target one, probabilities three quarters and nine tenths both receive agreement one. Their squared errors are one sixteenth and one hundredth; log losses are log four thirds and log ten ninths. Correct direction and accurate probability answer different questions.

For a soft target, agreement credits target mass on the predicted side: y above one half, one minus y below it, and half at a predictive tie. Read this alongside squared error and log loss. Section six explained why soft-target squared error is not automatically the observed Brier score of a binary event.

ℓsq=(p−y)2,ℓlog⁡=−ylog⁡p−(1−y)log⁡(1−p)\ell_{\rm sq}=(p-y)^2,\qquad\ell_{\log}=-y\log p-(1-y)\log(1-p)

Calibration asks whether cases assigned probability point eight actually show about eighty percent positive outcomes. Eight positives in one ten-case bin do not establish calibration across contexts or groups. Check dependence, sample size, bin definitions and held-out evaluation. A proper loss’s population-optimum property does not automatically hold for a finite model, finite sample or incomplete optimization.

학부 기초Undergraduate foundations

하나의 평균으로 지워지는 사람들People hidden by one average

평가 점수의 평균은 누가 얼마나 들어 있는지에 따라 달라집니다. 가상 예에서 큰 집단 90명의 방향 일치가 0.9, 작은 집단 10명이 0.5이면 전체는 0.86입니다. “86%”만 쓰면 작은 집단의 절반 수준 일치가 가려집니다. 집단별 점수·분모·모르는 집단을 함께 적는 이유입니다.

이 장의 실습은 숫자 집단 1과 문자열 집단 “1”도 구별합니다. 결측 집단은 알려진 집단으로 억지 분류하지 않습니다. 집단이 한 번도 관측되지 않았거나 평가 비중이 0이면 그 점수는 미정의입니다. 점수를 0으로 채워서 평균에 넣으면 부진한 성과와 자료 부재가 섞입니다.

선호를 어떻게 합칠지도 가치 판단을 포함합니다. 사람 수를 같은 비중으로 셀지, 반복 응답을 모두 셀지, 대표성 비중을 쓸지에 따라 목적이 달라집니다. 이 장의 비중은 명시한 분석 규칙이며 모집단 대표성을 자동으로 주지 않습니다. 여러 사람의 순위가 충돌할 때 하나의 총순위를 요구하는 것 자체도 선택입니다. 순환을 삭제해 깨끗한 하나의 진실로 만드는 대신 어디서 어떤 비교가 충돌하는지 표시합니다.

Averages depend on who enters them. In a hypothetical example, ninety people have agreement point nine and ten have agreement point five. The overall point eight six hides the smaller group’s weaker fit. Report group scores, denominators and unknown groups together.

The lab distinguishes numeric group one from string group one. Missing groups are not silently assigned to known groups. A never-observed or zero-weight group has an undefined score rather than a measured zero. Filling it with zero confounds absent evidence with poor performance.

Aggregation also involves values. Equal people, every repeated annotation and population-representation weights define different objectives. Our declared analysis weights do not automatically establish representativeness. Requiring one complete ranking from conflicting individuals is itself a choice. Preserve and locate cycles rather than deleting disagreements to manufacture one truth.

학부 기초Undergraduate foundations

사람·문맥·시간을 기준으로 나누기Split by people, contexts and time

한 사람이 남긴 여러 평가를 무작위로 섞어 일부를 시험에 놓으면, 모형이 이미 본 사람의 취향을 다시 맞히는 문제가 될 수 있습니다. 새 사람에게 일반화하려는 질문이라면 사람 단위 분리가 먼저입니다. 같은 질문의 답변 변형이 양쪽에 들어가거나 동일 영화·기업이 중복될 때도 어떤 일반화 질문인지 밝혀야 합니다.

개인 실제 사례는 익명 사용자 12명을 해시로 정한 뒤 6명 훈련·3명 검증·3명 시험으로 나눕니다. 각 사람의 앞 20개 별점은 시간순으로 정렬하지만, 이것이 미래 시점 예측 실험이라는 뜻은 아닙니다. 미래 자료가 발표되기 전의 학습 상태를 복원한 실시간 검증도 아닙니다. 새로운 사용자의 이 보존된 비교 변환에 대한 평가입니다.

나라 사례의 쌍은 국가 코드 순서로 만든 뒤 쌍 단위로 역할을 나눕니다. 기업 자료에는 믿을 만한 반복 고객 ID나 관측 날짜가 없어 새 고객·미래 예측을 검증했다고 말하지 않습니다. 제공된 원행을 해시로 나누어 선언한 대리 표적을 평가하는 범위입니다. 시험 결과를 본 뒤 기준·특징·쌍 만들기를 바꾸면 새로운 개발 실험이며, 같은 시험의 최종 성능이라고 반복 발표하지 않습니다.

불확실성 구간도 독립 관측 단위를 정해야 합니다. 사람별 여러 쌍을 독립인 120명처럼 부트스트랩하면 안 됩니다. 이 장의 작은 사례는 점수와 원행을 제시하며 모집단 신뢰구간을 자동으로 인증하지 않습니다. 후속 연구에서는 사람·문맥 군집과 표집 설계를 먼저 정합니다.

Randomly splitting one person’s repeated ratings can test familiar-person prediction rather than generalization to new people. For a new-user question, split users first. Shared prompts, answer variants, movies or firms likewise require an explicit generalization target.

The personal case hashes twelve anonymous users into six training, three validation and three test users. Each user’s first twenty retained ratings are chronologically ordered; this is not a future-time prediction experiment or a reconstruction of real-time information releases. It evaluates transformed comparisons for held-out users in a retained snapshot.

Country pairs are formed by code order and assigned roles by pair. The company data lack a reliable repeated-customer identifier and observation dates, so we do not claim future prediction or new-customer validation. Hashed native rows test a declared proxy. Changing features, pairing or objectives after viewing test outcomes creates further development rather than another final result on an untouched test.

Intervals also require an independent sampling unit. Repeated pairs from one person are not independent people. These small cases expose scores and lineage without automatically certifying population intervals. A later study must specify clusters and sampling design.

학부 기초Undergraduate foundations

대리 점수를 높이고 외부 품질은 낮추는 반례A proxy can improve while external quality worsens

이 절의 수치는 실제 관측이 아닌, 목표의 한계를 생각하기 위해 만든 두 대안 반례입니다. A의 강도는 4, B는 2이고 기준은 같습니다. 외부 평가 품질을 A=1, B=4로 별도 선언합니다. 외부 품질은 보상 모형에 들어가지 않았다고 가정합니다.

k=1이면 정책 A는 2/3, B는 1/3이고 외부 평균 품질은 2입니다. k=2이면 A는 4/5, B는 1/5가 되어 외부 품질은 8/5로 내려갑니다. 반면 기대 log 강도는 (5/3)log 2에서 (9/5)log 2로 올라갑니다. 모형이 더 좋아하는 답을 더 많이 내면서도 외부 기준은 나빠질 수 있습니다.

Qk=1=23(1)+13(4)=2,Qk=2=45(1)+15(4)=8/5Q_{k=1}=\tfrac23(1)+\tfrac13(4)=2,\qquad Q_{k=2}=\tfrac45(1)+\tfrac15(4)=8/5

실제 제품에서도 비슷한 질문을 던질 수 있습니다. 응답 길이를 높이면 사람이 더 좋아하는지, 이탈 방지 점수를 높이면 사용자가 실제로 이익을 얻는지, 국가 지표 순위를 높이면 주민의 삶이 좋아지는지 따로 관측해야 합니다. 이 반례가 특정 회사나 나라에서 그런 피해가 관측되었다는 증거는 아닙니다.

실무에서는 개발 점수와 다른 출처의 평가, 실패 유형별 사례 읽기, 허용 범위와 사용 중단 기준을 함께 설계합니다. 하지만 이 장의 유한 계산만으로 이런 실제 검증이 완료되었다고 쓰지 않습니다. 무엇을 아직 측정하지 않았는지 명확하게 남기는 것이 분석의 일부입니다.

This is a stipulated two-alternative counterexample, not observed data. Strengths are four for A and two for B with equal reference. Separately declare external quality one for A and four for B; the reward model never uses that criterion.

At k=one, policy A has mass two thirds and B one third, giving quality two. At k=two, the masses become four fifths and one fifth, lowering quality to eight fifths. Expected log strength instead rises from five thirds log two to nine fifths log two. Better optimization of the proxy can worsen the external criterion.

Qk=1=23(1)+13(4)=2,Qk=2=45(1)+15(4)=8/5Q_{k=1}=\tfrac23(1)+\tfrac13(4)=2,\qquad Q_{k=2}=\tfrac45(1)+\tfrac15(4)=8/5

Ask corresponding empirical questions in products: whether longer answers help people, whether retention rewards benefit customers, or whether a country ranking tracks residents’ lives. The constructed example is not evidence that a named company or country experienced such harm.

Practice needs evaluation from other sources, failure-case reading and a declared operating scope. The finite calculation does not complete that field validation. Recording what remains unmeasured is part of the analysis.

학부 기초Undergraduate foundations

학자·원 논문·본문 영상으로 연결하기Connect scholars, primary papers and an in-page lecture

다니엘 맥패든의 이산 선택 연구는 여러 대안 중 무엇을 고르는지 관측 자료로 분석하는 경제학·계량경제학의 연결점입니다. 선택 확률 모형이 관측 행동을 설명한다는 말과 그 행동이 바람직하다는 말은 다릅니다. 본인의 노벨 강연 Economic Choices 첫 부분을 읽고 관측되지 않은 차이가 선택 모형에 왜 필요한지 설명해 보세요.

케네스 애로의 사회적 선택 연구는 여러 개인의 선호를 한 사회 순위로 합치는 조건을 질문합니다. 이 장의 순환 예가 애로 정리의 전체 증명은 아닙니다. 단순 다수결의 순환, 임의의 집계 규칙이 충족해야 할 조건, 통계 모형의 적합도를 구분하세요. 스탠퍼드의 학자 소개에서 사회적 선택과 후생경제학의 연결을 읽을 수 있습니다.

아래 영상은 네이선 램버트가 자신의 RLHF and Post-Training 교재와 함께 제공하는 6강으로, DPO의 유도와 활용을 설명합니다. 저자의 공식 강좌와 슬라이드를 함께 참고하세요. 먼저 이 장에서 두 대안의 손계산을 해 본 뒤 보세요. 보상→정책 식, 공통 정규화 상수 소거, 보상 해킹·분포 이동 논의에서 멈추어 “정확히 최적화한 것”과 “아직 검증하지 않은 것”을 두 열로 적어 봅니다. 영상은 이 본문 안에서 재생하며 자막·배속은 플레이어에서 조절합니다.

읽기 순서: 공식 강의 자료 24–42쪽의 목적과 치환, DPO 원 논문 3–4절, InstructGPT 원 논문의 방법·한계, Machine Learning from Human Preferences 1장 순으로 연결합니다. 영어가 어렵다면 먼저 식의 q·π·β가 이 장의 어느 값인지 표시하고, 모르는 용어를 문장 전체와 함께 정리하세요.

Daniel McFadden’s work on discrete choice connects economics and econometrics with observed selection among alternatives. Explaining choices does not establish that those choices are desirable. Read the opening of his own Nobel lecture Economic Choices and explain why unobserved differences enter choice models.

Kenneth Arrow’s social-choice research asks about conditions for aggregating individual preferences into a collective ordering. Our cycle example is not a proof of his full theorem. Distinguish a majority cycle, requirements on aggregation rules and statistical goodness of fit. Stanford’s scholar introduction connects social choice and welfare economics.

The video below is Nathan Lambert’s sixth lecture accompanying his RLHF and Post-Training book, covering DPO derivation and practice. See the author’s official course and slides alongside it. Work the two-alternative calculation first. Pause at the reward-policy transformation, normalizer cancellation and discussions of reward hacking or distribution shift. Keep separate columns for what is optimized and what remains unvalidated. The video plays in the page; captions and speed are available in its player.

Suggested order: objective and substitution on official slide pages 24–42,DPO sections three and four, the methods and limitations of InstructGPT, then Machine Learning from Human Preferences chapter one. Map q, policy and beta to the worked example before trying every unfamiliar technical term.

학부 기초Undergraduate foundations

실습: 결측·집단·순환을 남겨 둔 평가Lab: retain missingness, groups and cycles in evaluation

실습 E에 예측 3/4·표적 1·비중 1인 행을 넣고 방향 일치, 제곱 오차, 로그 손실을 손계산과 비교합니다. 두 번째 행을 예측 1/4·표적 0으로 두면 대칭이라 같은 손실입니다. 한 행의 비중을 0으로 바꾸면 그 행이 사라진 사실과 자료에 없었다는 사실을 구분해 읽으세요.

표적 하나를 null로 바꾸면 예측 자체는 남아도 평가 분모에서 빠집니다. 평가에 쓸 수 있는 양수 비중 행이 전혀 없으면 평균은 미정의이며 0점이 아닙니다. 집단 이름을 넣거나 빼며 알려진 집단과 모르는 집단의 분모가 어떻게 나뉘는지 확인합니다.

A→B, B→C, C→A의 엄격한 방향 표적을 같은 알려진 문맥 집단에 넣으면 순환을 볼 수 있습니다. 서로 다른 문맥의 세 화살표를 억지로 하나의 순환으로 합치지 않습니다. 그래프는 관측 비교의 충돌을 보여 주는 요약이며 통계적 유의성 검정이나 전체 집단의 진짜 선호 구조를 인증하는 결과가 아닙니다.

마무리로 확률이 매우 작지만 양수인 행과 정확한 0인 행을 나란히 넣습니다. 유한한 큰 손실, 비영 값의 표시 손실, 불가능 사건의 무한 손실을 구분해 설명하세요. 정확 계수와 로그 인자가 남아 있어야 작은 비중을 함부로 버렸는지 확인할 수 있습니다.

In Lab E enter probability three quarters, target one and weight one. Compare agreement, squared error and log loss with hand calculations. A second row at probability one quarter, target zero is symmetric. Setting its weight to zero explicitly excludes it; this differs from never observing it.

A null target keeps a model prediction but removes the row from scored denominators. With no positive eligible weight, the mean is undefined rather than zero. Add and remove group labels to inspect known and unknown denominators.

Put strict A-to-B,B-to-C,C-to-A comparisons in the same known context group to inspect a cycle. Do not combine arrows from unrelated contexts. The graph summarizes conflicts in observed comparisons; it is not a significance test or a certified population preference structure.

Finally compare a tiny positive probability with exact zero. Explain finite large loss, nonzero display loss and infinite loss for an impossible event. Exact coefficients and log arguments help reveal whether a tiny analysis weight was discarded.

학부 기초Undergraduate foundations

국가 사례: 지표의 순서와 주민의 선호를 구분하기Country case: indicator ordering versus residents’ preferences

나라 자료는 보존된 세계은행 2024년 실질 GDP 성장률과 소비자물가 상승률입니다. 16개 나라의 두 값, 총 32개 원 관측을 씁니다. 한국 GDP 성장률 원 토큰은 2.00361101838986, 물가 상승률은 2.32174328643542이고 멕시코는 각각 1.35057631384696, 4.72225588452931입니다. 화면에서 짧게 반올림해도 CSV의 원 문자열은 남깁니다.

교육용 비교 표적은 우리가 선언한 성장률−물가 상승률이 큰 나라를 1로 놓는 규칙입니다. 한국은 약 −0.31813, 멕시코는 약 −3.37168이라 이 쌍의 왼쪽 표적은 1입니다. 이 차이는 원 지표 두 개로 만든 대리 순서이며, 국민이 실제로 한국을 선호한다고 응답했다는 자료가 아닙니다. 주민 후생의 정의나 정책의 인과 효과도 아닙니다.

모형의 두 특징은 성장률이 0 이상인지, 물가 상승률이 3 이하인지의 지표입니다. 한국 (1,1), 멕시코 (1,0)처럼 많은 실제 정보가 두 칸으로 줄어듭니다. 선택된 θ=(1,0)은 이 둘의 성장률 부호가 같아 비교 확률을 1/2로 냅니다. 표적의 기준에 물가가 들어간다고 선택된 작은 모형이 반드시 물가를 잘 반영하는 것은 아닙니다.

국가 코드 순서로 이웃 두 나라씩 묶은 8쌍을 고정 해시로 훈련 4·검증 2·시험 2로 나눕니다. 시험의 독일 대 프랑스는 예측 1/3·표적 0, 영국 대 인도네시아는 예측 1/2·표적 0입니다. 평균 제곱 오차는 13/72, 방향 일치는 3/4입니다. 두 쌍의 점수로 세계 전체 정책 순위의 타당성을 입증하지 않습니다. 보존 빈티지의 사후 비교이며 당시 실시간 발표 상태를 복원하지도 않았습니다.

국가 · 8쌍의 지표 대리 순서

아래 표는 관측·선언한 변환·계산값을 연결합니다. 국가·기업 표적은 대리 규칙이고 개인 별점도 직접 쌍 판단으로 새로 수집한 것은 아닙니다. 긴 분수는 짧은 표시와 정확한 전체 값을 함께 유지하며, 로그 손실은 근사임을 구분합니다.

관측과 선언
항목내용
자료 단위국가별 연간 성장률·물가 상승률 관측
특징 0성장률 ≥0
특징 1물가 상승률 ≤3%
선택된 θ1, 0
선택 규칙가족 내 훈련 우도 최대 → 가족 간 검증 우도 최대; 동률 앞 후보, 시험 제외
해석 범위작은 유한 격자·선언한 표적; 연속 MLE·시민 후생·고객 인과효과 인증 아님
역할별 비교 쌍
역할쌍 수비중 합연성 1/2 표적
훈련440
검증220
시험220
훈련으로 고른 가족별 계수와 검증 선택
가족후보θ0θ1검증 우도 · 거듭제곱최종 선택
특징 0만feature0:2101/4예
특징 1만feature1:1001/4아니오
두 특징both:7101/4아니오
선택 모형의 역할별 전체 평가
역할N비중제곱오차 합평균 제곱오차방향 일치평균 로그 손실 · 근사
훈련4431/3631/1445/80.621226662
원 근삿값0.6212266624470001
검증221/21/41/20.693147181
원 근삿값0.6931471805599453
시험2213/3613/723/40.549306144
원 근삿값0.5493061443340549
선택 모형의 전체 비교 · 원행 연결
비교 ID역할왼쪽 ID오른쪽 ID왼쪽 특징오른쪽 특징선언 표적예측 확률제곱오차방향 일치원행
country:AUS:BRA훈련AUSBRA1,01,001/21/41/2[[1,721],[46,766]]
country:CAN:CHN검증CANCHN1,11,101/21/41/2[[91,811],[136,856]]
country:DEU:FRA시험DEUFRA0,11,101/31/91[[181,901],[226,946]]
country:GBR:IDN시험GBRIDN1,01,101/21/41/2[[271,991],[316,1036]]
country:IND:JPN훈련INDJPN1,00,112/31/91[[361,1081],[406,1126]]
country:KOR:MEX훈련KORMEX1,11,011/21/41/2[[451,1171],[496,1216]]
country:SGP:USA검증SGPUSA1,11,111/21/41/2[[541,1261],[586,1306]]
country:VNM:ZAF훈련VNMZAF1,01,011/21/41/2[[631,1351],[676,1396]]
선택에 사용된 전체 원 관측 보기
원 필드와 원 토큰 · 보존 순서
원행국가 코드나라지표연도원 값 토큰단위 필드상태decimal
1AUSAustraliaNY.GDP.MKTP.KD.ZG20241.373407733659751
46BRABrazilNY.GDP.MKTP.KD.ZG20243.419315165019061
91CANCanadaNY.GDP.MKTP.KD.ZG20242.046266054017011
136CHNChinaNY.GDP.MKTP.KD.ZG20244.958303787880911
181DEUGermanyNY.GDP.MKTP.KD.ZG2024-0.4958518972603661
226FRAFranceNY.GDP.MKTP.KD.ZG20241.190467982758831
271GBRUnited KingdomNY.GDP.MKTP.KD.ZG20241.080277168587811
316IDNIndonesiaNY.GDP.MKTP.KD.ZG20245.032574770885191
361INDIndiaNY.GDP.MKTP.KD.ZG20247.099278931765181
406JPNJapanNY.GDP.MKTP.KD.ZG2024-0.2400842360416961
451KORKorea, Rep.NY.GDP.MKTP.KD.ZG20242.003611018389861
496MEXMexicoNY.GDP.MKTP.KD.ZG20241.350576313846961
541SGPSingaporeNY.GDP.MKTP.KD.ZG20245.34351201923661
586USAUnited StatesNY.GDP.MKTP.KD.ZG20242.793187153638411
631VNMViet NamNY.GDP.MKTP.KD.ZG20247.039551971230181
676ZAFSouth AfricaNY.GDP.MKTP.KD.ZG20240.5348435319051391
721AUSAustraliaFP.CPI.TOTL.ZG20243.166566654287971
766BRABrazilFP.CPI.TOTL.ZG20244.367464076523361
811CANCanadaFP.CPI.TOTL.ZG20242.381583832811731
856CHNChinaFP.CPI.TOTL.ZG20240.2181289384391771
901DEUGermanyFP.CPI.TOTL.ZG20242.25649814338761
946FRAFranceFP.CPI.TOTL.ZG20241.997425997425991
991GBRUnited KingdomFP.CPI.TOTL.ZG20243.27157294635921
1036IDNIndonesiaFP.CPI.TOTL.ZG20242.181512736151881
1081INDIndiaFP.CPI.TOTL.ZG20244.95303550973661
1126JPNJapanFP.CPI.TOTL.ZG20242.73853681635241
1171KORKorea, Rep.FP.CPI.TOTL.ZG20242.321743286435421
1216MEXMexicoFP.CPI.TOTL.ZG20244.722255884529311
1261SGPSingaporeFP.CPI.TOTL.ZG20242.389511235950171
1306USAUnited StatesFP.CPI.TOTL.ZG20242.949525204852071
1351VNMViet NamFP.CPI.TOTL.ZG20243.621092738858431
1396ZAFSouth AfricaFP.CPI.TOTL.ZG20244.361152465189621
15개 전체 후보의 수치와 미분
전체 후보의 정확 우도와 역할별 로그 손실
후보θ0θ1훈련 거듭제곱 D훈련 우도^D검증 거듭제곱 D검증 우도^D훈련 로그 손실검증 로그 손실시험 로그 손실
feature0:0-1011/2411/40.794513458
원 근삿값0.7945134575869864
0.693147181
원 근삿값0.6931471805599453
0.895879735
원 근삿값0.8958797346140275
feature0:10011/1611/40.693147181
원 근삿값0.6931471805599453
0.693147181
원 근삿값0.6931471805599453
0.693147181
원 근삿값0.6931471805599453
feature0:21011/1211/40.621226662
원 근삿값0.6212266624470001
0.693147181
원 근삿값0.6931471805599453
0.549306144
원 근삿값0.5493061443340549
feature1:00-111/1811/40.722592939
원 근삿값0.7225929394740412
0.693147181
원 근삿값0.6931471805599453
0.895879735
원 근삿값0.8958797346140275
feature1:10011/1611/40.693147181
원 근삿값0.6931471805599453
0.693147181
원 근삿값0.6931471805599453
0.693147181
원 근삿값0.6931471805599453
feature1:20111/1811/40.722592939
원 근삿값0.7225929394740412
0.693147181
원 근삿값0.6931471805599453
0.549306144
원 근삿값0.5493061443340549
both:0-1-111/2411/40.794513458
원 근삿값0.7945134575869864
0.693147181
원 근삿값0.6931471805599453
1.09861229
원 근삿값1.0986122886681098
both:1-1011/2411/40.794513458
원 근삿값0.7945134575869864
0.693147181
원 근삿값0.6931471805599453
0.895879735
원 근삿값0.8958797346140275
both:2-1111/3011/40.850299345
원 근삿값0.8502993454155389
0.693147181
원 근삿값0.6931471805599453
0.752038698
원 근삿값0.7520386983881371
both:30-111/1811/40.722592939
원 근삿값0.7225929394740412
0.693147181
원 근삿값0.6931471805599453
0.895879735
원 근삿값0.8958797346140275
both:40011/1611/40.693147181
원 근삿값0.6931471805599453
0.693147181
원 근삿값0.6931471805599453
0.693147181
원 근삿값0.6931471805599453
both:50111/1811/40.722592939
원 근삿값0.7225929394740412
0.693147181
원 근삿값0.6931471805599453
0.549306144
원 근삿값0.5493061443340549
both:61-111/1511/40.67701255
원 근삿값0.6770125502755525
0.693147181
원 근삿값0.6931471805599453
0.752038698
원 근삿값0.7520386983881371
both:71011/1211/40.621226662
원 근삿값0.6212266624470001
0.693147181
원 근삿값0.6931471805599453
0.549306144
원 근삿값0.5493061443340549
both:81111/1211/40.621226662
원 근삿값0.6212266624470001
0.693147181
원 근삿값0.6931471805599453
0.405465108
원 근삿값0.40546510810816444
자연로그 보상 계수 a=log(2)θ에 대한 훈련 NLL 합의 미분
후보좌표종류정확값
feature0:0a0gradient-2/3
feature0:0a0,a0Hessian2/9
feature0:0a0,a1Hessian-2/9
feature0:0a1gradient1/6
feature0:0a1,a0Hessian-2/9
feature0:0a1,a1Hessian17/36
feature0:1a0gradient-1/2
feature0:1a0,a0Hessian1/4
feature0:1a0,a1Hessian-1/4
feature0:1a1gradient0
feature0:1a1,a0Hessian-1/4
feature0:1a1,a1Hessian1/2
feature0:2a0gradient-1/3
feature0:2a0,a0Hessian2/9
feature0:2a0,a1Hessian-2/9
feature0:2a1gradient-1/6
feature0:2a1,a0Hessian-2/9
feature0:2a1,a1Hessian17/36
feature1:0a0gradient-1/3
feature1:0a0,a0Hessian2/9
feature1:0a0,a1Hessian-2/9
feature1:0a1gradient-1/3
feature1:0a1,a0Hessian-2/9
feature1:0a1,a1Hessian4/9
feature1:1a0gradient-1/2
feature1:1a0,a0Hessian1/4
feature1:1a0,a1Hessian-1/4
feature1:1a1gradient0
feature1:1a1,a0Hessian-1/4
feature1:1a1,a1Hessian1/2
feature1:2a0gradient-2/3
feature1:2a0,a0Hessian2/9
feature1:2a0,a1Hessian-2/9
feature1:2a1gradient1/3
feature1:2a1,a0Hessian-2/9
feature1:2a1,a1Hessian4/9
both:0a0gradient-1/2
both:0a0,a0Hessian1/4
both:0a0,a1Hessian-1/4
both:0a1gradient-1/6
both:0a1,a0Hessian-1/4
both:0a1,a1Hessian17/36
both:1a0gradient-2/3
both:1a0,a0Hessian2/9
both:1a0,a1Hessian-2/9
both:1a1gradient1/6
both:1a1,a0Hessian-2/9
both:1a1,a1Hessian17/36
both:2a0gradient-4/5
both:2a0,a0Hessian4/25
both:2a0,a1Hessian-4/25
both:2a1gradient7/15
both:2a1,a0Hessian-4/25
both:2a1,a1Hessian86/225
both:3a0gradient-1/3
both:3a0,a0Hessian2/9
both:3a0,a1Hessian-2/9
both:3a1gradient-1/3
both:3a1,a0Hessian-2/9
both:3a1,a1Hessian4/9
both:4a0gradient-1/2
both:4a0,a0Hessian1/4
both:4a0,a1Hessian-1/4
both:4a1gradient0
both:4a1,a0Hessian-1/4
both:4a1,a1Hessian1/2
both:5a0gradient-2/3
both:5a0,a0Hessian2/9
both:5a0,a1Hessian-2/9
both:5a1gradient1/3
both:5a1,a0Hessian-2/9
both:5a1,a1Hessian4/9
both:6a0gradient-1/5
both:6a0,a0Hessian4/25
both:6a0,a1Hessian-4/25
both:6a1gradient-7/15
both:6a1,a0Hessian-4/25
both:6a1,a1Hessian86/225
both:7a0gradient-1/3
both:7a0,a0Hessian2/9
both:7a0,a1Hessian-2/9
both:7a1gradient-1/6
both:7a1,a0Hessian-2/9
both:7a1,a1Hessian17/36
both:8a0gradient-1/2
both:8a0,a0Hessian1/4
both:8a0,a1Hessian-1/4
both:8a1gradient1/6
both:8a1,a0Hessian-1/4
both:8a1,a1Hessian17/36
고정 쌍의 선언 표적과 선택 모형 확률 · 시간축 아님
고정 쌍의 선언 표적과 선택 모형 확률 · 시간축 아님 · 원 벡터 그림 확대
가족별 훈련 선택 후보의 훈련·검증·시험 로그 손실 · 시험으로 선택하지 않음
가족별 훈련 선택 후보의 훈련·검증·시험 로그 손실 · 시험으로 선택하지 않음 · 원 벡터 그림 확대

원 관측·전체 후보 예측·정확 평가값 CSV와 standalone Python/R은 아래 다운로드에서 이어집니다. 원 자료를 다시 읽어 재현하며 이미 계산된 표를 정답 입력으로 사용하지 않습니다.

The country data retain World Bank real GDP growth and CPI inflation for sixteen countries in 2024: thirty-two native observations. Korea’s original tokens are 2.00361101838986 for growth and 2.32174328643542 for inflation; Mexico’s are 1.35057631384696 and 4.72225588452931. Short displays do not replace the original CSV strings.

We stipulate a teaching target favoring the higher growth-minus-inflation value. Korea is about minus point three one eight one three and Mexico minus three point three seven one six eight, so this pair has left target one. This proxy is neither a survey of citizens’ preferences nor an identity for welfare or a causal policy effect.

Features indicate nonnegative growth and inflation at most three. Korea has one, one and Mexico one, zero: rich observations are compressed into two bits. Selected theta one, zero gives this pair probability one half because both share growth sign. Including inflation in the proxy target does not ensure the selected small model captures it.

Eight adjacent code-ordered country pairs receive four training, two validation and two test roles by a fixed hash. Test Germany/France has probability one third, target zero; UK/Indonesia has one half, target zero. Mean squared error is thirteen over seventy-two and agreement three quarters. Two test pairs do not validate a worldwide policy ranking. The retained-vintage comparison also does not reconstruct real-time releases.

Country · eight indicator-proxy pairs

The tables connect observations, declared transformations and computed values. Country/company targets are stipulated proxies; personal stars were not newly collected as direct pair judgments. Long fractions retain exact values beside short displays; log loss is explicitly approximate.

Observations and declarations
ItemMeaning
Native unitcountry annual growth/inflation observations
Feature 0GDP growth at least zero
Feature 1CPI inflation at most three percent
Selected theta1, 0
Selection ruleTraining likelihood within family, then validation likelihood across family winners; earliest ties, test excluded
InterpretationFinite declared grid/targets; not unrestricted MLE, citizen welfare or causal customer benefit
Comparison pairs by role
RolePairsTotal weightSoft half targets
Train440
Validation220
Test220
Training-family winners and validation selection
FamilyProfileTheta0Theta1Powered validation likelihoodSelected
Feature 0 onlyfeature0:2101/4Yes
Feature 1 onlyfeature1:1001/4No
Both featuresboth:7101/4No
All role scores of selected model
RoleNWeightSquared-error sumMean squared errorAgreementMean log loss · approximate
Train4431/3631/1445/80.621226662
Full approximation0.6212266624470001
Validation221/21/41/20.693147181
Full approximation0.6931471805599453
Test2213/3613/723/40.549306144
Full approximation0.5493061443340549
Every selected-model comparison with native lineage
Pair IDRoleLeft IDRight IDLeft featuresRight featuresDeclared targetProbabilitySquared errorAgreementNative rows
country:AUS:BRATrainAUSBRA1,01,001/21/41/2[[1,721],[46,766]]
country:CAN:CHNValidationCANCHN1,11,101/21/41/2[[91,811],[136,856]]
country:DEU:FRATestDEUFRA0,11,101/31/91[[181,901],[226,946]]
country:GBR:IDNTestGBRIDN1,01,101/21/41/2[[271,991],[316,1036]]
country:IND:JPNTrainINDJPN1,00,112/31/91[[361,1081],[406,1126]]
country:KOR:MEXTrainKORMEX1,11,011/21/41/2[[451,1171],[496,1216]]
country:SGP:USAValidationSGPUSA1,11,111/21/41/2[[541,1261],[586,1306]]
country:VNM:ZAFTrainVNMZAF1,01,011/21/41/2[[631,1351],[676,1396]]
View all native observations used in selection
Native fields and tokens in retained order
Native rowISO3CountryIndicatorYearOriginal tokenNative unit fieldStatusDecimal
1AUSAustraliaNY.GDP.MKTP.KD.ZG20241.373407733659751
46BRABrazilNY.GDP.MKTP.KD.ZG20243.419315165019061
91CANCanadaNY.GDP.MKTP.KD.ZG20242.046266054017011
136CHNChinaNY.GDP.MKTP.KD.ZG20244.958303787880911
181DEUGermanyNY.GDP.MKTP.KD.ZG2024-0.4958518972603661
226FRAFranceNY.GDP.MKTP.KD.ZG20241.190467982758831
271GBRUnited KingdomNY.GDP.MKTP.KD.ZG20241.080277168587811
316IDNIndonesiaNY.GDP.MKTP.KD.ZG20245.032574770885191
361INDIndiaNY.GDP.MKTP.KD.ZG20247.099278931765181
406JPNJapanNY.GDP.MKTP.KD.ZG2024-0.2400842360416961
451KORKorea, Rep.NY.GDP.MKTP.KD.ZG20242.003611018389861
496MEXMexicoNY.GDP.MKTP.KD.ZG20241.350576313846961
541SGPSingaporeNY.GDP.MKTP.KD.ZG20245.34351201923661
586USAUnited StatesNY.GDP.MKTP.KD.ZG20242.793187153638411
631VNMViet NamNY.GDP.MKTP.KD.ZG20247.039551971230181
676ZAFSouth AfricaNY.GDP.MKTP.KD.ZG20240.5348435319051391
721AUSAustraliaFP.CPI.TOTL.ZG20243.166566654287971
766BRABrazilFP.CPI.TOTL.ZG20244.367464076523361
811CANCanadaFP.CPI.TOTL.ZG20242.381583832811731
856CHNChinaFP.CPI.TOTL.ZG20240.2181289384391771
901DEUGermanyFP.CPI.TOTL.ZG20242.25649814338761
946FRAFranceFP.CPI.TOTL.ZG20241.997425997425991
991GBRUnited KingdomFP.CPI.TOTL.ZG20243.27157294635921
1036IDNIndonesiaFP.CPI.TOTL.ZG20242.181512736151881
1081INDIndiaFP.CPI.TOTL.ZG20244.95303550973661
1126JPNJapanFP.CPI.TOTL.ZG20242.73853681635241
1171KORKorea, Rep.FP.CPI.TOTL.ZG20242.321743286435421
1216MEXMexicoFP.CPI.TOTL.ZG20244.722255884529311
1261SGPSingaporeFP.CPI.TOTL.ZG20242.389511235950171
1306USAUnited StatesFP.CPI.TOTL.ZG20242.949525204852071
1351VNMViet NamFP.CPI.TOTL.ZG20243.621092738858431
1396ZAFSouth AfricaFP.CPI.TOTL.ZG20244.361152465189621
All fifteen candidates and derivatives
Exact likelihoods and approximate log losses for all candidates
ProfileTheta0Theta1Train power DTrain likelihood^DValidation power DValidation likelihood^DTrain log lossValidation log lossTest log loss
feature0:0-1011/2411/40.794513458
Full approximation0.7945134575869864
0.693147181
Full approximation0.6931471805599453
0.895879735
Full approximation0.8958797346140275
feature0:10011/1611/40.693147181
Full approximation0.6931471805599453
0.693147181
Full approximation0.6931471805599453
0.693147181
Full approximation0.6931471805599453
feature0:21011/1211/40.621226662
Full approximation0.6212266624470001
0.693147181
Full approximation0.6931471805599453
0.549306144
Full approximation0.5493061443340549
feature1:00-111/1811/40.722592939
Full approximation0.7225929394740412
0.693147181
Full approximation0.6931471805599453
0.895879735
Full approximation0.8958797346140275
feature1:10011/1611/40.693147181
Full approximation0.6931471805599453
0.693147181
Full approximation0.6931471805599453
0.693147181
Full approximation0.6931471805599453
feature1:20111/1811/40.722592939
Full approximation0.7225929394740412
0.693147181
Full approximation0.6931471805599453
0.549306144
Full approximation0.5493061443340549
both:0-1-111/2411/40.794513458
Full approximation0.7945134575869864
0.693147181
Full approximation0.6931471805599453
1.09861229
Full approximation1.0986122886681098
both:1-1011/2411/40.794513458
Full approximation0.7945134575869864
0.693147181
Full approximation0.6931471805599453
0.895879735
Full approximation0.8958797346140275
both:2-1111/3011/40.850299345
Full approximation0.8502993454155389
0.693147181
Full approximation0.6931471805599453
0.752038698
Full approximation0.7520386983881371
both:30-111/1811/40.722592939
Full approximation0.7225929394740412
0.693147181
Full approximation0.6931471805599453
0.895879735
Full approximation0.8958797346140275
both:40011/1611/40.693147181
Full approximation0.6931471805599453
0.693147181
Full approximation0.6931471805599453
0.693147181
Full approximation0.6931471805599453
both:50111/1811/40.722592939
Full approximation0.7225929394740412
0.693147181
Full approximation0.6931471805599453
0.549306144
Full approximation0.5493061443340549
both:61-111/1511/40.67701255
Full approximation0.6770125502755525
0.693147181
Full approximation0.6931471805599453
0.752038698
Full approximation0.7520386983881371
both:71011/1211/40.621226662
Full approximation0.6212266624470001
0.693147181
Full approximation0.6931471805599453
0.549306144
Full approximation0.5493061443340549
both:81111/1211/40.621226662
Full approximation0.6212266624470001
0.693147181
Full approximation0.6931471805599453
0.405465108
Full approximation0.40546510810816444
Derivatives of training NLL sum with respect to natural-log reward coefficients a=log(2)theta
ProfileCoordinateTypeExact value
feature0:0a0gradient-2/3
feature0:0a0,a0Hessian2/9
feature0:0a0,a1Hessian-2/9
feature0:0a1gradient1/6
feature0:0a1,a0Hessian-2/9
feature0:0a1,a1Hessian17/36
feature0:1a0gradient-1/2
feature0:1a0,a0Hessian1/4
feature0:1a0,a1Hessian-1/4
feature0:1a1gradient0
feature0:1a1,a0Hessian-1/4
feature0:1a1,a1Hessian1/2
feature0:2a0gradient-1/3
feature0:2a0,a0Hessian2/9
feature0:2a0,a1Hessian-2/9
feature0:2a1gradient-1/6
feature0:2a1,a0Hessian-2/9
feature0:2a1,a1Hessian17/36
feature1:0a0gradient-1/3
feature1:0a0,a0Hessian2/9
feature1:0a0,a1Hessian-2/9
feature1:0a1gradient-1/3
feature1:0a1,a0Hessian-2/9
feature1:0a1,a1Hessian4/9
feature1:1a0gradient-1/2
feature1:1a0,a0Hessian1/4
feature1:1a0,a1Hessian-1/4
feature1:1a1gradient0
feature1:1a1,a0Hessian-1/4
feature1:1a1,a1Hessian1/2
feature1:2a0gradient-2/3
feature1:2a0,a0Hessian2/9
feature1:2a0,a1Hessian-2/9
feature1:2a1gradient1/3
feature1:2a1,a0Hessian-2/9
feature1:2a1,a1Hessian4/9
both:0a0gradient-1/2
both:0a0,a0Hessian1/4
both:0a0,a1Hessian-1/4
both:0a1gradient-1/6
both:0a1,a0Hessian-1/4
both:0a1,a1Hessian17/36
both:1a0gradient-2/3
both:1a0,a0Hessian2/9
both:1a0,a1Hessian-2/9
both:1a1gradient1/6
both:1a1,a0Hessian-2/9
both:1a1,a1Hessian17/36
both:2a0gradient-4/5
both:2a0,a0Hessian4/25
both:2a0,a1Hessian-4/25
both:2a1gradient7/15
both:2a1,a0Hessian-4/25
both:2a1,a1Hessian86/225
both:3a0gradient-1/3
both:3a0,a0Hessian2/9
both:3a0,a1Hessian-2/9
both:3a1gradient-1/3
both:3a1,a0Hessian-2/9
both:3a1,a1Hessian4/9
both:4a0gradient-1/2
both:4a0,a0Hessian1/4
both:4a0,a1Hessian-1/4
both:4a1gradient0
both:4a1,a0Hessian-1/4
both:4a1,a1Hessian1/2
both:5a0gradient-2/3
both:5a0,a0Hessian2/9
both:5a0,a1Hessian-2/9
both:5a1gradient1/3
both:5a1,a0Hessian-2/9
both:5a1,a1Hessian4/9
both:6a0gradient-1/5
both:6a0,a0Hessian4/25
both:6a0,a1Hessian-4/25
both:6a1gradient-7/15
both:6a1,a0Hessian-4/25
both:6a1,a1Hessian86/225
both:7a0gradient-1/3
both:7a0,a0Hessian2/9
both:7a0,a1Hessian-2/9
both:7a1gradient-1/6
both:7a1,a0Hessian-2/9
both:7a1,a1Hessian17/36
both:8a0gradient-1/2
both:8a0,a0Hessian1/4
both:8a0,a1Hessian-1/4
both:8a1gradient1/6
both:8a1,a0Hessian-1/4
both:8a1,a1Hessian17/36
Declared targets and selected probabilities by fixed pair ordinal · not time
Declared targets and selected probabilities by fixed pair ordinal · not time · Enlarge original vector
Train/validation/test log loss of training-family winners · test does not select
Train/validation/test log loss of training-family winners · test does not select · Enlarge original vector

Native observations, all-candidate predictions, exact scores and standalone Python/R are available below. Reproduction reads native data, not precomputed answer tables.

학부 기초Undergraduate foundations

개인 사례: 실제 별점을 비교 자료로 바꾸기Personal case: transform actual movie ratings into comparisons

MovieLens latest-small의 2018년 9월 26일 개발판에는 익명 사용자 610명, 별점 100,836개가 있습니다. 이 장은 고정 SHA의 공식 ZIP과 원 README를 보존합니다. 사용자의 실명·나이·성별은 제공된 이 파일에서 알 수 없으므로 만들어 붙이지 않습니다. 별점은 실제 관측이지만 같은 질문 아래 두 답을 직접 비교한 RLHF 자료는 아닙니다.

익명 사용자 ID를 선언한 해시로 정렬해 12명을 고르고 사람별 시간순 앞 20개 평가를 남깁니다. 같은 시각이면 영화 ID와 원행으로 순서를 고정합니다. 서로 겹치지 않는 인접 평가를 두 개씩 묶어 사람마다 10쌍, 총 120쌍을 만듭니다. 더 높은 별점의 영화가 표적 1, 더 낮으면 0, 같으면 선언한 연성 표적 1/2입니다. 같은 별점 32쌍은 관측된 직접 무차별 선호라고 증명된 것이 아닙니다.

원 사용자 244의 시험 쌍을 따라가 봅시다. 원행 35,920의 The Godfather: Part III는 별점 2.0, 원행 35,864의 Just Cause는 3.0이어서 왼쪽 표적 0입니다. 첫 영화에는 Drama 장르가 있고 두 번째에는 없습니다. 선택된 θ=(0,1)은 왼쪽에 확률 2/3를 주므로 이 쌍을 반대 방향으로 예측합니다. 실패를 지우지 않고 원 별점·특징·예측을 나란히 읽습니다.

두 특징은 Comedy 포함 여부와 Drama 포함 여부이며 한 영화가 둘 다 가질 수 있습니다. 이는 모든 사용자의 2개 장르 특징에 공통 계수를 쓰는 작은 모형입니다. 사용자별 계수를 학습한 개인화 추천기라고 부르지 않습니다. 사용자 단위 훈련 6명·검증 3명·시험 3명으로 나누어 새 사용자의 보존된 비교를 평가합니다. 장르만으로 설명하지 못하는 줄거리·출연진·경험·평가 당시 문맥이 남습니다.

원 README의 이용 조건과 Harper·Konstan(2015), DOI 10.1145/2827872 인용을 함께 제공합니다. 변환 자료도 같은 조건을 유지하며 연구·비상업적 교육 사례 범위로 다룹니다. 상업·수익 목적 사용에는 별도 사전 허가가 필요합니다. 공개되어 있다는 사실을 조건 없는 재사용 허가나 GroupLens의 승인으로 해석하지 않습니다.

개인 · 실제 별점에서 만든 120쌍

아래 표는 관측·선언한 변환·계산값을 연결합니다. 국가·기업 표적은 대리 규칙이고 개인 별점도 직접 쌍 판단으로 새로 수집한 것은 아닙니다. 긴 분수는 짧은 표시와 정확한 전체 값을 함께 유지하며, 로그 손실은 근사임을 구분합니다.

관측과 선언
항목내용
자료 단위익명 사용자·영화별 실제 별점
특징 0Comedy 장르 포함
특징 1Drama 장르 포함
선택된 θ0, 1
선택 규칙가족 내 훈련 우도 최대 → 가족 간 검증 우도 최대; 동률 앞 후보, 시험 제외
해석 범위작은 유한 격자·선언한 표적; 연속 MLE·시민 후생·고객 인과효과 인증 아님
역할별 비교 쌍
역할쌍 수비중 합연성 1/2 표적
훈련606013
검증303010
시험30309
훈련으로 고른 가족별 계수와 검증 선택
가족후보θ0θ1검증 우도 · 거듭제곱최종 선택
특징 0만feature0:1001/1152921504606846976아니오
특징 1만feature1:2011/749626735164162048예
두 특징both:5011/749626735164162048아니오
선택 모형의 역할별 전체 평가
역할N비중제곱오차 합평균 제곱오차방향 일치평균 로그 손실 · 근사
훈련6060185/1837/21673/1200.642594368
원 근삿값0.6425943684276972
검증303044/922/13511/200.68597253
원 근삿값0.6859725298517707
시험303051/611/200.676157277
원 근삿값0.6761572768804052
선택 모형의 전체 비교 · 원행 연결
비교 ID역할왼쪽 ID오른쪽 ID왼쪽 특징오른쪽 특징선언 표적예측 확률제곱오차방향 일치원행
ratings:244:0시험20232570,10,002/34/90[35920,35864]
ratings:244:1시험4455931,00,01/21/201/2[35873,35881]
ratings:244:2시험12006480,00,011/21/41/2[35895,35883]
ratings:244:3시험357837530,10,111/21/41/2[35943,35946]
ratings:244:4시험375533000,10,01/22/31/361/2[35947,35940]
ratings:244:5시험317335660,11,111/21/41/2[35937,35942]
ratings:244:6시험321436830,10,111/21/41/2[35938,35944]
ratings:244:7시험122512420,10,11/21/201/2[35897,35900]
ratings:244:8시험129338110,10,101/21/41/2[35903,35948]
ratings:244:9시험54111960,00,01/21/201/2[35877,35893]
ratings:254:0검증3510790,10,111/21/41/2[37610,37560]
ratings:254:1검증103718050,00,111/34/90[37584,37595]
ratings:254:2검증336318821,10,012/31/91[37609,37596]
ratings:254:3검증20762180,11,111/21/41/2[37563,37631]
ratings:254:4검증336224310,11,101/21/41/2[37608,37601]
ratings:254:5검증3388360,00,011/21/41/2[37568,37581]
ratings:254:6검증204639880,01,011/21/41/2[37598,37613]
ratings:254:7검증284049930,10,002/34/90[37605,37622]
ratings:254:8검증595263770,01,001/21/41/2[37628,37633]
ratings:254:9검증4573180,00,101/31/91[37572,37567]
ratings:432:0훈련129322780,10,002/34/90[66850,66877]
ratings:432:1훈련208030821,00,01/21/201/2[66874,66895]
ratings:432:2훈련29081930,10,111/21/41/2[66893,66811]
ratings:432:3훈련191120181,00,101/31/91[66868,66873]
ratings:432:4훈련159032730,01,011/21/41/2[66855,66902]
ratings:432:5훈련14163810,10,11/21/201/2[66853,66821]
ratings:432:6훈련284031780,10,111/21/41/2[66891,66900]
ratings:432:7훈련189255070,00,011/21/41/2[66867,66935]
ratings:432:8훈련3315825720,01,001/21/41/2[66983,66883]
ratings:432:9훈련5829313670,01,011/21/41/2[67010,66851]
ratings:332:0훈련27468491,00,011/21/41/2[51474,51392]
ratings:332:1훈련271710931,00,101/31/91[51471,51399]
ratings:332:2훈련31086101,10,012/31/91[51490,51389]
ratings:332:3훈련196029440,10,111/21/41/2[51449,51483]
ratings:332:4훈련137833011,01,001/21/41/2[51427,51496]
ratings:332:5훈련287269470,00,101/31/91[51478,51546]
ratings:332:6훈련92227390,10,111/21/41/2[51396,51473]
ratings:332:7훈련1635977570,11,002/34/90[51437,51630]
ratings:332:8훈련3420265640,10,111/21/41/2[51498,51566]
ratings:332:9훈련1203320,10,012/31/91[51404,51366]
ratings:278:0시험214424271,00,101/31/91[41056,41060]
ratings:278:1시험235232101,11,111/21/41/2[41057,41063]
ratings:278:2시험134731480,00,101/31/91[41053,41062]
ratings:278:3시험432121091,01,011/21/41/2[41066,41055]
ratings:278:4시험339640021,01,001/21/41/2[41064,41065]
ratings:278:5시험310523690,11,111/21/41/2[41061,41058]
ratings:278:6시험237116351,00,101/31/91[41059,41054]
ratings:278:7시험8802030,01,001/21/41/2[41052,41049]
ratings:278:8시험318500,10,01/22/31/361/2[41050,41048]
ratings:278:9시험527542720,11,01/22/31/361/2[41051,41067]
ratings:494:0검증36711981,00,001/21/41/2[79483,79489]
ratings:494:1검증48012040,00,11/21/31/361/2[79484,79492]
ratings:494:2검증3443161,00,001/21/41/2[79482,79481]
ratings:494:3검증12011100,00,101/31/91[79491,79479]
ratings:494:4검증121020280,00,101/31/91[79493,79497]
ratings:494:5검증2608580,00,11/21/31/361/2[79480,79486]
ratings:494:6검증119612210,00,11/21/31/361/2[79488,79495]
ratings:494:7검증449812000,00,001/21/41/2[79500,79490]
ratings:494:8검증121425710,00,01/21/201/2[79494,79498]
ratings:494:9검증58910360,00,01/21/201/2[79485,79487]
ratings:315:0훈련21321540,10,101/21/41/2[48733,48710]
ratings:315:1훈련5999090,01,101/31/91[48711,48713]
ratings:315:2훈련92412070,10,101/21/41/2[48715,48721]
ratings:315:3훈련12519140,11,111/21/41/2[48723,48714]
ratings:315:4훈련102810351,00,001/21/41/2[48716,48717]
ratings:315:5훈련124713041,10,012/31/91[48722,48726]
ratings:315:6훈련194720850,10,012/31/91[48728,48732]
ratings:315:7훈련108412040,10,111/21/41/2[48718,48720]
ratings:315:8훈련133320670,00,101/31/91[48727,48731]
ratings:315:9훈련252925530,10,012/31/91[48735,48736]
ratings:250:0훈련140848860,01,011/21/41/2[37431,37444]
ratings:250:1훈련34531011,10,11/21/201/2[37423,37440]
ratings:250:2훈련78334180,10,101/21/41/2[37425,37442]
ratings:250:3훈련4516741,10,101/21/41/2[37421,37433]
ratings:250:4훈련277018761,00,101/31/91[37439,37435]
ratings:250:5훈련128212850,01,011/21/41/2[37429,37430]
ratings:250:6훈련172210920,00,001/21/41/2[37434,37427]
ratings:250:7훈련58524071,01,001/21/41/2[37424,37437]
ratings:250:8훈련159769830,10,101/21/41/2[37432,37446]
ratings:250:9훈련103512460,00,11/21/31/361/2[37426,37428]
ratings:104:0시험257261691,00,011/21/41/2[16045,16123]
ratings:104:1시험3569141,11,11/21/201/2[15954,15988]
ratings:104:2시험124612700,11,012/31/91[16001,16005]
ratings:104:3시험127513910,01,01/21/201/2[16006,16010]
ratings:104:4시험158059521,00,001/21/41/2[16016,16117]
ratings:104:5시험499349730,01,001/21/41/2[16102,16101]
ratings:104:6시험474148861,11,01/22/31/361/2[16095,16096]
ratings:104:7시험401637191,01,011/21/41/2[16077,16071]
ratings:104:8시험340843080,10,101/21/41/2[16067,16086]
ratings:104:9시험424633251,11,111/21/41/2[16082,16066]
ratings:103:0검증59310,01,011/21/41/2[15607,15566]
ratings:103:1검증4803560,01,11/21/31/361/2[15598,15593]
ratings:103:2검증2571508720,00,11/21/31/361/2[15716,15834]
ratings:103:3검증9533180,10,101/21/41/2[15622,15590]
ratings:103:4검증121312210,10,111/21/41/2[15647,15648]
ratings:103:5검증119360160,10,101/21/41/2[15639,15789]
ratings:103:6검증29599120,10,11/21/201/2[15731,15618]
ratings:103:7검증29612011,10,01/22/31/361/2[15588,15643]
ratings:103:8검증7505271,00,11/21/31/361/2[15613,15601]
ratings:103:9검증85811970,11,012/31/91[15617,15641]
ratings:423:0훈련10801041,01,001/21/41/2[65735,65724]
ratings:423:1훈련13046530,00,011/21/41/2[65737,65734]
ratings:423:2훈련43516531,00,101/31/91[65730,65739]
ratings:423:3훈련544522680,00,101/31/91[65746,65741]
ratings:423:4훈련362321940,00,101/31/91[65742,65740]
ratings:423:5훈련127853491,00,011/21/41/2[65736,65745]
ratings:423:6훈련132049950,00,101/31/91[65738,65744]
ratings:423:7훈련37532960,11,101/21/41/2[65743,65727]
ratings:423:8훈련3564801,10,01/22/31/361/2[65729,65732]
ratings:423:9훈련4573180,00,101/31/91[65731,65728]
ratings:251:0훈련3185270,10,11/21/201/2[37452,37454]
ratings:251:1훈련257129590,00,11/21/31/361/2[37464,37465]
ratings:251:2훈련59320280,00,11/21/31/361/2[37455,37463]
ratings:251:3훈련2962931,10,11/21/201/2[37451,37450]
ratings:251:4훈련170410890,10,01/22/31/361/2[37462,37457]
ratings:251:5훈련784996081,01,11/21/31/361/2[37468,37456]
ratings:251:6훈련1259508720,10,111/21/41/2[37461,37467]
ratings:251:7훈련11111970,11,002/34/90[37449,37458]
ratings:251:8훈련597112080,10,11/21/201/2[37466,37459]
ratings:251:9훈련142115470,00,01/21/201/2[37469,37448]
선택에 사용된 전체 원 관측 보기
원 필드와 원 토큰 · 보존 순서
사용자 순번역할사람 내 순번원행원 사용자 ID영화 ID원 별점원 시각원 영화 제목원 장르
0test03592024420232.0975073749Godfather: Part III, The (1990)Crime|Drama|Mystery|Thriller
0test1358642442573.0975073808Just Cause (1995)Mystery|Thriller
0test2358732444454.0975073808Fatal Instinct (1993)Comedy
0test3358812445934.0975073808Silence of the Lambs, The (1991)Crime|Horror|Thriller
0test43589524412005.0975073808Aliens (1986)Action|Adventure|Horror|Sci-Fi
0test5358832446484.0975074577Mission: Impossible (1996)Action|Adventure|Mystery|Thriller
0test63594324435785.0975074577Gladiator (2000)Action|Adventure|Drama
0test73594624437533.0975074577Patriot, The (2000)Action|Drama|War
0test83594724437554.0975074577Perfect Storm, The (2000)Drama|Thriller
0test93594024433004.0975074686Pitch Black (2000)Horror|Sci-Fi|Thriller
0test103593724431733.0975074734Any Given Sunday (1999)Drama
0test113594224435661.0975074734Big Kahuna, The (2000)Comedy|Drama
0test123593824432145.0975074863American Flyers (1985)Drama
0test133594424436833.0975074863Blood Simple (1984)Crime|Drama|Film-Noir
0test143589724412255.0975074928Amadeus (1984)Drama
0test153590024412425.0975074928Glory (1989)Drama|War
0test163590324412934.0975074928Gandhi (1982)Drama
0test173594824438115.0975074928Breaker Morant (1980)Drama|War
0test18358772445414.0975075045Blade Runner (1982)Action|Sci-Fi|Thriller
0test193589324411964.0975075045Star Wars: Episode V - The Empire Strikes Back (1980)Action|Adventure|Sci-Fi
1validation03761025435102.51180443471Frequency (2000)Drama|Thriller
1validation137560254792.01180443477Juror, The (1996)Drama|Thriller
1validation23758425410373.51180443506Lawnmower Man, The (1992)Action|Horror|Sci-Fi|Thriller
1validation33759525418053.01180443514Wild Things (1998)Crime|Drama|Mystery|Thriller
1validation43760925433633.01180443528American Graffiti (1973)Comedy|Drama
1validation53759625418821.01180443538Godzilla (1998)Action|Sci-Fi|Thriller
1validation6375632542072.01180443598Walk in the Clouds, A (1995)Drama|Romance
1validation73763125462181.51180443616Bend It Like Beckham (2002)Comedy|Drama|Romance
1validation83760825433624.01180443619Dog Day Afternoon (1975)Crime|Drama
1validation93760125424314.51180443639Patch Adams (1998)Comedy|Drama
1validation10375682543384.01180443645Virtuosity (1995)Action|Sci-Fi|Thriller
1validation11375812548363.51180445811Chain Reaction (1996)Action|Adventure|Thriller
1validation123759825420464.01180445815Flight of the Navigator (1986)Adventure|Children|Sci-Fi
1validation133761325439883.01180445821How the Grinch Stole Christmas (a.k.a. The Grinch) (2000)Children|Comedy|Fantasy
1validation143760525428403.51180445845Stigmata (1999)Drama|Thriller
1validation153762225449934.51180445990Lord of the Rings: The Fellowship of the Ring, The (2001)Adventure|Fantasy
1validation163762825459524.01180445997Lord of the Rings: The Two Towers, The (2002)Adventure|Fantasy
1validation173763325463774.51180446000Finding Nemo (2003)Adventure|Animation|Children|Comedy
1validation18375722544574.01180446066Fugitive, The (1993)Thriller
1validation19375672543184.51180446073Shawshank Redemption, The (1994)Crime|Drama
2train06685043212930.51315242191Gandhi (1982)Drama
2train16687743222781.01315242196Ronin (1998)Action|Crime|Thriller
2train26687443220803.01315242214Lady and the Tramp (1955)Animation|Children|Comedy|Romance
2train36689543230823.01315242241World Is Not Enough, The (1999)Action|Adventure|Thriller
2train46689343229084.01315242256Boys Don't Cry (1999)Drama
2train5668114321933.01315242265Showgirls (1995)Drama
2train66686843219112.01315242291Dr. Dolittle (1998)Comedy
2train76687343220183.51315242295Bambi (1942)Animation|Children|Drama
2train86685543215903.51315242318Event Horizon (1997)Horror|Sci-Fi|Thriller
2train96690243232731.51315242328Scream 3 (2000)Comedy|Horror|Mystery|Thriller
2train106685343214164.51315242346Evita (1996)Drama|Musical
2train11668214323814.51315242365When a Man Loves a Woman (1994)Drama|Romance
2train126689143228404.01315242373Stigmata (1999)Drama|Thriller
2train136690043231783.51315242420Hurricane, The (1999)Drama
2train146686743218924.51315242429Perfect Murder, A (1998)Thriller
2train156693543255071.51315242710xXx (2002)Action|Crime|Thriller
2train1666983432331581.51315242713xXx: State of the Union (2005)Action|Crime|Thriller
2train176688343225723.5131524272610 Things I Hate About You (1999)Comedy|Romance
2train1867010432582932.5131524273710,000 BC (2008)Adventure|Romance|Thriller
2train196685143213672.01315242748101 Dalmatians (1996)Adventure|Children|Comedy
3train05147433227463.51352670921Little Shop of Horrors (1986)Comedy|Horror|Musical
3train1513923328492.01352670933Escape from L.A. (1996)Action|Adventure|Sci-Fi|Thriller
3train25147133227172.51352670943Ghostbusters II (1989)Comedy|Fantasy|Sci-Fi
3train35139933210934.01352670948Doors, The (1991)Drama
3train45149033231083.51352670963Fisher King, The (1991)Comedy|Drama|Fantasy|Romance
3train5513893326102.51352670967Heavy Metal (1981)Action|Adventure|Animation|Horror|Sci-Fi
3train65144933219604.01352670980Last Emperor, The (1987)Drama
3train75148333229443.51352670988Dirty Dozen, The (1967)Action|Drama|War
3train85142733213782.01352670992Young Guns (1988)Action|Comedy|Western
3train95149633233013.51352671000Whole Nine Yards, The (2000)Comedy|Crime
3train105147833228723.51352671008Excalibur (1981)Adventure|Fantasy
3train115154633269474.51352671020Master and Commander: The Far Side of the World (2003)Adventure|Drama|War
3train12513963329224.51352671024Sunset Blvd. (a.k.a. Sunset Boulevard) (1950)Drama|Film-Noir|Romance
3train135147333227394.01352671035Color Purple, The (1985)Drama
3train145143733216353.01352671046Ice Storm, The (1997)Drama
3train1551630332977574.01352671138'Hellboy': The Seeds of Creation (2004)Action|Adventure|Comedy|Documentary|Fantasy
3train165149833234204.01352671156...And Justice for All (1979)Drama|Thriller
3train1751566332265643.51352671253'Round Midnight (1986)Drama|Musical
3train185140433212034.0135267126812 Angry Men (1957)Drama
3train1951366332322.51352671273Twelve Monkeys (a.k.a. 12 Monkeys) (1995)Mystery|Sci-Fi|Thriller
4test04105627821443.51193753128Sixteen Candles (1984)Comedy|Romance
4test14106027824274.51193753136Thin Red Line, The (1998)Action|Drama|War
4test24105727823524.51193753145Big Chill, The (1983)Comedy|Drama
4test34106327832104.01193753150Fast Times at Ridgemont High (1982)Comedy|Drama|Romance
4test44105327813473.01193753163Nightmare on Elm Street, A (1984)Horror|Thriller
4test54106227831484.01193753174Cider House Rules, The (1999)Drama
4test64106627843213.01193753182City Slickers (1991)Comedy|Western
4test74105527821091.51193753187Jerk, The (1979)Comedy
4test84106427833963.01193753190Muppet Movie, The (1979)Adventure|Children|Comedy|Musical
4test94106527840024.01193753194Planes, Trains & Automobiles (1987)Comedy
4test104106127831054.51193753200Awakenings (1990)Drama|Mystery
4test114105827823692.51193753204Desperately Seeking Susan (1985)Comedy|Drama|Romance
4test124105927823713.01193753207Fletch (1985)Comedy|Crime|Mystery
4test134105427816355.01193753210Ice Storm, The (1997)Drama
4test14410522788803.51193753213Island of Dr. Moreau, The (1996)Sci-Fi|Thriller
4test15410492782034.01193753220To Wong Foo, Thanks for Everything! Julie Newmar (1995)Comedy
4test16410502783185.01193753313Shawshank Redemption, The (1994)Crime|Drama
4test1741048278505.01193753316Usual Suspects, The (1995)Crime|Mystery|Thriller
4test18410512785275.01193753327Schindler's List (1993)Drama|War
4test1941067278542725.01193753405Simpsons Movie, The (2007)Animation|Comedy
5validation0794834943672.01000384043Mask, The (1994)Action|Comedy|Crime|Fantasy
5validation17948949411985.01000384043Raiders of the Lost Ark (Indiana Jones and the Raiders of the Lost Ark) (1981)Action|Adventure
5validation2794844944803.01000384075Jurassic Park (1993)Action|Adventure|Sci-Fi|Thriller
5validation37949249412043.01000384075Lawrence of Arabia (1962)Adventure|Drama|War
5validation4794824943441.01000384113Ace Ventura: Pet Detective (1994)Comedy
5validation5794814943163.01001666423Stargate (1994)Action|Adventure|Sci-Fi
5validation67949149412014.01001666423Good, the Bad and the Ugly, The (Buono, il brutto, il cattivo, Il) (1966)Action|Adventure|Western
5validation7794794941105.01001666439Braveheart (1995)Action|Drama|War
5validation87949349412104.01001666475Star Wars: Episode VI - Return of the Jedi (1983)Action|Adventure|Sci-Fi
5validation97949749420285.01001666475Saving Private Ryan (1998)Action|Drama|War
5validation10794804942605.01001666564Star Wars: Episode IV - A New Hope (1977)Action|Adventure|Sci-Fi
5validation11794864948585.01001666564Godfather, The (1972)Crime|Drama
5validation127948849411965.01001666564Star Wars: Episode V - The Empire Strikes Back (1980)Action|Adventure|Sci-Fi
5validation137949549412215.01001666564Godfather: Part II, The (1974)Crime|Drama
5validation147950049444983.01001666564Dead Pool, The (1988)Action|Crime|Thriller
5validation157949049412005.01001666589Aliens (1986)Action|Adventure|Horror|Sci-Fi
5validation167949449412145.01001666589Alien (1979)Horror|Sci-Fi
5validation177949849425715.01001666589Matrix, The (1999)Action|Sci-Fi|Thriller
5validation18794854945895.01001666641Terminator 2: Judgment Day (1991)Action|Sci-Fi
5validation197948749410365.01001666641Die Hard (1988)Action|Crime|Thriller
6train04873331521323.0939919420Who's Afraid of Virginia Woolf? (1966)Drama
6train1487103151544.0939919421Beauty of the Day (Belle de jour) (1967)Drama
6train2487113155994.0939919421Wild Bunch, The (1969)Adventure|Western
6train3487133159095.0939919421Apartment, The (1960)Comedy|Drama|Romance
6train4487153159243.09399194212001: A Space Odyssey (1968)Adventure|Drama|Sci-Fi
6train54872131512075.0939919421To Kill a Mockingbird (1962)Drama
6train64872331512514.09399194218 1/2 (8½) (1963)Drama|Fantasy
6train7487143159143.0939919700My Fair Lady (1964)Comedy|Drama|Musical|Romance
6train84871631510283.0939919700Mary Poppins (1964)Children|Comedy|Fantasy|Musical
6train94871731510354.0939919700Sound of Music, The (1965)Musical|Romance
6train104872231512475.0939919700Graduate, The (1967)Comedy|Drama|Romance
6train114872631513043.0939919700Butch Cassidy and the Sundance Kid (1969)Action|Western
6train124872831519474.0939919700West Side Story (1961)Drama|Musical|Romance
6train134873231520853.0939919700101 Dalmatians (One Hundred and One Dalmatians) (1961)Adventure|Animation|Children
6train144871831510844.0939920310Bonnie and Clyde (1967)Crime|Drama
6train154872031512043.0939920310Lawrence of Arabia (1962)Adventure|Drama|War
6train164872731513333.0939920310Birds, The (1963)Horror|Thriller
6train174873131520674.0939920310Doctor Zhivago (1965)Drama|Romance|War
6train184873531525293.0939920310Planet of the Apes (1968)Action|Drama|Sci-Fi
6train194873631525532.0939920310Village of the Damned (1960)Horror|Sci-Fi|Thriller
7train03743125014084.51121217462Last of the Mohicans, The (1992)Action|Romance|War|Western
7train13744425048864.01121217476Monsters, Inc. (2001)Adventure|Animation|Children|Comedy|Fantasy
7train2374232503455.01121217488Adventures of Priscilla, Queen of the Desert, The (1994)Comedy|Drama
7train33744025031015.01121217493Fatal Attraction (1987)Drama|Thriller
7train4374252507833.51121217510Hunchback of Notre Dame, The (1996)Animation|Children|Drama|Musical|Romance
7train53744225034185.01121217515Thelma & Louise (1991)Adventure|Crime|Drama
7train637421250454.01121217522To Die For (1995)Comedy|Drama|Thriller
7train73743325016744.51121217529Witness (1985)Drama|Romance|Thriller
7train83743925027700.51121217543Bowfinger (1999)Comedy
7train93743525018763.01121217550Deep Impact (1998)Drama|Sci-Fi|Thriller
7train103742925012825.01121217555Fantasia (1940)Animation|Children|Fantasy|Musical
7train113743025012854.01121217559Heathers (1989)Comedy
7train123743425017223.01121217564Tomorrow Never Dies (1997)Action|Adventure|Thriller
7train133742725010923.51121217575Basic Instinct (1992)Crime|Mystery|Thriller
7train14374242505853.01121217584Brady Bunch Movie, The (1995)Comedy
7train153743725024074.51121217588Cocoon (1985)Comedy|Sci-Fi
7train163743225015974.51121217590Conspiracy Theory (1997)Drama|Mystery|Romance|Thriller
7train173744625069835.01121217775Jane Eyre (1944)Drama|Romance
7train183742625010355.01121217778Sound of Music, The (1965)Musical|Romance
7train193742825012465.01121217790Dead Poets Society (1989)Drama
8test01604510425725.0104858617910 Things I Hate About You (1999)Comedy|Romance
8test11612310461693.01048586218Black Stallion Returns, The (1983)Adventure|Children
8test2159541043564.01048586269Forrest Gump (1994)Comedy|Drama|Romance|War
8test3159881049144.01048586285My Fair Lady (1964)Comedy|Drama|Musical|Romance
8test41600110412464.01048586355Dead Poets Society (1989)Drama
8test51600510412702.01048586355Back to the Future (1985)Adventure|Comedy|Sci-Fi
8test61600610412753.01048586355Highlander (1986)Action|Adventure|Fantasy
8test71601010413913.01048586375Mars Attacks! (1996)Action|Comedy|Sci-Fi
8test81601610415803.01048586389Men in Black (a.k.a. MIB) (1997)Action|Comedy|Sci-Fi
8test91611710459524.01048586462Lord of the Rings: The Two Towers, The (2002)Adventure|Fantasy
8test101610210449933.01048586475Lord of the Rings: The Fellowship of the Ring, The (2001)Adventure|Fantasy
8test111610110449735.01048586531Amelie (Fabuleux destin d'Amélie Poulain, Le) (2001)Comedy|Romance
8test121609510447414.01048586588Together (Tillsammans) (2000)Comedy|Drama|Romance
8test131609610448864.01048586617Monsters, Inc. (2001)Adventure|Animation|Children|Comedy|Fantasy
8test141607710440164.01048586684Emperor's New Groove, The (2000)Adventure|Animation|Children|Comedy|Fantasy
8test151607110437192.01048586776Love's Labour's Lost (2000)Comedy|Romance
8test161606710434084.01048586788Erin Brockovich (2000)Drama
8test171608610443085.01048586839Moulin Rouge (2001)Drama|Musical|Romance
8test181608210442464.01048586848Bridget Jones's Diary (2001)Comedy|Drama|Romance
8test191606610433252.01048586873Next Best Thing, The (2000)Comedy|Drama
9validation0156071035935.01431954229Silence of the Lambs, The (1991)Crime|Horror|Thriller
9validation11556610314.01431954238Toy Story (1995)Adventure|Animation|Children|Comedy|Fantasy
9validation2155981034804.01431954240Jurassic Park (1993)Action|Adventure|Sci-Fi|Thriller
9validation3155931033564.01431954248Forrest Gump (1994)Comedy|Drama|Romance|War
9validation41571610325714.01431954260Matrix, The (1999)Action|Sci-Fi|Thriller
9validation515834103508724.01431954362Ratatouille (2007)Animation|Children|Drama
9validation6156221039534.01431954365It's a Wonderful Life (1946)Children|Drama|Fantasy|Romance
9validation7155901033185.01431954380Shawshank Redemption, The (1994)Crime|Drama
9validation81564710312135.01431954394Goodfellas (1990)Crime|Drama
9validation91564810312214.51431954396Godfather: Part II, The (1974)Crime|Drama
9validation101563910311934.51431954401One Flew Over the Cuckoo's Nest (1975)Drama
9validation111578910360165.01431954407City of God (Cidade de Deus) (2002)Action|Adventure|Crime|Drama|Thriller
9validation121573110329595.01431954432Fight Club (1999)Action|Crime|Drama|Thriller
9validation13156181039125.01431954433Casablanca (1942)Drama|Romance
9validation14155881032965.01431954439Pulp Fiction (1994)Comedy|Crime|Drama|Thriller
9validation151564310312015.01431954445Good, the Bad and the Ugly, The (Buono, il brutto, il cattivo, Il) (1966)Action|Adventure|Western
9validation16156131037503.51431954454Dr. Strangelove or: How I Learned to Stop Worrying and Love the Bomb (1964)Comedy|War
9validation17156011035273.51431954472Schindler's List (1993)Drama|War
9validation18156171038584.51431954477Godfather, The (1972)Crime|Drama
9validation191564110311973.51431954492Princess Bride, The (1987)Action|Adventure|Comedy|Fantasy|Romance
10train06573542310802.01155285428Monty Python's Life of Brian (1979)Comedy
10train1657244231043.01155285432Happy Gilmore (1996)Comedy
10train26573742313044.01155285445Butch Cassidy and the Sundance Kid (1969)Action|Western
10train3657344236532.01155285454Dragonheart (1996)Action|Adventure|Fantasy
10train4657304234354.51155285474Coneheads (1993)Comedy|Sci-Fi
10train56573942316535.01155285477Gattaca (1997)Drama|Sci-Fi|Thriller
10train66574642354453.51155285483Minority Report (2002)Action|Crime|Mystery|Sci-Fi|Thriller
10train76574142322684.01155285516Few Good Men, A (1992)Crime|Drama|Thriller
10train86574242336233.01155285534Mission: Impossible II (2000)Action|Adventure|Thriller
10train96574042321944.51155285538Untouchables, The (1987)Action|Crime|Drama
10train106573642312785.01155285541Young Frankenstein (1974)Comedy|Fantasy
10train116574542353491.01155285552Spider-Man (2002)Action|Adventure|Sci-Fi|Thriller
10train126573842313201.51155285559Alien³ (a.k.a. Alien 3) (1992)Action|Horror|Sci-Fi|Thriller
10train136574442349953.51155285591Beautiful Mind, A (2001)Drama|Romance
10train146574342337531.01155285617Patriot, The (2000)Action|Drama|War
10train15657274232964.51155285837Pulp Fiction (1994)Comedy|Crime|Drama|Thriller
10train16657294233565.01155285844Forrest Gump (1994)Comedy|Drama|Romance|War
10train17657324234805.01155285846Jurassic Park (1993)Action|Adventure|Sci-Fi|Thriller
10train18657314234574.51155285850Fugitive, The (1993)Thriller
10train19657284233185.01155285853Shawshank Redemption, The (1994)Crime|Drama
11train0374522513185.01470676650Shawshank Redemption, The (1994)Crime|Drama
11train1374542515275.01470676652Schindler's List (1993)Drama|War
11train23746425125715.01470676673Matrix, The (1999)Action|Sci-Fi|Thriller
11train33746525129595.01470676675Fight Club (1999)Action|Crime|Drama|Thriller
11train4374552515935.01470676695Silence of the Lambs, The (1991)Crime|Horror|Thriller
11train53746325120285.01470676715Saving Private Ryan (1998)Action|Drama|War
11train6374512512965.01470676717Pulp Fiction (1994)Comedy|Crime|Drama|Thriller
11train7374502512935.01470676722Léon: The Professional (a.k.a. The Professional) (Léon) (1994)Action|Crime|Drama|Thriller
11train83746225117045.01470676743Good Will Hunting (1997)Drama|Romance
11train93745725110895.01470676803Reservoir Dogs (1992)Crime|Mystery|Thriller
11train1037468251784995.01470676811Toy Story 3 (2010)Adventure|Animation|Children|Comedy|Fantasy|IMAX
11train11374562516085.01470676829Fargo (1996)Comedy|Crime|Drama|Thriller
11train123746125112595.01470676840Stand by Me (1986)Adventure|Drama
11train1337467251508722.51470676867Ratatouille (2007)Animation|Children|Drama
11train14374492511114.51470676898Taxi Driver (1976)Crime|Drama|Thriller
11train153745825111975.01470677173Princess Bride, The (1987)Action|Adventure|Comedy|Fantasy|Romance
11train163746625159715.01470677181My Neighbor Totoro (Tonari no Totoro) (1988)Animation|Children|Drama|Fantasy
11train173745925112085.01470677204Apocalypse Now (1979)Action|Drama|War
11train18374692511421155.01470677265The Blue Planet (2001)Documentary
11train1937448251475.01470677268Seven (a.k.a. Se7en) (1995)Mystery|Thriller
15개 전체 후보의 수치와 미분
전체 후보의 정확 우도와 역할별 로그 손실
후보θ0θ1훈련 거듭제곱 D훈련 우도^D검증 거듭제곱 D검증 우도^D훈련 로그 손실검증 로그 손실시험 로그 손실
feature0:0-1021.78155803e-37
정확값1/5613064426838639310021802780948168704
21/5922976672902021120.705151335
원 근삿값0.7051513346818893
0.682046429
원 근삿값0.6820464286632245
0.682046429
원 근삿값0.6820464286632244
feature0:10027.52316385e-37
정확값1/1329227995784915872903807060280344576
21/11529215046068469760.693147181
원 근삿값0.6931471805599451
0.693147181
원 근삿값0.693147180559945
0.693147181
원 근삿값0.693147180559945
feature0:21021.11347377e-38
정확값1/89809030829418228960348844495170699264
21/379070507065729351680.728256241
원 근삿값0.7282562407005546
0.751361147
원 근삿값0.751361146719219
0.751361147
원 근삿값0.751361146719219
feature1:00-124.83278545e-42
정확값1/206920007030979599524643737716873291104256
21/479761110505063710720.792776258
원 근삿값0.7927762575490188
0.755287248
원 근삿값0.7552872479077651
0.745471995
원 근삿값0.7454719949363998
feature1:10027.52316385e-37
정확값1/1329227995784915872903807060280344576
21/11529215046068469760.693147181
원 근삿값0.6931471805599451
0.693147181
원 근삿값0.693147180559945
0.693147181
원 근삿값0.693147180559945
feature1:20123.24322742e-34
정확값1/3083348379000717394421156312776704
21/7496267351641620480.642594368
원 근삿값0.6425943684276972
0.68597253
원 근삿값0.6859725298517707
0.676157277
원 근삿값0.6761572768804052
both:0-1-122.02473091e-42
정확값1/493892790884367842402275550979686400000000
21/289534404508100156250.800026142
원 근삿값0.8000261424825131
0.746870345
원 근삿값0.7468703451997349
0.718666838
원 근삿값0.7186668382854949
both:1-1021.78155803e-37
정확값1/5613064426838639310021802780948168704
21/5922976672902021120.705151335
원 근삿값0.7051513346818893
0.682046429
원 근삿값0.6820464286632245
0.682046429
원 근삿값0.6820464286632244
both:2-1125.56553795e-35
정확값64/1149933763976133992900782150634765625
24/11581376180324006250.657282372
원 근삿값0.6572823717383319
0.670117509
원 근삿값0.6701175087666
0.679104594
원 근삿값0.6791045937380616
both:30-124.83278545e-42
정확값1/206920007030979599524643737716873291104256
21/479761110505063710720.792776258
원 근삿값0.7927762575490188
0.755287248
원 근삿값0.7552872479077651
0.745471995
원 근삿값0.7454719949363998
both:40027.52316385e-37
정확값1/1329227995784915872903807060280344576
21/11529215046068469760.693147181
원 근삿값0.6931471805599451
0.693147181
원 근삿값0.693147180559945
0.693147181
원 근삿값0.693147180559945
both:50123.24322742e-34
정확값1/3083348379000717394421156312776704
21/7496267351641620480.642594368
원 근삿값0.6425943684276972
0.68597253
원 근삿값0.6859725298517707
0.676157277
원 근삿값0.6761572768804052
both:61-125.18331113e-44
정확값1/19292687143920618843838888710144000000000000
21/11859329208651782400000.830569167
원 근삿값0.8305691668783186
0.808746945
원 근삿값0.8087469448785891
0.81773403
원 근삿값0.8177340298500506
both:71021.11347377e-38
정확값1/89809030829418228960348844495170699264
21/379070507065729351680.728256241
원 근삿값0.7282562407005546
0.751361147
원 근삿값0.751361146719219
0.751361147
원 근삿값0.751361146719219
both:81128.49233696e-36
정확값1/117753217431156120873040092225000000
21/289534404508100156250.672949159
원 근삿값0.6729491593798566
0.746870345
원 근삿값0.7468703451997349
0.718666838
원 근삿값0.7186668382854948
자연로그 보상 계수 a=log(2)θ에 대한 훈련 NLL 합의 미분
후보좌표종류정확값
feature0:0a0gradient-3
feature0:0a0,a0Hessian16/3
feature0:0a0,a1Hessian-4/9
feature0:0a1gradient-37/6
feature0:0a1,a0Hessian-4/9
feature0:0a1,a1Hessian215/36
feature0:1a0gradient1
feature0:1a0,a0Hessian6
feature0:1a0,a1Hessian-1/2
feature0:1a1gradient-13/2
feature0:1a1,a0Hessian-1/2
feature0:1a1,a1Hessian25/4
feature0:2a0gradient5
feature0:2a0,a0Hessian16/3
feature0:2a0,a1Hessian-4/9
feature0:2a1gradient-41/6
feature0:2a1,a0Hessian-4/9
feature0:2a1,a1Hessian215/36
feature1:0a0gradient4/3
feature1:0a0,a0Hessian103/18
feature1:0a0,a1Hessian-4/9
feature1:0a1gradient-32/3
feature1:0a1,a0Hessian-4/9
feature1:0a1,a1Hessian50/9
feature1:1a0gradient1
feature1:1a0,a0Hessian6
feature1:1a0,a1Hessian-1/2
feature1:1a1gradient-13/2
feature1:1a1,a0Hessian-1/2
feature1:1a1,a1Hessian25/4
feature1:2a0gradient2/3
feature1:2a0,a0Hessian103/18
feature1:2a0,a1Hessian-4/9
feature1:2a1gradient-7/3
feature1:2a1,a0Hessian-4/9
feature1:2a1,a1Hessian50/9
both:0a0gradient-38/15
both:0a0,a0Hessian2363/450
both:0a0,a1Hessian-43/50
both:0a1gradient-51/5
both:0a1,a0Hessian-43/50
both:0a1,a1Hessian821/150
both:1a0gradient-3
both:1a0,a0Hessian16/3
both:1a0,a1Hessian-4/9
both:1a1gradient-37/6
both:1a1,a0Hessian-4/9
both:1a1,a1Hessian215/36
both:2a0gradient-47/15
both:2a0,a0Hessian1141/225
both:2a0,a1Hessian1/25
both:2a1gradient-11/5
both:2a1,a0Hessian1/25
both:2a1,a1Hessian397/75
both:3a0gradient4/3
both:3a0,a0Hessian103/18
both:3a0,a1Hessian-4/9
both:3a1gradient-32/3
both:3a1,a0Hessian-4/9
both:3a1,a1Hessian50/9
both:4a0gradient1
both:4a0,a0Hessian6
both:4a0,a1Hessian-1/2
both:4a1gradient-13/2
both:4a1,a0Hessian-1/2
both:4a1,a1Hessian25/4
both:5a0gradient2/3
both:5a0,a0Hessian103/18
both:5a0,a1Hessian-4/9
both:5a1gradient-7/3
both:5a1,a0Hessian-4/9
both:5a1,a1Hessian50/9
both:6a0gradient77/15
both:6a0,a0Hessian1141/225
both:6a0,a1Hessian1/25
both:6a1gradient-54/5
both:6a1,a0Hessian1/25
both:6a1,a1Hessian397/75
both:7a0gradient5
both:7a0,a0Hessian16/3
both:7a0,a1Hessian-4/9
both:7a1gradient-41/6
both:7a1,a0Hessian-4/9
both:7a1,a1Hessian215/36
both:8a0gradient68/15
both:8a0,a0Hessian2363/450
both:8a0,a1Hessian-43/50
both:8a1gradient-14/5
both:8a1,a0Hessian-43/50
both:8a1,a1Hessian821/150
고정 쌍의 선언 표적과 선택 모형 확률 · 시간축 아님
고정 쌍의 선언 표적과 선택 모형 확률 · 시간축 아님 · 원 벡터 그림 확대
가족별 훈련 선택 후보의 훈련·검증·시험 로그 손실 · 시험으로 선택하지 않음
가족별 훈련 선택 후보의 훈련·검증·시험 로그 손실 · 시험으로 선택하지 않음 · 원 벡터 그림 확대

원 관측·전체 후보 예측·정확 평가값 CSV와 standalone Python/R은 아래 다운로드에서 이어집니다. 원 자료를 다시 읽어 재현하며 이미 계산된 표를 정답 입력으로 사용하지 않습니다.

The September twenty-sixth,2018 development snapshot of MovieLens latest-small contains 610 anonymous users and 100,836 ratings. We retain the official ZIP at a fixed SHA and its README. The files do not supply names, ages or genders; none are invented. Human star ratings are observed, but they are not direct same-prompt RLHF comparisons.

Hash native user IDs to select twelve users, then keep each user’s first twenty chronological ratings. Break timestamp ties by movie ID and native row. Pair nonoverlapping neighbors into ten comparisons per user,120 overall. Higher left stars give target one, lower give zero, equal give stipulated soft target one half. The thirty-two equal-star pairs are not proven direct indifference.

Trace a test pair for native user 244. Native row 35,920 gives The Godfather: Part III rating 2.0; row 35,864 gives Just Cause rating 3.0, so left target is zero. The first has Drama and the second does not. Selected theta zero, one gives the left probability two thirds, the wrong direction here. Keep the failure beside original stars, features and prediction.

Features indicate Comedy and Drama membership; a movie can have both. One two-feature coefficient vector is shared across users. This is not a personalized recommender fitting each user’s coefficients. Six training, three validation and three test users evaluate retained comparisons for held-out people. Plot, actors, experience and rating context remain outside the features.

Downloads retain the original README conditions and Harper/Konstan’s 2015 citation, DOI 10.1145/2827872. Transforms retain those conditions for this research/noncommercial educational case. Commercial or revenue-bearing use needs separate prior permission. Public availability is neither unrestricted reuse nor GroupLens endorsement.

Person · 120 comparisons derived from actual stars

The tables connect observations, declared transformations and computed values. Country/company targets are stipulated proxies; personal stars were not newly collected as direct pair judgments. Long fractions retain exact values beside short displays; log loss is explicitly approximate.

Observations and declarations
ItemMeaning
Native unitanonymous MovieLens user/movie star rating
Feature 0Native Comedy genre present
Feature 1Native Drama genre present
Selected theta0, 1
Selection ruleTraining likelihood within family, then validation likelihood across family winners; earliest ties, test excluded
InterpretationFinite declared grid/targets; not unrestricted MLE, citizen welfare or causal customer benefit
Comparison pairs by role
RolePairsTotal weightSoft half targets
Train606013
Validation303010
Test30309
Training-family winners and validation selection
FamilyProfileTheta0Theta1Powered validation likelihoodSelected
Feature 0 onlyfeature0:1001/1152921504606846976No
Feature 1 onlyfeature1:2011/749626735164162048Yes
Both featuresboth:5011/749626735164162048No
All role scores of selected model
RoleNWeightSquared-error sumMean squared errorAgreementMean log loss · approximate
Train6060185/1837/21673/1200.642594368
Full approximation0.6425943684276972
Validation303044/922/13511/200.68597253
Full approximation0.6859725298517707
Test303051/611/200.676157277
Full approximation0.6761572768804052
Every selected-model comparison with native lineage
Pair IDRoleLeft IDRight IDLeft featuresRight featuresDeclared targetProbabilitySquared errorAgreementNative rows
ratings:244:0Test20232570,10,002/34/90[35920,35864]
ratings:244:1Test4455931,00,01/21/201/2[35873,35881]
ratings:244:2Test12006480,00,011/21/41/2[35895,35883]
ratings:244:3Test357837530,10,111/21/41/2[35943,35946]
ratings:244:4Test375533000,10,01/22/31/361/2[35947,35940]
ratings:244:5Test317335660,11,111/21/41/2[35937,35942]
ratings:244:6Test321436830,10,111/21/41/2[35938,35944]
ratings:244:7Test122512420,10,11/21/201/2[35897,35900]
ratings:244:8Test129338110,10,101/21/41/2[35903,35948]
ratings:244:9Test54111960,00,01/21/201/2[35877,35893]
ratings:254:0Validation3510790,10,111/21/41/2[37610,37560]
ratings:254:1Validation103718050,00,111/34/90[37584,37595]
ratings:254:2Validation336318821,10,012/31/91[37609,37596]
ratings:254:3Validation20762180,11,111/21/41/2[37563,37631]
ratings:254:4Validation336224310,11,101/21/41/2[37608,37601]
ratings:254:5Validation3388360,00,011/21/41/2[37568,37581]
ratings:254:6Validation204639880,01,011/21/41/2[37598,37613]
ratings:254:7Validation284049930,10,002/34/90[37605,37622]
ratings:254:8Validation595263770,01,001/21/41/2[37628,37633]
ratings:254:9Validation4573180,00,101/31/91[37572,37567]
ratings:432:0Train129322780,10,002/34/90[66850,66877]
ratings:432:1Train208030821,00,01/21/201/2[66874,66895]
ratings:432:2Train29081930,10,111/21/41/2[66893,66811]
ratings:432:3Train191120181,00,101/31/91[66868,66873]
ratings:432:4Train159032730,01,011/21/41/2[66855,66902]
ratings:432:5Train14163810,10,11/21/201/2[66853,66821]
ratings:432:6Train284031780,10,111/21/41/2[66891,66900]
ratings:432:7Train189255070,00,011/21/41/2[66867,66935]
ratings:432:8Train3315825720,01,001/21/41/2[66983,66883]
ratings:432:9Train5829313670,01,011/21/41/2[67010,66851]
ratings:332:0Train27468491,00,011/21/41/2[51474,51392]
ratings:332:1Train271710931,00,101/31/91[51471,51399]
ratings:332:2Train31086101,10,012/31/91[51490,51389]
ratings:332:3Train196029440,10,111/21/41/2[51449,51483]
ratings:332:4Train137833011,01,001/21/41/2[51427,51496]
ratings:332:5Train287269470,00,101/31/91[51478,51546]
ratings:332:6Train92227390,10,111/21/41/2[51396,51473]
ratings:332:7Train1635977570,11,002/34/90[51437,51630]
ratings:332:8Train3420265640,10,111/21/41/2[51498,51566]
ratings:332:9Train1203320,10,012/31/91[51404,51366]
ratings:278:0Test214424271,00,101/31/91[41056,41060]
ratings:278:1Test235232101,11,111/21/41/2[41057,41063]
ratings:278:2Test134731480,00,101/31/91[41053,41062]
ratings:278:3Test432121091,01,011/21/41/2[41066,41055]
ratings:278:4Test339640021,01,001/21/41/2[41064,41065]
ratings:278:5Test310523690,11,111/21/41/2[41061,41058]
ratings:278:6Test237116351,00,101/31/91[41059,41054]
ratings:278:7Test8802030,01,001/21/41/2[41052,41049]
ratings:278:8Test318500,10,01/22/31/361/2[41050,41048]
ratings:278:9Test527542720,11,01/22/31/361/2[41051,41067]
ratings:494:0Validation36711981,00,001/21/41/2[79483,79489]
ratings:494:1Validation48012040,00,11/21/31/361/2[79484,79492]
ratings:494:2Validation3443161,00,001/21/41/2[79482,79481]
ratings:494:3Validation12011100,00,101/31/91[79491,79479]
ratings:494:4Validation121020280,00,101/31/91[79493,79497]
ratings:494:5Validation2608580,00,11/21/31/361/2[79480,79486]
ratings:494:6Validation119612210,00,11/21/31/361/2[79488,79495]
ratings:494:7Validation449812000,00,001/21/41/2[79500,79490]
ratings:494:8Validation121425710,00,01/21/201/2[79494,79498]
ratings:494:9Validation58910360,00,01/21/201/2[79485,79487]
ratings:315:0Train21321540,10,101/21/41/2[48733,48710]
ratings:315:1Train5999090,01,101/31/91[48711,48713]
ratings:315:2Train92412070,10,101/21/41/2[48715,48721]
ratings:315:3Train12519140,11,111/21/41/2[48723,48714]
ratings:315:4Train102810351,00,001/21/41/2[48716,48717]
ratings:315:5Train124713041,10,012/31/91[48722,48726]
ratings:315:6Train194720850,10,012/31/91[48728,48732]
ratings:315:7Train108412040,10,111/21/41/2[48718,48720]
ratings:315:8Train133320670,00,101/31/91[48727,48731]
ratings:315:9Train252925530,10,012/31/91[48735,48736]
ratings:250:0Train140848860,01,011/21/41/2[37431,37444]
ratings:250:1Train34531011,10,11/21/201/2[37423,37440]
ratings:250:2Train78334180,10,101/21/41/2[37425,37442]
ratings:250:3Train4516741,10,101/21/41/2[37421,37433]
ratings:250:4Train277018761,00,101/31/91[37439,37435]
ratings:250:5Train128212850,01,011/21/41/2[37429,37430]
ratings:250:6Train172210920,00,001/21/41/2[37434,37427]
ratings:250:7Train58524071,01,001/21/41/2[37424,37437]
ratings:250:8Train159769830,10,101/21/41/2[37432,37446]
ratings:250:9Train103512460,00,11/21/31/361/2[37426,37428]
ratings:104:0Test257261691,00,011/21/41/2[16045,16123]
ratings:104:1Test3569141,11,11/21/201/2[15954,15988]
ratings:104:2Test124612700,11,012/31/91[16001,16005]
ratings:104:3Test127513910,01,01/21/201/2[16006,16010]
ratings:104:4Test158059521,00,001/21/41/2[16016,16117]
ratings:104:5Test499349730,01,001/21/41/2[16102,16101]
ratings:104:6Test474148861,11,01/22/31/361/2[16095,16096]
ratings:104:7Test401637191,01,011/21/41/2[16077,16071]
ratings:104:8Test340843080,10,101/21/41/2[16067,16086]
ratings:104:9Test424633251,11,111/21/41/2[16082,16066]
ratings:103:0Validation59310,01,011/21/41/2[15607,15566]
ratings:103:1Validation4803560,01,11/21/31/361/2[15598,15593]
ratings:103:2Validation2571508720,00,11/21/31/361/2[15716,15834]
ratings:103:3Validation9533180,10,101/21/41/2[15622,15590]
ratings:103:4Validation121312210,10,111/21/41/2[15647,15648]
ratings:103:5Validation119360160,10,101/21/41/2[15639,15789]
ratings:103:6Validation29599120,10,11/21/201/2[15731,15618]
ratings:103:7Validation29612011,10,01/22/31/361/2[15588,15643]
ratings:103:8Validation7505271,00,11/21/31/361/2[15613,15601]
ratings:103:9Validation85811970,11,012/31/91[15617,15641]
ratings:423:0Train10801041,01,001/21/41/2[65735,65724]
ratings:423:1Train13046530,00,011/21/41/2[65737,65734]
ratings:423:2Train43516531,00,101/31/91[65730,65739]
ratings:423:3Train544522680,00,101/31/91[65746,65741]
ratings:423:4Train362321940,00,101/31/91[65742,65740]
ratings:423:5Train127853491,00,011/21/41/2[65736,65745]
ratings:423:6Train132049950,00,101/31/91[65738,65744]
ratings:423:7Train37532960,11,101/21/41/2[65743,65727]
ratings:423:8Train3564801,10,01/22/31/361/2[65729,65732]
ratings:423:9Train4573180,00,101/31/91[65731,65728]
ratings:251:0Train3185270,10,11/21/201/2[37452,37454]
ratings:251:1Train257129590,00,11/21/31/361/2[37464,37465]
ratings:251:2Train59320280,00,11/21/31/361/2[37455,37463]
ratings:251:3Train2962931,10,11/21/201/2[37451,37450]
ratings:251:4Train170410890,10,01/22/31/361/2[37462,37457]
ratings:251:5Train784996081,01,11/21/31/361/2[37468,37456]
ratings:251:6Train1259508720,10,111/21/41/2[37461,37467]
ratings:251:7Train11111970,11,002/34/90[37449,37458]
ratings:251:8Train597112080,10,11/21/201/2[37466,37459]
ratings:251:9Train142115470,00,01/21/201/2[37469,37448]
View all native observations used in selection
Native fields and tokens in retained order
User rankRoleWithin-user positionNative rowNative user IDMovie IDOriginal starsTimestampOriginal movie titleOriginal genres
0test03592024420232.0975073749Godfather: Part III, The (1990)Crime|Drama|Mystery|Thriller
0test1358642442573.0975073808Just Cause (1995)Mystery|Thriller
0test2358732444454.0975073808Fatal Instinct (1993)Comedy
0test3358812445934.0975073808Silence of the Lambs, The (1991)Crime|Horror|Thriller
0test43589524412005.0975073808Aliens (1986)Action|Adventure|Horror|Sci-Fi
0test5358832446484.0975074577Mission: Impossible (1996)Action|Adventure|Mystery|Thriller
0test63594324435785.0975074577Gladiator (2000)Action|Adventure|Drama
0test73594624437533.0975074577Patriot, The (2000)Action|Drama|War
0test83594724437554.0975074577Perfect Storm, The (2000)Drama|Thriller
0test93594024433004.0975074686Pitch Black (2000)Horror|Sci-Fi|Thriller
0test103593724431733.0975074734Any Given Sunday (1999)Drama
0test113594224435661.0975074734Big Kahuna, The (2000)Comedy|Drama
0test123593824432145.0975074863American Flyers (1985)Drama
0test133594424436833.0975074863Blood Simple (1984)Crime|Drama|Film-Noir
0test143589724412255.0975074928Amadeus (1984)Drama
0test153590024412425.0975074928Glory (1989)Drama|War
0test163590324412934.0975074928Gandhi (1982)Drama
0test173594824438115.0975074928Breaker Morant (1980)Drama|War
0test18358772445414.0975075045Blade Runner (1982)Action|Sci-Fi|Thriller
0test193589324411964.0975075045Star Wars: Episode V - The Empire Strikes Back (1980)Action|Adventure|Sci-Fi
1validation03761025435102.51180443471Frequency (2000)Drama|Thriller
1validation137560254792.01180443477Juror, The (1996)Drama|Thriller
1validation23758425410373.51180443506Lawnmower Man, The (1992)Action|Horror|Sci-Fi|Thriller
1validation33759525418053.01180443514Wild Things (1998)Crime|Drama|Mystery|Thriller
1validation43760925433633.01180443528American Graffiti (1973)Comedy|Drama
1validation53759625418821.01180443538Godzilla (1998)Action|Sci-Fi|Thriller
1validation6375632542072.01180443598Walk in the Clouds, A (1995)Drama|Romance
1validation73763125462181.51180443616Bend It Like Beckham (2002)Comedy|Drama|Romance
1validation83760825433624.01180443619Dog Day Afternoon (1975)Crime|Drama
1validation93760125424314.51180443639Patch Adams (1998)Comedy|Drama
1validation10375682543384.01180443645Virtuosity (1995)Action|Sci-Fi|Thriller
1validation11375812548363.51180445811Chain Reaction (1996)Action|Adventure|Thriller
1validation123759825420464.01180445815Flight of the Navigator (1986)Adventure|Children|Sci-Fi
1validation133761325439883.01180445821How the Grinch Stole Christmas (a.k.a. The Grinch) (2000)Children|Comedy|Fantasy
1validation143760525428403.51180445845Stigmata (1999)Drama|Thriller
1validation153762225449934.51180445990Lord of the Rings: The Fellowship of the Ring, The (2001)Adventure|Fantasy
1validation163762825459524.01180445997Lord of the Rings: The Two Towers, The (2002)Adventure|Fantasy
1validation173763325463774.51180446000Finding Nemo (2003)Adventure|Animation|Children|Comedy
1validation18375722544574.01180446066Fugitive, The (1993)Thriller
1validation19375672543184.51180446073Shawshank Redemption, The (1994)Crime|Drama
2train06685043212930.51315242191Gandhi (1982)Drama
2train16687743222781.01315242196Ronin (1998)Action|Crime|Thriller
2train26687443220803.01315242214Lady and the Tramp (1955)Animation|Children|Comedy|Romance
2train36689543230823.01315242241World Is Not Enough, The (1999)Action|Adventure|Thriller
2train46689343229084.01315242256Boys Don't Cry (1999)Drama
2train5668114321933.01315242265Showgirls (1995)Drama
2train66686843219112.01315242291Dr. Dolittle (1998)Comedy
2train76687343220183.51315242295Bambi (1942)Animation|Children|Drama
2train86685543215903.51315242318Event Horizon (1997)Horror|Sci-Fi|Thriller
2train96690243232731.51315242328Scream 3 (2000)Comedy|Horror|Mystery|Thriller
2train106685343214164.51315242346Evita (1996)Drama|Musical
2train11668214323814.51315242365When a Man Loves a Woman (1994)Drama|Romance
2train126689143228404.01315242373Stigmata (1999)Drama|Thriller
2train136690043231783.51315242420Hurricane, The (1999)Drama
2train146686743218924.51315242429Perfect Murder, A (1998)Thriller
2train156693543255071.51315242710xXx (2002)Action|Crime|Thriller
2train1666983432331581.51315242713xXx: State of the Union (2005)Action|Crime|Thriller
2train176688343225723.5131524272610 Things I Hate About You (1999)Comedy|Romance
2train1867010432582932.5131524273710,000 BC (2008)Adventure|Romance|Thriller
2train196685143213672.01315242748101 Dalmatians (1996)Adventure|Children|Comedy
3train05147433227463.51352670921Little Shop of Horrors (1986)Comedy|Horror|Musical
3train1513923328492.01352670933Escape from L.A. (1996)Action|Adventure|Sci-Fi|Thriller
3train25147133227172.51352670943Ghostbusters II (1989)Comedy|Fantasy|Sci-Fi
3train35139933210934.01352670948Doors, The (1991)Drama
3train45149033231083.51352670963Fisher King, The (1991)Comedy|Drama|Fantasy|Romance
3train5513893326102.51352670967Heavy Metal (1981)Action|Adventure|Animation|Horror|Sci-Fi
3train65144933219604.01352670980Last Emperor, The (1987)Drama
3train75148333229443.51352670988Dirty Dozen, The (1967)Action|Drama|War
3train85142733213782.01352670992Young Guns (1988)Action|Comedy|Western
3train95149633233013.51352671000Whole Nine Yards, The (2000)Comedy|Crime
3train105147833228723.51352671008Excalibur (1981)Adventure|Fantasy
3train115154633269474.51352671020Master and Commander: The Far Side of the World (2003)Adventure|Drama|War
3train12513963329224.51352671024Sunset Blvd. (a.k.a. Sunset Boulevard) (1950)Drama|Film-Noir|Romance
3train135147333227394.01352671035Color Purple, The (1985)Drama
3train145143733216353.01352671046Ice Storm, The (1997)Drama
3train1551630332977574.01352671138'Hellboy': The Seeds of Creation (2004)Action|Adventure|Comedy|Documentary|Fantasy
3train165149833234204.01352671156...And Justice for All (1979)Drama|Thriller
3train1751566332265643.51352671253'Round Midnight (1986)Drama|Musical
3train185140433212034.0135267126812 Angry Men (1957)Drama
3train1951366332322.51352671273Twelve Monkeys (a.k.a. 12 Monkeys) (1995)Mystery|Sci-Fi|Thriller
4test04105627821443.51193753128Sixteen Candles (1984)Comedy|Romance
4test14106027824274.51193753136Thin Red Line, The (1998)Action|Drama|War
4test24105727823524.51193753145Big Chill, The (1983)Comedy|Drama
4test34106327832104.01193753150Fast Times at Ridgemont High (1982)Comedy|Drama|Romance
4test44105327813473.01193753163Nightmare on Elm Street, A (1984)Horror|Thriller
4test54106227831484.01193753174Cider House Rules, The (1999)Drama
4test64106627843213.01193753182City Slickers (1991)Comedy|Western
4test74105527821091.51193753187Jerk, The (1979)Comedy
4test84106427833963.01193753190Muppet Movie, The (1979)Adventure|Children|Comedy|Musical
4test94106527840024.01193753194Planes, Trains & Automobiles (1987)Comedy
4test104106127831054.51193753200Awakenings (1990)Drama|Mystery
4test114105827823692.51193753204Desperately Seeking Susan (1985)Comedy|Drama|Romance
4test124105927823713.01193753207Fletch (1985)Comedy|Crime|Mystery
4test134105427816355.01193753210Ice Storm, The (1997)Drama
4test14410522788803.51193753213Island of Dr. Moreau, The (1996)Sci-Fi|Thriller
4test15410492782034.01193753220To Wong Foo, Thanks for Everything! Julie Newmar (1995)Comedy
4test16410502783185.01193753313Shawshank Redemption, The (1994)Crime|Drama
4test1741048278505.01193753316Usual Suspects, The (1995)Crime|Mystery|Thriller
4test18410512785275.01193753327Schindler's List (1993)Drama|War
4test1941067278542725.01193753405Simpsons Movie, The (2007)Animation|Comedy
5validation0794834943672.01000384043Mask, The (1994)Action|Comedy|Crime|Fantasy
5validation17948949411985.01000384043Raiders of the Lost Ark (Indiana Jones and the Raiders of the Lost Ark) (1981)Action|Adventure
5validation2794844944803.01000384075Jurassic Park (1993)Action|Adventure|Sci-Fi|Thriller
5validation37949249412043.01000384075Lawrence of Arabia (1962)Adventure|Drama|War
5validation4794824943441.01000384113Ace Ventura: Pet Detective (1994)Comedy
5validation5794814943163.01001666423Stargate (1994)Action|Adventure|Sci-Fi
5validation67949149412014.01001666423Good, the Bad and the Ugly, The (Buono, il brutto, il cattivo, Il) (1966)Action|Adventure|Western
5validation7794794941105.01001666439Braveheart (1995)Action|Drama|War
5validation87949349412104.01001666475Star Wars: Episode VI - Return of the Jedi (1983)Action|Adventure|Sci-Fi
5validation97949749420285.01001666475Saving Private Ryan (1998)Action|Drama|War
5validation10794804942605.01001666564Star Wars: Episode IV - A New Hope (1977)Action|Adventure|Sci-Fi
5validation11794864948585.01001666564Godfather, The (1972)Crime|Drama
5validation127948849411965.01001666564Star Wars: Episode V - The Empire Strikes Back (1980)Action|Adventure|Sci-Fi
5validation137949549412215.01001666564Godfather: Part II, The (1974)Crime|Drama
5validation147950049444983.01001666564Dead Pool, The (1988)Action|Crime|Thriller
5validation157949049412005.01001666589Aliens (1986)Action|Adventure|Horror|Sci-Fi
5validation167949449412145.01001666589Alien (1979)Horror|Sci-Fi
5validation177949849425715.01001666589Matrix, The (1999)Action|Sci-Fi|Thriller
5validation18794854945895.01001666641Terminator 2: Judgment Day (1991)Action|Sci-Fi
5validation197948749410365.01001666641Die Hard (1988)Action|Crime|Thriller
6train04873331521323.0939919420Who's Afraid of Virginia Woolf? (1966)Drama
6train1487103151544.0939919421Beauty of the Day (Belle de jour) (1967)Drama
6train2487113155994.0939919421Wild Bunch, The (1969)Adventure|Western
6train3487133159095.0939919421Apartment, The (1960)Comedy|Drama|Romance
6train4487153159243.09399194212001: A Space Odyssey (1968)Adventure|Drama|Sci-Fi
6train54872131512075.0939919421To Kill a Mockingbird (1962)Drama
6train64872331512514.09399194218 1/2 (8½) (1963)Drama|Fantasy
6train7487143159143.0939919700My Fair Lady (1964)Comedy|Drama|Musical|Romance
6train84871631510283.0939919700Mary Poppins (1964)Children|Comedy|Fantasy|Musical
6train94871731510354.0939919700Sound of Music, The (1965)Musical|Romance
6train104872231512475.0939919700Graduate, The (1967)Comedy|Drama|Romance
6train114872631513043.0939919700Butch Cassidy and the Sundance Kid (1969)Action|Western
6train124872831519474.0939919700West Side Story (1961)Drama|Musical|Romance
6train134873231520853.0939919700101 Dalmatians (One Hundred and One Dalmatians) (1961)Adventure|Animation|Children
6train144871831510844.0939920310Bonnie and Clyde (1967)Crime|Drama
6train154872031512043.0939920310Lawrence of Arabia (1962)Adventure|Drama|War
6train164872731513333.0939920310Birds, The (1963)Horror|Thriller
6train174873131520674.0939920310Doctor Zhivago (1965)Drama|Romance|War
6train184873531525293.0939920310Planet of the Apes (1968)Action|Drama|Sci-Fi
6train194873631525532.0939920310Village of the Damned (1960)Horror|Sci-Fi|Thriller
7train03743125014084.51121217462Last of the Mohicans, The (1992)Action|Romance|War|Western
7train13744425048864.01121217476Monsters, Inc. (2001)Adventure|Animation|Children|Comedy|Fantasy
7train2374232503455.01121217488Adventures of Priscilla, Queen of the Desert, The (1994)Comedy|Drama
7train33744025031015.01121217493Fatal Attraction (1987)Drama|Thriller
7train4374252507833.51121217510Hunchback of Notre Dame, The (1996)Animation|Children|Drama|Musical|Romance
7train53744225034185.01121217515Thelma & Louise (1991)Adventure|Crime|Drama
7train637421250454.01121217522To Die For (1995)Comedy|Drama|Thriller
7train73743325016744.51121217529Witness (1985)Drama|Romance|Thriller
7train83743925027700.51121217543Bowfinger (1999)Comedy
7train93743525018763.01121217550Deep Impact (1998)Drama|Sci-Fi|Thriller
7train103742925012825.01121217555Fantasia (1940)Animation|Children|Fantasy|Musical
7train113743025012854.01121217559Heathers (1989)Comedy
7train123743425017223.01121217564Tomorrow Never Dies (1997)Action|Adventure|Thriller
7train133742725010923.51121217575Basic Instinct (1992)Crime|Mystery|Thriller
7train14374242505853.01121217584Brady Bunch Movie, The (1995)Comedy
7train153743725024074.51121217588Cocoon (1985)Comedy|Sci-Fi
7train163743225015974.51121217590Conspiracy Theory (1997)Drama|Mystery|Romance|Thriller
7train173744625069835.01121217775Jane Eyre (1944)Drama|Romance
7train183742625010355.01121217778Sound of Music, The (1965)Musical|Romance
7train193742825012465.01121217790Dead Poets Society (1989)Drama
8test01604510425725.0104858617910 Things I Hate About You (1999)Comedy|Romance
8test11612310461693.01048586218Black Stallion Returns, The (1983)Adventure|Children
8test2159541043564.01048586269Forrest Gump (1994)Comedy|Drama|Romance|War
8test3159881049144.01048586285My Fair Lady (1964)Comedy|Drama|Musical|Romance
8test41600110412464.01048586355Dead Poets Society (1989)Drama
8test51600510412702.01048586355Back to the Future (1985)Adventure|Comedy|Sci-Fi
8test61600610412753.01048586355Highlander (1986)Action|Adventure|Fantasy
8test71601010413913.01048586375Mars Attacks! (1996)Action|Comedy|Sci-Fi
8test81601610415803.01048586389Men in Black (a.k.a. MIB) (1997)Action|Comedy|Sci-Fi
8test91611710459524.01048586462Lord of the Rings: The Two Towers, The (2002)Adventure|Fantasy
8test101610210449933.01048586475Lord of the Rings: The Fellowship of the Ring, The (2001)Adventure|Fantasy
8test111610110449735.01048586531Amelie (Fabuleux destin d'Amélie Poulain, Le) (2001)Comedy|Romance
8test121609510447414.01048586588Together (Tillsammans) (2000)Comedy|Drama|Romance
8test131609610448864.01048586617Monsters, Inc. (2001)Adventure|Animation|Children|Comedy|Fantasy
8test141607710440164.01048586684Emperor's New Groove, The (2000)Adventure|Animation|Children|Comedy|Fantasy
8test151607110437192.01048586776Love's Labour's Lost (2000)Comedy|Romance
8test161606710434084.01048586788Erin Brockovich (2000)Drama
8test171608610443085.01048586839Moulin Rouge (2001)Drama|Musical|Romance
8test181608210442464.01048586848Bridget Jones's Diary (2001)Comedy|Drama|Romance
8test191606610433252.01048586873Next Best Thing, The (2000)Comedy|Drama
9validation0156071035935.01431954229Silence of the Lambs, The (1991)Crime|Horror|Thriller
9validation11556610314.01431954238Toy Story (1995)Adventure|Animation|Children|Comedy|Fantasy
9validation2155981034804.01431954240Jurassic Park (1993)Action|Adventure|Sci-Fi|Thriller
9validation3155931033564.01431954248Forrest Gump (1994)Comedy|Drama|Romance|War
9validation41571610325714.01431954260Matrix, The (1999)Action|Sci-Fi|Thriller
9validation515834103508724.01431954362Ratatouille (2007)Animation|Children|Drama
9validation6156221039534.01431954365It's a Wonderful Life (1946)Children|Drama|Fantasy|Romance
9validation7155901033185.01431954380Shawshank Redemption, The (1994)Crime|Drama
9validation81564710312135.01431954394Goodfellas (1990)Crime|Drama
9validation91564810312214.51431954396Godfather: Part II, The (1974)Crime|Drama
9validation101563910311934.51431954401One Flew Over the Cuckoo's Nest (1975)Drama
9validation111578910360165.01431954407City of God (Cidade de Deus) (2002)Action|Adventure|Crime|Drama|Thriller
9validation121573110329595.01431954432Fight Club (1999)Action|Crime|Drama|Thriller
9validation13156181039125.01431954433Casablanca (1942)Drama|Romance
9validation14155881032965.01431954439Pulp Fiction (1994)Comedy|Crime|Drama|Thriller
9validation151564310312015.01431954445Good, the Bad and the Ugly, The (Buono, il brutto, il cattivo, Il) (1966)Action|Adventure|Western
9validation16156131037503.51431954454Dr. Strangelove or: How I Learned to Stop Worrying and Love the Bomb (1964)Comedy|War
9validation17156011035273.51431954472Schindler's List (1993)Drama|War
9validation18156171038584.51431954477Godfather, The (1972)Crime|Drama
9validation191564110311973.51431954492Princess Bride, The (1987)Action|Adventure|Comedy|Fantasy|Romance
10train06573542310802.01155285428Monty Python's Life of Brian (1979)Comedy
10train1657244231043.01155285432Happy Gilmore (1996)Comedy
10train26573742313044.01155285445Butch Cassidy and the Sundance Kid (1969)Action|Western
10train3657344236532.01155285454Dragonheart (1996)Action|Adventure|Fantasy
10train4657304234354.51155285474Coneheads (1993)Comedy|Sci-Fi
10train56573942316535.01155285477Gattaca (1997)Drama|Sci-Fi|Thriller
10train66574642354453.51155285483Minority Report (2002)Action|Crime|Mystery|Sci-Fi|Thriller
10train76574142322684.01155285516Few Good Men, A (1992)Crime|Drama|Thriller
10train86574242336233.01155285534Mission: Impossible II (2000)Action|Adventure|Thriller
10train96574042321944.51155285538Untouchables, The (1987)Action|Crime|Drama
10train106573642312785.01155285541Young Frankenstein (1974)Comedy|Fantasy
10train116574542353491.01155285552Spider-Man (2002)Action|Adventure|Sci-Fi|Thriller
10train126573842313201.51155285559Alien³ (a.k.a. Alien 3) (1992)Action|Horror|Sci-Fi|Thriller
10train136574442349953.51155285591Beautiful Mind, A (2001)Drama|Romance
10train146574342337531.01155285617Patriot, The (2000)Action|Drama|War
10train15657274232964.51155285837Pulp Fiction (1994)Comedy|Crime|Drama|Thriller
10train16657294233565.01155285844Forrest Gump (1994)Comedy|Drama|Romance|War
10train17657324234805.01155285846Jurassic Park (1993)Action|Adventure|Sci-Fi|Thriller
10train18657314234574.51155285850Fugitive, The (1993)Thriller
10train19657284233185.01155285853Shawshank Redemption, The (1994)Crime|Drama
11train0374522513185.01470676650Shawshank Redemption, The (1994)Crime|Drama
11train1374542515275.01470676652Schindler's List (1993)Drama|War
11train23746425125715.01470676673Matrix, The (1999)Action|Sci-Fi|Thriller
11train33746525129595.01470676675Fight Club (1999)Action|Crime|Drama|Thriller
11train4374552515935.01470676695Silence of the Lambs, The (1991)Crime|Horror|Thriller
11train53746325120285.01470676715Saving Private Ryan (1998)Action|Drama|War
11train6374512512965.01470676717Pulp Fiction (1994)Comedy|Crime|Drama|Thriller
11train7374502512935.01470676722Léon: The Professional (a.k.a. The Professional) (Léon) (1994)Action|Crime|Drama|Thriller
11train83746225117045.01470676743Good Will Hunting (1997)Drama|Romance
11train93745725110895.01470676803Reservoir Dogs (1992)Crime|Mystery|Thriller
11train1037468251784995.01470676811Toy Story 3 (2010)Adventure|Animation|Children|Comedy|Fantasy|IMAX
11train11374562516085.01470676829Fargo (1996)Comedy|Crime|Drama|Thriller
11train123746125112595.01470676840Stand by Me (1986)Adventure|Drama
11train1337467251508722.51470676867Ratatouille (2007)Animation|Children|Drama
11train14374492511114.51470676898Taxi Driver (1976)Crime|Drama|Thriller
11train153745825111975.01470677173Princess Bride, The (1987)Action|Adventure|Comedy|Fantasy|Romance
11train163746625159715.01470677181My Neighbor Totoro (Tonari no Totoro) (1988)Animation|Children|Drama|Fantasy
11train173745925112085.01470677204Apocalypse Now (1979)Action|Drama|War
11train18374692511421155.01470677265The Blue Planet (2001)Documentary
11train1937448251475.01470677268Seven (a.k.a. Se7en) (1995)Mystery|Thriller
All fifteen candidates and derivatives
Exact likelihoods and approximate log losses for all candidates
ProfileTheta0Theta1Train power DTrain likelihood^DValidation power DValidation likelihood^DTrain log lossValidation log lossTest log loss
feature0:0-1021.78155803e-37
Exact value1/5613064426838639310021802780948168704
21/5922976672902021120.705151335
Full approximation0.7051513346818893
0.682046429
Full approximation0.6820464286632245
0.682046429
Full approximation0.6820464286632244
feature0:10027.52316385e-37
Exact value1/1329227995784915872903807060280344576
21/11529215046068469760.693147181
Full approximation0.6931471805599451
0.693147181
Full approximation0.693147180559945
0.693147181
Full approximation0.693147180559945
feature0:21021.11347377e-38
Exact value1/89809030829418228960348844495170699264
21/379070507065729351680.728256241
Full approximation0.7282562407005546
0.751361147
Full approximation0.751361146719219
0.751361147
Full approximation0.751361146719219
feature1:00-124.83278545e-42
Exact value1/206920007030979599524643737716873291104256
21/479761110505063710720.792776258
Full approximation0.7927762575490188
0.755287248
Full approximation0.7552872479077651
0.745471995
Full approximation0.7454719949363998
feature1:10027.52316385e-37
Exact value1/1329227995784915872903807060280344576
21/11529215046068469760.693147181
Full approximation0.6931471805599451
0.693147181
Full approximation0.693147180559945
0.693147181
Full approximation0.693147180559945
feature1:20123.24322742e-34
Exact value1/3083348379000717394421156312776704
21/7496267351641620480.642594368
Full approximation0.6425943684276972
0.68597253
Full approximation0.6859725298517707
0.676157277
Full approximation0.6761572768804052
both:0-1-122.02473091e-42
Exact value1/493892790884367842402275550979686400000000
21/289534404508100156250.800026142
Full approximation0.8000261424825131
0.746870345
Full approximation0.7468703451997349
0.718666838
Full approximation0.7186668382854949
both:1-1021.78155803e-37
Exact value1/5613064426838639310021802780948168704
21/5922976672902021120.705151335
Full approximation0.7051513346818893
0.682046429
Full approximation0.6820464286632245
0.682046429
Full approximation0.6820464286632244
both:2-1125.56553795e-35
Exact value64/1149933763976133992900782150634765625
24/11581376180324006250.657282372
Full approximation0.6572823717383319
0.670117509
Full approximation0.6701175087666
0.679104594
Full approximation0.6791045937380616
both:30-124.83278545e-42
Exact value1/206920007030979599524643737716873291104256
21/479761110505063710720.792776258
Full approximation0.7927762575490188
0.755287248
Full approximation0.7552872479077651
0.745471995
Full approximation0.7454719949363998
both:40027.52316385e-37
Exact value1/1329227995784915872903807060280344576
21/11529215046068469760.693147181
Full approximation0.6931471805599451
0.693147181
Full approximation0.693147180559945
0.693147181
Full approximation0.693147180559945
both:50123.24322742e-34
Exact value1/3083348379000717394421156312776704
21/7496267351641620480.642594368
Full approximation0.6425943684276972
0.68597253
Full approximation0.6859725298517707
0.676157277
Full approximation0.6761572768804052
both:61-125.18331113e-44
Exact value1/19292687143920618843838888710144000000000000
21/11859329208651782400000.830569167
Full approximation0.8305691668783186
0.808746945
Full approximation0.8087469448785891
0.81773403
Full approximation0.8177340298500506
both:71021.11347377e-38
Exact value1/89809030829418228960348844495170699264
21/379070507065729351680.728256241
Full approximation0.7282562407005546
0.751361147
Full approximation0.751361146719219
0.751361147
Full approximation0.751361146719219
both:81128.49233696e-36
Exact value1/117753217431156120873040092225000000
21/289534404508100156250.672949159
Full approximation0.6729491593798566
0.746870345
Full approximation0.7468703451997349
0.718666838
Full approximation0.7186668382854948
Derivatives of training NLL sum with respect to natural-log reward coefficients a=log(2)theta
ProfileCoordinateTypeExact value
feature0:0a0gradient-3
feature0:0a0,a0Hessian16/3
feature0:0a0,a1Hessian-4/9
feature0:0a1gradient-37/6
feature0:0a1,a0Hessian-4/9
feature0:0a1,a1Hessian215/36
feature0:1a0gradient1
feature0:1a0,a0Hessian6
feature0:1a0,a1Hessian-1/2
feature0:1a1gradient-13/2
feature0:1a1,a0Hessian-1/2
feature0:1a1,a1Hessian25/4
feature0:2a0gradient5
feature0:2a0,a0Hessian16/3
feature0:2a0,a1Hessian-4/9
feature0:2a1gradient-41/6
feature0:2a1,a0Hessian-4/9
feature0:2a1,a1Hessian215/36
feature1:0a0gradient4/3
feature1:0a0,a0Hessian103/18
feature1:0a0,a1Hessian-4/9
feature1:0a1gradient-32/3
feature1:0a1,a0Hessian-4/9
feature1:0a1,a1Hessian50/9
feature1:1a0gradient1
feature1:1a0,a0Hessian6
feature1:1a0,a1Hessian-1/2
feature1:1a1gradient-13/2
feature1:1a1,a0Hessian-1/2
feature1:1a1,a1Hessian25/4
feature1:2a0gradient2/3
feature1:2a0,a0Hessian103/18
feature1:2a0,a1Hessian-4/9
feature1:2a1gradient-7/3
feature1:2a1,a0Hessian-4/9
feature1:2a1,a1Hessian50/9
both:0a0gradient-38/15
both:0a0,a0Hessian2363/450
both:0a0,a1Hessian-43/50
both:0a1gradient-51/5
both:0a1,a0Hessian-43/50
both:0a1,a1Hessian821/150
both:1a0gradient-3
both:1a0,a0Hessian16/3
both:1a0,a1Hessian-4/9
both:1a1gradient-37/6
both:1a1,a0Hessian-4/9
both:1a1,a1Hessian215/36
both:2a0gradient-47/15
both:2a0,a0Hessian1141/225
both:2a0,a1Hessian1/25
both:2a1gradient-11/5
both:2a1,a0Hessian1/25
both:2a1,a1Hessian397/75
both:3a0gradient4/3
both:3a0,a0Hessian103/18
both:3a0,a1Hessian-4/9
both:3a1gradient-32/3
both:3a1,a0Hessian-4/9
both:3a1,a1Hessian50/9
both:4a0gradient1
both:4a0,a0Hessian6
both:4a0,a1Hessian-1/2
both:4a1gradient-13/2
both:4a1,a0Hessian-1/2
both:4a1,a1Hessian25/4
both:5a0gradient2/3
both:5a0,a0Hessian103/18
both:5a0,a1Hessian-4/9
both:5a1gradient-7/3
both:5a1,a0Hessian-4/9
both:5a1,a1Hessian50/9
both:6a0gradient77/15
both:6a0,a0Hessian1141/225
both:6a0,a1Hessian1/25
both:6a1gradient-54/5
both:6a1,a0Hessian1/25
both:6a1,a1Hessian397/75
both:7a0gradient5
both:7a0,a0Hessian16/3
both:7a0,a1Hessian-4/9
both:7a1gradient-41/6
both:7a1,a0Hessian-4/9
both:7a1,a1Hessian215/36
both:8a0gradient68/15
both:8a0,a0Hessian2363/450
both:8a0,a1Hessian-43/50
both:8a1gradient-14/5
both:8a1,a0Hessian-43/50
both:8a1,a1Hessian821/150
Declared targets and selected probabilities by fixed pair ordinal · not time
Declared targets and selected probabilities by fixed pair ordinal · not time · Enlarge original vector
Train/validation/test log loss of training-family winners · test does not select
Train/validation/test log loss of training-family winners · test does not select · Enlarge original vector

Native observations, all-candidate predictions, exact scores and standalone Python/R are available below. Reproduction reads native data, not precomputed answer tables.

학부 기초Undergraduate foundations

기업 사례: 유지율 대리 표적은 고객 선호인가Company case: is a retention proxy a customer preference?

이란 통신 고객 원 자료는 익명 고객 3,150행, 14개 원 필드입니다. 이 장은 원행의 모든 필드를 보존하고, 이탈 값 Churn을 보기 전에 원행 번호의 고정 해시로 96행을 고릅니다. 해시 순서의 인접 두 행을 묶어 48쌍을 만들고 훈련 24·검증 12·시험 12로 나눕니다.

이 비교의 표적은 관측된 유지 지표 1−Churn이 더 큰 행을 높게 놓는 대리 규칙입니다. 같은 이탈 상태인 37쌍은 연성 표적 1/2입니다. 두 고객이 서로를 비교했거나 서비스 만족도를 답했다는 뜻이 아닙니다. 유지한 고객이 언제나 더 행복하거나, 유지 확률을 높이는 모든 조치가 고객에게 이롭다고 가정하지 않습니다.

특징은 불만 코드가 0인지, 통화 실패 횟수가 5 이하인지입니다. 실제 시험의 원행 1,366과 2,432는 특징이 모두 (1,1)이지만 Churn은 각각 0과 1이어서 표적 1입니다. 이 두 특징으로는 구분할 수 없어 어떤 계수에서도 비교 확률은 1/2입니다. 표적을 잘 설명하지 못하는 것은 계산 오류와 다른 문제입니다.

선택된 작은 모형은 θ=(0,0)이어서 모든 쌍에 확률 1/2를 줍니다. 복잡한 모형을 만들었다는 서사보다 이 결과를 그대로 읽는 것이 중요합니다. 같은 표적인 쌍에는 제곱 오차 0, 엄격한 0/1 표적인 쌍에는 1/4이고, 모든 양수 비중 쌍의 로그 손실은 log 2입니다. 영벡터가 이 자료의 모든 정보를 설명했다거나 고객 선호가 정말 반반임을 의미하지는 않습니다.

자료에 믿을 만한 반복 고객 식별자·관측 날짜·정책 개입이 없어 미래 이탈 예측이나 할인 정책의 인과 효과를 검증하지 않습니다. 불만·실패 특징과 이탈의 관측 관계를 이 선언한 쌍 변환 아래 연습하는 범위입니다. 영업 성과·고객 복지·규제 판단으로 확대하려면 새 자료와 설계가 필요합니다.

기업 · 관측 유지에서 만든 48쌍

아래 표는 관측·선언한 변환·계산값을 연결합니다. 국가·기업 표적은 대리 규칙이고 개인 별점도 직접 쌍 판단으로 새로 수집한 것은 아닙니다. 긴 분수는 짧은 표시와 정확한 전체 값을 함께 유지하며, 로그 손실은 근사임을 구분합니다.

관측과 선언
항목내용
자료 단위익명 통신 고객 원행
특징 0불만 코드 0
특징 1통화 실패 ≤5
선택된 θ0, 0
선택 규칙가족 내 훈련 우도 최대 → 가족 간 검증 우도 최대; 동률 앞 후보, 시험 제외
해석 범위작은 유한 격자·선언한 표적; 연속 MLE·시민 후생·고객 인과효과 인증 아님
역할별 비교 쌍
역할쌍 수비중 합연성 1/2 표적
훈련242422
검증12129
시험12126
훈련으로 고른 가족별 계수와 검증 선택
가족후보θ0θ1검증 우도 · 거듭제곱최종 선택
특징 0만feature0:1001/16777216예
특징 1만feature1:1001/16777216아니오
두 특징both:4001/16777216아니오
선택 모형의 역할별 전체 평가
역할N비중제곱오차 합평균 제곱오차방향 일치평균 로그 손실 · 근사
훈련24241/21/481/20.693147181
원 근삿값0.6931471805599453
검증12123/41/161/20.693147181
원 근삿값0.6931471805599453
시험12123/21/81/20.693147181
원 근삿값0.6931471805599453
선택 모형의 전체 비교 · 원행 연결
비교 ID역할왼쪽 ID오른쪽 ID왼쪽 특징오른쪽 특징선언 표적예측 확률제곱오차방향 일치원행
customers:1366:2432시험customer-row:1366customer-row:24321,11,111/21/41/2[1366,2432]
customers:430:50검증customer-row:430customer-row:501,11,111/21/41/2[430,50]
customers:416:1841훈련customer-row:416customer-row:18411,11,11/21/201/2[416,1841]
customers:2103:1286훈련customer-row:2103customer-row:12861,01,11/21/201/2[2103,1286]
customers:656:1584시험customer-row:656customer-row:15841,01,01/21/201/2[656,1584]
customers:2478:1273검증customer-row:2478customer-row:12730,01,01/21/201/2[2478,1273]
customers:1626:1187훈련customer-row:1626customer-row:11871,11,11/21/201/2[1626,1187]
customers:2397:1156훈련customer-row:2397customer-row:11561,01,11/21/201/2[2397,1156]
customers:451:1348시험customer-row:451customer-row:13481,01,01/21/201/2[451,1348]
customers:1641:676검증customer-row:1641customer-row:6761,01,11/21/201/2[1641,676]
customers:1630:1666훈련customer-row:1630customer-row:16661,11,11/21/201/2[1630,1666]
customers:2858:47훈련customer-row:2858customer-row:471,01,01/21/201/2[2858,47]
customers:2128:1448시험customer-row:2128customer-row:14480,01,101/21/41/2[2128,1448]
customers:3084:744검증customer-row:3084customer-row:7441,01,11/21/201/2[3084,744]
customers:97:1565훈련customer-row:97customer-row:15651,01,11/21/201/2[97,1565]
customers:2077:1678훈련customer-row:2077customer-row:16780,11,11/21/201/2[2077,1678]
customers:239:652시험customer-row:239customer-row:6521,11,11/21/201/2[239,652]
customers:932:44검증customer-row:932customer-row:441,11,101/21/41/2[932,44]
customers:1740:992훈련customer-row:1740customer-row:9921,11,11/21/201/2[1740,992]
customers:1606:2338훈련customer-row:1606customer-row:23381,01,01/21/201/2[1606,2338]
customers:3077:2468시험customer-row:3077customer-row:24680,01,001/21/41/2[3077,2468]
customers:2234:979검증customer-row:2234customer-row:9791,01,111/21/41/2[2234,979]
customers:1713:1681훈련customer-row:1713customer-row:16811,01,11/21/201/2[1713,1681]
customers:688:1009훈련customer-row:688customer-row:10091,01,01/21/201/2[688,1009]
customers:453:2767시험customer-row:453customer-row:27671,01,01/21/201/2[453,2767]
customers:1675:100검증customer-row:1675customer-row:1001,00,01/21/201/2[1675,100]
customers:1162:1719훈련customer-row:1162customer-row:17191,11,111/21/41/2[1162,1719]
customers:221:2068훈련customer-row:221customer-row:20681,01,11/21/201/2[221,2068]
customers:2369:3095시험customer-row:2369customer-row:30951,01,001/21/41/2[2369,3095]
customers:1548:657검증customer-row:1548customer-row:6571,01,01/21/201/2[1548,657]
customers:1124:1663훈련customer-row:1124customer-row:16631,01,01/21/201/2[1124,1663]
customers:2025:3025훈련customer-row:2025customer-row:30251,01,01/21/201/2[2025,3025]
customers:1652:277시험customer-row:1652customer-row:2771,10,011/21/41/2[1652,277]
customers:826:1948검증customer-row:826customer-row:19481,11,01/21/201/2[826,1948]
customers:2757:2995훈련customer-row:2757customer-row:29951,01,01/21/201/2[2757,2995]
customers:349:860훈련customer-row:349customer-row:8601,11,01/21/201/2[349,860]
customers:1526:994시험customer-row:1526customer-row:9941,11,11/21/201/2[1526,994]
customers:784:1453검증customer-row:784customer-row:14531,01,11/21/201/2[784,1453]
customers:463:1344훈련customer-row:463customer-row:13441,01,11/21/201/2[463,1344]
customers:60:68훈련customer-row:60customer-row:681,01,11/21/201/2[60,68]
customers:252:355시험customer-row:252customer-row:3551,11,11/21/201/2[252,355]
customers:203:1455검증customer-row:203customer-row:14551,01,11/21/201/2[203,1455]
customers:1825:1594훈련customer-row:1825customer-row:15941,01,101/21/41/2[1825,1594]
customers:1338:480훈련customer-row:1338customer-row:4801,01,11/21/201/2[1338,480]
customers:2719:1139시험customer-row:2719customer-row:11391,10,101/21/41/2[2719,1139]
customers:2090:2471검증customer-row:2090customer-row:24711,11,01/21/201/2[2090,2471]
customers:2581:1671훈련customer-row:2581customer-row:16711,01,11/21/201/2[2581,1671]
customers:1695:384훈련customer-row:1695customer-row:3841,10,01/21/201/2[1695,384]
선택에 사용된 전체 원 관측 보기
원 필드와 원 토큰 · 보존 순서
sourceRowCall FailureComplainsSubscription LengthCharge AmountSeconds of UseFrequency of useFrequency of SMSDistinct Called NumbersAge GroupTariff PlanStatusAgeCustomer ValueChurn
442025032256182331130163.440
471201508933171734041145410.10
503091148819073113060.281
6010040245758672731130214.440
685040177017181031130103.480
971501718993174784251155254.5050
10061112154822593113082.81
2039033023735834920211251679.8950
221603301138515214331130465.480
23930230123534183722125880.6050
2525045057815221031230111.720
277141410325051242231230228.041
3490030413030200431130966.40
35550410257366133811115216.6450
38427134316255246118521125792.0450
416103416320781752131130955.920
43000330148817013113060.20
451120382497081263231130306.040
45314037230537038039311301644.920
463290385157402357547311309390
48050362226835212141145110.0750
6522039050861672122595.130
656130381396583413131130325.920
6576038025504029421311301279.60
6763034030302391731130158.120
688803602970541842621125964.080
7440025030356002031130123.80
7842302621607523207921125733.8150
8263039128402881531130146.720
860130392522594102531130252.760
9320035000004124501
97900360133202312305.41
99200260825102134124573.3750
9942025032256182331130163.440
1009703801377316904431130557.680
11241903681019090042411452570
1139212711070331911122125909.1350
115630340341073202421125246.7350
1162103401873450133123076.720
118700310130035261631230157.40
1273170270570390112122527.4051
12860030033337402221125153.3150
1338604002735571832721125949.140
134420290318065162731130193.80
134880203280849392331130270.280
1366002905935701641831130896.20
1448501722728473522311302510
14533032019684634117211251625.130
14550033019084402611115107.360
152600321313526142731130182.440
154870144314849453231130307.880
1565003501458016612213211251212.570
15841602901517022206321125692.640
159400230232045063113094.60
160660371358582573031130374.680
162600330265022251631130206.880
16300035014782525841145100.0750
1641602605102535931230161.40
16520036000002122500
166320035114720213152621125739.4850
1666003406080741472031130834.160
1671203401104514204131130447.480
16758033053988601821125246.781
1678403301848320253123075.21
16810030063658501641145161.250
169500150127514082112558.0050
171322036215025220563331130833.80
17190035000202122591
174010240145334326941145117.1750
182560290551386112121125301.4551
18414020039513042122518.360
194890153325750321731130260.280
202580340551392192221125337.7251
2068003604058662122545.5850
20774133026853521421225131.41
20900024012633323664114589.90
210315039127586636626311301576.960
2128141380257350413341245168.0751
22342703131632024178021125776.7450
23381003413005571722121125911.790
23691004505651622831230111.241
23972202329498187954851155287.7750
2432503203056724124525.2751
246890430119528311531230172.920
247114042211950168295441145375.450
2478161410275358523841245200.2751
25811203547690113423951155180.0450
2719503803056722122545.4951
275711040128554630123311301320.040
276770390137021161621225134.5950
285816034294201211434431130953.640
2995130212271043431631130282.120
302512037154139382621125283.771
3077141370329547161831230197.681
30843003341638024478222125779.580
309570201200032351631130221.280
15개 전체 후보의 수치와 미분
전체 후보의 정확 우도와 역할별 로그 손실
후보θ0θ1훈련 거듭제곱 D훈련 우도^D검증 거듭제곱 D검증 우도^D훈련 로그 손실검증 로그 손실시험 로그 손실
feature0:0-1021/35624176739942421/212336640.698054807
원 근삿값0.698054807045628
0.702962434
원 근삿값0.7029624335313106
0.770539952
원 근삿값0.770539951549338
feature0:10021/28147497671065621/167772160.693147181
원 근삿값0.6931471805599453
0.693147181
원 근삿값0.6931471805599453
0.693147181
원 근삿값0.6931471805599453
feature0:21021/35624176739942421/212336640.698054807
원 근삿값0.698054807045628
0.702962434
원 근삿값0.7029624335313106
0.655015421
원 근삿값0.6550154214560139
feature1:00-121/231366276285235221/191318760.737033506
원 근삿값0.7370335057357068
0.698619433
원 근삿값0.6986194334363929
0.760724699
원 근삿값0.7607246985779726
feature1:10021/28147497671065621/167772160.693147181
원 근삿값0.6931471805599453
0.693147181
원 근삿값0.6931471805599453
0.693147181
원 근삿값0.6931471805599453
feature1:20121/57841569071308821/765275040.708152373
원 근삿값0.7081523732123757
0.756381698
원 근삿값0.756381698483055
0.645200168
원 근삿값0.6452001684846486
both:0-1-121/3615098066956800216/3874204890.746331154
원 근삿값0.7463311537071321
0.708434686
원 근삿값0.7084346864077582
0.855677556
원 근삿값0.8556775555103364
both:1-1021/35624176739942421/212336640.698054807
원 근삿값0.698054807045628
0.702962434
원 근삿값0.7029624335313106
0.770539952
원 근삿값0.770539951549338
both:2-1121/57841569071308824/3874204890.708152373
원 근삿값0.7081523732123757
0.766196951
원 근삿값0.7661969514544203
0.702962434
원 근삿값0.7029624335313106
both:30-121/231366276285235221/191318760.737033506
원 근삿값0.7370335057357068
0.698619433
원 근삿값0.6986194334363929
0.760724699
원 근삿값0.7607246985779726
both:40021/28147497671065621/167772160.693147181
원 근삿값0.6931471805599453
0.693147181
원 근삿값0.6931471805599453
0.693147181
원 근삿값0.6931471805599453
both:50121/57841569071308821/765275040.708152373
원 근삿값0.7081523732123757
0.756381698
원 근삿값0.756381698483055
0.645200168
원 근삿값0.6452001684846486
both:61-121/2313662762852352216/3874204890.737033506
원 근삿값0.7370335057357066
0.708434686
원 근삿값0.7084346864077582
0.702962434
원 근삿값0.7029624335313106
both:71021/35624176739942421/212336640.698054807
원 근삿값0.698054807045628
0.702962434
원 근삿값0.7029624335313106
0.655015421
원 근삿값0.6550154214560139
both:81121/90377451673920024/3874204890.717450021
원 근삿값0.7174500211838012
0.766196951
원 근삿값0.7661969514544203
0.624628495
원 근삿값0.624628495323688
자연로그 보상 계수 a=log(2)θ에 대한 훈련 NLL 합의 미분
후보좌표종류정확값
feature0:0a0gradient-1/3
feature0:0a0,a0Hessian4/9
feature0:0a0,a1Hessian2/9
feature0:0a1gradient-2/3
feature0:0a1,a0Hessian2/9
feature0:0a1,a1Hessian107/36
feature0:1a0gradient0
feature0:1a0,a0Hessian1/2
feature0:1a0,a1Hessian1/4
feature0:1a1gradient-1/2
feature0:1a1,a0Hessian1/4
feature0:1a1,a1Hessian3
feature0:2a0gradient1/3
feature0:2a0,a0Hessian4/9
feature0:2a0,a1Hessian2/9
feature0:2a1gradient-1/3
feature0:2a1,a0Hessian2/9
feature0:2a1,a1Hessian107/36
feature1:0a0gradient-1/6
feature1:0a0,a0Hessian17/36
feature1:0a0,a1Hessian2/9
feature1:0a1gradient-5/2
feature1:0a1,a0Hessian2/9
feature1:0a1,a1Hessian8/3
feature1:1a0gradient0
feature1:1a0,a0Hessian1/2
feature1:1a0,a1Hessian1/4
feature1:1a1gradient-1/2
feature1:1a1,a0Hessian1/4
feature1:1a1,a1Hessian3
feature1:2a0gradient1/6
feature1:2a0,a0Hessian17/36
feature1:2a0,a1Hessian2/9
feature1:2a1gradient3/2
feature1:2a1,a0Hessian2/9
feature1:2a1,a1Hessian8/3
both:0a0gradient-7/15
both:0a0,a0Hessian86/225
both:0a0,a1Hessian4/25
both:0a1gradient-79/30
both:0a1,a0Hessian4/25
both:0a1,a1Hessian586/225
both:1a0gradient-1/3
both:1a0,a0Hessian4/9
both:1a0,a1Hessian2/9
both:1a1gradient-2/3
both:1a1,a0Hessian2/9
both:1a1,a1Hessian107/36
both:2a0gradient-1/6
both:2a0,a0Hessian17/36
both:2a0,a1Hessian1/4
both:2a1gradient4/3
both:2a1,a0Hessian1/4
both:2a1,a1Hessian97/36
both:3a0gradient-1/6
both:3a0,a0Hessian17/36
both:3a0,a1Hessian2/9
both:3a1gradient-5/2
both:3a1,a0Hessian2/9
both:3a1,a1Hessian8/3
both:4a0gradient0
both:4a0,a0Hessian1/2
both:4a0,a1Hessian1/4
both:4a1gradient-1/2
both:4a1,a0Hessian1/4
both:4a1,a1Hessian3
both:5a0gradient1/6
both:5a0,a0Hessian17/36
both:5a0,a1Hessian2/9
both:5a1gradient3/2
both:5a1,a0Hessian2/9
both:5a1,a1Hessian8/3
both:6a0gradient1/6
both:6a0,a0Hessian17/36
both:6a0,a1Hessian1/4
both:6a1gradient-7/3
both:6a1,a0Hessian1/4
both:6a1,a1Hessian97/36
both:7a0gradient1/3
both:7a0,a0Hessian4/9
both:7a0,a1Hessian2/9
both:7a1gradient-1/3
both:7a1,a0Hessian2/9
both:7a1,a1Hessian107/36
both:8a0gradient7/15
both:8a0,a0Hessian86/225
both:8a0,a1Hessian4/25
both:8a1gradient49/30
both:8a1,a0Hessian4/25
both:8a1,a1Hessian586/225
고정 쌍의 선언 표적과 선택 모형 확률 · 시간축 아님
고정 쌍의 선언 표적과 선택 모형 확률 · 시간축 아님 · 원 벡터 그림 확대
가족별 훈련 선택 후보의 훈련·검증·시험 로그 손실 · 시험으로 선택하지 않음
가족별 훈련 선택 후보의 훈련·검증·시험 로그 손실 · 시험으로 선택하지 않음 · 원 벡터 그림 확대

원 관측·전체 후보 예측·정확 평가값 CSV와 standalone Python/R은 아래 다운로드에서 이어집니다. 원 자료를 다시 읽어 재현하며 이미 계산된 표를 정답 입력으로 사용하지 않습니다.

The Iranian telecom source has 3,150 anonymous rows and fourteen native fields. Preserve every field. Before inspecting Churn, hash native row numbers to choose ninety-six rows. Adjacent rows in that hash order form forty-eight pairs, with twenty-four training, twelve validation and twelve test pairs.

The proxy favors higher observed retention, one minus Churn. Thirty-seven equal-status pairs receive soft target one half. These customers did not compare each other or supply satisfaction annotations. Retention does not establish happiness or benefit from every retention-increasing intervention.

Features indicate complaint code zero and call failures at most five. Native test rows 1,366 and 2,432 both have features one, one, but Churn zero and one, respectively, so target is one. These features cannot distinguish them: every coefficient vector gives comparison probability one half. Limited explanatory power differs from computational error.

Selected theta is zero, zero, so every pair receives probability one half. Read that result rather than inventing a complex-model success story. Equal-status soft targets give squared error zero;strict zero/one targets give one quarter. Log loss is log two for every positive-weight pair. This does not mean the zero vector explains all available information or customers are genuinely indifferent.

Without reliable repeated-customer IDs, dates or interventions, we do not validate future churn prediction or the causal effect of a discount policy. We practice observed feature/outcome relationships under a declared pair transformation. Sales performance, customer welfare and regulatory conclusions need additional data and design.

Company · 48 observed-retention proxy pairs

The tables connect observations, declared transformations and computed values. Country/company targets are stipulated proxies; personal stars were not newly collected as direct pair judgments. Long fractions retain exact values beside short displays; log loss is explicitly approximate.

Observations and declarations
ItemMeaning
Native unitanonymous telecom source row
Feature 0Complaint code zero
Feature 1Call failures at most five
Selected theta0, 0
Selection ruleTraining likelihood within family, then validation likelihood across family winners; earliest ties, test excluded
InterpretationFinite declared grid/targets; not unrestricted MLE, citizen welfare or causal customer benefit
Comparison pairs by role
RolePairsTotal weightSoft half targets
Train242422
Validation12129
Test12126
Training-family winners and validation selection
FamilyProfileTheta0Theta1Powered validation likelihoodSelected
Feature 0 onlyfeature0:1001/16777216Yes
Feature 1 onlyfeature1:1001/16777216No
Both featuresboth:4001/16777216No
All role scores of selected model
RoleNWeightSquared-error sumMean squared errorAgreementMean log loss · approximate
Train24241/21/481/20.693147181
Full approximation0.6931471805599453
Validation12123/41/161/20.693147181
Full approximation0.6931471805599453
Test12123/21/81/20.693147181
Full approximation0.6931471805599453
Every selected-model comparison with native lineage
Pair IDRoleLeft IDRight IDLeft featuresRight featuresDeclared targetProbabilitySquared errorAgreementNative rows
customers:1366:2432Testcustomer-row:1366customer-row:24321,11,111/21/41/2[1366,2432]
customers:430:50Validationcustomer-row:430customer-row:501,11,111/21/41/2[430,50]
customers:416:1841Traincustomer-row:416customer-row:18411,11,11/21/201/2[416,1841]
customers:2103:1286Traincustomer-row:2103customer-row:12861,01,11/21/201/2[2103,1286]
customers:656:1584Testcustomer-row:656customer-row:15841,01,01/21/201/2[656,1584]
customers:2478:1273Validationcustomer-row:2478customer-row:12730,01,01/21/201/2[2478,1273]
customers:1626:1187Traincustomer-row:1626customer-row:11871,11,11/21/201/2[1626,1187]
customers:2397:1156Traincustomer-row:2397customer-row:11561,01,11/21/201/2[2397,1156]
customers:451:1348Testcustomer-row:451customer-row:13481,01,01/21/201/2[451,1348]
customers:1641:676Validationcustomer-row:1641customer-row:6761,01,11/21/201/2[1641,676]
customers:1630:1666Traincustomer-row:1630customer-row:16661,11,11/21/201/2[1630,1666]
customers:2858:47Traincustomer-row:2858customer-row:471,01,01/21/201/2[2858,47]
customers:2128:1448Testcustomer-row:2128customer-row:14480,01,101/21/41/2[2128,1448]
customers:3084:744Validationcustomer-row:3084customer-row:7441,01,11/21/201/2[3084,744]
customers:97:1565Traincustomer-row:97customer-row:15651,01,11/21/201/2[97,1565]
customers:2077:1678Traincustomer-row:2077customer-row:16780,11,11/21/201/2[2077,1678]
customers:239:652Testcustomer-row:239customer-row:6521,11,11/21/201/2[239,652]
customers:932:44Validationcustomer-row:932customer-row:441,11,101/21/41/2[932,44]
customers:1740:992Traincustomer-row:1740customer-row:9921,11,11/21/201/2[1740,992]
customers:1606:2338Traincustomer-row:1606customer-row:23381,01,01/21/201/2[1606,2338]
customers:3077:2468Testcustomer-row:3077customer-row:24680,01,001/21/41/2[3077,2468]
customers:2234:979Validationcustomer-row:2234customer-row:9791,01,111/21/41/2[2234,979]
customers:1713:1681Traincustomer-row:1713customer-row:16811,01,11/21/201/2[1713,1681]
customers:688:1009Traincustomer-row:688customer-row:10091,01,01/21/201/2[688,1009]
customers:453:2767Testcustomer-row:453customer-row:27671,01,01/21/201/2[453,2767]
customers:1675:100Validationcustomer-row:1675customer-row:1001,00,01/21/201/2[1675,100]
customers:1162:1719Traincustomer-row:1162customer-row:17191,11,111/21/41/2[1162,1719]
customers:221:2068Traincustomer-row:221customer-row:20681,01,11/21/201/2[221,2068]
customers:2369:3095Testcustomer-row:2369customer-row:30951,01,001/21/41/2[2369,3095]
customers:1548:657Validationcustomer-row:1548customer-row:6571,01,01/21/201/2[1548,657]
customers:1124:1663Traincustomer-row:1124customer-row:16631,01,01/21/201/2[1124,1663]
customers:2025:3025Traincustomer-row:2025customer-row:30251,01,01/21/201/2[2025,3025]
customers:1652:277Testcustomer-row:1652customer-row:2771,10,011/21/41/2[1652,277]
customers:826:1948Validationcustomer-row:826customer-row:19481,11,01/21/201/2[826,1948]
customers:2757:2995Traincustomer-row:2757customer-row:29951,01,01/21/201/2[2757,2995]
customers:349:860Traincustomer-row:349customer-row:8601,11,01/21/201/2[349,860]
customers:1526:994Testcustomer-row:1526customer-row:9941,11,11/21/201/2[1526,994]
customers:784:1453Validationcustomer-row:784customer-row:14531,01,11/21/201/2[784,1453]
customers:463:1344Traincustomer-row:463customer-row:13441,01,11/21/201/2[463,1344]
customers:60:68Traincustomer-row:60customer-row:681,01,11/21/201/2[60,68]
customers:252:355Testcustomer-row:252customer-row:3551,11,11/21/201/2[252,355]
customers:203:1455Validationcustomer-row:203customer-row:14551,01,11/21/201/2[203,1455]
customers:1825:1594Traincustomer-row:1825customer-row:15941,01,101/21/41/2[1825,1594]
customers:1338:480Traincustomer-row:1338customer-row:4801,01,11/21/201/2[1338,480]
customers:2719:1139Testcustomer-row:2719customer-row:11391,10,101/21/41/2[2719,1139]
customers:2090:2471Validationcustomer-row:2090customer-row:24711,11,01/21/201/2[2090,2471]
customers:2581:1671Traincustomer-row:2581customer-row:16711,01,11/21/201/2[2581,1671]
customers:1695:384Traincustomer-row:1695customer-row:3841,10,01/21/201/2[1695,384]
View all native observations used in selection
Native fields and tokens in retained order
sourceRowCall FailureComplainsSubscription LengthCharge AmountSeconds of UseFrequency of useFrequency of SMSDistinct Called NumbersAge GroupTariff PlanStatusAgeCustomer ValueChurn
442025032256182331130163.440
471201508933171734041145410.10
503091148819073113060.281
6010040245758672731130214.440
685040177017181031130103.480
971501718993174784251155254.5050
10061112154822593113082.81
2039033023735834920211251679.8950
221603301138515214331130465.480
23930230123534183722125880.6050
2525045057815221031230111.720
277141410325051242231230228.041
3490030413030200431130966.40
35550410257366133811115216.6450
38427134316255246118521125792.0450
416103416320781752131130955.920
43000330148817013113060.20
451120382497081263231130306.040
45314037230537038039311301644.920
463290385157402357547311309390
48050362226835212141145110.0750
6522039050861672122595.130
656130381396583413131130325.920
6576038025504029421311301279.60
6763034030302391731130158.120
688803602970541842621125964.080
7440025030356002031130123.80
7842302621607523207921125733.8150
8263039128402881531130146.720
860130392522594102531130252.760
9320035000004124501
97900360133202312305.41
99200260825102134124573.3750
9942025032256182331130163.440
1009703801377316904431130557.680
11241903681019090042411452570
1139212711070331911122125909.1350
115630340341073202421125246.7350
1162103401873450133123076.720
118700310130035261631230157.40
1273170270570390112122527.4051
12860030033337402221125153.3150
1338604002735571832721125949.140
134420290318065162731130193.80
134880203280849392331130270.280
1366002905935701641831130896.20
1448501722728473522311302510
14533032019684634117211251625.130
14550033019084402611115107.360
152600321313526142731130182.440
154870144314849453231130307.880
1565003501458016612213211251212.570
15841602901517022206321125692.640
159400230232045063113094.60
160660371358582573031130374.680
162600330265022251631130206.880
16300035014782525841145100.0750
1641602605102535931230161.40
16520036000002122500
166320035114720213152621125739.4850
1666003406080741472031130834.160
1671203401104514204131130447.480
16758033053988601821125246.781
1678403301848320253123075.21
16810030063658501641145161.250
169500150127514082112558.0050
171322036215025220563331130833.80
17190035000202122591
174010240145334326941145117.1750
182560290551386112121125301.4551
18414020039513042122518.360
194890153325750321731130260.280
202580340551392192221125337.7251
2068003604058662122545.5850
20774133026853521421225131.41
20900024012633323664114589.90
210315039127586636626311301576.960
2128141380257350413341245168.0751
22342703131632024178021125776.7450
23381003413005571722121125911.790
23691004505651622831230111.241
23972202329498187954851155287.7750
2432503203056724124525.2751
246890430119528311531230172.920
247114042211950168295441145375.450
2478161410275358523841245200.2751
25811203547690113423951155180.0450
2719503803056722122545.4951
275711040128554630123311301320.040
276770390137021161621225134.5950
285816034294201211434431130953.640
2995130212271043431631130282.120
302512037154139382621125283.771
3077141370329547161831230197.681
30843003341638024478222125779.580
309570201200032351631130221.280
All fifteen candidates and derivatives
Exact likelihoods and approximate log losses for all candidates
ProfileTheta0Theta1Train power DTrain likelihood^DValidation power DValidation likelihood^DTrain log lossValidation log lossTest log loss
feature0:0-1021/35624176739942421/212336640.698054807
Full approximation0.698054807045628
0.702962434
Full approximation0.7029624335313106
0.770539952
Full approximation0.770539951549338
feature0:10021/28147497671065621/167772160.693147181
Full approximation0.6931471805599453
0.693147181
Full approximation0.6931471805599453
0.693147181
Full approximation0.6931471805599453
feature0:21021/35624176739942421/212336640.698054807
Full approximation0.698054807045628
0.702962434
Full approximation0.7029624335313106
0.655015421
Full approximation0.6550154214560139
feature1:00-121/231366276285235221/191318760.737033506
Full approximation0.7370335057357068
0.698619433
Full approximation0.6986194334363929
0.760724699
Full approximation0.7607246985779726
feature1:10021/28147497671065621/167772160.693147181
Full approximation0.6931471805599453
0.693147181
Full approximation0.6931471805599453
0.693147181
Full approximation0.6931471805599453
feature1:20121/57841569071308821/765275040.708152373
Full approximation0.7081523732123757
0.756381698
Full approximation0.756381698483055
0.645200168
Full approximation0.6452001684846486
both:0-1-121/3615098066956800216/3874204890.746331154
Full approximation0.7463311537071321
0.708434686
Full approximation0.7084346864077582
0.855677556
Full approximation0.8556775555103364
both:1-1021/35624176739942421/212336640.698054807
Full approximation0.698054807045628
0.702962434
Full approximation0.7029624335313106
0.770539952
Full approximation0.770539951549338
both:2-1121/57841569071308824/3874204890.708152373
Full approximation0.7081523732123757
0.766196951
Full approximation0.7661969514544203
0.702962434
Full approximation0.7029624335313106
both:30-121/231366276285235221/191318760.737033506
Full approximation0.7370335057357068
0.698619433
Full approximation0.6986194334363929
0.760724699
Full approximation0.7607246985779726
both:40021/28147497671065621/167772160.693147181
Full approximation0.6931471805599453
0.693147181
Full approximation0.6931471805599453
0.693147181
Full approximation0.6931471805599453
both:50121/57841569071308821/765275040.708152373
Full approximation0.7081523732123757
0.756381698
Full approximation0.756381698483055
0.645200168
Full approximation0.6452001684846486
both:61-121/2313662762852352216/3874204890.737033506
Full approximation0.7370335057357066
0.708434686
Full approximation0.7084346864077582
0.702962434
Full approximation0.7029624335313106
both:71021/35624176739942421/212336640.698054807
Full approximation0.698054807045628
0.702962434
Full approximation0.7029624335313106
0.655015421
Full approximation0.6550154214560139
both:81121/90377451673920024/3874204890.717450021
Full approximation0.7174500211838012
0.766196951
Full approximation0.7661969514544203
0.624628495
Full approximation0.624628495323688
Derivatives of training NLL sum with respect to natural-log reward coefficients a=log(2)theta
ProfileCoordinateTypeExact value
feature0:0a0gradient-1/3
feature0:0a0,a0Hessian4/9
feature0:0a0,a1Hessian2/9
feature0:0a1gradient-2/3
feature0:0a1,a0Hessian2/9
feature0:0a1,a1Hessian107/36
feature0:1a0gradient0
feature0:1a0,a0Hessian1/2
feature0:1a0,a1Hessian1/4
feature0:1a1gradient-1/2
feature0:1a1,a0Hessian1/4
feature0:1a1,a1Hessian3
feature0:2a0gradient1/3
feature0:2a0,a0Hessian4/9
feature0:2a0,a1Hessian2/9
feature0:2a1gradient-1/3
feature0:2a1,a0Hessian2/9
feature0:2a1,a1Hessian107/36
feature1:0a0gradient-1/6
feature1:0a0,a0Hessian17/36
feature1:0a0,a1Hessian2/9
feature1:0a1gradient-5/2
feature1:0a1,a0Hessian2/9
feature1:0a1,a1Hessian8/3
feature1:1a0gradient0
feature1:1a0,a0Hessian1/2
feature1:1a0,a1Hessian1/4
feature1:1a1gradient-1/2
feature1:1a1,a0Hessian1/4
feature1:1a1,a1Hessian3
feature1:2a0gradient1/6
feature1:2a0,a0Hessian17/36
feature1:2a0,a1Hessian2/9
feature1:2a1gradient3/2
feature1:2a1,a0Hessian2/9
feature1:2a1,a1Hessian8/3
both:0a0gradient-7/15
both:0a0,a0Hessian86/225
both:0a0,a1Hessian4/25
both:0a1gradient-79/30
both:0a1,a0Hessian4/25
both:0a1,a1Hessian586/225
both:1a0gradient-1/3
both:1a0,a0Hessian4/9
both:1a0,a1Hessian2/9
both:1a1gradient-2/3
both:1a1,a0Hessian2/9
both:1a1,a1Hessian107/36
both:2a0gradient-1/6
both:2a0,a0Hessian17/36
both:2a0,a1Hessian1/4
both:2a1gradient4/3
both:2a1,a0Hessian1/4
both:2a1,a1Hessian97/36
both:3a0gradient-1/6
both:3a0,a0Hessian17/36
both:3a0,a1Hessian2/9
both:3a1gradient-5/2
both:3a1,a0Hessian2/9
both:3a1,a1Hessian8/3
both:4a0gradient0
both:4a0,a0Hessian1/2
both:4a0,a1Hessian1/4
both:4a1gradient-1/2
both:4a1,a0Hessian1/4
both:4a1,a1Hessian3
both:5a0gradient1/6
both:5a0,a0Hessian17/36
both:5a0,a1Hessian2/9
both:5a1gradient3/2
both:5a1,a0Hessian2/9
both:5a1,a1Hessian8/3
both:6a0gradient1/6
both:6a0,a0Hessian17/36
both:6a0,a1Hessian1/4
both:6a1gradient-7/3
both:6a1,a0Hessian1/4
both:6a1,a1Hessian97/36
both:7a0gradient1/3
both:7a0,a0Hessian4/9
both:7a0,a1Hessian2/9
both:7a1gradient-1/3
both:7a1,a0Hessian2/9
both:7a1,a1Hessian107/36
both:8a0gradient7/15
both:8a0,a0Hessian86/225
both:8a0,a1Hessian4/25
both:8a1gradient49/30
both:8a1,a0Hessian4/25
both:8a1,a1Hessian586/225
Declared targets and selected probabilities by fixed pair ordinal · not time
Declared targets and selected probabilities by fixed pair ordinal · not time · Enlarge original vector
Train/validation/test log loss of training-family winners · test does not select
Train/validation/test log loss of training-family winners · test does not select · Enlarge original vector

Native observations, all-candidate predictions, exact scores and standalone Python/R are available below. Reproduction reads native data, not precomputed answer tables.

학부 기초Undergraduate foundations

원 관측에서 계산 표까지 직접 재현하기Reproduce from native observations to computed tables

재현은 이미 계산된 정답 표를 읽어 내는 것과 다릅니다. 내려받은 원 MovieLens ratings·movies·tags·links, 세계은행 32관측, 통신 3,150행에서 선택·특징·역할·표적을 다시 만듭니다. 원 tags와 links는 보존과 출처 확인을 위해 포함하며, 두 장르 특징의 계수를 맞추는 계산에는 사용하지 않습니다. 사용하지 않은 필드를 사용했다고 서술하지 않습니다.

공개 Python은 원 토큰을 분수로 읽어 비교 확률·정확 거듭제곱 우도·평가를 계산하도록 구성합니다. R 재현은 같은 행·같은 모형·같은 역할을 따르며, 로그 근사와 정확한 순위 판정의 구현 범위를 구분해 설명합니다. 큰 정수와 로그의 근삿값을 한 열에 섞어 모두 “정확”이라고 부르지 않습니다.

행 선택·역할·쌍 표와 모형별 훈련·검증·시험 점수, 각 비교의 예측과 원행을 연결합니다. 계산에 들어간 전체 행은 표의 페이지를 넘기거나 CSV를 받아 확인합니다. 모바일 첫 화면의 20행만으로 계산했다는 뜻은 아닙니다. 수치 격자와 웹 그래프가 같은 값을 쓰는지 한 점씩 확인하는 연습도 합니다.

실행 환경이 다른 보관 Python·R 예제와 현재 브라우저 입력은 별도입니다. 보관 코드는 그 코드에 명시된 입력을 다시 실행하는 자료입니다. 자신의 입력을 보관 결과와 무조건 같다고 비교하지 말고 입력·역할·로그 단위·비중 분모를 먼저 맞추세요. 원 그림은 확대 가능한 벡터 파일로 유지합니다.

Reproduction differs from reading a precomputed answer table. Reconstruct selection, features, roles and targets from native MovieLens ratings, movies, tags, links, the thirty-two country observations and 3,150 telecom rows. Tags and links are preserved for provenance but are not features in the two-genre fit. Do not claim unused fields influenced fitting.

The public Python companion reads native tokens as fractions and calculates probabilities, powered likelihoods and scores. The R companion follows the same rows, models and roles while separating approximate logs from exact ranking procedures. Do not label a column mixing floating logs and big integers as uniformly exact.

Connect selected-row, role and pair ledgers with family scores and every pair’s prediction and native lineage. Pages or CSVs retain all computed rows; twenty visible rows on mobile do not reduce the computation sample. Match individual plotted points to their tables.

Archived Python/R examples and current browser inputs are separate. Archived code reruns its own stated inputs. Align inputs, roles, log units and weight denominators before comparing it with a live result. Original figures remain zoomable vector files.

학부 기초Undergraduate foundations

실습: 실제 세 사례의 실패까지 읽기Lab: read failures in all three actual cases

실습 F에서 나라·개인·기업을 차례로 고릅니다. 먼저 원자료의 단위와 표적의 생성 규칙을 읽고 나서 점수를 봅니다. 나라는 지표에서 선언한 효용, 개인은 실제 별점을 비교로 바꾼 것, 기업은 유지 지표 대리 순서입니다. 모두 같은 “사람의 선호”라고 합쳐 부르지 않습니다.

각 사례에서 선택된 모형과 검증 전 후보를 나란히 봅니다. 훈련 우도로 가족 안의 계수를 고른 다음 검증 우도로 가족을 선택하고 시험은 최종 평가에만 씁니다. 미리보기로 다른 후보를 본다고 고정된 선택 절차가 바뀌지 않습니다. 시험이 더 좋아 보이는 후보를 결과를 본 뒤 최종 선택으로 바꾼다면 새 개발 절차라고 적어야 합니다.

개인의 사용자 244 첫 시험 쌍과 기업의 원행 1,366 대 2,432를 찾아 원문·특징·확률·표적을 확인하세요. 동일 특징의 비교와 서로 다른 별점이 함께 있을 수 있습니다. 왜 그런지 설명하고 어떤 새 특징이나 직접 비교 자료가 필요할지 제안합니다. 원 표적을 자신에게 유리하게 바꾸어 실패를 숨기지 않습니다.

그래프는 모바일에서도 읽을 수 있는 축·짧은 수치와 함께 보며 원분수·원행·전체 결과를 펼쳐 확인합니다. 한영 전환은 설명과 표제를 바꾸고 원 ID·별점·확률은 보존해야 합니다. 모형 점수의 방향과 실제 별점 순서가 다른 관측 하나를 자신의 말로 설명하면 이 실습의 핵심을 이해한 것입니다.

Choose country, person and company in Lab F. Read native units and target construction before scores. Country targets use stipulated indicator utility;personal pairs transform actual stars;company targets use retention as a proxy. These are not interchangeable observations of human preference.

Inspect the chosen model beside training-family candidates. Training likelihood selects within each family, validation likelihood selects among family winners, and test data evaluate only. Previewing a candidate does not alter that fixed rule. Choosing a better-looking test candidate afterwards is further development and must be labeled as such.

Locate user 244’s first test pair and company rows 1,366 versus 2,432. Trace native values, features, probability and target. Equal features can accompany unequal ratings or outcomes. Explain why and propose additional features or direct comparison evidence;do not relabel inconvenient targets to hide failures.

Read mobile axes and short values beside exact fractions, lineage and full results. Language switching translates descriptions and headings while retaining native IDs, stars and probabilities. Explain one observation where model direction disagrees with actual stars in your own words.

학부 기초Undergraduate foundations

종합 과제: 무엇을 정렬했고 무엇이 남았는가Capstone: what was aligned and what remains

다음 여섯 항목으로 짧은 분석 보고서를 작성하세요. 첫째, 누가 무엇을 언제 어떻게 평가했는지와 별점·직접 비교·대리 표적을 구분합니다. 둘째, 단위·원행·결측·동률·비중·역할 분리 규칙을 적습니다. 셋째, 작은 확률 예를 손으로 풀고 보상 모형·정책·DPO의 서로 다른 입력을 연결합니다.

넷째, 훈련·검증·시험 점수와 실패 관측을 함께 제시합니다. 다섯째, 알려진 집단·모르는 집단·순환·아직 관측하지 않은 외부 품질을 기록합니다. 여섯째, 목표나 기준을 바꾸는 반사실적 계산과 실제 정책 효과의 인과 추정을 구별하고 추가로 필요한 자료를 설명합니다.

대학원 연결로는 사람별 이질성 모형, 비교 그래프의 식별, 표집 설계에 맞는 불확실성, 온라인 선호 수집, 분포 이동 아래 정책 평가를 탐구할 수 있습니다. 이 장의 유한 정확 계산은 출발점이지 그 모든 연구의 완성본이 아닙니다. 다음 장의 검색·근거 결합에서도 무엇을 회수했고 근거가 주장을 실제로 지지하는지 같은 태도로 확인합니다.

마지막 자기 점검: 한 지표가 좋아졌다는 사실만으로 무엇을 말할 수 있고 무엇은 말할 수 없는지, 정확한 0·비영 표시 손실·무한대·미정의를 구분할 수 있는지, 원자료에서 최종 표의 한 수치를 다시 만들 수 있는지 확인하세요. 정답을 외우는 것보다 이 연결을 자기 말과 손계산으로 설명하는 것이 목표입니다.

Write a short analysis with six elements. First identify who evaluated what, when and how, separating stars, direct comparisons and proxies. Second document units, lineage, missingness, ties, weights and role assignment. Third work a small probability example by hand and connect the distinct inputs of reward fitting, policy optimization and DPO.

Fourth present train, validation and test scores with failures. Fifth record known/unknown groups, cycles and unobserved external quality. Sixth separate counterfactual calculations under changed objectives from causal estimates of actual interventions, and explain the evidence still needed.

Graduate extensions include individual heterogeneity, comparison-graph identification, design-appropriate uncertainty, online elicitation and policy evaluation under shift. Finite exact examples are a starting point, not completion of those research programs. The next chapter on retrieval and evidence asks a related question:does retrieved evidence actually support a claim?

Check whether you can explain what an improved metric does and does not imply, distinguish exact zero, nonzero display loss, infinity and undefined, and reconstruct one final table value from native data. Understanding those connections in your own words and calculations matters more than memorizing a result.

영상·학자·함께 읽기Videos, thinkers and guided reading

본문의 질문을 넓히는 선택 학습입니다. 영상을 보기 전 질문을 먼저 읽고, 자신의 답을 쓴 뒤 해설과 비교하세요. 자료의 언어·선수 지식은 각 항목에 표시했습니다.Optional extensions to the chapter. Read the question first, write your answer, then compare with the explanation. Language and prerequisites are indicated below.

DPO 원 논문과 공식 유도DPO primary paper and derivation

Rafailov and coauthors · selected sections3–4

유한 KL 정책 해와 보상 재표현을 두 대안의 손계산으로 연결합니다.Connect the finite KL-optimal policy and reward reparameterization with a two-item calculation.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 왜 같은 문맥의 log Z가 비교에서 사라지나요?Why does log Z cancel within a context?

생각을 점검하는 해설Check your reasoning

같은 문맥의 두 보상에 공통인 상수라 차이를 취하면 빠집니다. 서로 다른 문맥의 정규화 상수를 무조건 소거하는 것은 아닙니다.It is a shared constant in the two rewards. Distinct-context normalizers cannot be canceled without conditions.

인간 선호 학습의 문제 설정Framing machine learning from human preferences

Machine Learning from Human Preferences · selected chapter1

관측 별점·쌍 판단·규범적 목표를 구별하고 누가 평가했는지 질문합니다.Separate observed ratings, pair judgments and normative targets, and identify the evaluators.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 같은 별점 두 개가 직접 무차별 판단을 관측한 것인가요?Do two equal stars constitute a directly observed indifference judgment?

생각을 점검하는 해설Check your reasoning

아닙니다. 이 자료에서는 다른 시각의 평가를 같은 쌍으로 기계적으로 묶고 1/2 표적을 선언했습니다. 문맥·척도·불확실성은 남아 있습니다.No. We mechanically pair separate ratings and declare a half target. Context, scale and uncertainty remain.

MovieLens 원 필드와 이용 조건MovieLens native fields and usage conditions

GroupLens · official latest-small README

고정2018개발판·익명 ID·별점·시각과 원 조건·인용을 확인합니다.Inspect the fixed2018development snapshot, anonymous IDs, stars, timestamps, original conditions and citation.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 해시 사용자 분리와 시간순 평가 정렬을 했으니 미래 예측 검증인가요?Does hashing users and sorting ratings chronologically establish future prediction?

생각을 점검하는 해설Check your reasoning

아닙니다. 사용자 분리 평가이며, 모든 훈련 시각이 시험보다 앞선다는 설계나 실시간 발표 정보를 복원한 것이 아닙니다.No. It is user holdout, without a design placing all training before testing or reconstructing real-time information.

연습문제 · 계산에서 설명과 증명까지Exercises: calculation, explanation and proof

먼저 혼자 풀고 풀이를 여세요. 숫자와 함께 단위·포함 기준·계산 이유를 확인하세요.Attempt each problem before opening its solution. Check units, inclusion rules and the reason for the calculation.

1. 강도에서 몫 구하기A share from strengths

A 강도 2, B 강도 3일 때 A 선택 확률과 B 선택 확률은?

For strengths two and three, find both choice probabilities.

풀이와 확인할 이유Solution and explanation
pA=22+3=25,pB=35p_A=\frac2{2+3}=\frac25,\qquad p_B=\frac35

합은 1입니다. 강도 2와 3을 각각 확률이라고 부르지 않습니다. 강도는 양수이고 확률은 두 강도의 합으로 정규화한 값입니다.

pA=22+3=25,pB=35p_A=\frac2{2+3}=\frac25,\qquad p_B=\frac35

The probabilities sum to one. Strengths two and three are positive inputs, normalized by their total, not probabilities themselves.

2. 같은 배율과 기준점Shared scale and the reward origin

강도 (2,3)을 (20,30)으로 바꾸면 확률은? 로그 점수는 어떻게 바뀌나요?

Scale strengths (2,3) to (20,30). What happens to probabilities and log scores?

풀이와 확인할 이유Solution and explanation

A 확률은 20/50=2/5로 같습니다. 두 로그 점수에 모두 log(10)이 더해져 차이는 같습니다. 따라서 비교 자료만으로 공통 로그 보상 상수를 식별할 수 없습니다. 한 기준점을 정하는 일은 정규화 선택입니다.

A remains at two fifths. Both log scores gain log ten, so their difference is unchanged. Pair comparisons cannot identify a shared additive log-reward constant; fixing an origin is a normalization.

3. 별점 변환의 이름Name the rating transformation

한 사용자가 서로 다른 날짜에 A에 4점, B에 4점을 주었습니다. 직접 쌍 비교에서 무차별하다고 관측했다고 써도 되나요?

A user rated A and B four stars on different dates. Was indifference observed in a direct paired choice?

풀이와 확인할 이유Solution and explanation

아닙니다. 원사실은 두 별점이 같은 눈금이라는 것입니다. 이 장은 선언한 규칙으로 소프트 표적 1/2를 만들지만, 같은 순간의 직접 선택이나 심리적 무차별을 측정한 것은 아닙니다. 두 원시각·별점·영화 ID를 보존합니다.

No. The native observations share a star category. Our declared rule creates a soft half target without observing a contemporaneous pair choice or psychological indifference. Preserve both timestamps, ratings and movie IDs.

4. 두 승패의 우도Likelihood of two outcomes

같은 방향 두 판단에서 승리 1건·패배 1건입니다. p=2/3과 p=1/2의 우도를 비교하세요.

One win and one loss share an orientation. Compare likelihoods at p=two thirds and one half.

풀이와 확인할 이유Solution and explanation
L(2/3)=2313=29,L(1/2)=14,14>29L(2/3)=\frac23\frac13=\frac29,\qquad L(1/2)=\frac14,\qquad\frac14>\frac29

균형 잡힌 관측에서는 이 두 후보 중 1/2의 우도가 큽니다. 승리 관측 한 건만 보고 늘 큰 p를 골라서는 안 됩니다. 두 판단을 조건부 독립으로 곱하는 우도 모형 자체도 선언한 가정입니다.

L(2/3)=2313=29,L(1/2)=14,14>29L(2/3)=\frac23\frac13=\frac29,\qquad L(1/2)=\frac14,\qquad\frac14>\frac29

One half has higher likelihood among these candidates. A single win does not justify always choosing the larger probability. Multiplying observations also declares a conditional likelihood model rather than proving independence.

5. 소프트 오차와 사건 오차Soft distance versus event risk

p=y=1/2일 때 소프트 제곱오차와 Y~Bernoulli(1/2)의 기대 Brier를 구하세요.

For p=y=one half, find soft squared error and expected Brier under a Bernoulli half outcome.

풀이와 확인할 이유Solution and explanation
(p−y)2=0,E[(p−Y)2]=0+12(1−12)=14(p-y)^2=0,\qquad\mathbb E[(p-Y)^2]=0+\frac12\left(1-\frac12\right)=\frac14

0은 선언한 표적 확률과 일치했다는 뜻입니다. 매번 나오는 실제 승패를 완벽히 맞혔다는 뜻은 아닙니다. 또한 실제 별점 동점이 Bernoulli 승리 확률 1/2를 입증하는 것은 아닙니다.

(p−y)2=0,E[(p−Y)2]=0+12(1−12)=14(p-y)^2=0,\qquad\mathbb E[(p-Y)^2]=0+\frac12\left(1-\frac12\right)=\frac14

Zero means matching the stipulated soft target, not perfectly predicting every realized outcome. Equal stars themselves also do not prove a Bernoulli win probability of one half.

6. 순환에서 사라진 정보Information lost by deleting a cycle

A>B, B>C, C>A라는 관측을 일렬 순위로 바꾸기 위해 마지막 행을 지워도 되나요?

May the C-over-A row be deleted from A>B, B>C, C>A to create a clean ranking?

풀이와 확인할 이유Solution and explanation

그렇게 하면 관측된 불일치를 숨깁니다. 세 원행과 맥락·평가자를 보존하고 방향 고리를 표시합니다. 확률적 점수 모형이 관측 잡음을 허용하는지, 판단 맥락이 같은지, 평가자가 다른지 따로 검토합니다. 일렬 순위가 편리하다는 이유는 삭제 근거가 아닙니다.

That hides observed disagreement. Preserve all three rows, contexts and judges and mark the cycle. Investigate whether stochastic scores allow noise and whether contexts or judges differ. Convenience of a ranking is not grounds for deleting an observation.

7. 0과 작은 양수의 로그Zero versus a tiny positive probability

승리 표적 1에 p=0 또는 p=10^-200을 주었습니다. 로그 손실은 같은 무한대인가요?

For win target one, compare log loss at zero and 10^-200. Are both infinite?

풀이와 확인할 이유Solution and explanation
−log⁡0=+∞,−log⁡(10−200)=200log⁡10≈460.517-\log 0=+\infty,\qquad-\log(10^{-200})=200\log10\approx460.517

작은 양수 확률의 손실은 크지만 유한합니다. 화면에서 확률이 0처럼 보이더라도 원분수와 표시 범위 표지를 확인해야 합니다. 정확한 0으로 잘라 손실을 바꾸지 않습니다.

−log⁡0=+∞,−log⁡(10−200)=200log⁡10≈460.517-\log 0=+\infty,\qquad-\log(10^{-200})=200\log10\approx460.517

The tiny positive probability has a large finite loss. Inspect the exact fraction and display-range marker if the probability appears zero; clipping it to exact zero changes the loss.

8. 두 특징의 강도Strengths from two features

θ=(1,−1), A=(1,0), B=(0,1)에서 두 강도와 A 선택 확률은?

For theta=(1,−1), A=(1,0), B=(0,1), find strengths and left probability.

풀이와 확인할 이유Solution and explanation
sA=21=2,sB=2−1=12,pA=22+1/2=45s_A=2^1=2,\quad s_B=2^{-1}=\frac12,\quad p_A=\frac2{2+1/2}=\frac45

자연로그 점수 차이는 2 log 2입니다. 특징이 다르기 때문에 공통 계수로 다른 강도가 생깁니다.

sA=21=2,sB=2−1=12,pA=22+1/2=45s_A=2^1=2,\quad s_B=2^{-1}=\frac12,\quad p_A=\frac2{2+1/2}=\frac45

The natural-log score difference is two log two. Shared coefficients give different strengths because feature vectors differ.

9. 분모 지우기Clear the exponent denominators

같은 p에 승리 질량 1/2, 패배 질량 1/3을 줍니다. 순서를 보존하는 정수 거듭제곱 우도를 만드세요.

A win has mass one half and a loss one third at the same p. Form an integer-power likelihood preserving candidate order.

풀이와 확인할 이유Solution and explanation
L=p1/2(1−p)1/3,L6=p3(1−p)2L=p^{1/2}(1-p)^{1/3},\qquad L^6=p^3(1-p)^2

L은 양수이므로 여섯 제곱이 대소 순서를 보존합니다. 실제 표본이 다섯 명이라는 주장은 아닙니다. 분석 질량과 독립 평가자 수를 구별합니다.

L=p1/2(1−p)1/3,L6=p3(1−p)2L=p^{1/2}(1-p)^{1/3},\qquad L^6=p^3(1-p)^2

The positive sixth power preserves ordering. This does not assert five actual independent judges; analytical exponents and rater counts differ.

10. 기울기의 좌표Derivative coordinates

p=1/2,y=1,w=2,d=(1,−1)에서 a=(log 2)θ에 대한 기울기와 θ에 대한 기울기는?

For p=one half, y=one, weight two and d=(1,−1), find gradients in a=(log two)theta and theta.

풀이와 확인할 이유Solution and explanation
∇aℓ=2(1/2−1)(1,−1)=(−1,1),∇θℓ=(log⁡2)(−1,1)\nabla_a\ell=2(1/2-1)(1,-1)=(-1,1),\quad\nabla_\theta\ell=(\log2)(-1,1)

Hessian의 θ좌표 변환에는 (log 2)²가 필요합니다. 같은 목적함수라도 좌표를 바꾸면 수치 기울기가 달라집니다.

∇aℓ=2(1/2−1)(1,−1)=(−1,1),∇θℓ=(log⁡2)(−1,1)\nabla_a\ell=2(1/2-1)(1,-1)=(-1,1),\quad\nabla_\theta\ell=(\log2)(-1,1)

The theta Hessian requires (log two) squared. Derivative values depend on coordinates even for the same objective.

11. 같은 특징의 정보Information in identical features

모든 쌍에서 x_A=x_B입니다. θ를 바꾸면 확률·기울기·곡률은 어떻게 되나요?

Every pair has identical left and right features. How do changing theta, probability, gradient and curvature relate?

풀이와 확인할 이유Solution and explanation

특징 차이가 0이므로 상대 점수는 항상 0, 확률은 1/2입니다. 각 비교의 기울기와 Hessian은 0입니다. 격자에서 앞 후보를 택해도 자료가 그 계수 값을 식별한 것은 아닙니다. 다른 특징이나 다른 모형이 없으면 이 표현 안에서는 확률을 바꿀 수 없습니다.

Zero differences give zero relative score and probability one half at every theta. Every gradient and Hessian contribution is zero. Selecting an earliest grid point does not identify that coefficient. This representation needs other information to change probabilities.

12. 격자 끝값과 분리A grid endpoint and separation

한 방향 승리만 있는 비교에서 θ∈{−1,0,1}의 승자가 1입니다. 제한 없는 MLE도 유한한 1이라고 하나요?

Only left wins are observed and theta=one wins among minus one, zero, one. Is the unrestricted MLE also finite one?

풀이와 확인할 이유Solution and explanation

아닙니다. 한 차이 특징이 양수이면 더 큰 계수가 확률을 1에 더 가깝게 만들어 우도를 계속 높일 수 있습니다. 유한 격자의 최선과 제한 없는 문제의 최대점 존재는 다릅니다. 정규화나 사전분포를 더했다면 새 목적함수와 가정을 적어야 합니다.

No. A positive difference feature can let larger coefficients keep increasing win probability and likelihood. A finite search winner differs from existence of an unrestricted maximum. Any regularizer or prior defines an additional objective and assumption.

13. 시험 표적만 바꾸기Change only the held test targets

시험 표적을 모두 뒤집었더니 시험 오차가 변했습니다. 무엇이 같아야 하고 무엇은 달라도 되나요?

Flipping every test target changes test loss. Which outputs must stay fixed and which may change?

풀이와 확인할 이유Solution and explanation

훈련 후보 우도와 각 가족의 훈련 승자, 검증 기준에 따른 선택 θ는 같아야 합니다. 시험 손실·시험 관련 요약은 달라도 됩니다. 현재 출력에 시험 장부가 들어 있다면 전체 결과 문자열이 같아야 하는 것은 아닙니다. 같아야 할 학습·선택량을 정확히 지정해야 합니다.

Training likelihoods, each family’s training winner and validation-selected theta must stay fixed. Test losses and associated summaries can change. Since full output includes that ledger, the entire output string need not match. Specify the fitted and selected quantities rather than asserting blanket equality.

14. 검증 결측의 결론A missing validation frame

검증 행이 있지만 표적이 모두 null입니다. 시험 점수가 좋으면 그것으로 선택해도 되나요?

Validation rows exist but all targets are null. May a favorable test score choose the model?

풀이와 확인할 이유Solution and explanation

아닙니다. 사용할 검증 질량이 없어 미리 정한 선택은 미정의입니다. 시험으로 고르면 역할이 바뀌어 그 시험은 마지막 손대지 않은 평가가 아닙니다. 새 검증 자료를 확보하거나 다른 선택 규칙을 사전에 정한 별도 실험으로 진행해야 합니다.

No. Without eligible validation mass, the declared choice is undefined. Choosing on the test changes its role and loses its untouched final-assessment status. Obtain validation evidence or prespecify a different procedure in a separate experiment.

15. 기준과 강도를 곱하기Multiply reference and strength

기준 (1/2,1/2), 강도 (1,2), k=2의 정규화 전 질량·Z·정책은?

For reference halves, strengths one, two and k=two, find unnormalized masses,Z and policy.

풀이와 확인할 이유Solution and explanation
u=(1/2,2),Z=5/2,π=(1/5,4/5)u=(1/2,2),\quad Z=5/2,\quad\pi=(1/5,4/5)

Z로 각각 나누면 합이 1입니다. 2라는 정규화 전 질량을 확률 2로 해석하지 않습니다.

u=(1/2,2),Z=5/2,π=(1/5,4/5)u=(1/2,2),\quad Z=5/2,\quad\pi=(1/5,4/5)

Dividing each mass by Z yields a simplex. An unnormalized mass of two is not probability two.

16. k=0의 뜻Interpret k=zero

화면에서 k=0을 선택했습니다. β=0의 무벌점 최대화인가요?

Does k=zero implement unpenalized maximization at beta zero?

풀이와 확인할 이유Solution and explanation

아닙니다. k는 1/β이고, k=0은 β→∞인 기준 정책 극한으로 표시합니다. 모든 s^0=1이라 원 기준이 그대로 나옵니다. β=0의 별도 무정규화 문제는 최고 보상 대안에만 질량을 놓을 수 있어 다른 문제입니다.

No. k is inverse beta; zero labels the infinite-beta reference limit. Every strength power becomes one and preserves the reference. Unregularized beta-zero reward maximization is a different problem concentrated on reward maximizers.

17. 0인 지지에 질량 넣기Assign mass outside support

기준 q=(1,0), 정책 π=(1/2,1/2)의 KL은 유한한가요?

Is KL finite for reference (one, zero) and policy halves?

풀이와 확인할 이유Solution and explanation

두 번째 정책 질량이 양수인데 기준 분모가 0이므로 KL은 무한대입니다. 작은 ε로 바꾸면 유한해질 수 있지만 기준을 바꾼 새 문제입니다. 0인 정책 질량의 항을 극한으로 0 처리하는 관례와는 다릅니다.

No. A positive second policy mass divides by zero reference support, giving infinity. Replacing zero by epsilon changes the reference and the problem. This differs from the zero-policy-mass limiting convention.

18. 공통 보상 상수A common reward constant

모든 보상에 7을 더하면 최적 정책과 목적 값은 어떻게 되나요?

What happens to the optimum and objective after adding seven to every reward?

풀이와 확인할 이유Solution and explanation
e(ri+7)/β=e7/βeri/β,Jr+7(π)=Jr(π)+7e^{(r_i+7)/\beta}=e^{7/\beta}e^{r_i/\beta},\qquad J_{r+7}(\pi)=J_r(\pi)+7

공통 인자는 정규화에서 없어져 최적 정책은 같습니다. 모든 정책의 목적 값은 확률 합 1 때문에 정확히 7 올라갑니다. 보상 기준점과 선택 분포를 구별합니다.

e(ri+7)/β=e7/βeri/β,Jr+7(π)=Jr(π)+7e^{(r_i+7)/\beta}=e^{7/\beta}e^{r_i/\beta},\qquad J_{r+7}(\pi)=J_r(\pi)+7

Normalization cancels the common factor, preserving the optimum. Every objective increases by seven because policy mass sums to one. Reward origins and action distributions differ.

19. 기준만 바꾸기Change only the reference

강도 (1,2), k=1에서 기준이 (3/4,1/4)이면 정책은?

With strengths one, two,k=one and reference three quarters, one quarter, find the policy.

풀이와 확인할 이유Solution and explanation
u=(3/4,1/2),Z=5/4,π=(3/5,2/5)u=(3/4,1/2),\quad Z=5/4,\quad\pi=(3/5,2/5)

균등 기준의 (1/3,2/3)과 다릅니다. 모형 보상만 보고 최종 선택이 왜 그렇게 됐는지 설명할 수 없습니다.

u=(3/4,1/2),Z=5/4,π=(3/5,2/5)u=(3/4,1/2),\quad Z=5/4,\quad\pi=(3/5,2/5)

This differs from one third, two thirds under equal reference. Rewards alone cannot explain the final choice distribution.

20. KL이 표시상 0일 때When KL displays zero

원분수 정책은 기준과 다른데 로그 근삿값이 0입니다. KL이 정확히 0이라고 하나요?

Exact policy fractions differ from the reference but the log summary displays zero. Is KL mathematically zero?

풀이와 확인할 이유Solution and explanation

아닙니다. 유한 지지에서 KL은 분포가 다르면 양수입니다. 매우 작은 차이가 표시 범위 아래일 수 있습니다. 정확 질량 비교와 비영 표지를 함께 읽습니다. 반면 부호 있는 기대 log 강도의 0은 상쇄 가능성도 있어 같은 판정 규칙을 그대로 적용하지 않습니다.

No. On finite support different distributions have positive KL. A tiny value may lie below display range; inspect exact masses and the nonzero marker. Signed expected log strength also permits cancellation and needs a different zero interpretation.

21. 유한 문제의 최대성 확인Verify the finite optimum

J(π)=βlog Z−β KL(π||π*)이고 β>0입니다. 왜 π*가 최적인가요?

Given J(pi)=beta log Z−beta KL(pi||pi*) with positive beta, why is pi* optimal?

풀이와 확인할 이유Solution and explanation

Z는 현재 보상·기준·β에서 고정이고 KL은 0 이상입니다. π=π*이면 KL=0이라 J=βlog Z이고 다른 허용 정책은 그보다 클 수 없습니다. 유한 보상·확률 합·기준 지지 조건에서의 결론이지, 실제 보상이 사회적으로 옳다는 증명은 아닙니다.

Z is fixed by the reward, reference and beta. Nonnegative KL vanishes at pi*, giving beta log Z; no other feasible policy exceeds it. This concerns finite rewards, simplex and reference support, not normative correctness of the reward.

22. 기준을 빼먹은 비교A comparison that omits the reference

q=(1/4,3/4), π=(1/2,1/2), β=1의 A 선호 확률은?

Find A’s comparison probability for reference one quarter, three quarters, policy halves, beta one.

풀이와 확인할 이유Solution and explanation
πA/qA=2,πB/qB=2/3,p=22+2/3=3/4\pi_A/q_A=2,\quad\pi_B/q_B=2/3,\quad p=\frac{2}{2+2/3}=3/4

정책의 두 질량이 같다고 비교 확률도 1/2인 것은 아닙니다. 기준 대비 상대 변화가 들어갑니다.

πA/qA=2,πB/qB=2/3,p=22+2/3=3/4\pi_A/q_A=2,\quad\pi_B/q_B=2/3,\quad p=\frac{2}{2+2/3}=3/4

Equal policy masses need not give an equal comparison. Relative changes from the reference matter.

23. 정수 β의 제곱Square relative masses at integer beta

앞 문제에서 β=2이면 확률과 표적 1의 손실은?

With beta two in the previous example, find probability and target-one loss.

풀이와 확인할 이유Solution and explanation
p=2222+(2/3)2=9/10,ℓ=log⁡(10/9)p=\frac{2^2}{2^2+(2/3)^2}=9/10,\qquad\ell=\log(10/9)

β만 달라졌으므로 기준·정책은 같습니다. 이 실습의 β를 정책 실습의 k와 같은 매개변수라고 부르지 않습니다.

p=2222+(2/3)2=9/10,ℓ=log⁡(10/9)p=\frac{2^2}{2^2+(2/3)^2}=9/10,\qquad\ell=\log(10/9)

Only beta changed; the reference and policy are unchanged. This beta is not the policy lab’s inverse-temperature k.

24. 보상 기준점 소거Cancel the reward origin

보상이 r_i=βlog(π_i/q_i)+c일 때 A−B 차이에 c가 남나요?

Does c remain in the A-minus-B difference when rewards equal beta log(policy/reference) plus c?

풀이와 확인할 이유Solution and explanation
rA−rB=β[log⁡(πA/qA)−log⁡(πB/qB)]r_A-r_B=\beta\left[\log(\pi_A/q_A)-\log(\pi_B/q_B)\right]

같은 문맥의 모든 대안에 공통인 상수는 빠집니다. 다른 문맥의 서로 다른 정규화 상수를 아무 조건 없이 소거하는 것은 아닙니다.

rA−rB=β[log⁡(πA/qA)−log⁡(πB/qB)]r_A-r_B=\beta\left[\log(\pi_A/q_A)-\log(\pi_B/q_B)\right]

A constant shared across alternatives in one context cancels. Distinct normalizers from different contexts cannot simply be canceled.

25. 양수 표적과 0 확률Positive target at zero probability

기준은 모두 양수, 정책은 (0,1), A 선호 표적 1입니다. 작은 유한 손실인가요?

References are positive, policy zero, one, target one for A. Is the loss small and finite?

풀이와 확인할 이유Solution and explanation

A의 비교 확률은 정확히 0이므로 −log 0은 양의 무한대입니다. 화면의 overflow와 같은 뜻이 아닙니다. 작은 양수로 평활화한 정책은 다른 입력이며 유한 손실을 줄 수 있습니다.

A has exact comparison probability zero, so minus log zero is positive infinity. This is not floating overflow. Smoothing the policy to a positive mass changes the input and can produce a finite loss.

26. 두 답 모두 0일 때When both compared answers have zero mass

q=(1/3,1/3,1/3), π=(0,0,1)에서 A 대 B 확률은?

For uniform three-item reference and policy zero, zero, one, what is the A/B comparison probability?

풀이와 확인할 이유Solution and explanation

정의되지 않습니다. 두 상대 질량이 모두 0이므로 0/(0+0)입니다. 1/2로 임의 지정하지 않습니다. C에 질량 1이 있다는 사실은 A와 B의 상대 확률을 알려 주지 않습니다.

Undefined: both relative masses are zero and the expression is zero divided by zero. Do not assign one half by convention. Concentration on C does not determine the A/B ratio.

27. 서로 다른 두 손잡이Two different controls

실습 C에서 k=2, D에서 β=2를 골랐습니다. 일반식의 앞뒤가 정확히 이어지나요?

Do policy k=two and DPO beta=two exactly invert each other?

풀이와 확인할 이유Solution and explanation

아닙니다. 정책의 k는 1/β이므로 같은 이론적 β라면 DPO β=1/2여야 합니다. 현재 D는 양의 정수 β의 정확 부분집합만 지원합니다. 두 실습에서 동시에 지원하는 직접 연결은 k=1과 β=1입니다.

No. Policy k equals one over beta, so the matching DPO beta would be one half. The exact DPO subset accepts positive integer beta only. The directly shared supported bridge is k=one, beta=one.

28. 선택된 답만의 학습Learning only from a chosen answer

−log π(A)를 줄이는 SFT 목적과 DPO 목적이 같은가요?

Is minimizing minus log policy probability of chosen A the same as DPO?

풀이와 확인할 이유Solution and explanation

아닙니다. SFT의 이 항에는 비교 답 B와 기준 q의 상대 로그 비율 차이가 명시적으로 들어 있지 않습니다. 두 방법 모두 자료의 범위와 편향을 점검해야 하며, 어느 목적을 최적화했는지만으로 사실성·안전성을 보증할 수 없습니다.

No. That SFT term lacks the rejected B and explicit reference-relative log-ratio difference. Both methods require scrutiny of data scope and bias; optimizing either objective does not certify factuality or safety.

29. 같은 방향과 다른 손실Same direction, different losses

표적 1에서 p=3/4와 p=9/10의 방향 일치·제곱 오차·로그 손실을 구하세요.

For target one, compare agreement, squared error and log loss at probabilities three quarters and nine tenths.

풀이와 확인할 이유Solution and explanation
A=1,1;ℓsq=1/16,1/100;ℓlog⁡=log⁡(4/3),log⁡(10/9)A=1,1;\quad\ell_{\rm sq}=1/16,1/100;\quad\ell_{\log}=\log(4/3),\log(10/9)

방향은 같지만 더 높은 적절한 확률은 이 관측의 손실을 낮춥니다. 한 관측의 결과로 전체 보정 성질을 증명하지는 않습니다.

A=1,1;ℓsq=1/16,1/100;ℓlog⁡=log⁡(4/3),log⁡(10/9)A=1,1;\quad\ell_{\rm sq}=1/16,1/100;\quad\ell_{\log}=\log(4/3),\log(10/9)

Directions agree, but the more confident correct probability has smaller loss on this observation. One outcome does not prove global calibration.

30. 작은 집단이 가려진 평균An average hiding a smaller group

90명 집단의 점수 0.9,10명 집단의 점수 0.5입니다. 전체 평균과 함께 무엇을 적나요?

Ninety people score point nine and ten score point five. Find the mean and what must accompany it.

풀이와 확인할 이유Solution and explanation
(90⋅0.9+10⋅0.5)/100=0.86(90\cdot0.9+10\cdot0.5)/100=0.86

집단별 점수 0.9·0.5와 각 분모 90·10, 비중 규칙을 함께 적습니다. 단순 전체 86%만으로 모든 집단이 잘 맞는다고 하지 않습니다.

(90⋅0.9+10⋅0.5)/100=0.86(90\cdot0.9+10\cdot0.5)/100=0.86

Report both group scores, their denominators and the weighting rule. Overall eighty-six percent does not imply strong fit for every group.

31. 사용자 분리와 시간 분리User holdout versus time holdout

사용자 12명을 6/3/3으로 나누고 사람마다 시간순 앞20별점을 썼습니다. 미래 예측을 검증했나요?

Twelve users are split six/three/three, using each user’s first twenty chronological ratings. Does this validate future prediction?

풀이와 확인할 이유Solution and explanation

아닙니다. 사용자를 분리한 보존 자료의 평가입니다. 시간순 정렬은 쌍 구성 규칙일 뿐, 모든 훈련 시점이 시험 시점보다 앞서거나 실시간 정보가 복원되었다는 뜻은 아닙니다. 반복 쌍도 독립 사용자로 세지 않습니다.

No. It is user holdout on retained data. Chronological ordering defines pair construction; it does not ensure all training precedes testing or reconstruct real-time information. Repeated pairs are not independent users.

32. 비영과 자료 부재Nonzero and absent evidence

양수 비중 평가 행이 하나도 없는 집단의 평균 손실을 0으로 적어도 되나요?

May a group with no positive eligible observations receive mean loss zero?

풀이와 확인할 이유Solution and explanation

안 됩니다. 분모가 0이므로 평균은 미정의입니다. 실제 손실 0은 관측 가능한 행에서 나온 결과이고, 자료 부재는 평가할 근거가 없다는 뜻입니다. 분모와 상태를 같이 표시합니다.

No. A zero denominator leaves the mean undefined. An observed zero loss and no evidence are different. Display the denominator and status together.

33. 대리 최적화 반례 계산Calculate a proxy-optimization counterexample

강도 A=4,B=2, 균등 기준, 외부 품질 A=1,B=4입니다. k=1과2에서 외부 품질은?

With strengths four, two, equal reference and external qualities one, four, compare k=one and two.

풀이와 확인할 이유Solution and explanation
Q1=(2/3)1+(1/3)4=2,Q2=(4/5)1+(1/5)4=8/5Q_1=(2/3)1+(1/3)4=2,\quad Q_2=(4/5)1+(1/5)4=8/5

높은 모형 강도의 A에 더 집중해 외부 품질이 떨어집니다. 수치는 선언한 가상 반례이며 실제 기업 성과 자료가 아닙니다.

Q1=(2/3)1+(1/3)4=2,Q2=(4/5)1+(1/5)4=8/5Q_1=(2/3)1+(1/3)4=2,\quad Q_2=(4/5)1+(1/5)4=8/5

Concentrating on higher-proxy A worsens external quality. These are stipulated numbers, not observed company outcomes.

34. 문맥을 합친 가짜 순환An artificial cross-context cycle

서로 다른 세 질문에서 A→B,B→C,C→A를 관측했습니다. 같은 문맥의 순환인가요?

Three different questions yield A-to-B,B-to-C,C-to-A. Is this a within-context cycle?

풀이와 확인할 이유Solution and explanation

아닙니다. 대안의 뜻과 문맥이 같은지 먼저 확인해야 합니다. 이 실습은 알려진 typed 집단 문맥 안에서만 방향 그래프를 합칩니다. 단순 이름만 같다고 서로 다른 질문을 한 선호 그래프로 묶지 않습니다.

Not necessarily. Verify common alternatives and context first. The lab builds directional graphs within known typed contexts. Reused names across unrelated questions do not justify one preference graph.

35. 목표의 타당성과 계산의 정확성Objective validity versus computational correctness

정책의 분수가 정확하고 목적의 최적성도 증명했습니다. 그 정책이 사람에게 최선임을 증명했나요?

Exact policy fractions and objective optimality are established. Does that prove the policy is best for people?

풀이와 확인할 이유Solution and explanation

아닙니다. 선언한 보상·기준·지원 지지에서 수학적으로 최적인 것입니다. 비교 자료의 대표성, 보상에 없는 가치, 분포 이동과 실제 영향은 별도 평가해야 합니다. 수학적 증명과 사회적 정당성을 같은 결과로 쓰지 않습니다.

No. It is optimal for the declared reward, reference and support. Representation, omitted values, distribution shift and actual effects require separate evidence. A mathematical optimum is not a certificate of social legitimacy.

36. 한국과 멕시코의 대리 표적The Korea/Mexico proxy target

성장률−물가 상승률 규칙에서 한국 약 −0.31813,멕시코 약 −3.37168입니다. 표적 1을 국민의 직접 선호라고 부르나요?

Growth-minus-inflation is about minus point three one eight one three for Korea and minus three point three seven one six eight for Mexico. Is target one direct citizen preference?

풀이와 확인할 이유Solution and explanation

아닙니다. 한국의 선언한 대리 효용이 더 높아 왼쪽 표적을 1로 둡니다. 주민 설문·생활 수준 전체·정책 인과 효과를 관측한 것이 아닙니다. 정확한 원 토큰과 대리 규칙을 함께 적습니다.

No. Korea has the larger stipulated proxy, so left target is one. This is not a resident survey, complete living-standard measure or causal policy effect. Preserve original tokens and the declared rule.

37. 실제 시험 쌍의 오예측A mispredicted actual test pair

사용자244의 별점2.0 대3.0에서 θ=(0,1)이 Drama가 있는 왼쪽에 p=2/3을 줍니다. 표적·제곱 오차·방향 일치는?

User 244 rates left 2.0 and right 3.0;theta zero, one gives Drama-containing left probability two thirds. Find target, squared error and agreement.

풀이와 확인할 이유Solution and explanation
y=0,ℓsq=(2/3)2=4/9,A=0y=0,\quad\ell_{\rm sq}=(2/3)^2=4/9,\quad A=0

실제 별점에서 만든 순서와 모형의 장르 점수가 반대입니다. 별점 원행을 고치거나 시험에서 삭제해 해결하지 않습니다.

y=0,ℓsq=(2/3)2=4/9,A=0y=0,\quad\ell_{\rm sq}=(2/3)^2=4/9,\quad A=0

The genre model disagrees with the order derived from actual stars. Do not alter the native rating or delete the test failure.

38. 같은 특징의 서로 다른 표적Equal features with different outcomes

기업 원행1366·2432는 특징이 모두(1,1),표적1입니다. 어떤 θ로든 이 쌍을 구분할 수 있나요?

Company rows 1366 and 2432 both have features one, one, target one. Can any theta distinguish them?

풀이와 확인할 이유Solution and explanation
Δx=(0,0),rL−rR=0,p=1/2\Delta x=(0,0),\quad r_L-r_R=0,\quad p=1/2

현재 모형에서는 불가능합니다. 차이가 없는 특징으로는 다른 관측 결과를 구분하지 못합니다. 새 특징이나 다른 모형은 별도 설계·검증 대상입니다.

Δx=(0,0),rL−rR=0,p=1/2\Delta x=(0,0),\quad r_L-r_R=0,\quad p=1/2

Not in this model. Identical features cannot separate unequal outcomes. New features or another model require a new declared and validated design.

39. 국가 시험 두 쌍의 점수Scores for two country test pairs

예측1/3·표적0과 예측1/2·표적0의 동일 비중 평균 제곱 오차와 방향 일치는?

For equal-weight probabilities one third and one half, both targets zero, find mean squared error and agreement.

풀이와 확인할 이유Solution and explanation
MSE=(1/9+1/4)/2=13/72,A=(1+1/2)/2=3/4\mathrm{MSE}=(1/9+1/4)/2=13/72,\qquad A=(1+1/2)/2=3/4

동점 예측은 방향 일치 절반 점수라는 이 장의 규칙을 적용했습니다. 두 관측으로 전체 국가에 대한 일반화나 인과 효과를 주장하지 않습니다.

MSE=(1/9+1/4)/2=13/72,A=(1+1/2)/2=3/4\mathrm{MSE}=(1/9+1/4)/2=13/72,\qquad A=(1+1/2)/2=3/4

The predictive tie receives half credit by the declared rule. Two observations do not establish worldwide generalization or a causal effect.

40. 공개 자료와 이용 조건Public data and use conditions

MovieLens CSV를 변환했으니 원 README 조건을 빼고 상업적으로 재배포해도 되나요?

May transformed MovieLens CSVs omit the README conditions and be redistributed commercially?

풀이와 확인할 이유Solution and explanation

아닙니다. 원 조건과 인용을 유지해야 하며 상업·수익 목적에는 별도 사전 허가가 필요합니다. 변환했다고 새로 무제한 허가가 생기지 않습니다. 이 장의 연구·비상업적 교육 사례 범위를 명시합니다.

No. Preserve original conditions and citation;commercial or revenue-bearing use needs separate prior permission. Transformation does not create unrestricted rights. State this research/noncommercial educational scope.

41. 20행 미리보기와 전체 계산Twenty-row previews and full computation

첫 화면에20쌍만 보입니다. 전체120쌍을20쌍으로 줄여 점수를 냈다고 판단하나요?

A first page displays twenty pairs. Does that mean a 120-pair calculation used only twenty?

풀이와 확인할 이유Solution and explanation

그렇지 않습니다. 표 페이지는 표시 방식이고 계산 표본은 별도입니다. 역할별 분모·전체 CSV·각 페이지를 확인해 전체 행이 보존되고 같은 점수에 연결되는지 검증합니다. 계산을 줄였다면 그 사실을 별도로 선언해야 합니다.

No. Pagination is presentation;the computation sample is separate. Check role denominators, full CSV and pages to verify all rows connect to the same scores. Any sample reduction would require an explicit separate declaration.

42. 성공 사례만 모은 보고서A report containing only successes

보고서가 높은 일치율의 세 예만 보여 주고 원행·실패·분모를 생략합니다. 무엇을 보완해야 하나요?

A report shows three high-agreement examples but omits lineage, failures and denominators. What must be added?

풀이와 확인할 이유Solution and explanation

표본 선택·비중·역할 분리·표적 생성 규칙, 전체 점수의 분모, 실패 관측, 집단별·미정의 상태, 원자료와 재현 경로를 추가합니다. 개발 목표와 별도로 측정한 외부 품질도 구분합니다. 예시 세 건은 전체 일반화 성능의 증거를 대신하지 못합니다.

Add sampling, weights, role assignment, target construction, score denominators, failures, group/undefined states, lineage and reproduction. Separate the development objective from independently observed quality. Three favorable examples cannot replace evidence about overall generalization.

자료와 출처Data and sources

실습에 추가한 실제 입력과 출처Additional observed lab inputs and provenance

실제 자료 사례Actual-data cases · 원자료·단위·결측·변환·출처Inputs, units, missingness, transformations and sources

자료별 확보일·원행 식별·단위·이용 조건은 출처 기록을 확인하세요. 학습 사본은 제공처의 현재 최신 자료와 다를 수 있습니다.Consult each source record for retrieval dates, row identifiers, units and terms. Teaching copies can differ from current provider releases.

자료사전·출처·이용 조건Data dictionary, sources and terms