Learning

Learning from simulations and measurements

Measurements reveal only part of a cell’s state. Aleph is developing models that connect observations, estimate uncertainty and help choose the next measurement.

The whole learning system

See every branch before following one

Experimental prediction, possible cell states and numerical assistance do different jobs. Their connections run through recorded observations, shared code and a comparison layer that is still being connected.

  • Implemented data or tool path
  • Inner B device prototype
  • Shared code, separate weights
  • Connection in development

Select any box to open its explanation below. The 15 external families are parallel tasks, grouped here by subject.

External task models, the physical engine, Inner A and Inner BFifteen external families branch from one observation interface. The engine supplies saved geometry observations. A polynomial emulator predicts readings and a separate posterior network proposes inputs. Inner B weights a coarse correction in the mechanical solver. Shared tools are separate from trained weights; dashed routes mark unfinished cell-inference connections.EXTERNAL MODELSTHE PHYSICAL ENGINEINNER A · TWO COMPLEMENTARY TOOLS15 execution families · common interface, separate tasksINNER B · ASSIST THE CALCULATIONshared codesolved motion → recordsread saved geometry3D area ≠ projected image areaExperimental recordsForce curves · images · molecular profiles · protocolsCommon observation interfaceTask adapters retain units, coordinate order, missing values and source identityTask-specific predictions and updatesMissing observations · uncertainty · held-out comparisonsSeparate trained weights; neural and simpler models are both usedShared distribution toolsOrdered fusion + joint Gaussian / Cholesky calculationsCode reused by selected external models and PosteriorNet; weights stay separateModel inputs + assay conditionsPhysical parameters, geometry and protocolGPU mechanics engineSolve forces and motion on the same cellSaved simulation recordInputs · geometry · forces · physical timeGeometry observation intakeSaved area / volume → typed observationsMatch the measured quantitySame observable, units, protocol and conditionsGeometry intake exists; correspondence is unfinishedPaired inputs and simulated readingsTraining / sweep records with declared labelsPolynomial modelForward directionInputs → readingsEmulator; not a NNPosteriorNetInverse directionReadings → inputsNeural networkPredicted readingsMean + uncertaintyAcross instrument tasksCandidate inputsJoint distributionMath tests so farCheck predictions; choose a new runSweep tools: held-out predictions + information gainCalibrated cell-inference workflowMatched cell data + checked candidate parametersConnecting these pieces remains development workOperator featuresFour scale-freefeatures per blockLearned weightingFour coefficientsPositive block weightsCoarse correction in the same solveDevice prototype; no established speed-upMechanical assaysafm_marginalsAFM marginaldistributionscondition_effectsAspirationcondition effectsforce_curveForce-curvepredictionforce_curve_updateForce-curveupdatesneurite_summaryNeurite forcesummariesCohorts & repeatsgrouped_mechanicsGroupedmechanicsmitotic_cohort_transferMitotic cohorttransferrepeated_directRepeated rheologypredictionrepeated_residualRepeated rheologyresidualssigned_mechanicsSigned mechanicsobservationsShape & cell statecytometry_jointCytometry jointobservationsimage_geometryImagegeometryrepeat_expressionRepeatedexpressionrna_categoricalRNA cell-stateclassificationtreatment_response_pointTreatment-responsepoint predictionsSolid paths show available components, not a calibrated joint system.Moving dashes explain direction; no model runs in this diagram.The 29 September catalogue is pinned in the source notes below.Inner A asks what could explain a measurement.Inner B helps calculate a mechanical step.They do not share a learned physical model.

Follow a path in detail

Three jobs, with different inputs and answers

External models learn from measurements. Inner A links model inputs to observations. Inner B helps the mechanical solver. The labels A and B describe two roles; they are not two interchangeable neural networks.

Select a path, then a step to inspect it.

External models

What can one measurement tell us about another?

A force curve, an image measurement or a molecular profile reveals only part of a cell. External models learn relationships within experimental datasets, then predict the observations that have not been supplied.

For exampleIn the force-curve example below, the model receives the other measured channel and the first quarter of the target channel. Giving it five more measured points updates its predictions for the remaining points.

Add a measurement → update the remaining predictions

01 / Observed inputs

Start with what was actually measured.

Keep the measured values, units, protocol and specimen or population identity together. A missing value stays missing.

02 / Read the data

Give each measurement a consistent meaning.

An adapter reads the source format and preserves its coordinate order, units and provenance. Each task specifies which observations are inputs and which are prediction targets.

03 / Use a task model

Learn patterns shared by the training examples.

The selected model turns the supplied observations into features, then predicts a distribution. Neural models are compared with simpler models such as ridge regression; a larger network is not assumed to be better.

04 / Predict what is missing

Return possible observations with uncertainty.

The output can include a mean, intervals and jointly sampled values. Extra measurements can update the remaining coordinates. The force-curve demo replays these saved updates.

05 / Compare with measurements

Keep a prediction separate from the measurement used to check it.

Held-out observations reveal prediction error and whether uncertainty intervals cover the measurements. Group and study splits ask whether the result carries beyond related samples.

Available now

Observation prediction and updates have been run on experimental data. Models are trained for separate tasks; they reuse tools and interfaces, with their own weights.

Still to establish

Transfer to a new study and reliable uncertainty remain open. These outputs describe observations; they do not yet identify the cell’s physical parameters.

Explore the saved predictions

Inner A

Which model inputs could explain the measurements?

Inner A works across simulation records. A polynomial emulator predicts instrument readings from model inputs. A separate posterior neural network works in the inverse direction: it asks which input combinations could produce an observed response. Follow that inverse path below.

For exampleFor a plate-compression experiment, the intended question is which combinations of cortex and motor inputs could explain the recorded response, and which combinations the measurement cannot distinguish.

Remaining uncertainty → choose the next informative run

01 / Inputs and run records

Keep each simulation paired with the inputs that produced it.

The useful training pair is a declared set of inputs and conditions together with its simulated instrument response. Repeated seeds and numerical diagnostics belong to that record.

02 / Read the observations

Keep the observations tied to the same specimen.

Each assay supplies a time series in declared units. Conditions, missing-value masks and available measurement-error information travel with the values. Observations from different specimen IDs cannot be fused as one cell.

03 / Encode and combine

Give each assay its own sequence encoder.

A GRU reads each assay’s sequence, then a fusion layer combines the encoded observations. In training, the paired simulation parameters supply the target. At inference, the observations alone condition the candidate distribution.

04 / Return candidate inputs

Keep multiple explanations in the answer.

A mixture distribution returns joint samples over the declared parameter axes. Its full covariance can represent dependencies between inputs. The declared parameter range is a support limit, not proof of identifiability.

05 / Check and choose a run

Ask whether another observation would distinguish the candidates.

The sweep tools can predict an instrument that was left out and propose an informative next run. Connecting this to a calibrated cell-inference workflow remains development work.

Available now

The sweep library implements polynomial prediction, uncertainty and run selection. A separate posterior neural network has training and inference code, exercised on mathematical examples.

Still to establish

A calibrated estimate of real cell parameters is not available. The complete loop still needs suitable simulation records, matched experimental observables and checks on new data.

See the physical inputs and their sources

Inner B

Can the same mechanical problem be solved more efficiently?

Inner B works inside the numerical solver. It learns how to build a coarse correction that helps a large mechanical solve make progress. Its output is a computational aid, not a predicted cell state.

For exampleWhen many nodes must move together, a coarse correction can address that collective motion. The learned part changes the weight of that correction; the mechanics solver still computes the resulting motion.

Solver behaviour → evaluate and improve the assistance

01 / Mechanical problem

Start from the engine’s current numerical system.

The solver has a mechanical operator describing the current state and how forces respond to motion. Inner B reads features of that system rather than experimental labels.

02 / Describe each block

Measure the numerical structure used by the correction.

The implementation reads whether a block belongs to its own aggregate and a ratio of matrix norms. These form four scale-free features for each coarse block.

03 / Apply learned weights

Adjust one part of the coarse setup.

Four learned coefficients turn those features into a positive block weight. The inspected implementation is a small weighting rule; it is not the multilayer network described in the earlier proposal.

04 / Continue the solve

Use the correction within the mechanical calculation.

The weight modifies the coarse transfer operator. The remaining hierarchy and iterative solve still operate on the same mechanical problem. Learning does not supply a replacement trajectory.

05 / Measure any benefit

Compare work and results on an unchanged problem.

A useful aid must improve the complete solve, including elapsed time and the final result. A smaller residual at an intermediate iteration alone does not establish that benefit.

Available now

A learned coarse preconditioner was implemented and exercised on the device. The inspected version uses four learned coefficients to weight coarse blocks.

Still to establish

The recorded comparison supports no speed-up claim. Full-size benefit must be checked on the same physical problem, including total time and the final numerical result.

See the engine’s recorded behaviour

The animation explains the route through these components. It does not run a model or show a completed joint-learning loop.

Inside the engine

How the internal networks help the solver

Each physical step is a Newton solve that iterates until every node force meets its tolerance, tol_F. A solver-assist network does not replace that solve.More

It proposes where the solve starts, which contact pairs to prepare, how to precondition the linear solve, or how fast modes are distributed. The tol_F check that follows is unchanged, so a poor prediction costs iterations, not accuracy.

Current result: no trained network has yet been shown to improve the solve. The modules below exist in code; none has a device-measured benefit.

4solver-assist modules in code
3written: a run can use it
1unread: no run can use it
0verified from a native record
  • Data read at step start
  • Where a module plugs into the step
  • Shared trunk, separate task heads
  • Not connected yet
Networks that assist the mechanical solveInputs read at the start of a step feed a shared backbone with four task modules: initial guess, contact pairs, preconditioner and fast-mode distribution. Each module plugs into one stage of a physical step. The tol_F check after the Newton iterations is unchanged and decides every step. No module has a measured speed-up; the fluid grid is not read by any network yet.WHAT A NETWORK READSMODULES · ONE FUTURE MODELONE PHYSICAL STEPAt the step start; no output of the step itselfThe solve decides; a module only changes where it startsNode state at step startPositions, motion history and thesolver’s own first stepDeclared relation graphNode, relation, rigid-body andconstraint rows, read as dataExact contact candidatesBarrier and swept-collision listscomputed from positionsRecorded trajectoriesPositions over time, for theslow / fast splitFluid grid stateConforming-mesh velocitiesNo network reads it yetShared backbone (NN-UNIFY)Task heads on one trunk, to merge into one model · offline, not trainedStep startKick, tables and positions x0Initial iteratex0, or the network’s guess limited by collision checksContact rowsExact candidates ∪ predicted pairs: never fewerNewton iterationsLinear solve inside each; learned term optionaltol_F check — unchangedEvery node force within its toleranceStep solved at tol_F → recordNever solved on a prediction aloneBetween steps: fast modesDrawn from a distribution, then the next stepWarm start for the Newton solve · WRITTENProposes each node’s first Newton displacementCode: Graph, bond-edge, residual and typed-graph headsTrained: Offline weights exist (14–15 Oct)Measured benefit: none yetImplemented; in testing, dropped if it shows no advantageContact-pair prediction · WRITTENPredicts pairs to prepare, added to the exact setCode: Offline pair classifier; learned list-capacity factorTrained: Device data capture prepared (16 Oct)Measured benefit: none yetCapacity factor only; the classifier is offlineLearned preconditioner · WRITTENA learned term inside each Newton linear solveCode: Learned coarse weights (four coefficients); learned LLᵀ termTrained: Fitted on captured solver operatorsMeasured benefit: none yetImplemented; in testing, dropped if it shows no advantageFast-mode distribution (directive 14) · UNREADWould sample fast degrees of freedom between stepsCode: Fixture head; slow/fast analysis toolsTrained: Fixture numbers only, with no physical meaningMeasured benefit: none yetThe option exists but refuses to sampleA step taken from a prediction alone would be labelledsurrogate and checked at full resolution at a fixed fractionof steps. No such step exists in the engine.Status words: unread = no run can use it; written = a run can use it,no device-verified benefit; verified = its own observable read from anative record. No module here is verified.
Status of each module, from the code and the device records
ModuleIn codeTrainedDevice-measured effectWiring state
Warm start for the Newton solve
Proposes each node’s first Newton displacement.
Graph, bond-edge, residual and typed-graph headsOffline weights exist (14–15 Oct)Small development worlds (8 Oct): fewer iterations in some cases, but a different end state, so not adopted. Same-start comparison in the current engine: not yet read.Written
Implemented; in testing, dropped if it shows no advantage
Contact-pair prediction
Predicts which pairs will need contact rows; added to the exact set, never used as a filter.
Offline pair classifier; learned list-capacity factorDevice data capture prepared (16 Oct)None measured.Written
Capacity factor only; the classifier is offline
Learned preconditioner
Adds a learned term inside the linear solve of each Newton iteration.
Learned coarse weights (four coefficients); learned LLᵀ termFitted on captured solver operatorsCoarse weights: no speed claim (26 Sep). Learned inverse term (10 Oct): the first full-step arm failed to compile; in the rerun the network arm took longer per step and neither arm met tol_F, so no benefit can be claimed.Written
Implemented; in testing, dropped if it shows no advantage
Fast-mode distribution (directive 14)
Would draw fast degrees of freedom from a learned distribution between refreshes.
Fixture head; slow/fast analysis toolsFixture numbers only, with no physical meaningNone. The physical sampler refuses until a reviewed decoder exists. The analytic fast-mode distribution is used instead.Unread
The option exists but refuses to sample
Left: a recorded device run of a cell-free fluid unit world with example values.No network ran in this recordMore

It shows the conforming fluid mesh sliced through its centre, the surface nodes, a rigid bead and the recorded fluid velocity. No network ran in this record.

Right: the mechanism as a design diagram, with no measured speed-up yet.Ceiling for any guess, not a network’s outputMore

The bars are a device measurement from 14 October 2026 in a cortex world at 310 K. From the previous step’s positions, the median solve first met its tolerance after 79 Newton iterations. When the start was built from the solved answer and moved by 0.1, 0.01 or 0.001 of a node spacing, the median fell to 23, 9 or 3 iterations. These starts are a ceiling for any guess, not a network’s output. The best trained start has not reached that accuracy.

Sources behind this section · reviewed 16 October 2026
Modules
lead/candidate-1013 · 2afc475d8: aleph/learn/arms/ (warm_gnn, warm_edge, warm_residual, typed_graph, contact_pairs, learned_coarse, operator_precond, held_mode, fluctuation), aleph/learn/unify.py and the run options in aleph/application/core.py.
Device results
Decision log rows of 8 October (warm graph network on small worlds), 10 October (full-step comparison, RESULT-2026-10-10) and 14 October (upper-bound starts, five steps of P04 at 310 K). Offline evaluations of 15 October: the learned start’s residual was not lower than the previous-step start’s in any evaluated frame.
Recorded scene
Fluid unit world, rigid bead at the centre, build 06e60a15d; showcase recording, not a native result.

How they connect

Meet at a measurement with the same meaning

The engine produces a model record. An experiment produces an observation. Before comparing them, both sides must agree on what was measured, how it was measured and under which conditions.

Engine recordInputs, geometry, forces and timeInner B assists the solve that produces this record.
Match the observableSame quantity · protocol · conditionsConnection in development
Experimental recordMeasurements and their uncertaintyExternal models predict or update missing observations.

The first hand-off works. Saved surface areas and volumes can be packaged as simulation observations, with their units and sources retained.

The measurement match is unfinished. A three-dimensional membrane area does not directly equal an image’s projected area. The inspected geometry adapters keep those quantities distinct.

Inner A is the intended comparison path. Once observations correspond, candidate input combinations can be checked against measurements and sent back for another simulation.

Source snapshots behind this guide · reviewed 1 October 2026

The guide describes implemented components and their documented limits. A moving line illustrates information flow, including development links; it is not evidence of training or inference running here.

External models and observation intake
outer-development · 28c0045a5c22; aleph/outer/observations.py, observation_execution/v7.py, observation_execution/engine_record.py and architecture_roles_20260929/CATALOG.json (15 adapter families), alongside the 29 September connection report. The explorer below retains its own pinned model snapshots.
Inner A
engine/main · e28b37bf96de; aleph/inner/sweep/design.py, sweep/invert.py, observation_posterior/network.py, pipeline.py and its README. The posterior results described here are mathematical tests, not cell-parameter estimates.
Inner B
c2/0925-learned-precond-unify · 9415155f7642; aleph/physics/energy/learned_coarse.py, the 25 September design amendments and INNER-RESPONSE-2026-09-29-connection-plan.md. The code uses four coefficients; the earlier multilayer-network proposal is not presented as the implementation.

The external network
Measurements and simulation are different kinds of evidence.Built from the outer showcase at d62432a09; its evidence reports are shown as written, in Korean.
SOURCE / RECEIPT

Development comparisons · 29 September 2026

What the latest comparisons show

Does the reporter predict cell shape?

Does the reporter predict cell shape?

In these data, adding the fluorescence reporter barely improved predictions of area or deformation.

Read the comparison

39,053 measured cells; each of nine calendar dates held out in turn. All tested configurations scored similarly. Shuffling the reporter within a file barely changed the result. The model’s 95% regions covered about 94%.

Did neural networks improve the mechanical predictions?

Did neural networks improve the mechanical predictions?

On this development comparison, ridge regression had lower error than all three neural networks.

Read the comparison

Repeated force, phase and indentation responses: 26 groups and 3 held-out components. Ridge was the only model that used the pairing of its inputs: shuffling them cost about 11 units of log-likelihood; the networks changed little.

Can different observations use one interface?

Can different observations use one interface?

Six observation types retain their own units and uncertainty. They do not yet infer a shared physical cell state.

Read the comparison

Image geometry, spreading rates, grouped spreading, AFM, population expression and aspiration use one interface. Ten pinned bundles reproduce their outputs. This checks the adapters, not the engine’s physics.

These are exposed development data, not an independent test. Figure source: external development index outer-development, 28c0045a5. The interactive viewer preserves its own pinned snapshots and sources.