WHY MATHEMATICS?
Why Mathematics? | Nuclear Norm Minimization: Low-Rank Recovery, Convex Optimization and Rank Surrogates
How a convex singular-value objective can recover low-rank structure when the measurement geometry is strong enough.
Why mathematics is important becomes easier to see when a real decision depends on it. This guide follows the mechanism from definitions and dimensions to a worked calculation, validation, practical learning and responsible use. It keeps factual evidence separate from interpretation and treats every illustrative scenario as an example rather than a promise of results.
Choose a reading route
- Separate rank from nuclear norm
- Analyse a surrogate-failure example
- Understand restricted-isometry conditions
- Audit recovery, residual and interpretation
Chapter map
- 1. Affine family
- 2. Eigenvalues
- 3. Singular values
- 4. Nuclear norm
- 5. Interior rank
- 6. Endpoint rank
- 7. Other endpoint
- 8. Minimisers
- 9. No contradiction
- 10. Measurements
- 11. RIP check
- 12. Noise
- 13. Dual certificate
- 14. Application
- 15. Verification
- 16. Conclusion
Visit the How Mathematics Works hub for the wider series and its connections to education, reasoning, science, computing, design and careers.
1. Affine family
The useful question is not only how to calculate, but what the calculation assumes. Set X(t)=[[1,t],[t,1]].
A concrete situation
t is real.
What the mathematics does not license
Record constraints. The same reasoning helps students move from an exercise to a real dataset.
Try it, check it, transfer it
Write family. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
2. Eigenvalues
A small example makes the mechanism visible. Compute 1+t and 1-t.
A concrete situation
They are nonnegative for |t|<=1.
What the mathematics does not license
State interval. That distinction matters because a correct formula can still answer the wrong operational question.
Try it, check it, transfer it
Record spectrum. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
3. Singular values
This is where modelling choices begin to affect evidence. Use absolute eigenvalues.
A concrete situation
For |t|<=1 they equal 1+t,1-t.
What the mathematics does not license
Keep order flexible. The habit of checking assumptions is one of the practical benefits of learning mathematics.
Try it, check it, transfer it
Record list. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
4. Nuclear norm
The central mathematical idea is concrete. Add them.
A concrete situation
The value is 2.
What the mathematics does not license
It is constant on interval. The same reasoning helps students move from an exercise to a real dataset.
Try it, check it, transfer it
Record 2. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
Did You Know? In this chapter, the most important number is useful only together with its construction rule. Changing scaling, sample membership or validation design can change the numerical answer without changing the arithmetic.
5. Interior rank
Here the geometry becomes operational. Choose t=0.
A concrete situation
X is identity and rank two.
What the mathematics does not license
Check determinant. That distinction matters because a correct formula can still answer the wrong operational question.
Try it, check it, transfer it
Record rank. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
6. Endpoint rank
This step deserves a careful pause. Choose t=1.
A concrete situation
X=[[1,1],[1,1]] and rank one.
What the mathematics does not license
Rows coincide. The habit of checking assumptions is one of the practical benefits of learning mathematics.
Try it, check it, transfer it
Record rank. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
7. Other endpoint
The useful question is not only how to calculate, but what the calculation assumes. Choose t=-1.
A concrete situation
X=[[1,-1],[-1,1]] and rank one.
What the mathematics does not license
Rows are opposites. The same reasoning helps students move from an exercise to a real dataset.
Try it, check it, transfer it
Record rank. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
8. Minimisers
A small example makes the mechanism visible. Compare nuclear norms.
A concrete situation
All have value 2.
What the mathematics does not license
Surrogate does not select rank here. That distinction matters because a correct formula can still answer the wrong operational question.
Try it, check it, transfer it
Record result. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
Did You Know? In this chapter, the most important number is useful only together with its construction rule. Changing scaling, sample membership or validation design can change the numerical answer without changing the arithmetic.
9. No contradiction
This is where modelling choices begin to affect evidence. Inspect recovery hypotheses.
A concrete situation
This affine map lacks needed guarantees.
What the mathematics does not license
Do not reject theorem. The habit of checking assumptions is one of the practical benefits of learning mathematics.
Try it, check it, transfer it
Record reason. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
10. Measurements
The central mathematical idea is concrete. Write linear operator M.
A concrete situation
Constraints are M(X)=b.
What the mathematics does not license
Keep map explicit. The same reasoning helps students move from an exercise to a real dataset.
Try it, check it, transfer it
Record operator. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
11. RIP check
Here the geometry becomes operational. Test the theorem’s eligible property.
A concrete situation
Do not assume it.
What the mathematics does not license
Use exact rank range. That distinction matters because a correct formula can still answer the wrong operational question.
Try it, check it, transfer it
Record evidence. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
12. Noise
This step deserves a careful pause. Add residual tolerance.
A concrete situation
Exact equality becomes stable recovery.
What the mathematics does not license
State norm. The habit of checking assumptions is one of the practical benefits of learning mathematics.
Try it, check it, transfer it
Record model. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
Did You Know? In this chapter, the most important number is useful only together with its construction rule. Changing scaling, sample membership or validation design can change the numerical answer without changing the arithmetic.
13. Dual certificate
The useful question is not only how to calculate, but what the calculation assumes. Construct or cite one if required.
A concrete situation
It supports optimality.
What the mathematics does not license
Do not invent certificate. The same reasoning helps students move from an exercise to a real dataset.
Try it, check it, transfer it
Record status. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
14. Application
A small example makes the mechanism visible. Separate solver success from target recovery.
A concrete situation
Both need checks.
What the mathematics does not license
Do not promise recommendations. That distinction matters because a correct formula can still answer the wrong operational question.
Try it, check it, transfer it
Record scope. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
15. Verification
This is where modelling choices begin to affect evidence. Compute rank, singular values, norm and residual.
A concrete situation
Use independent routes.
What the mathematics does not license
Keep precision. The habit of checking assumptions is one of the practical benefits of learning mathematics.
Try it, check it, transfer it
Record audit. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
16. Conclusion
The central mathematical idea is concrete. State map, target assumptions and objective.
A concrete situation
The worked family has constant nuclear norm 2.
What the mathematics does not license
Keep guarantee conditional. The same reasoning helps students move from an exercise to a real dataset.
Try it, check it, transfer it
Write conclusion. Then explain the result to someone who has not seen the formula. If the explanation needs a hidden assumption, add that assumption to the model record.
Did You Know? In this chapter, the most important number is useful only together with its construction rule. Changing scaling, sample membership or validation design can change the numerical answer without changing the arithmetic.
A seven-day practice lab
- Day 1: define the decision, observation unit, X variables and Y or reference condition.
- Day 2: reproduce the smallest worked example and check every dimension, unit and sign.
- Day 3: build a transparent baseline and write what it assumes.
- Day 4: fit the main method inside a training-only pipeline; record every parameter.
- Day 5: challenge one assumption with a deliberately difficult dataset or operating regime.
- Day 6: compare validation metrics with the practical workload created by errors.
- Day 7: present one supported conclusion, one unresolved uncertainty and one safe next experiment.
Questions for a student, parent or mentor
- Which part of the model is a mathematical definition, and which part is a choice?
- What small calculation would catch a sign, scale or dimension error?
- What evidence comes from training, validation and the untouched test?
- What benign condition could look like a fault or prediction failure?
- How would the answer change for another response, asset, school project or time period?
- What should a human review before acting on the score?
A method-specific audit before deployment
Nuclear norm minimization replaces a difficult rank objective with a convex objective equal to the sum of singular values. Under suitable measurement conditions, including restricted isometry-type assumptions in major recovery results, the convex program can recover a low-rank matrix exactly or stably.
Rank is discrete and nonconvex, while the nuclear norm is convex. This makes the surrogate computationally attractive. The change is mathematically meaningful: minimizing nuclear norm is not the same problem as minimizing rank unless additional conditions connect their solutions.
A small affine family exposes the difference. Let X(t)=[[1,t],[t,1]]. Its eigenvalues, and singular values for |t|≤1, are 1+t and 1-t. The nuclear norm is therefore 2 for every t in [-1,1]. Yet X(t) has rank two for |t|<1 and rank one at t=±1.
On this affine set, nuclear norm minimization has a continuum of minimizers and does not by itself select the rank-one endpoints. This is not a contradiction. It shows why recovery theorems need hypotheses about the measurement map and the target geometry.
Restricted isometry properties say, roughly, that the measurement operator approximately preserves the Frobenius norm of eligible low-rank matrices. Other results use null-space conditions, incoherence or dual certificates. The exact theorem determines which assumptions must be checked.
In matrix completion, observed entries must reveal enough information about the unobserved structure. A low-rank matrix concentrated in one unseen row or column may be impossible to recover. Low rank alone is not a permission slip for guessing missing values.
The nuclear norm is dual to the operator norm through a trace pairing. That duality supports certificates showing that a candidate solution is optimal. It also connects this topic to von Neumann’s trace inequality.
Applications include system identification, control, collaborative filtering and Euclidean embedding. Recovery guarantees are conditional on measurement design, noise and model fit. They do not promise correct recommendations or fair outcomes.
Students should distinguish three claims: the convex program is solvable, the returned matrix fits the measurements, and the returned matrix equals the intended low-rank target. Each step requires different evidence.
Did You Know? A convex surrogate can have several minimizers even when some have lower rank than others. The worked X(t) family makes this visible without advanced software.
A responsible audit records the linear measurement operator, observed values, noise tolerance, target rank, nuclear norm, residual and theorem conditions. If a condition cannot be verified, the result may remain a useful algorithmic estimate but should not be presented as guaranteed recovery.
In noisy recovery, a common program minimizes nuclear norm subject to a measurement residual no larger than a stated tolerance. The tolerance should come from instrument precision, sampling theory or a validated noise model. Choosing it after seeing the desired answer weakens the guarantee. Exact equality constraints and noisy inequality constraints belong to different theorem statements.
The singular value thresholding operator is a proximal step for nuclear norm: compute an SVD, shrink each singular value by a threshold and set negative results to zero. This algorithmic mechanism is easy to calculate, but a converged sequence still solves only the stated convex problem. Recovery of a ground-truth matrix remains conditional on identifiability.
A parent-friendly lesson is that a simpler explanation can be a useful substitute for a harder ideal only when the substitution has been tested. Nuclear norm is the mathematical substitute; RIP, null-space or incoherence conditions are the test. Without that bridge, convenience alone cannot turn a surrogate solution into the true minimum-rank answer.
Frequently asked questions
Why replace rank?
Rank minimization is nonconvex and generally hard; nuclear norm is convex.
Is the surrogate always exact?
No. Exact recovery needs conditions on the measurement map and target.
What does the worked family show?
Equal nuclear norms can occur at matrices with different ranks.
What can guarantee recovery?
Eligible results use RIP, null-space conditions, incoherence or dual certificates.
Does solver convergence prove target recovery?
No. Optimization and identification are separate.
What must be reported?
Measurement operator, constraints, noise, rank model, objective, residual and theorem conditions.
Primary source and fact-check note
Benjamin Recht, Maryam Fazel and Pablo A. Parrilo, “Guaranteed Minimum-Rank Solutions of Linear Matrix Equations via Nuclear Norm Minimization,” SIAM Review 52, 2010. Definitions and core claims in this article were checked against this primary publication. Calculations shown here were independently recomputed. Examples are educational illustrations; they are not reported industrial performance results.
Useful next reading
- Von Neumann trace inequality source
- Ky Fan norms
- Eckart–Young–Mirsky theorem
- How Mathematics Works
- Study and learning methods
Keep the options open. Mathematics education supports clearer questions, transferable problem-solving skills and informed choices across science, engineering, computing, AI, statistics, design and many other careers. It does not guarantee intelligence, income, admission or employment; those outcomes depend on far more than one subject or model.
Spectral audit: assumptions, norms and optimization logic
Map audit
Write the measurement operator explicitly.
Surrogate audit
Do not equate nuclear norm with rank.
Hypothesis audit
Check the recovery theorem conditions.
Residual audit
Separate optimization fit from target recovery.
Did You Know? A sophisticated adjustment can be algebraically correct and still answer the wrong scientific question when samples, labels, batches or validation boundaries are wrong.
Mechanism workshop: calculate, challenge and transfer
Manual reconstruction
Build the smallest matrix example for convex low-rank recovery. Label spectra, shapes, norms and assumptions.
Assumption map
Place adjoints, p, rank, measurement and randomness conditions beside the step they permit.
Counterexample
Remove one hypothesis and identify the first invalid conclusion.
Sensitivity
Change one singular value, alignment, measurement or random probe at a time.
Did You Know? A sophisticated adjustment can be algebraically correct and still answer the wrong scientific question when samples, labels, batches or validation boundaries are wrong.
Independent verification
Recompute traces, spectra, ranks and residuals through a second route.
Simulation
Repeat a random sketch or noisy recovery while keeping observation and theorem separate.
Engineering transfer
Map the mechanism to compression, control, signal processing or large data.
AI transfer
Explain a learning use without promising accuracy, intelligence or employment.
Did You Know? A sophisticated adjustment can be algebraically correct and still answer the wrong scientific question when samples, labels, batches or validation boundaries are wrong.
Parent explanation
Describe the reasoning habit in plain language without guaranteed results.
Limit statement
Write one supported claim, one overclaim and one repaired conclusion.
Evidence notebook: reconstruct every matrix step
Evidence notebook 1: Affine family
Step 1 isolates affine family. Set X(t)=[[1,t],[t,1]]. The checked result is: t is real. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: Record constraints. Write family. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Evidence notebook 2: Eigenvalues
Step 2 isolates eigenvalues. Compute 1+t and 1-t. The checked result is: They are nonnegative for |t|<=1. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: State interval. Record spectrum. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Evidence notebook 3: Singular values
Step 3 isolates singular values. Use absolute eigenvalues. The checked result is: For |t|<=1 they equal 1+t,1-t. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: Keep order flexible. Record list. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Evidence notebook 4: Nuclear norm
Step 4 isolates nuclear norm. Add them. The checked result is: The value is 2. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: It is constant on interval. Record 2. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Did You Know? A sophisticated adjustment can be algebraically correct and still answer the wrong scientific question when samples, labels, batches or validation boundaries are wrong.
Evidence notebook 5: Interior rank
Step 5 isolates interior rank. Choose t=0. The checked result is: X is identity and rank two. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: Check determinant. Record rank. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Evidence notebook 6: Endpoint rank
Step 6 isolates endpoint rank. Choose t=1. The checked result is: X=[[1,1],[1,1]] and rank one. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: Rows coincide. Record rank. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Evidence notebook 7: Other endpoint
Step 7 isolates other endpoint. Choose t=-1. The checked result is: X=[[1,-1],[-1,1]] and rank one. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: Rows are opposites. Record rank. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Evidence notebook 8: Minimisers
Step 8 isolates minimisers. Compare nuclear norms. The checked result is: All have value 2. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: Surrogate does not select rank here. Record result. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Did You Know? A sophisticated adjustment can be algebraically correct and still answer the wrong scientific question when samples, labels, batches or validation boundaries are wrong.
Evidence notebook 9: No contradiction
Step 9 isolates no contradiction. Inspect recovery hypotheses. The checked result is: This affine map lacks needed guarantees. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: Do not reject theorem. Record reason. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Evidence notebook 10: Measurements
Step 10 isolates measurements. Write linear operator M. The checked result is: Constraints are M(X)=b. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: Keep map explicit. Record operator. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Evidence notebook 11: RIP check
Step 11 isolates rip check. Test the theorem’s eligible property. The checked result is: Do not assume it. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: Use exact rank range. Record evidence. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Evidence notebook 12: Noise
Step 12 isolates noise. Add residual tolerance. The checked result is: Exact equality becomes stable recovery. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: State norm. Record model. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Did You Know? A sophisticated adjustment can be algebraically correct and still answer the wrong scientific question when samples, labels, batches or validation boundaries are wrong.
Evidence notebook 13: Dual certificate
Step 13 isolates dual certificate. Construct or cite one if required. The checked result is: It supports optimality. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: Do not invent certificate. Record status. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Evidence notebook 14: Application
Step 14 isolates application. Separate solver success from target recovery. The checked result is: Both need checks. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: Do not promise recommendations. Record scope. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Evidence notebook 15: Verification
Step 15 isolates verification. Compute rank, singular values, norm and residual. The checked result is: Use independent routes. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: Keep precision. Record audit. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Evidence notebook 16: Conclusion
Step 16 isolates conclusion. State map, target assumptions and objective. The checked result is: The worked family has constant nuclear norm 2. Preserve dimensions, singular values, p, rank, measurement map or random scheme beside every number. The safeguard is: Keep guarantee conditional. Write conclusion. Change one input while holding the others fixed, recalculate traces, norms, ranks or residuals, and explain whether the change comes from magnitude, alignment, convex relaxation, sketch dimension or rounding. Ask a second reader to reproduce the calculation. Finish with the narrow conclusion and the evidence still missing.
Failure cases and responsible recovery
Rank equality
Nuclear norm is a surrogate, not rank. Build a small counterexample, choose an eligible theorem and state the missing evidence before calculating again.
Hypothesis omission
Recovery guarantees need measurement conditions. Build a small counterexample, choose an eligible theorem and state the missing evidence before calculating again.
Solver shortcut
Convergence does not prove target identification. Build a small counterexample, choose an eligible theorem and state the missing evidence before calculating again.
Low-rank-only claim
Low rank alone may not enable completion. Build a small counterexample, choose an eligible theorem and state the missing evidence before calculating again.
Did You Know? A sophisticated adjustment can be algebraically correct and still answer the wrong scientific question when samples, labels, batches or validation boundaries are wrong.
Noise omission
Exact and noisy programs differ. Build a small counterexample, choose an eligible theorem and state the missing evidence before calculating again.
Certificate invention
Dual optimality evidence must be real. Build a small counterexample, choose an eligible theorem and state the missing evidence before calculating again.
Fairness promise
Recovery mathematics does not ensure fair outcomes. Build a small counterexample, choose an eligible theorem and state the missing evidence before calculating again.
Application certainty
A guarantee is conditional on model fit. Build a small counterexample, choose an eligible theorem and state the missing evidence before calculating again.
Did You Know? A sophisticated adjustment can be algebraically correct and still answer the wrong scientific question when samples, labels, batches or validation boundaries are wrong.