All research

Research note

Scoring a model's reasoning steps against a causal model gave a small gain where answer-only rewards gave none

Answer-only rewards left a small model at 0.65 on causal problems. Adding step scores checked against a causal model gave 0.71, a gain inside the noise.

We trained a small language model to answer cause-and-effect questions. When we rewarded it only for the final number, accuracy did not move: 0.643 before training, 0.646 after. When we also scored each step of its reasoning against a structured causal model of the problem, accuracy rose to 0.709. That is the best result we saw, and it is also small enough that it could be chance on 100 test problems.

The practical point is narrower than a headline. If you already have a structured model of a problem, such as a set of rules, a causal graph or a statistical model, it can do more than check a language model's final answer. It can check the steps, and that gives the language model something richer to learn from. Our test points that way. It does not prove it.

The short version

  • Rewarding only the final answer left accuracy flat: 0.643 for the untrained model, 0.646 after training.
  • Rewarding the answer plus the reasoning steps, scored against a causal model, gave 0.709, the highest of six conditions.
  • A richer version of the step reward, with extra scores for confidence and reasoning labels, did no better than the untrained model (0.635).
  • Each run was done once, on 100 test problems. The best gain is about 6.6 points, and the 95% range around it runs from slightly negative to about 15 points.
  • Worth testing if you own a structured model of your domain. Not yet a settled result.

Rewards, outcomes and process

Reinforcement learning from rewards works like this. The model attempts a problem, a scoring rule gives the attempt a number, and training nudges the model toward the kinds of answers that scored well. Repeat thousands of times.

The question is what to score. An outcome reward looks only at the final answer: right or wrong. A process reward also looks at the working: did the model identify the right variables, spot the trap, pick a sound method, and do the arithmetic correctly?

On multi-step problems, an outcome reward is a weak teacher. A causal question might need five steps. If the model gets step two wrong, the outcome reward says "wrong" and cannot say which step failed. A lucky guess with bad reasoning gets full marks. When most attempts fail in the same way, the model gets the same zero over and over and has little to learn from.

What a causal graph adds

A causal graph is a diagram of what causes what. Arrows run from causes to effects: a drug changes a biomarker, the biomarker changes recovery, and the drug may also affect recovery directly. From a graph like that, plus the equations behind it, you can compute the true effect of one variable on another and write down the steps a careful analyst would take to get there.

That is what we built. A small program generates problems from five standard causal patterns: a direct-plus-mediated effect, a hidden common cause, a "front door" path through a measured middle step, an instrumental variable such as a lottery, and a collider, where two causes share an effect and the right answer is no causal effect at all. For each problem, the program simulates 1,000 data points, computes the true effect, and writes out a reference chain of reasoning steps, each tagged with what kind of step it is and which earlier steps it depends on. This reference chain is a reasoning graph. It comes from the equations, not from another language model.

How we tested it

We generated 5,000 training problems and 500 held-out test problems. The model was Gemma 2 2B, a small open model, asked to answer in a fixed format that lists its reasoning steps, their dependencies and its confidence. We trained six versions with a small add-on layer (LoRA), each for 500 steps, with 8 problems and 8 attempts per problem at each step, about two hours per run on one GPU. Each version got a different reward:

  • Untrained: the starting model.
  • Outcome only: full credit if the answer is within 10% of the true effect, nothing beyond 50% off, partial credit in between.
  • Outcome plus flat process reward: 50% outcome, 30% step match, 20% step order.
  • Full composite: outcome, step match, step order, a confidence score and a step-label score, with weights that shift during training.
  • Composite without the confidence score.
  • Composite without the step-order score.

The process scores worked as follows. Each reference step was paired with the model's closest step. A pair scored on three things: how similar the wording was (measured by a small text-similarity model, 40%), whether the step type matched (30%), and whether any number in it was correct (30%). The step-order score checked whether the model's steps depended on each other the way the reference steps do.

We then tested all six versions on the same 100 problems, drawn at random from the held-out set. The accuracy figure is the average outcome score across those 100.

Results

Reward used in training Accuracy (avg. outcome score) Fully correct, of 100
Untrained 0.643 61
Outcome only 0.646 62
Outcome plus flat process reward 0.709 68
Composite without confidence score 0.701 66
Composite without step-order score 0.662 61
Full composite 0.635 62

Outcome-only training did essentially nothing. The flat process reward did best, and most of its gain came from the collider problems, the trap where the right answer is zero. There it went from 1 of 19 fully correct to 6 of 19.

The richer reward did not help. The full composite, the version we expected to win, ended slightly below the untrained model. More scored items did not mean a better signal.

On noise: with 100 problems and accuracy near 65%, any single accuracy figure is uncertain by roughly plus or minus 9 to 10 points. Comparing two models on the same problems is a bit tighter. The flat process reward beat the untrained model by 6.6 points, with a 95% range from about minus 1 to plus 15. Against outcome-only training, it was better on 9 problems and worse on 3, a gap of about two standard errors. Suggestive, not conclusive.

What this does not show

  • One run each. Every condition was trained once, with one random seed. A rerun could reorder the middle of the table.
  • Small test set. 100 problems, one sampled answer per problem. The best gain sits inside the margin of error.
  • Synthetic problems. All problems come from five textbook causal patterns with simple linear equations. Real records are messier.
  • One small model. Gemma 2 2B only. Larger models may behave differently.
  • Training scores did not climb. The average outcome score during training drifted down for every condition, so the test gains are not matched by a clear learning curve.
  • The richest reward failed. The step-label and confidence scores did not add value here. Only the simpler step reward helped.
  • Partly neural scoring. The step match uses a small text-similarity model alongside the graph checks, so the process reward is not purely rule-based.
  • No usable rerun. A later cloud rerun on a different model produced all-zero scores for every condition, which points to a broken run, not a result. We do not use it here.

The "structured models complement language models" reading is our interpretation. What the data shows is narrower: the one reward that used step-level checks against a causal model gave the best accuracy in a small, single-run test.

Why we pair language models with statistical models

Language models are good at reading: they can turn a messy email thread into a step in a process. They are weaker at knowing whether a conclusion follows from the evidence. Statistical and causal models are the opposite. They cannot read an email, but they can say what a set of records supports.

Lighty AI is built on that split. Language models read operational records and turn them into structured events. Statistical and causal models then work out which patterns hold up. This experiment is a small example of the two working together: the causal model knew the right steps, and the language model did a little better when it was scored against them. It is one run, so we treat it as a direction worth testing, not a result.

Questions

Does rewarding reasoning steps improve language model accuracy on causal problems?

In our small test, scoring steps against a causal model raised accuracy from 0.643 to 0.709 on 100 problems, while answer-only rewards gave 0.646. The gain is within the margin of error for one run.

Why do outcome-only rewards give a weak signal on multi-step problems?

An outcome reward says only whether the final answer is right, not which step failed. In our test, training on outcome-only rewards moved accuracy from 0.643 to 0.646, essentially no change.

What is a process reward model?

A process reward scores the intermediate steps of a model's reasoning as well as its final answer. In our version, each step was compared with a reference chain derived from a causal graph, and that reward gave the best accuracy of six conditions, 0.709.

How accurate is an accuracy figure measured on 100 problems?

At around 65% accuracy, a figure measured on 100 problems is uncertain by roughly plus or minus 9 to 10 percentage points. Comparing two models on the same problems is somewhat tighter, but a 6.6-point gain can still be chance.

Six versions of Gemma 2 2B were trained once each for 500 steps with different rewards on 5,000 generated causal problems, then scored on the same 100 held-out problems, with credit for answers within 10% of the true effect and partial credit up to 50% off.

More from the blog