Short Answer

Analyzing the Span Prediction Constraint

A language model has generated start and end log-probabilities for a 5-token sequence. The highest start log-probability is for token 4, and the highest end log-probability is for token 2. If one were to naively select the span based on these two independent maximums, the resulting span would be invalid. Explain why this span is invalid and how the standard span prediction formula, (j^1,j^2)=argmax1j1j2n(logpj1beg+logpj2end)(\hat{j}_1, \hat{j}_2) = \underset{1 \le j_1 \le j_2 \le n}{\arg\max} (\log p_{j_1}^{\text{beg}} + \log p_{j_2}^{\text{end}}), prevents this specific issue.

0

1

Updated 2025-10-04

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science