What the Rank-One Copy Remembers

Matrix DecompositionsHard+30 XP+30

What the Rank-One Copy Remembers

A tiny search index stores how often each of three terms appears in each of two documents:

Doc 1Doc 2
term 1333222
term 2222000
term 3000222

As a term-by-document matrix,

A=[322002]A = \begin{bmatrix} 3 & 2 \\ 2 & 0 \\ 0 & 2 \end{bmatrix}A=​320​202​​

Compressing this index means writing A=UΣV⊤A = U\Sigma V^{\top}A=UΣV⊤ and keeping only the largest singular value — the single latent topic that explains the most of the data. That gives the best rank-one approximation

A1=σ1 u1v1⊤A_1 = \sigma_1\,\mathbf{u}_1\mathbf{v}_1^{\top}A1​=σ1​u1​v1⊤​

where u1\mathbf{u}_1u1​ and v1\mathbf{v}_1v1​ are the unit-length left and right singular vectors belonging to σ1\sigma_1σ1​, and u1\mathbf{u}_1u1​ is taken with the sign that makes Av1=σ1u1A\mathbf{v}_1 = \sigma_1\mathbf{u}_1Av1​=σ1​u1​.

A1A_1A1​ is the count table the compressed index would reconstruct. You want to know what it reconstructs for term 2 in document 1 — the entry of A1A_1A1​ in row 2, column 1, where the original count was 222.

What is the entry of A1A_1A1​ in row 2, column 1? Round your answer to 3 decimal places.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

counts