Steering stimulus levels

Where you run the task decides what you can find out.

Accuracy is not a nuisance to be maximised. It determines which parameters are identifiable at all, and the answer is different for the two things a GRT study usually reports.

Per-dimension accuracyOverall (4AFC) IndependenceSeparability
60–65%~39%83%58%
70–75%~52%80%74%
75–80%~60%78%79%
80–85%~68%75%82%
95–100%~94%68%74%

Classification accuracy for each construct, measured on 72,000 simulated observers. Separability is the mean over the two factors. Independence is best identified around 60–65% per dimension, and separability around 80–90%, where it is 82% in both bins. At the accuracy that best serves independence, separability is recovered barely above chance.

So there is no single right difficulty. If you need both, the crossing point, at about 75–80% per dimension or 60% overall, is the compromise, and this matches the familiar advice to run near 60% correct. Note which scale that number is on: 60% overall is about 77% per dimension, and running at 60% per dimension would be a poor design for separability.

  1. Decide what you are measuring

    Pick the target before collecting anything: independence → aim low, separability → aim high, both → aim at the crossing point. The tolerance is tighter for small experiments: with 200+ trials per stimulus the correlation error is nearly flat below 75% accuracy, but under 20 trials it climbs across the whole range.

  2. Run a start-up block and measure where you landed

    Accuracy read off the matrix, not from the fitted parameters, because that is what you can see during a pilot.

    import numpy as np
    
    # Mean of the two marginal accuracies.
    # Canonical order is A1B1, A1B2, A2B1, A2B2 -- B varies fastest, so dimension A
    # is correct when stimulus and response share a half, and B when they share parity.
    def per_dimension_accuracy(counts):
        c = np.asarray(counts, float)
        n = c.sum()
        a = sum(c[s, r] for s in range(4) for r in range(4) if s // 2 == r // 2)
        b = sum(c[s, r] for s in range(4) for r in range(4) if s % 2 == r % 2)
        return 0.5 * (a / n + b / n)
    
    acc = per_dimension_accuracy(startup_counts)   # your start-up block's 4x4 counts
    print(f"landed at {acc:.0%} per dimension")
    
  3. Adjust the separation and repeat

    A plain proportional step is enough. The point is not a clever algorithm. It is that you now know which way to move and when to stop.

    TARGET, TOL, GAIN = 0.77, 0.03, 0.6      # aim at the crossing point
    separation = initial_separation                 # your experiment
    
    for block in range(6):
        # your experiment: 50 trials per stimulus, 200 in all
        counts = run_block(separation, trials_per_stimulus=50)
        acc = per_dimension_accuracy(counts)
    
        if abs(acc - TARGET) <= TOL:
            break
        # too accurate -> move the levels closer together, and vice versa
        separation *= 1 - GAIN * (acc - TARGET) / TARGET
    
  4. Use blocks long enough to be worth acting on

    Accuracy measured from a short block is noisy, and steering on noise is worse than not steering. At 5–20 trials per stimulus the standard deviation of an accuracy estimate is about 0.047, about as wide as the band you are aiming at. At 50–200 trials per stimulus it falls to 0.015, half the example's tolerance of 0.03.

    Blocks of at least 50 trials per stimulus, 200 in all, are a reasonable floor. Below that, expect to chase sampling error rather than the participant.

What this does and does not do

It places the observer where the question is answerable, and it assumes nothing about learning: the representation is taken as fixed, and only the sampling location is being chosen. That is a weaker and safer assumption than an adaptive training curriculum, which would additionally require the representation to move predictably in response to practice.

What it cannot do is manufacture information. If a correlation is weak and the trial budget is small, no placement recovers it. The model will correctly report a wide interval, and that is the answer.

Back to all tutorials, or see the live task, where the accuracy readout shows your per-dimension accuracy as you go.