Skip to main content
PLOS Computational Biology logoLink to PLOS Computational Biology
. 2020 Jun 24;16(6):e1007862. doi: 10.1371/journal.pcbi.1007862

Representation of foreseeable choice outcomes in orbitofrontal cortex triplet-wise interactions

Emili Balaguer-Ballester 1,2,*, Ramon Nogueira 3, Juan M Abofalia 4, Ruben Moreno-Bote 5,6,7,#, Maria V Sanchez-Vives 4,8,#
Editor: Boris S Gutkin9
PMCID: PMC7313741  PMID: 32579563

Abstract

Shared neuronal variability has been shown to modulate cognitive processing. However, the relationship between shared variability and behavioral performance is heterogeneous and complex in frontal areas such as the orbitofrontal cortex (OFC). Mounting evidence shows that single-units in OFC encode a detailed cognitive map of task-space events, but the existence of a robust neuronal ensemble coding for the predictability of choice outcome is less established. Here, we hypothesize that the coding of foreseeable outcomes is potentially unclear from the analysis of units activity and their pairwise correlations. However, this code might be established more conclusively when higher-order neuronal interactions are mapped to the choice outcome. As a case study, we investigated the trial-to-trial shared variability of neuronal ensemble activity during a two-choice interval-discrimination task in rodent OFC, specifically designed such that a lose-switch strategy is optimal by repeating the rewarded stimulus in the upcoming trial. Results show that correlations among triplets are higher during correct choices with respect to incorrect ones, and that this is sustained during the entire trial. This effect is not observed for pairwise nor for higher than third-order correlations. This scenario is compatible with constellations of up to three interacting units assembled during trials in which the task is performed correctly. More interestingly, a state-space spanned by such constellations shows that only correct outcome states that can be successfully predicted are robust over 100 trials of the task, and thus they can be accurately decoded. However, both incorrect and unpredictable outcome representations were unstable and thus non-decodeable, due to spurious negative correlations. Our results suggest that predictability of successful outcomes, and hence the optimal behavioral strategy, can be mapped out in OFC ensemble states reliable over trials of the task, and revealed by sufficiency complex neuronal interactions.

Author summary

Neuronal responses can differ substantially during repetitions of the same tasks; however, they are often coordinated (shared) across multiple neighboring neurons. Such correlation between neurons has been related to the capacity of the brain to take decisions, but specifically how this relation is established is still under study. In this work, we address this question by focusing on an intriguing case study, the orbitofrontal cortex, since this brain area has been found in various studies to be useful for decision-making. Here, we question whether orchestrated groups of neurons encode sufficient information for optimizing their decision strategy; that is, whether the outcome of a choice can be predicted or not on the basis of previous experience. We thus designed a decision-making task for a rat in which some of the correct choices can be predicted. We found that only successful outcomes that can actually be predicted were robustly encoded over time. This finding was shown by analyzing sufficiently complex interactions between three neurons, whilst more complex orchestrations did not add further insights. Thus, we propose that coordinated responses of up to three neurons in the OFC could contribute to the capacity of the animal to take the optimal decision.

Introduction

The functional role of the observed neural and behavioral variability in repetitions of the same task is a fundamental question in systems neuroscience [113] and is currently under extensive discussion. The focus has been mainly on the analysis of trial-to-trial variability dynamics in motor [2, 1417] or in sensory [4, 8, 16, 1820] cortical areas; and more recently in frontal regions during decision-making tasks [2, 3, 2123].

Modeling [5, 7, 9, 2429] and empirical studies [11, 24, 30, 31] suggest a stereotypical, and thus predictable, nature of firing-rate fluctuations which is ubiquitous throughout the cortex [9, 1517]. In addition, shared variability (noise correlations) is typically reduced by top-down attention [5, 3234] and driven by the stimulus [5, 7, 19]. Thus, converging results support the hypothesis that at least a fraction of the observed trial variability has a predictable, deterministic pattern which often plays a functional role, and hence should not be averaged out in analyses (e.g., [4, 810, 27, 3537]).

However, the relationship between shared variability in frontal areas and behavioral performance is heterogeneous and complex [9]. It depends on the memory of choices preceding the current trial, such that successful task engagement is associated with low variability [14]. By contrast, some orbitofrontal cortex (OFC) neurons show the opposite trend [22]; and whilst prefrontal cortex (PFC) neurons encode predictable biases in action timing, stochastic variability is strongly represented downstream [2]. Moreover, a recent study has shown that mean pairwise correlation might not serve as a proxy for encoded information nor for behavioral performance in general, since only the variability along the encoding axis is detrimental to information [3840].

In this work, we investigate this scenario further by focusing on the relationship between optimal choice behavior and shared trial-to-trial variability in rodent OFC [20, 41]. The OFC provides a particularly interesting case study, since it has been associated with multiple behaviorally relevant variables in the decision-making task space (e.g., [4251]) such as outcomes expectations that guide action [41, 52], their desirability [53] or the availability of multiple-valued choices in economic decision making [45] (but see also [54]). In contrast with other frontal areas [30, 55, 56], the OFC representation of whether optimal choices are or are not predictable from previous trials outcomes [53] is less established [50, 51, 57].

Our hypothesis is that the representation of the outcome predictability is not always evident from individual unit rates and their pairwise correlations. However, it might be established when higher-order neuronal interactions are considered on a trial-by-trial basis. To test this hypothesis, we used a two-choice interval-discrimination task devised such that the previous outcome enables the animal to infer the optimal course of action, but in which the stimulus is not always foreseeable. In this task, it has been previously shown [41] that OFC individual units encode a compact combination of past-trial state variables that can inform the upcoming decision [41]. Here, we focus on OFC ensembles for analyzing the role of shared variability in predicting the choice outcome [15, 16].

We first observed that shared variability among triplets of neurons is higher during correct choices, and that this was sustained during the entire trial duration; but this effect was unclear for pairwise correlations. This suggested that stronger three-way correlations are systematically associated with successful outcomes; whilst pairwise correlations are not sufficient to discriminate the choice outcome. Paralleling this result, a neuronal state-space spanned by up to three-way interactions optimally decoded the correct choice versus the rest of the incorrect choices.

Intriguingly, only states representing predictable correct choices remained stable for over 100 trials of the task, while ensemble states for incorrect or unpredictable choice outcomes randomly wandered in the state space and hence could not be effectively decoded. All in all, our results suggested that correct-choice predictability and hence the optimal behavioral strategy could be encoded in metastable states temporarily assembled by sufficiently complex, third-order lateral OFC (lOFC) constellations.

Results

Shared variability among triplets of neurons is higher for correct-choice outcomes

The mapping of choices to single-unit activity across the course of a trial has been previously demonstrated [41]. Thus, given the role of second-order statistics in stimulus and behavior coding (e.g., [5, 33, 38]), we sought to investigate the relationship of behavioral choices with trial-to-trial variability and neuronal interactions. To this end, we recorded orbitofrontal ensembles from three behaving rats implanted with tetrodes, while they performed the task outlined in Fig 1A. The interval discrimination task is described in more detail in Materials and Methods and in [41]. The animal had to access the central socket in order to trigger a sequence of two 50 ms pure tones (T1 and T2) separated by either a short or a long inter-tone interval; by nose-poking either the left socket (for short ITI, light orange shades, see example in Fig 1A) or the right socket (for long ITI, darker orange shades) to successfully retrieve the reward. After an incorrect trial, the previous ITI was repeated. Otherwise, the ITI was randomly drawn from a distribution of values which grade the difficulty of the task (Fig 1A, see also Materials and methods and Fig 5A).

Fig 1. Shared variability within small ensembles increases for successful choices.

Fig 1

(A) Schematics of the task. The animal has to discriminate between two sequences of 50 ms pure tones (T1 and T2) separated by an inter-tone-interval (ITI) of variable duration, by nose-poking either the right socket for long ITI (termed here stimulus long, ITI 350 − 500 ms) or the left socket for short ITI (termed stimulus short, ITI 50 − 200 ms, example shown in the figure) to successfully retrieve the reward. Vertical lines indicate the average position of different salient events during the trial (yellow: T1 onset, orange: T2 onset, cyan: averaged movement onset, which has a high variance and thus is merely indicative). (B) Trial-averaged correlations (Eq (1) in Materials and methods) among pairs (left panel), triplets of neurons (center panel) and quadruplets (right panel), further averaged across 5 ensembles having n ≥ 5 units. Correlations are computed separately on trials in which the choice was correct (blue) and for the remaining trials (incorrect, black). ** p < 0.001 (test details in main text, error bars are SD). Vertical lines indicate the average position of different salient events. (C) Same as in (B), averaged over the trial, *** p < 0.0001. (D) Mean correlations for three periods of interest during the trial: trial initiation (left), stimulus offset (central) and choice (right), * p < 0.01.

Fig 5. Destabilization of unpredictable correct-choice states.

Fig 5

(A) Schematics of the stimulus delivery protocol (see also Fig 1). Stimulus is repeated after an incorrect-choice outcome and thus is Predictable (bottom row) and randomized otherwise (Unpredictable, top row). (B) Decoding error DE for correct choices and the average for other choice states, when the immediately previous trial outcome was incorrect (predictable, right plot) or correct (unpredictable, left plot). Error bars show SEM, *p < 0.05, **p < 0.001, test details in main text. Orange n = 1000 bootstraps, see previous figure legend. (C) Example of the analysis for four individual ensembles, the same ones shown in S2 Fig.

First, as an exploratory analysis, we computed a common measure of shared neuronal variability (e.g., [9, 33, 38, 5860]), the absolutely value of the trial-averaged correlations for each ensemble; separately for correct- and incorrect-choice outcomes (Eq (1) in Materials and methods).

Fig 1 shows the absolute value of such correlations averaged across ensembles of n ≥ 5 units for illustrative purposes. Conventional, pairwise Pearson correlation coefficients (Fig 1B, left) are weak (below 0.05 on average, Fig 1C), and do not discern between correct- and incorrect-choice outcomes (Fig 1B, left), in line with a recent study that analyzes the effects of mean pairwise correlations on different tasks and brain regions [39].

However, the distinction between correct- and incorrect-choice outcomes (encompassing all types of incorrect responses) is more strongly expressed in systems of triplets of units (Fig 1B and 1C). Such correlations are higher in magnitude for correct-choice outcomes (Fig 1B, center; two-tailed t-test of mean correlation coefficients T(40) = 7.3, p = 6.2 ⋅ 10−9, MANOVA incorrect vs correct trials, Wilks’ ⋀ = 0.88, p = 1.8 ⋅ 10−4), are sustained throughout the entire trial and significant (one-sided Wilcoxon signed-rank of mean correlation coefficients for all trials W = 1125, p = 1.11 ⋅ 10−9).

Thus, this distinction is significant during the three 150-ms periods of special interest we defined during the trial (Materials and methods, [41]), namely the trial-initiation period (Fig 1D, T(6) = 2.8, p = 0.029); the stimulus offset period, which starts 100 ms before the second tone onset (Fig 1D, Wilcoxon rank sum W = 26, p = 0.028); and the choice period, starting from the rat nose-poking (Fig 1D, T(6) = 2.6, p = 0.042). The discrimination among choice outcomes vanishes again for both pairwise and weaker, higher-order interactions (Fig 1B, right). Averaged correlations differ across orders for correct-choice outcomes (Fig 1C, ANOVA F(2, 60) = 105.03, p = 2.51 ⋅ 10−20, Bonferroni corrected post-hoc comparisons between orders 2 to 4, p = 1.27 ⋅ 10−20, 7 ⋅ 10−12, 1.7 ⋅ 10−6 respectively).

Moreover, we tested this observation in a setting in which animals were passively exposed to the same stimuli, but in which rewards were not provided [41]. If triple-wise correlations are associated with the task, passive correlations should be weaker than correlations associated with correct-choice trials, that is, when the task has been performed successfully. S1 Fig suggests that passive correlations are not distinguishable from correlations during incorrect trials and hence they are significantly lower than for correct-choice trials.

Overall, this exploratory analysis seems consistent with constellations of up to three interacting units, assembled during trials in which the task is successfully performed, whilst pairwise correlations do not suffice to discriminate the choice outcome.

Successful choices are encoded in orchestrated interactions within small ensembles

Mechanistically, correlations in Fig 1 are thus suggestive of a sustained, orchestrated firing of small OFC networks accompanying successful performance. This raises the question of whether neuronal interactions help decodability of the choice outcome and thus behavior.

To assess this question, we first constructed state spaces as explained in Materials and Methods (schematics in Fig 2A): the multi-unit space spanned by the firing rates of each ensemble units (Fig 2A, left), is then enriched by incorporating pairwise (Fig 2A center) plus triplet products of the rates (Fig 2A right) as new axes (Eq (8)). A multi-unit space enlarged by θ > 1 rate products can represent up to θth-order correlations, as demonstrated in Materials and Methods/S1 Methods. (Eqs (10) and (11), (S17a), (S17b)) and will be thus referred to as the θth-order space [10, 37, 56].

Fig 2. Correct choices are robustly represented in high-order state spaces.

Fig 2

(A) Schematics of the state spaces used in Figs 2 and 3. Axes consist of single-unit firing-rates (left) plus up to their pairwise (middle) and triplet-wise (right) products. Insets represent optimally discriminant subspaces (DC1-DC3). The figure is merely a sketch, axes DC1-DC3 are orthogonal (Materials and methods), but their orientation with respect to the high-dimensional state-space axes is not represented in the figure and are not parallel to them. See also Fig 3, in which the same color-code is used. (B) Projections onto the three discriminant coordinates, further orthogonalized, for an ensemble of n = 8 units, see Materials and methods for details. Analyses for all ensembles (n = 82 units) are shown in Fig 4. Projections are derived from the regularized linear discriminant decoder operating in an expanded space containing up to thee-way interactions within the ensemble (termed kernel-discriminant [56, 61]). Each marker corresponds to the firing-rate observation during a 80 ms bin, plots show data from 40 consecutive trials each. Colors represent behavioral response categories for the trial, namely “C” (correct response, blue), “M” (missed responses and false alarms, red), “P-C” (premature central response, gray), “P-L” (premature lateral response, see description in Materials and methods). (C) Triplet (left) and pairwise (right) correlations, averaged for the entire trial duration for each one of the response categories. Dashed lines in the pairwise correlation plots indicate the triplet-wise correlations on the left, which are significantly higher for correct choices (* omitted for clarity). Error bars are SD. * p < 0.05 (test details in main text).

Second, a decoder specialized in operating on such sparse high-dimensional input data (a regularized kernel-Fisher discriminant [61], Eqs (3) to (7)) was used to predict the trial choice outcome from ensemble rates. The entire trial duration was used, since three-way correlations consistently depend on the correctness of the choice during all trial periods (Fig 1).

Is worth stressing that this decoder is just a conventional linear discriminant operating in a state space spanned not only by the neuron fining rates as in previous studies, but also by products among such firing rates. For instance, for θ = 3 and an ensemble of three neurons with firing rates xi(t), i = 1, 2, 3, the expanded space would contain axes such as x1(t), x2(t), x3(t), x1(t) ⋅ x2(t) or x1(t) ⋅ x2(t) ⋅ x3(t) etc. (Fig 2A, right panel; see Materials and methods and S1 Methods for further details). The decisive advantage of this approach over a conventional decoder is in leveraging the θ-order correlations to foster the out-of-sample decoding performance, as shown in the next section.

Fig 2 illustrates the results of this analysis for the largest ensemble available, consisting of eight units as a visual example. The figure shows an orthogonal representation derived from the discriminant analysis operating in a third-order space, cross-validated in blocks of 40 trials. In Figs 2 and 3, DC stands for the discriminant coordinates, which define the optimal subspace (further orthogonalized) in which the data is projected for decoding (see Data analysis section in Materials and methods). All categories of unsuccessful choice outcomes (missed and false alarms, plus both sides premature responses; red, grey and green dots, respectively, in Fig 2B) are mapped onto different volumes in the state space, drifting randomly and largely overlapping around the origin. By contrast, the response pattern during correct choices (blue) remains in the same position of the state space from trial to trial (the same axes are used for all plots in Fig 2B).

Fig 3. Correct-choice states are robust through tens of trials.

Fig 3

(A) State-space projections in the orthogonalized discriminant subspace as in Fig 2 for one of the smallest ensembles recorded (n = 5 units). Legend like in Fig 2: “C” (correct response, blue), “M” (missed responses and false alarms, red), “P-C” (premature central response, gray), “P-L” (premature lateral response“. The green line shows an example of a single-trial trajectory; that is, a sequence of consecutive 80 ms bins in the state space during the entire trial, in this example the outcome was an incorrect, premature-lateral response. The whole trajectory is correctly classified and thus it does not diverge (see Materials and methods). This is only intuited from the figure, since the nonlinear discriminant boundaries are not shown for clarity, see panel (B) below for this computation over all trials. (B) The same kernel-discriminant was used to compute the six-fold-ahead, causally cross-validated decoding error (DE, left plot) and the trajectory divergence index (DT, right) over blocks of trials shown in panel (A), as detailed in Materials and Methods. Analyses for all ensembles are shown in Fig 4. Orange boxplots indicate bootstrap quartiles from the permutation test. Bootstraps were constructed by shuffling the trial outcome category (n = 1000; see Materials and methods). Whiskers indicate outliers (±2.7 ⋅ SD), triangle markers the 1% percentile. The inset shows triplet-wise correlations averaged for the entire trial duration and for each one of the response categories (* p < 0.05, error bars are SD).

Moreover, correlations averaged for all ensemble units and trial bins (as in Fig 1C) are consistent with this visualization: all triplet-wise correlations are substantially stronger for correct choices (Fig 2C; Kruskall-Wallis χ2(3, 124) = 50.4, p = 6.6 ⋅ 10−11; Bonferroni-corrected comparisons with correct choices at p < 0.05 indicated). However, this effect is not observed in pairwise correlations, which, in addition, decrease significantly for correct choices with respect to triplets of neurons (Wilcoxon rank sum, W = 1040, p = 7.2 ⋅ 10−12, dashed versus solid lines in Fig 2C) and only distinguish among correct and premature central responses. The same striking observation is salient for smaller ensembles (for instance Fig 3A); again consistent with mean triplet-wise correlations (Fig 3B inset, F(3, 124) = 16.4, p = 5.0 ⋅ 10−9, p < 0.05 for all Bonferroni-corrected post-hoc comparisons with correct-choice).

The robustness of the decoding over trials was assessed by two causally cross-validated indexes computed on future trials not used to train the decoder: the decoding error, DE, and the divergent trajectories, DT, indexes defined in Materials and Methods. This cross-validation process is specifically designed to quantify how much the 3-dimensional subspace DC1 − DC2 − DC3 obtained in previous trials is still a valid decoder for future trials; that is, the stability of the subspace over time.

We refer to “trajectory” as the sequence of consecutive firing rate bins during a single trial (Eq (12)). For instance, during a 2000 ms trial using a 80 ms bin, a trajectory is a sequence of 25 consecutive points in the space corresponding to the same trial (see an example in Fig 3A). The DT index measures the percentage of trials containing at least one incorrectly decoded point, starting from the trial endpoint and checking the trajectory backwards in time (Eq (13)). This index is suggestive of the degree in which decoded states differ empirically from ideal attracting sets as discussed in [10, 37, 56].

The overall decoding accuracy is significant but low. This is expected, since the cross-validation imposed is demanding: training (estimation) and validation sets may not be consecutive and both contain the same number of trials. By contrast, training sets are typically much larger than test sets in decoding studies [41]. Despite this, and in line with the visual display, DE and DT are substantially lower for the correct choice than in the rest of the responses (see analysis with the full dataset in Fig 4). Permutation tests constructed by shuffling the trial choice outcome (Materials and methods) further confirm this analysis: the correct choice is significantly decoded (Fig 3B, p = 0.001, orange boxplots). In short, the trial-to-trial drift in the state space seems to be visually reduced for successful choice trials.

Fig 4. Successful choices are optimally encoded in up to three-way orchestrated interactions.

Fig 4

Decoding performance indexes for correct-choice outcomes (blue, large panels) versus the average through incorrect-choice outcomes (black, large panels), and for all the ensembles recorded. The decoder operates in an optimal state-space, incorporating up to triplet interactions between units (large panels). As in Fig 3B, a kernel-discriminant was used to compute the causally cross-validated value of the decoding error (DE, left) and the trajectory divergence index (DT, right) for each ensemble and choice type. Error bars are SEM, *p < 0.05, **p < 0.001. Orange boxplots show the quartiles, whiskers indicate outliers and triangle markers the 1% percentile, permutation test as in previous figures. Some examples of individual ensembles are shown in S2 Fig. Insets (top small panels) show the decoding performance indexes per behavioral response category, calculated in a range of state spaces spanning from the multiple single-unit activity space (order 1) to state spaces incorporating up to four-way interactions (order 4). For establishing a fair comparison across orders, only ensembles consisting of four or more units are considered in the inset plots and in forthcoming analyses. Results for the optimal state-space order (order 3, magenta) are also shown in the large panels below for comparison.

These examples are suggestive of OFC populations consistently encoding correct choices over tens of trials in a low-variability state. This hypothesis is tested for all the data in Fig 4, large panels below. In line with the previous examples, DE and DT averaged over all ensembles are significantly low for correct choices (Fig 4 bootstrap test, p = 0.001, orange boxplots) and significantly smaller than for incorrect trial outcomes (DE and DT for black bars are averages for premature, missed and false alarms, Wilcoxon rank-sum, W = 17118, p = 0.0043; W = 13779, p = 6.8 ⋅ 10−12), which cannot be decoded (DE below the bootstraps significance chance level, Fig 4 large bottom panels). This phenomenon is even often observable in an ensemble-by-ensemble basis for 73% of the units (see examples of some individual ensembles in S2 Fig). Note that the decoder is still multivariate, thus, standard receiver-operating characteristics curve analyses do not apply and the chance level of a uniformly random decoder would be at DE = 75%.

In addition, and consistently with the correlation analysis (Fig 1B–1D), the decoding of correct choices is suboptimal when the space is spanned only by the units activity (rendering a conventional linear discriminant analysis, order 1 in Fig 4 top panels, post-hoc tests order θ = 1 vs order θ = 3, p <0.037, Bonferroni-corrected) or by using up to pairwise interactions; this is also the trend observed when more complex interactions over triplets are considered (for establishing a fair comparison between orders, only ensembles with four or more units are used in the top panels in Fig 4 and in forthcoming analyses, rendering the same conclusions; see pink bars in bottom panels for comparison). Note that larger state spaces (θ > 3) tend to over-fit, as shown, for example, in [37, 56].

Moveover, decoding is still possible when the correlation with the immediately previous trial is removed, suggesting that higher interactions may carry extra information for decoding [41]. To test this, we regressed units rates with the preceding trial (Eq (2)), and repeated the decoding analysis on the residuals of the optimal adjustment (S3 Fig). Even though there is an expected, significant drop in decoding performance, we observed a similar phenomenon as in Fig 4.

In summary, only the “correct-choice state” can be decoded from the ensemble rates; that is, it is associated with high trial-to-trial stability (Figs 2B, 3 and 4), often even on a single-ensemble basis (S2 Fig). This phenomenon is optimally salient when up to three-way interactions within each ensemble are considered for decoding (inset panels in Fig 4) and is attenuated, but still expressed when the information from the immediately previous trial is linearly decimated (S3 Fig).

Destabilization of unpredictable correct-choice states

Results so far suggest that correct-choice ensemble states are robust over trials. However, correct-choice trials are not consecutive and can have different cognitive demands: this task is designed such that the stimulus is repeated in the upcoming trial after an incorrect-choice outcome, and randomized otherwise (Fig 5A and Behavior section in Materials and methods). In addition, previous studies showed that OFC encodes a map of the task-space variables for both the current and the immediately previous trial [41]. Thus, we hypothesize that the low decoding error for correct-choice trials (Fig 4) represents the predictability of the decision after incorrect choices.

To verify this hypothesis, it should be impossible to decode the correct-choice state when immediately preceded by another correct-choice trial (Fig 5A, top schematics), since in this situation the upcoming stimulus is randomized and thus no longer predictable; whilst successful decoding would falsify it.

The results in Fig 5B provide support to the hypothesis. When the same decoding analysis is restricted to trials following premature, missed or false responses (termed here Predictable trials in Fig 5A, bottom schematics), DE shows the same trend observed in Fig 4, further enhanced. Successful choice states are again remarkably stable throughout trials when compared with incorrect-choice states, as indicated by the mean DE for all ensembles (Fig 5B right, Wilcoxon rank sum W = 648.5, p = 2 ⋅ 10−4, p is two orders of magnitude lower than in Fig 4, pink bars in the left large panel). Again in line with previous section results, DE for correct choices is below the bootstrap test significance level (permutation test, p = 0.001, symbols as in Fig 3), and this effect is often observable in an ensemble-by-ensemble basis (examples in Fig 5C right panels).

In contrast, by decoding only trials following correct choices; that is, trials in which the stimulus is randomized (termed here Unpredictable trials, Fig 5A top), correct choices cannot be decoded any longer (permutation test). The correct-choice state also becomes indistinguishable from other states (Fig 5B left, W = 976.5, p = 0.636, individual ensemble examples in Fig 5C left panels).

Shared variability is associated with predictability of successful choices

All in all, low decoding errors for correct choices (Fig 4) are associated with correlated variability among small constellations consisting of three units (Figs 1B, 2 and 3). Moreover, the optimal decoder operates in a space in which constellations of up to three units are explicitly represented (Fig 4). Thus, we expect that stronger positive correlations during trials after incorrect-choice outcomes might explain the reason for low decoding errors for choices associated with predictable successful outcomes (Fig 5).

Fig 6 shows this correlation analysis for unpredictable and predictable choice outcomes, averaged for the ensembles analyzed in Fig 5. As expected, positive correlations are dominant, consisting of 64.7 − 73.3% of all three-way (unfilled pie charts in Fig 6C) and pairwise correlations (unfilled pie charts, S4A Fig). However, and intriguingly, positive correlations during correct-choice trials do not depend on the preceding choice (comparison between unpredictable and predictable trials, triplet-wise distinct positive correlation coefficients averaged during the trial shown in Fig 6C center, unfilled bars, Wilcoxon rank sum W = 131652, p = 0.35; positive pairwise correlations in S4A Fig, unfilled bars, W = 44257, p = 0.43), against our intuition.

Fig 6. Negative triplet-wise correlations accompany the unsuccessful decoding of correct choices for unpredictable stimuli.

Fig 6

(A) Negative correlations among triplets of units after correct (unpredictable, left) and after incorrect (predictable, right) trial choice outcomes, averaged across all ensembles used in Fig 5. Correct choices are shown in blue, incorrect choices in black; shaded areas are SD. Insets show the average through the entire trial duration. Magenta filling is used through the figure to indicate negative correlations. (B) Averages for the periods of interest defined in Fig 1A: trial initiation (left), stimulus offset (central) and choice (right). (C) Total fraction of positive and negative correlations for all ensembles and trials after correct (unpredictable, left) and after incorrect (predictable, right) trial choice outcomes. The center panel show the averaged correlation only for correct choices. ** p < 0.001, *** p < 0.0001; test details in the main text. See Fig 7 for partial triplet-wise correlations and S4 Fig for pairwise correlations. See also S5 Fig for a complementary index.

By contrast, negative triplet-wise correlations for correct choices depend on the preceding trial outcome (Fig 6C center, filled bars, W = 143391, p = 2.4 ⋅ 10−7). Thus, we hypothesized that negative correlations may explain the differences in DE between unpredictable and predictable correct-choice trials shown in Fig 5B. Intuitively, infrequent negative correlations, randomly appearing during the trial, would introduce perturbations causing cross-validated decoding errors to increase with the strength of negative correlations.

Fig 6 tests this hypothesis. Three-way negative correlations are stronger for correct choices during trials preceded by another consecutive correct choice (Fig 6A); that is, when the current stimulus is unpredictable (insets in Fig 6A, coefficients averaged over the trial duration, W = 45381, p = 4.1 ⋅ 10−9). These weak but significant triplet-wise negative correlations can counter-balance the effect of dominant positive correlations in the stability of the correct-choice state during the trial, explaining the high DE for correct-choice trials in Fig 5A (left). This is the case either for most of the periods of interest individually (Fig 6B left plots, averages over the three periods of interests defined in Materials and Methods and in Fig 1).

On the contrary, negative correlations among triplets of neurons do not distinguish among choice outcomes after trials in which the stimulus is repeated (predictable stimuli, inset in Fig 6A right plot, W = 123951, p = 0.066). In this scenario, infrequent negative correlations are too weak to destabilize the correct-choice ensemble state, explaining the lower DE for predictable correct choices (Fig 5B right). Consistent with our previous analysis, this predictability-dependent effect is overall not observed for negative pairwise correlations, shown in S4A Fig.

Interestingly, negative correlations during correct choices are particularly low during early trial stages, when no information about the upcoming stimulus is available (Fig 6A right, ‘Initiation’ period averages, W = 119577, p = 2 ⋅ 10−4). We thus propose that for predictable trials the hampering effect of infrequent negative correlations in decoding is negligible, since in such trials the information on the optimal decision is already available during the trial initiation period, and negative correlations during this period are dampened. To further test this hypothesis, we have devised a simple surrogate index termed differential correlation, described in S1 Methods and in S5 Fig. In short, this index amounts how much positive correlations express more strongly the difference between correct and incorrect trials than negative ones during a specific time period (Eqs (S18) and (S19)). According to our hypothesis, this effect is only significant for third-order correlations and early trial stages (S5 Fig, central row, trial initiation and stimulus periods).

However, trial-to-trial correlations could be also induced by stimulus repetition in the preceding trial and thus might not be indicative of stimulus predictability per se. To control for this possibility, we repeated the correlation analysis but on the residual of the optimally regressed units rates with the preceding trial; exactly as we did for the decoding analysis in S3 Fig (Eq (2)). Fig 7 and S4B Fig show these partial correlation coefficients (correlation coefficients of the residuals), which render similar results. That is, negative three-way correlations for correct-choice trials are still significantly stronger when the current stimulus is unpredictable (Fig 7C filled bars). This distinction is inconclusive for partial three-way positive correlations (Fig 7C, unfilled bars), and again for partial pairwise correlations (S4B Fig).

Fig 7. Correlation of the residuals of a linear regression adjustment with the preceding trial.

Fig 7

Partial (residual) negative trial averaged, triplet-wise correlations accompany the unsuccessful decoding of correct choices for unpredictable stimuli. (A) Negative correlations among triplets after correct (unpredictable, left) and after incorrect (predictable, right) trial choice outcomes, averaged across all ensembles recorded. Correct choices are shown in blue, incorrect choices in black; shaded areas are SD. Solid lines indicate the partial correlation coefficients; that is, correlations among the residual firing-rates after being regressed with the immediately previous trial rates (like in S3 Fig), see Data analysis section in Materials and methods. Dashed lines indicate the raw triplet-wise correlations shown in Fig 6A for comparison. Like in Fig 6, magenta filling is used though the figure to indicate negative partial correlations. (B) Averages for the periods of interest defined in Fig 1: trial initiation (left), stimulus offset (central) and choice (right). Signed-rank tests, p < 0.0036. (C) Average partial triplet-wise correlations only for correct choices (comparison of unpredictable versus predictable negative partial correlations, Wilcoxon rank sum, W = 141540, p = 6.8 ⋅ 10−6). Left and right pie charts show the total fraction of partial positive and negative correlations for all ensembles and trials. * p < 0.01, ** p < 0.001, *** p < 0.0001. See also Fig 6 for raw triplet-wise correlations, and S4 Fig for raw and partial pairwise correlations.

To conclude, the ensemble state during correct-choice trials is robust when the optimal choice can be predicted from the previous trial outcome; it temporarily destabilizes otherwise. This state emerges from up to three-way interactions within OFC networks consistently over trials, and it is not observed for incorrect choices.

Discussion

The representation of behavioral choices in frontal areas variability is currently the focus of a debate (e.g., [9, 30, 35, 55, 62, 63]). In this study, we find that correct choices that can be predicted from the previous trial outcome are associated with a reliable representation over tens of trials in lOFC (Figs 25, S2 and S3 Figs). Constellations of triplets of neurons positively correlated (Figs 1, 6 and 7, S1, S4 and S5 Figs) seem to furnish such a robust representation of correctly predicted choice outcomes. However, the representation of unsuccessful or unpredictable choice outcomes is weakly cohesive and randomly wanders in the state space.

Recent evidence suggests that the cognitive map of the task-space provided by OFC units [64] enable them to encode a compact combination of past-trial state variables, which can predict the upcoming decision [41]. However, the coding of behavioral performance in OFC ensembles remains controversial [41, 45, 50, 57, 64]. Our results suggest that correlations within OFC constellations involving up to three units, enhance the reliability of the decoding of the behavioral responses, in accordance with recent findings in the PFC [3]. Leveraging the continuous activity over tens of trials, and harnessing the finer temporal synchrony provided by multi-unit recordings [2], we found that such three-way interactions enable lOFC ensembles to encode predictable outcomes.

Shared variability dynamics during cognitive processing

The relationship between variability decline and the cognitive state has been extensively studied using pairwise noise correlations; that is, how much of such variability across trials is shared across units. Weakly correlated trial-to-trial variability has been often considered to be beneficial for behavioral performance [14, 15, 33, 34]. Attenuation in noise correlations was typically associated with top-down effects of selective attention [32]; which reduces task-irrelevant variability in the visual cortex [34] and thus increases the signal-to-noise ratio. This effect led to suggest that low correlations may contribute to the effective processing of cognitive decisions, as also proposed by various models [9, 65].

However, recent results challenge these classical views, suggesting instead that attention reshapes the stimulus representation in earlier stages such that they are more effectively decoded by downstream neurons, to ultimately guide decision-making [66]. This optimization can result in opposite effects of attention on shared variability within and between processing areas. For instance, attention would result in an increase of pairwise correlated variability between the middle-temporal area and the superior colliculus for effective visualmotor processing [66].

Moreover, despite the vast literature in noise correlations, it was recently shown that lower (higher) mean pairwise correlations do not necessarily imply higher (lower) signal-to-noise ratios, and thus they are not guaranteed to affect behavior as often suggested [39]. Indeed, the dynamic pattern of noise correlations and not their absolute magnitude is often the determinant factor which modulates the information encoded by ensembles [3, 5, 32, 38, 40, 59].

This was found to be the case for correlations that are similar over all periods of behavioral interest during the task [3], as we also observed in the present work for triple-wise correlations (Fig 1D). In our study, slightly correlated variability is suggestive of a systematic three-way interaction pattern occurring during trials in which the choice outcome can be predicted. Consistently, although relatively weak, third-order positive correlations are the strongest of all and contribute to equip the most informative state space [3]; whilst infrequent triplet negative correlations seem to undermine the decoding of unpredictable trial outcomes (Figs 6 and 7, S4 and S5 Figs).

By contrast, mean pairwise correlations do not suffice to discriminate between correct and incorrect choices (Fig 1B left and S4 Fig), nor are informative enough to build up the state space in which correct outcomes are stable (order 2 in Fig 4 top, inset panels). This result also seems consistent with previous reports studying the roles of weak higher-order correlations in cortical ensembles (e.g., [6769]). It is also in line with Nogueira et al. recent study [39] discussed before, in which pairwise correlations computed on multiple behavioral tasks and brain areas are not reliable surrogates for the behavioral performance [39]. As previously stressed in [38], only the variability along the encoding axis modulates information coding, not necessarily the mean magnitude of pairwise correlations.

Neuronal correlations and state-space decoding

Stable subspaces of the space spanned by the ensemble activity, encoding components of the task-space, have been identified in primate PFC (for instance in [24]) and in rodent anterior cingulate cortex [37, 56] during working memory. In our study, a linear combination of ensemble unit activity and their correlations up to a third order define the correct-choice robust subspace, indicating a stable weighing of the connectivity among units over time.

The identification of this functional interaction pattern between units could be addressed in future studies leveraging recent dynamic generalized linear models, which implement adaptive Granger causality analysis for spike trains [70]. In addition, within-trial non-stationarity in high-order interactions could be captured by specifically designed state-space approaches [71]. This robust, fixed interaction pattern may facilitate a subsequent readout of the information downstream as proposed in [24]. This hypothesis is also reminiscent of a recent aforementioned study [66], suggesting that optimal processing could entail remolding stimulus representations with respect to fixed readout dimensions at subsequent processing stages.

Other computationally efficient methods to estimate high-order correlations for larger neuronal populations are specialized information geometry frameworks (e.g., [7274]); whilst a recent approach demonstrates that third-order correlations are capable of inducing synergy/redundancy states in an information-theoretic sense [75]. More broadly, these information-theoretic approaches are advantageous to assess the importance of orders higher than three, which is computationally challenging for the direct calculation of the coefficients (Eq (1) and (S17)), and would require larger ensembles.

In this study, we propose that triple-wise correlations switching their sign irregularly during the trial (Figs 6 and 7) hinder decoding of unpredictable choice outcomes (Fig 5A left). All in all, absolute correlation coefficients are low (Fig 1B), indicating sparse spiking and the presence of frequent silence periods. Simultaneous silences in spike trains can underlie the observed higher-order correlations, as was recently demonstrated in cultured hippocampal slices [69]. Moreover, such simultaneous silences explain the alternating signs at successive higher interactions orders estimated in maximum entropy models. Interestingly, the authors [69] observed how higher-order (θ > 2) interactions vanish when inhibition is blocked. In this scenario, pairwise correlations suffice to account for the probability distribution of spike patterns [69], as reported in retina [76]. The sparse firing and sign-alternating triplet interactions we observed here may also stem from balanced inhibition [65]; whilst higher orders are too weak in these small ensembles to play a significant role in decoding.

Our results are also in line with a recent report which shows evidence of long-term memory representations of cue-reward associations in rodent OFC neurons, which are stable for days and even after changing such associations [51]. The cognitive map of the task-space that we previously found in single-units and small ensembles [41], seemed to be more robust when the animal follows the optimal lose-switch strategy in this task [41]. Thus, we speculate that task-space representations in OFC might be modulated by a higher-order representation of the behavioral outcomes operating at a longer timescale (Figs 2 and 3); which resembles findings in premotor areas [14]. The downstream routing of this information to optimize behavior remains unknown, and could be investigated using in vivo two-photon calcium imaging [51].

Intriguingly, the weak correlations observed (Fig 1B) are also suggestive of a relatively irregular, near-asynchronous dynamics, typically associated with a wide dynamical repertoire (e.g., [65, 77]). In a more conjectural vein, the successful processing of the task by small lOFC ensembles could map to long-lasting metastable states over tens of trials [78], which gain stability when the choice is deterministic and behaviorally relevant, and destabilize otherwise. Such a metastable portrait might subserve the enhancement of detailed coding of task-epoch variables that enable the animal to effectively predict the upcoming choice.

Materials and methods

Experiments

Ethics approval

The project was approved by the animal Ethics Committee of the University of Barcelona. All procedures were performed in compliance with protocols approved by the Animal Care and Use Committee of Autonomous University of Barcelona (CEEAH number 3866), with authorization from Department of Environment of the Generalitat de Catalunya, and with guidelines approved by the EU Council Directive for the care and use of laboratory animals (2010/63/EU).

Electrophysiology

Data were obtained from three Wistar rats (250 − 350 g) that were chronically implanted (when the psychometric curve reached the 70% in the task outlined below) with tetrodes in their lateral orbitofrontal (lOFC) cortex and trained as described in detail in [41]. We recorded n = 137 single-units and ensembles from three animals. Single-unit and small ensembles (up to three units) were analyzed in a previous work [41]. In the present study, we specifically focus on ensembles containing a minimum of three units (82 units in total), and their corresponding local field potential (LFP). The LFP was downsampled to 250 Hz to filter out the typical spiking activity component (see S1 Methods).

Spike trains were convolved with Gaussian functions to obtain statistically reliable estimates of spike densities. The value of the optimal bandwidth for each neuron (variance of the Gaussian smoothing function) was optimized using a multivariate kernel density estimation approach as recommended in [56, 79]. Spike density estimates were then binned at 40 ms. The reason for selecting this bin width is that at least 99% of bins for each unit contained up to a single spike, enabling us to compute standard spike train correlation analyses for most of the bins. Results reported were statistically invariant by using bin sizes up to 80 ms which was then used to reduce the computational cost of the decoding analysis (Data analysis section). Low-responsive units (< 2 Hz) are considered in this study, since the focus is on analyzing the dynamic pattern of correlations during the trial irrespective of their mean magnitude or the mean firing rate [38, 39].

Behavior

The experiment was designed to identify deterministic temporal patterns across consecutive trials as a function of animal performance. Further details of the behavioral task can be found in [41]. Briefly, rats were trained in an auditory time-interval categorization task. Trials were self-initiated by the animals by nose poking in a central slot (Fig 1A), which triggered a tone of 50 ms duration (delivered through earphones) after a randomly drawn delay uniformly discretely distributed from 50 to 300 ms in steps of 50 ms. After an inter-tone interval (ITI), randomly drawn (except for incorrect trials, see next section), a second pure tone of the same duration and frequency was presented. The task is to classify the ITI, as short (50, 100, 150 or 200 ms) or long (350, 400, 450 or 500 ms).

A reward was delivered when the animal poked the left socket for short ITI and the right for long ITI; and was available for 3 s before the beginning of the next trial. False alarms (poking the incorrect side) and withdrawals before the second tone were followed by white noise after a 3-s delay (WAV-file, 0.5 s, 80 dB sound pressure level). After an incorrect trial, the ITI of the previous trial was repeated (see schematics in Fig 5A). More details can be found in [41]. Only trials in which animals engaged in the task were considered for the study.

For variability and correlation analyses, three periods of interest within the first 1000 ms of the trial were considered [41]: (1) trial-initiation, which starts with the rat nose-poking into the central socket and ends 150 ms later; (2) the stimulus offset period, which starts 100 ms before the second tone onset and it finishes 50 ms later with its offset; and (3) the choice period, corresponding to the 150 ms time window starting from the rat nose-poking into one of the two lateral sockets.

For decoding analyses (see Data analysis section), we focused on 160 consecutive entire trials of the task for visualization purposes (Figs 2 and 3). Behavioral responses associated with a trial were summarized in c = 4 non-overlapping categories, namely “correct response” (the animal pokes the correct lever and successfully retrieves the reward), “missed responses and false alarms” (this category encompasses all types of non-premature yet incorrect responses: the animal stays idle and comes back to the central socket without choosing a side, or moves away from it towards the wrong side), “premature central response” (the animal moves away from the central socket too early, before the presentation of second tone) and “premature lateral response” (the animal pokes any side again too early).

This categorization was chosen to provide a similar number of trials for each behavioral response. It also enabled us to visualize the decoding process in a three-dimensional space using discriminant analysis, which projects multi-unit ensemble rates to a (c − 1)-dimensional subspace (number of distinct behavioral categories-1) to perform the decoding (see next section). For such decoding analysis, the discrepancy in the number of bins per behavioral category was kept to ≤ 10% by discarding excess bins, enabling us to hypothesize a similar prior probability of each choice overall. In three of the ensembles analyzed, both premature responses were joined into a single category in order to have a balanced number of bins per category for a more reliable decoding, thus c = 3 for them.

In the comparative analyses of trials after correct and after incorrect behavioral responses (termed Unpredictable and Predictable respectively in Figs 57, S4 and S5 Figs), trials are not consecutive. Thus, to establish a faithful comparison among correct and other trial choices (termed incorrect here), only some of the incorrect trials were considered; specifically those which occurred immediately after (or as near as possible) correct-choice trials, such that the number of trials of both types is balanced. In this way, both types of trials are in comparable temporal vicinities.

Data analysis

Shared neuronal variability: Statistical testing

Shared variability was analyzed by trial-averaged correlations between combinations of n distinct units within each ensemble, where trial-averages were specific to each response category. Thus, we may loosely refer to them as “noise decision correlations” (hereafter simply “correlations“), since the behavioral response is fixed, even though the stimulus is typically randomized from trial to trial. Figs 13, 6 and 7, S1, S4 and S5 Figs, show means and standard deviations of these correlations across units and ensembles.

The Pearson correlation among up to θ units xi in a given ensemble, 1 ≤ in, of rates x1(t, T), x2(t, T), …, xn(t, T) is defined next (Eq (1)). In this θ-order correlation coefficient, i indicates the neuron number, t is the time bin within each trial and T is the trial number, whilst < xi(t) > is the trial-average:

θ = 2:

Corr(x1,x2;θ=2)(t)=T(x1(t,T)-<x1(t)>)·(x2(t,T)-<x2(t)>)T(x1(t,T)-<x1(t)>)2·T(x2(t,T)-<x2(t)>)22,

θn:

Corr(x1,,xn;θ)(t)=T(x1(t,T)-<x1>)m1···(xn(t,T)-<xn>)mn(T(x1(t,T)-<x1>)θ)m1···(T(xn(t,T)-<xn>)θ)mnθ,

such that mi are any natural numbers that verify:

i=1nmi=θ,mi{0,,θ-1}, (1)

where the denominator of the coefficients for a correlation order θ odd is real in this study; this definition ensures that 0 ≤ Corr(x1, x2, …, xn; θ)(t) ≤ 1. Noticeably, the θ-order correlation must take into account all possible products of the neurons i = 1, …, n up to order θn. For instance, in the same vein that the numerator of the pairwise Pearson correlation coefficient between units i = 1, 2 for zero-mean rates, contains x1(t, T) ⋅ x2(t, T) summands; the θ = 3 numerator of one of the coefficients among units i = 1, 2, 3 contains terms such as x1(t, T) ⋅ x2(t, T) ⋅ x3(t, T), whilst another 3rd-order coefficient contains summands like x12(t,T)·x2(t,T) etc. Further details are discussed in S1 Methods. The kernel-discriminant described below is a classifier which will take into consideration such θ-order correlations for decoding; as discussed in the next section and demonstrated in S1 Methods.

The partial correlation coefficient Corr(x˜1,x˜2,,x˜n;θ) (Fig 7 and S4B Fig) is defined as in Eq (1), but variables are instead the residuals of a linear regression adjustment with the preceding trial,

x˜i(t,T)=xi(t,T)-b1·xi(t,T-1)-b0, (2)

where xi(t, T − 1) is the rate of the ith unit at the same time bin t in the immediately preceding trial T − 1, and b0, b1 are linear regression coefficients optimized by least-squares across trials.

Nonparametric tests were used when normality assumption was rejected according to conservative Lilliefors tests at p = 0.01, as further detailed in the Results section. For the decoding analysis (next section), permutation tests were performed by generating n = 1000 bootstraps, providing a one-tailed significance level p = 0.001. Bootstraps were designed by shuffling the bin order for each neuron within each single trial (orange boxplots in Figs 35 and S2 Fig). Whiskers in the boxplots show outliers, defined here as ±2.7 ⋅ SD, orange triangle markers indicate the 1% percentile.

Decoding algorithm

Analyses shown in Figs 25, S2 and S3 Figs were based on a robust standard decoder, termed a regularized kernel-Fisher discriminant [10, 37, 56, 80, 81] (briefly, kernel-discriminant). In this section, the trial index T will be omitted for simplicity, that is, x(t) ≡ x(t, T); where, like in the previous section, t is time bin index within a specific trial.

As intuitively outlined in Results, this decoder is simply a standard linear discriminant operating in a state space spanned by firing rates plus products among them (see Fig 2A, right panel schematics). The advantage over a standard linear discriminant is in improving its decoding capability by considering θ-order correlations, as explained in the next section (see also Fig 4 top panels for a comparison with a linear discriminant, order 1 lines). See for example [10, 37, 56] for comprehensive descriptions of this standard approach in machine learning, but adapted for ensemble recording analyses. In addition, S1 Methods show a detailed description of the decoder and intuitive parallels with classical discriminant analyses.

Like the conventional linear discriminant, under optimal conditions (next section), the kernel-discriminant provides the Gaussian conditional probability P(x(t)|y) of an (n × 1) observation vector x(t) = [x1(t), x2(t), …, xn(t)]T, spanned by the firing-rates in an n-units ensemble. y ∈ {1, …, c} represents the behavioral category index, where c is the maximum number of different behavioral categories as defined in the previous section (correct responses, missed responses and false alarms, and premature central/lateral responses, see full description in Experiments).

As discussed earlier, for θ = 1, the kernel-discriminant is fully equivalent to a classical discriminant analysis (Fig 2A, left panel); whilst for θ > 1 it functions in a state space explicitly accounting for all possible interactions among units up to order θ (Fig 2A, center and right). Other standard approaches such as kernel-logistic regression, relevance support-vector machines [61], or more recently deep learners [82] can have comparable capabilities. However, as discussed in the following sections and in S1 Methods, this classifier straightforwardly provides a direct link with (neuronal) correlations, and an intuitive visualization of the effect of correlations for decoding (Figs 2 and 3, see also [10, 56]). In contrast to other approaches, it is based on the optimization of a single parameter λ (Eq (3) below). Thus, it was the choice for this study for its interpretability and robustness.

The kernel-discriminant can be casted as a constrained optimization problem [61] (S1 Methods), in which the goal is to obtain c − 1 nonzero vectors α of dimension (l × 1). In what follows, l=y=1cly is the number of observation vectors on each estimation (training) dataset (see Reliability over trials analysis section for dataset definitions), where ly are the observations associated with the yth behavioral category. The optimization program is:

α:minα(αTNα+λ·αTKα),

subject to:

αT·y=1c(μy-m)=1,m=1c·y=1cμy, (3)

where terms in such an optimization program and the probabilistic interpretation are described below.

Loss term. The first summand in Eq (3) plus the constraint is analogous to a loss function (S1 Methods). N is a (l × l) matrix defined as:

N=K·KT-y=1c(ly·μy·μyT),μy=y0=1ly0·K1y0, (4)

where 1y0 is a (l × 1) vector whose entries are ones if the observation x(t) occurs during a trial in which the behavioral response is y = y0 and zero otherwise. K is termed the gram matrix (l × l), whose entries Kt,t for two input observations x(t), x(t′) are provided by the following function commonly termed inhomogeneous multinomial kernel [83]:

k(x(t),x(t))=(1+x(t)T·x(t))θ-1, (5)

where θ is the maximum correlation order represented in the space, as will be discussed below. The output of the discriminant is the next (l × (c − 1)) matrix F of entries Fij:

F=K·A. (6)

In Eq (6), A is the (l × (c − 1)) matrix whose columns Aj = α are the vectors α of dimension (l × 1) providing subsequent minimums to the optimization program (Eq (3)) i.e., the j = 1, …, c − 1 columns of F are Fj = Kα for each α. This program can be solved via least squares or, for moderate sizes of the gram matrices K, directly as an eigenvalue problem in which α are the successive generalized eigenvectors of (y=1c(μy-m)·(μy-m)T)α=ν(N+λ·K)α [61], sorted in decreasing order of the eigenvalues ν (see details in S1 Methods).

Rows of F, termed Fi = f(x(t)) are (1 × (c − 1)) projections for the single observation x(t) and all its interactions up to order θ (see next section) onto an optimally discriminant subspace of dimension c − 1 (Figs 25, S2 and S3 Figs). This intuitive interpretation is further discussed in S1 Methods, adapted from well-known results and previous studies [37, 61]. All in all, F row vectors present minimal within-category variance whilst maximizing the distance between mean vectors per category, like a conventional discriminant [84], to facilitate decoding, as discussed in the next section.

Regularization and probabilistic interpretation. The second summand in Eq (3) is the Tikonov (L2) regularization term to avoid over-fitting, and it is the same as the one used in support vector machines [61], weighed by the penalization constant λ optimized by cross-validation per ensemble (see Reliability over trials analysis section).

The discriminant criterion is a Bayes-optimal decoding choice over other classifiers if the data projected in the output subspace is normally distributed [84]. That is, if f(x(t))Nc-1, where Nc-1 is a c − 1 multivariate normal distribution. This is typically the case in our data (Lilliefors non-parametric test, p < 0.045 for all ensembles but a small ensemble n = 5 units, see S1 Methods for further discussion). Thus, a reliable estimation of the probability of an observation x(t) to be classified in the category y = y0 is

P(x(t)|y0)=1(2·π)c-12·|Σy0|·e-12·(f(x(t))-<f>y0)Σy0-1(f(x(t))-<f>y0)T, (7)

where <f>y0 and Σy0 are, respectively, the mean vector and the (c − 1 × c − 1) covariance matrix of the projected data vector f computed for all the l0 observations associated with the behavioral category y0. Thus, the predicted class is the one that maximizes Eq (7), since equal class-priors were assumed (Experiments section).

State spaces and correlations

The decoder operates in a range of state spaces (see schematics in Fig 2A). A θ-order state space is defined as the ensemble multi-unit space spanned by the units rates as dimensions, further augmented by axes representing constellations of units interacting up to a specific order θ (Fig 2A) [37]. The jth component of a vector at the time bin t, ϕ(t) on a θth-order space constructed from a n-units ensemble is defined as:

θ = 1:

{ϕ(θ=1,x(t))}j=xj(t),

θ = 2:

{ϕ(θ=2,x(t))}j={[2·x1(t),2·x2(t),,2·xn(t),2·x1(t)·x2(t),,2·x1(t)·xn(t),,x1(t)2,,xn(t)2]T}j,

θn:

{ϕ(θ,x(t))}j=(θi0,,in)·x1(t)i1···xn(t)in,j=j(i0,..,in),ikN+

subject to:

0i0<θ,0ik0θ,k=0nik=θ, (8)

where j(i0,.., in) is the jth entry of the ϕ(θ, x(t)) vector uniquely associated with specific values for the indexes i0,.., in, and the binomial coefficient is (θi0,,in)=θ!i0!···in!. The dimensionality of such spaces is D=(n+θn)-1; which in this study spans from D = n to a much higher dimensionality. For instance, in an ensemble of n = 9 units and θ = 3, D=(129)-1=1319. Such state spaces are typically sparse since D ≳ l dataset patterns (see next section). This leads to computational challenges for any classifier operating is such high-dimensional spaces.

Thus, instead of classifying directly in spaces spanned by ϕ(θ, x(t)) high-dimensional vectors, the decoder used (Eq (3)) alleviates this drawback by recasting the optimization problem in terms of the (l × l) symmetric gram matrix, whose entries are provided by Eq (5), which is computationally tractable here. This step is the well-known kernelization process of a classifier, which relies on the fact that only the D × D covariance matrix and thus products of input vectors x(t) are typically needed for their classification, whereas explicit representations of the individual vectors are unnecessary [61].

The kernel function (Eq (5)) corresponds to the product of any pair of such (D × 1) sparse vectors, ϕ(θ, x(t)), ϕ(θ, x(t′)) [37, 61]; where their jth elements are shown in Eq (8). That is,

ϕ(θ,x(t))T·ϕ(θ,x(t))=k(x(t),x(t)). (9)

The demonstration is shown in S1 Methods. Thus, knowledge of the kernel matrix of entries Kt,t = k(x(t), x(t′)) suffices for solving the decoding program (Eq (3)). The explicit, ill-posed computation of high-dimensional covariance matrices based on vectors ϕ(θ, x(t)) is thus avoided and decoding becomes computationally feasible [61] (see details in S1 Methods).

Correlation coefficients (Eq (1)) are directly linked with the state space. For this discussion, we make explicit again the trial index T for a given observation vector x(t, T), and start by redefining the state-space vectors as:

{ϕ˜(θ,x(t,T))}j={ϕ(θ,x(t,T))}j(θi0,,in), (10)

subject to the same constraints indicated in Eq (8). Thus, for z-scored data, the correlation coefficient between any pair of different units a1a2 in an ensemble (Eq (1)) is simply Corr(xa1,xa2;θ=2)(t)=T{ϕ˜(θ=2,x(t,T))}j, where j=j(ia1,ia2),a1,a2>0 is a specific entry of the ϕ˜ vector (Eq (10)) corresponding to ia1=ia2=1. The average correlation for all possible pairs of different units in an ensemble of n units at time bin t within a trial can be expressed as:

<Corr(xa1,xa2;2)>j(ia1,ia2)(t)=1(n+1n-1)-n·j=1(n+1n-1)-nT{ϕ˜(2,x(t,T))}j, (11)

where a1a2 and (n+1n-1)-n is the number of different correlation coefficients per ensemble. The S1 Methods demonstrate this relationship between mean projections on space coordinates and correlations for an arbitrary higher-order θ (Eqs (S17a) and (S17b)).

Reliability over trials analysis

Columns α of the matrix A are further orthogonalized using the Gram-Schmidt algorithm to depict an intuitive portrait of the data projected in a Euclidean space. Thus, the projected data matrix (Eq (6)) is F^=K·A^, where A^ columns are orthogonal [10]. This is the view displayed on Figs 2A and 3A. Orthogonalization provides a faithful representation of the data projected in an optimized subspace.

Consecutive blocks Bk of 40 successive trials each (hereafter termed blocks) were used as estimation and test data; this was the lowest number of test trials to effectively decode the choice outcome. To quantify the reliability of the decoded representation through future trials, causal cross-validation was defined as follows: first, the optimization program (Eq (3)) was computed for a given block Bk. Second, solution vectors (columns of A) were held fixed. Third and finally, the discriminant output f was computed for the following blocks Bk+1, …, B4 (rendering a six-fold-ahead cross-validation), that is, the test data is always set in the future.

This cross-validation strategy was specifically devised to test the stability of the decoded choices for the longest possible period, even on non-consecutive validation blocks up to 160 trials away. This exigent setting, in which estimation and validation sets are of the same size and not adjacent, is particularly challenging for any decoder [84].

To evaluate the reliability over future trials of the representation obtained in the training data set, two simple indexes were computed: The conventional classification error per behavioral category (decoding error, DE) and the divergent trajectories index (DT) [56]. We term DE as the fraction of misclassified trials on the test data, averaged over all cross-validation blocks per choice outcome category. Penalization constants λ were fixed to yield minimum DEs from a uniform grid of up to 1000 sampled values dawn from [0, 0.5] [56].

Divergent trajectories. For computing DT, we leveraged the decoding probabilities (Eq (7)) to estimate the distance of each vector x(t) with respect to the centroid of the category; this spatial relationship is not straightforwardly provided by other approaches [84].

Consider the matrix Ry0 of size (n × l0) associated with a category y = y0, containing the sequence of consecutive firing rate vectors x(t) of an n-units ensemble during a single trial consisting of l0 bins (see an example in Fig 3A),

Ry0=[x(t=t1),x(t=t2),,x(t=tl0)]. (12)

A divergent trajectory R˜y0 is defined as a matrix Ry0 in which its last r + 1 > 0 consecutive column vectors, x(t = tl0r), …, x(t=tl0) are misclassified. That is, at least the vector x(t=tl0) is misclassified, and, potentially, any immediately previous vectors, or in other words:

R˜y0Ry0,

such that for an index r, 0 ≤ r < l0 it holds that:

maxy(P(x(t)|y))y0,t{tl0-r,,tl0-1,tl0}, (13)

where DT is also defined as the mean fraction of divergent trajectories R˜y0 over test sets; that is, in upcoming blocks of trials. This is an indication that such trajectory tends to escape the category boundaries defined by the discriminant, as further discussed in [10]. In Fig 5 analyses, trials are not consecutive and thus only DEs are computed.

Analyses were performed in a 16-core Hewlett-Packard Z440 workstation using Matlab Parallel Computing Toolbox 2018 (Matworks inc.). Demonstrations and further implementation details are provided in S1 Methods.

Supporting information

S1 Fig. Triplet-wise passive correlations are weaker than correlations during correct trials.

(A) Trial-averaged triple-wise correlations (Eq (1) in Materials and methods) further averaged across ensembles having n ≥ 5 units used in Fig 1. Correlations were computed during trials in which animals were passively exposed to the same set of stimuli as in Fig 1, but in which the reward was not delivered (green line). Vertical lines indicate the average position of different salient events (see Fig 1). (B) Same as in (A) during three periods of interest: trial initiation (left), stimulus offset (central) and choice (right) (Materials and methods), error bars are SD. Incorrect and passive trials and indistinguishable during the entire trial (passive vs incorrect T(40) = 0.344, p = 0.72, likewise for each one of the individual periods, data normal per Lilliefors test, p > 0.3); whilst correct and passive differ (T(40) = −6.59, p = 2.1 10−7 Bonferroni corrected; MANOVA for correct, passive and incorrect groups, Wilks’ ⋀ = 0.83 for correct versus passive subspace, p = 5.3 ⋅ 10−6). (C) Passive pairwise (left) and quadruplet-wise correlations (right) are shown for comparison.

(TIF)

S2 Fig. Examples of decoding indexes for four of the largest ensembles.

As in Figs 25, S3 Fig, an optimal regularized kernel-discriminant (order 3) was used to compute the mean of the six-fold-ahead causally cross-validated value of the decoding error (DE, top) and the trajectory divergence index (DT, bottom) for each ensemble. Blue bars show the index values for correct choices (“C”), black the average through the rest of choices (“I” stands for Incorrect choice). *p < 0.05, **p < 0.001, Wilcoxon rank sum tests. Orange boxplots show the quartiles, whiskers indicate outliers, triangle markers the 1% percentile of n = 1000 bootstraps drawn for the permutation tests, see Materials and methods.

(TIF)

S3 Fig. Decoding the residuals of a linear regression adjustment with the preceding trial.

See Materials and methods, Eq (2) in the main text. As in Figs 25, S2 Fig, an optimal regularized kernel-discriminant (order 3) was used to compute the mean of the six-fold-ahead causally cross-validated value of the decoding error (DE) and the trajectory divergence index (DT) for all the ensembles recorded (n = 82 units). Blue bars show values for correct choices, black the average through the rest of choices, blue and black error bars are SEM. Dotted lines indicate decoding results for the original data for benchmark (Fig 4). Differences between correct and incorrect trials are significant both for DE (Wilcoxon rank sum, W = 19363, p = 3.9 ⋅ 10−5) and DT (W = 20695, p = 0.006). Orange markers show averages and SEM of n = 300 bootstraps drawn for the permutation tests of the residual data, see Materials and methods.

(TIF)

S4 Fig. Pairwise correlations do not discriminate among the predictability of correct choices.

(A) Average correlations only for correct choices. Like in Figs 6C and 7C, left and right pie charts show the total fraction of positive and negative correlations for all ensembles and trials. Dashed lines indicate the mean triplet-wise correlations shown in Fig 6C for comparison. (B) The same analysis as in (A) but for partial pairwise correlations. See also Figs 6 and 7 for raw and partial triplet-wise correlations respectively.

(TIF)

S5 Fig. Triplet differential correlations are stronger on early trial stages of predictable trials.

The jth differential correlation coefficient Δδpredictable(unpredictable)(j; θ) is the difference between positive (δ+) and negative (δ) deltas; where δ+ (−) consist of the difference between positive (negative) correlations during correct and incorrect trials, aggregated during a specific time period (see Eq (S18)). The figure shows mean differential correlation coefficients for θ = 2 (top row), θ = 3 (middle row) and θ = 4 (bottom row), bars are SEM. Consistently with Fig 6 ((A) and (B), right panels), the mean Δδpredictable(θ = 3) is significantly stronger than Δδunpredictable(θ = 3) during early stages of the trial; especially before the upcoming stimulus becomes available (trial initiation period, left panel in middle row, Wilcoxon rank-sum W = 122311, p = 0.015, n = 359; stimulus period, p = 0.023). This effect does not reach significance neither for pairwise (top row) nor for quadruple-wise correlations (bottom row, dotted lines show the third order correlations, Δδ(θ = 3), for comparison).

(TIF)

S1 Methods. Supplementary methods.

(PDF)

Acknowledgments

Authors would like to thank Mr Tony Donegan for editing the manuscript.

Data Availability

Electrophysiological data underlying the results presented in the study are publicly available at https://doi.org/10.18746/bmth.data.00000127 under the terms of the Creative Commons license (https://creativecommons.org/licenses/by/4.0).

Funding Statement

This work was supported by EU H2020 Research and Innovation Programme under Grant Agreement No. 785907 (HBP SGA2), BFU2017-85048-R Spanish Ministry of Science to MVSV and by the project Async-Prop, Bournemouth University-IDIBAPS, RED11549, Partnering Project of the HBP SP3 (EU H2020 Research and Innovation Programme) to EB-B. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1. Nogueira R, Lawrie S, Moreno-Bote R. Neuronal Variability as a Proxy for Network State. Trends in Neurosciences. 2018;41(4):170–173. 10.1016/j.tins.2018.02.003 [DOI] [PubMed] [Google Scholar]
  • 2. Murakami M, Shteingart H, Loewenstein Y, Mainen ZF. Distinct sources of deterministic and stochastic components of action timing decisions in rodent frontal cortex. Neuron. 2017;4(94):908–919. 10.1016/j.neuron.2017.04.040 [DOI] [PubMed] [Google Scholar]
  • 3. Leavitt ML, Pieper F, Sachs AJ, Martinez-Trujillo JC. Correlated variability modifies working memory fidelity in primate prefrontal neuronal ensembles. Proceedings of the National Academy of Sciences. 2017;114(12):2494–2503. 10.1073/pnas.1619949114 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Arandia-Romero I, Tanabe S, Drugowitsch J, Kohn A, Moreno-Bote R. Multiplicative and Additive Modulation of Neuronal Tuning with Population Activity Affects Encoded Information. Neuron. 2016;89(6):1305–1316. 10.1016/j.neuron.2016.01.044 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Doiron B, Litwin-Kumar A, Rosenbaum R, Ocker GK, Josic K. The mechanics of state-dependent neural correlations. Nature Neuroscience. 2016;19(3):383–393. 10.1038/nn.4242 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6. Balaguer-Ballester E. Cortical Variability and Challenges for Modeling Approaches. Frontiers in Systems Neuroscience. 2017;11 10.3389/fnsys.2017.00015 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7. Bujan AF, Aertsen A, Kumar A. Role of Input Correlations in Shaping the Variability and Noise Correlations of Evoked Activity in the Neocortex. Journal of Neuroscience. 2015;35(22):8611–8625. 10.1523/JNEUROSCI.4536-14.2015 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8. Lin IC, Okun M, Carandini M, Harris KD. The Nature of Shared Cortical Variability. Neuron. 2015;87(3):644–656. 10.1016/j.neuron.2015.06.035 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9. Renart A, Machens C. Variability in neural activity and behavior. Current Opinion in Neurobiology. 2014;25:211–220. 10.1016/j.conb.2014.02.013 [DOI] [PubMed] [Google Scholar]
  • 10. Balaguer-Ballester E, Tabas-Diaz A, Budka M. Can We Identify Non-Stationary Dynamics of Trial-to-Trial Variability? PLoS ONE. 2014;9(4):1–13. 10.1371/journal.pone.0095648 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11. Stein RB, Gossen ER, Jones KE. Neuronal variability: noise or part of the signal? Nature Reviews in Neuroscience. 2005;6(5):389–397. 10.1038/nrn1668 [DOI] [PubMed] [Google Scholar]
  • 12. Shadlen MN, Newsome WT. The variable discharge of cortical neurons: implications for connectivity, computation, and information coding. Journal of Neuroscience. 1998;18(10):3870–3896. 10.1523/JNEUROSCI.18-10-03870.1998 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. Werner G, Mountcastle VB. Variability of central neural activity in a sensory system, and its implications for central rejection of sensory events. Journal of Neurophysology. 1963;29:958–977. 10.1152/jn.1963.26.6.958 [DOI] [PubMed] [Google Scholar]
  • 14. Marcos E, Pani P, Brunamonti E, Deco G, Ferraina S, Verschure P. Neural Variability in Premotor Cortex Is Modulated by Trial History and Predicts Behavioral Performance. Neuron. 2013;78(2):249–255. 10.1016/j.neuron.2013.02.006 [DOI] [PubMed] [Google Scholar]
  • 15. Churchland MM, Yu BM, Ryu SI, Santhanam G, Shenoy KV. Neural Variability in Premotor Cortex Provides a Signature of Motor Preparation. Journal of Neuroscience. 2006;26(14):3697–3712. 10.1523/JNEUROSCI.3762-05.2006 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16. Churchland MM, Yu BM, Cunningham JP, Sugrue LP, Cohen MR, Corrado GS, et al. Stimulus onset quenches neural variability: a widespread cortical phenomenon. Nature Neuroscience. 2010;13(3):369–378. 10.1038/nn.2501 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17. Churchland A, Kiani R, Chaudhuri R, Wang XJ, Pouget A, Shadlen M. Variance as a Signature of Neural Computations during Decision Making. Neuron. 2011;69:818–831. 10.1016/j.neuron.2010.12.037 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18. Ledberg A, Montagnini A, Coppola R, Bressler SL. Reduced Variability of Ongoing and Evoked Cortical Activity Leads to Improved Behavioral Performance. PLoS ONE. 2012;7(8):1–11. 10.1371/journal.pone.0043166 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19. Pachitariu M, Lyamzin DR, Sahani M, Lesica NA. State-Dependent Population Coding in Primary Auditory Cortex. Journal of Neuroscience. 2015;35(5):2058–2073. 10.1523/JNEUROSCI.3318-14.2015 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20. Abolafia J, Martinez-Garcia M, Deco G, Sanchez-Vives MV. Variability and information content in auditory cortex spike trains during an interval-discrimination task. Journal of Neurophysiology. 2013;110:2163–2174. 10.1152/jn.00381.2013 [DOI] [PubMed] [Google Scholar]
  • 21. Padoa-Schioppa C. Neuronal Origins of Choice Variability in Economic Decisions. Neuron. 2013;80(5):1322–1336. 10.1016/j.neuron.2013.09.013 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22. Hussar C, Pasternak T. Trial-to-trial variability of the prefrontal neurons reveals the nature of their engagement in a motion discrimination task. Proceedings of the National Academy of Sciences. 2010;107(50):21842–21847. 10.1073/pnas.1009956107 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23. van Duuren E, van der Plasse G, Lankelma J, Joosten RNJMA, Feenstra MGP, Pennartz CMA. Single-Cell and Population Coding of Expected Reward Probability in the Orbitofrontal Cortex of the Rat. Journal of Neuroscience. 2009;29(28):8965–8976. 10.1523/JNEUROSCI.0005-09.2009 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24. Murray JD, Bernacchia A, Roy NA, Constantinidis C, Romo R, Wang XJ. Stable population coding for working memory coexists with heterogeneous neural dynamics in prefrontal cortex. Proceedings of the National Academy of Sciences. 2017;114(2):394–399. 10.1073/pnas.1619449114 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25. Deneve S, Machens CK. Efficient codes and balanced networks. Nature Neuroscience. 2016;19(3):375–382. 10.1038/nn.4243 [DOI] [PubMed] [Google Scholar]
  • 26. Rosenbaum R, Smith MA, Kohn A, Rubin JE, Doiron B. The spatial structure of correlated neuronal variability. Nature Neuroscience. 2017;20(1):107–114. 10.1038/nn.4433 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27. Hartmann C, Lazar A, Nessler B, Triesch J. Where is the Noise? Key Features of Spontaneous Activity and Neural Variability Arise through Learning in a Deterministic Network. PLoS Computational Biology. 2016;11(12):e1004640 10.1371/journal.pcbi.1004640 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28. Litwin-Kumar A, Doiron B. Slow dynamics and high variability in balanced cortical networks with clustered connections. Nature Neuroscience. 2012;15(11):1498–1505. 10.1038/nn.3220 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29. Sussillo D, Abbott LF. Generating Coherent Patterns of Activity from Chaotic Neural Networks. Neuron. 2009;63:544–557. 10.1016/j.neuron.2009.07.018 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30. Spaak E, Watanabe K, Funahashi S, Stokes MG. Stable and dynamic coding for working memory in primate prefrontal cortex. Journal of Neuroscience. 2017;37(27):6503–6516. 10.1523/JNEUROSCI.3364-16.2017 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31. Mainen ZF, Sejnowski TJ. Reliability of spike timing in neocortical neurons. Science. 1995;268(5216):1503–1506. 10.1126/science.7770778 [DOI] [PubMed] [Google Scholar]
  • 32. Cohen MR, Maunsell JH. Attention improves performance primarily by reducing interneuronal correlations. Nature Neuroscience. 2009;12(12):1594–1600. 10.1038/nn.2439 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Cohen MR, Kohn A. Measuring and interpreting neuronal correlations. Nature Neuroscience. 2011;14(7):811–819. 10.1038/nn.2842 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34. Mitchell JF, Sundberg KA, Reynolds JH. Spatial attention decorrelates intrinsic activity fluctuations in macaque area V4. Neuron. 2009;63(6):879–888. 10.1016/j.neuron.2009.09.013 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35. Musall S, Kaufman MT, Juavinett AL, Gluf S, Churchland AK. Single-trial neural dynamics are dominated by richly varied movements. Nature Neuroscience. 2019;22(10):1677–1686. 10.1038/s41593-019-0502-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36. Schölvinck ML, Saleem AB, Benucci A, Harris KD, Carandini M. Cortical State Determines Global Variability and Correlations in Visual Cortex. Journal of Neuroscience. 2015;35(1):170–178. 10.1523/JNEUROSCI.4994-13.2015 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37. Balaguer-Ballester E, Lapish CC, Seamans JK, Durstewitz D. Attracting dynamics of frontal cortex ensembles during memory guided decision making. PLoS Computational Biology. 2011;7:e1002057 EB–B and CCL contributed equally. 10.1371/journal.pcbi.1002057 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38. Moreno-Bote R, Beck J, Kanitscheider I, Pitkow X, Latham P, Pouget A. Information-limiting correlations. Nature Neuroscience. 2014;17(10):1410–1417. 10.1038/nn.3807 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39. Nogueira R, Peltier NE, Anzai A, DeAngelis GC, Martínez-Trujillo J, Moreno-Bote R. The Effects of Population Tuning and Trial-by-Trial Variability on Information Encoding and Behavior. Journal of Neuroscience. 2019;40(5):1066–1083. 10.1523/JNEUROSCI.0859-19.2019 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40. Rumyantsev OI, Lecoq JA, Hernandez O, Zhang Y, Savall J, Chrapkiewicz R, et al. Fundamental bounds on the fidelity of sensory cortical coding. Nature. 2020;580(7801):100–105. 10.1038/s41586-020-2130-2 [DOI] [PubMed] [Google Scholar]
  • 41. Nogueira R, Abolafia JM, Drugowitsch J, Balaguer-Ballester E, Sanchez-Vives M, Moreno-Bote R. Lateral orbitofrontal cortex anticipates choices and integrates prior with current information. Nature Communications. 2017;8:14823 10.1038/ncomms14823 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42. Onken A, Xie J, Panzeri S, Padoa-Schioppa C. Categorical encoding of decision variables in orbitofrontal cortex. PLoS Computational Biology. 2019;15(10):e1006667 10.1371/journal.pcbi.1006667 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43. Groman SM, Keistler C, Keip AJ, Hammarlund E, DiLeone RJ, Pittenger C, et al. Orbitofrontal Circuits Control Multiple Reinforcement-Learning Processes. Neuron. 2019;103(4):734–746. 10.1016/j.neuron.2019.05.042 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44. Jennings JH, Kim CK, Marshel JH, Raffiee M, Ye L, Quirin S, et al. Interacting neural ensembles in orbitofrontal cortex for social and feeding behaviour. Nature. 2019;565:645–649. 10.1038/s41586-018-0866-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45. Yamada H, Louie K, Tymula A, Glimcher PW. Free choice shapes normalized value signals in medial orbitofrontal cortex. Nature Communications. 2018;9(1):162 10.1038/s41467-017-02614-w [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46. Gardner MPH, Conroy JS, Shaham MH, Styer CV, Schoenbaum G. Lateral Orbitofrontal Inactivation Dissociates Devaluation-Sensitive Behavior and Economic Choice. Neuron. 2017;96(5):1192–1203. 10.1016/j.neuron.2017.10.026 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47. Gold JI, Shadlen MN. The Neural Basis of Decision Making. Annual Review of Neuroscience. 2007;30(1):535–574. 10.1146/annurev.neuro.29.051605.113038 [DOI] [PubMed] [Google Scholar]
  • 48. Wilson RC, Takahashi YK, Schoenbaum G, Niv Y. Orbitofrontal cortex as a cognitive map of task space. Neuron. 2014;81(2):267–279. 10.1016/j.neuron.2013.11.005 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49. Rudebeck PH, Murray EA. The Orbitofrontal Oracle: Cortical Mechanisms for the Prediction and Evaluation of Specific Behavioral Outcomes. Neuron. 2014;84(6):1143–1156. 10.1016/j.neuron.2014.10.049 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50. Sadacca BF, Wied HM, Lopatina N, Saini GK, Nemirovsky D, Schoenbaum G. Orbitofrontal neurons signal sensory associations underlying model-based inference in a sensory preconditioning task. eLife. 2018;7:e30373 10.7554/eLife.30373 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51. Namboodiri VMK, Otis JM, van Heeswijk K, Voets ES, Alghorazi RA, Rodriguez-Romaguera J, et al. Single-cell activity tracking reveals that orbitofrontal neurons acquire and maintain a long-term memory to guide behavioral adaptation. Nature Neuroscience. 2019;22(7):1110–1121. 10.1038/s41593-019-0408-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52. Lichtenberg NT, Pennington ZT, Holley SM, Greenfield VY, Cepeda C, Levine MS, et al. Basolateral Amygdala to Orbitofrontal Cortex Projections Enable Cue-Triggered Reward Expectations. Journal of Neuroscience. 2017;37(35):8374–8384. 10.1523/JNEUROSCI.0486-17.2017 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53. Rudebeck PH, Saunders RC, Lundgren DA, Murray EA. Specialized Representations of Value in the Orbital and Ventrolateral Prefrontal Cortex: Desirability versus Availability of Outcomes. Neuron. 2017;95(5):1208–1220. 10.1016/j.neuron.2017.07.042 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54. Gardner MP, Conroy JC, Styer CV, Huynh T, Whitaker LR, Schoenbaum G. Medial orbitofrontal inactivation does not affect economic choice. eLife. 2018;7:e38963 10.7554/eLife.38963 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55. Chiang FK, Wallis JD. Spatiotemporal encoding of search strategies by prefrontal neurons. Proceedings of the National Academy of Sciences. 2018;115(19):5010–5015. 10.1073/pnas.1805044115 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56. Lapish CC, Balaguer-Ballester E, Seamans JK, Phillips AG, Durstewitz D. Amphetamine Exerts Dose-Dependent Changes in Prefrontal Cortex Attractor Dynamics during Working Memory. Journal of Neuroscience. 2015;35(28):10172–10187. EB–B and CCL contributed equally. 10.1523/JNEUROSCI.2421-14.2015 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57. Shobe JL, Bakhurin KI, Claar LD, Masmanidis SC. Selective Modulation of Orbitofrontal Network Activity during Negative Occasion Setting. Journal of Neuroscience. 2017;37(39):9415–9423. 10.1523/JNEUROSCI.0572-17.2017 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58. Haefner RM, Gerwinn S, Macke JH, Bethge M. Inferring decoding strategies from choice probabilities in the presence of correlated variability. Nature Neuroscience. 2013;16(2):235–242. 10.1038/nn.3309 [DOI] [PubMed] [Google Scholar]
  • 59. Averbeck BB, Latham PE, Pouget A. Neural correlations, population coding and computation. Nature Reviews in Neuroscience. 2006;7(5):358–366. 10.1038/nrn1888 [DOI] [PubMed] [Google Scholar]
  • 60. Ecker AS, Berens P, Keliris GA, Bethge M, Logothetis NK, Tolias AS. Decorrelated Neuronal Firing in Cortical Microcircuits. Science. 2010;327(5965):584–587. 10.1126/science.1179867 [DOI] [PubMed] [Google Scholar]
  • 61. Schölkopf B, Smola A. Learning with Kernels: Support Vector Machines, Regularization, Optimization, and Beyond Adaptive Computation and Machine Learning. Cambridge, MA, USA: MIT Press; 2018. 10.7551/mitpress/4175.003.0027 [DOI] [Google Scholar]
  • 62. Najafi F, Churchland AK. Perceptual Decision-Making: A Field in the Midst of a Transformation. Neuron. 2018;100(2):453–462. 10.1016/j.neuron.2018.10.017 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63. Del Arco A, Park J, Wood J, Kim Y, Moghaddam B. Adaptive Encoding of Outcome Prediction by Prefrontal Cortex Ensembles Supports Behavioral Flexibility. Journal of Neuroscience. 2017;37(35):8363–8373. 10.1523/JNEUROSCI.0450-17.2017 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64. Stalnaker TA, Cooch NK, Schoenbaum G. What the orbitofrontal cortex does not do. Nature Neuroscience. 2015;18(5):620–627. 10.1038/nn.3982 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65. Renart A, de la Rocha J, Bartho P, Hollender L, Parga N, Reyes A, et al. The asynchronous state in cortical circuits. Science. 2010;327:587–590. 10.1126/science.1179850 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 66. Ruff DA, Cohen MR. Simultaneous multi-area recordings suggest that attention improves performance by reshaping stimulus representations. Nature Neuroscience. 2019;22(10):1669–1676. 10.1038/s41593-019-0477-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 67. Ohiorhenuan IE, Mechler F, Purpura KP, Schmid AM, Hu Q, Victor JD. Sparse coding and high-order correlations in fine-scale cortical networks. Nature. 2010;466(7306):617–621. 10.1038/nature09178 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 68. Ohiorhenuan IE, Victor JD. Information-geometric measure of 3-neuron firing patterns characterizes scale-dependence in cortical networks. Journal of Computational Neuroscience. 2011;30(1):125–141. 10.1007/s10827-010-0257-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69. Shimazaki H, Sadeghi K, Ishikawa T, Ikegaya Y, Toyoizumi T. Simultaneous silence organizes structured higher-order interactions in neural populations. Scientific Reports. 2015;5(1):9821 10.1038/srep09821 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 70. Sheikhattar A, Miran S, Liu J, Fritz JB, Shamma SA, Kanold PO, et al. Extracting neuronal functional network dynamics via adaptive Granger causality analysis. Proceedings of the National Academy of Sciences. 2018;115(17):3869–3878. 10.1073/pnas.1718154115 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 71. Shimazaki H, Amari Si, Brown EN, Grün S. State-Space Analysis of Time-Varying Higher-Order Spike Correlation for Multiple Neural Spike Train Data. PLoS Computational Biology. 2012;8(3):e1002385 10.1371/journal.pcbi.1002385 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 72. Montangie L, Montani F. Higher-order correlations in common input shapes the output spiking activity of a neural population. Physica A: Statistical Mechanics and its Applications. 2017;471:845–861. 10.1016/j.physa.2016.12.002 [DOI] [Google Scholar]
  • 73. Montangie L, Montani F. Quantifying higher-order correlations in a neuronal pool. Physica A: Statistical Mechanics and its Applications. 2015;421:388–400. 10.1016/j.physa.2014.11.046 [DOI] [Google Scholar]
  • 74. Montani F, Phoka E, Portesi M, Schultz S. Statistical modelling of higher-order correlations in pools of neural activity. Physica A Statistical and Theoretical Physics. 2013;392:3066–3086. 10.1016/j.physa.2013.03.012 [DOI] [Google Scholar]
  • 75. Montangie L, Montani F. Effect of interacting second- and third-order stimulus-dependent correlations on population-coding asymmetries. Physical Review E. 2016;94(4):042303 10.1103/PhysRevE.94.042303 [DOI] [PubMed] [Google Scholar]
  • 76. Schneidman E, Berry MJ, Segev R, Bialek W. Weak pairwise correlations imply strongly correlated network states in a neural population. Nature. 2006;440(7087):1007–1012. 10.1038/nature04701 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 77. Dahmen D, Grün S, Diesmann M, Helias M. Second type of criticality in the brain uncovers rich multiple-neuron dynamics. Proceedings of the National Academy of Sciences. 2019;116(26):13051–13060. 10.1073/pnas.1818972116 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 78. Varona P, Rabinovich MI. Hierarchical dynamics of informational patterns and decision-making. Proceedings of the Royal Society of London B: Biological Sciences. 2016;283(1832):2016.0475. 10.1098/rspb.2016.0475 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 79. Omi T, Shinomoto S. Optimizing time histograms for non-Poissonian spike trains. Neural Computation. 2011;23:3125–3144. 10.1162/NECO_a_00213 [DOI] [PubMed] [Google Scholar]
  • 80.Mika S, Ratsch G, Müller K. A mathematical programming approach to the kernel fisher algorithm. In: Neural Information Processing Systems. vol. 13. MIT press; 2001. p. 570–576.
  • 81. Fan Z, Xu Y, Ni M, Fang X, Zhang D. Individualized learning for improving kernel Fisher discriminant analysis. Pattern Recognition. 2016;58:100–109. 10.1016/j.patcog.2016.03.029 [DOI] [Google Scholar]
  • 82. Pandarinath C, O’Shea DJ, Collins J, Jozefowicz R, Stavisky SD, Kao JC, et al. Inferring single-trial neural population dynamics using sequential auto-encoders. Nature Methods. 2018;15(10):805–815. 10.1038/s41592-018-0109-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 83. Ben-Hur A, Ong CS, Sonnenburg S, Scholkopf B, Ratsch G. Support vector machines and kernels for computational biology. PLoS Computational Biology. 2008;4:e1000173 10.1371/journal.pcbi.1000173 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 84. Hastie T, Tibshirani R, Friedman J. The elements of statistical learning: data mining, inference and prediction. 2nd ed New York: Springer; 2009. 10.1111/j.1751-5823.2009.00095_18.x [DOI] [Google Scholar]
PLoS Comput Biol. doi: 10.1371/journal.pcbi.1007862.r001

Decision Letter 0

Boris S Gutkin, Daniele Marinazzo

6 Jan 2020

Dear Dr Balaguer-Ballester,

Thank you very much for submitting your manuscript 'Reliable Representation of Foreseeable Choice Outcomes in Orbitofrontal Cortex Triplet-wise Interactions' for review by PLOS Computational Biology. Your manuscript has been fully evaluated by the PLOS Computational Biology editorial team and in this case also by independent peer reviewers. The reviewers appreciated the attention to an important problem, but raised some substantial concerns about the manuscript as it currently stands. While your manuscript cannot be accepted in its present form, we are willing to consider a revised version in which the issues raised by the reviewers have been adequately addressed. We cannot, of course, promise publication at that time.

Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out.

Your revisions should address the specific points made by each reviewer. Please return the revised version within the next 60 days. If you anticipate any delay in its return, we ask that you let us know the expected resubmission date by email at ploscompbiol@plos.org. Revised manuscripts received beyond 60 days may require evaluation and peer review similar to that applied to newly submitted manuscripts.

In addition, when you are ready to resubmit, please be prepared to provide the following:

(1) A detailed list of your responses to the review comments and the changes you have made in the manuscript. We require a file of this nature before your manuscript is passed back to the editors.

(2) A copy of your manuscript with the changes highlighted (encouraged). We encourage authors, if possible to show clearly where changes have been made to their manuscript e.g. by highlighting text.

(3) A striking still image to accompany your article (optional). If the image is judged to be suitable by the editors, it may be featured on our website and might be chosen as the issue image for that month. These square, high-quality images should be accompanied by a short caption. Please note as well that there should be no copyright restrictions on the use of the image, so that it can be published under the Open-Access license and be subject only to appropriate attribution.

Before you resubmit your manuscript, please consult our Submission Checklist to ensure your manuscript is formatted correctly for PLOS Computational Biology: http://www.ploscompbiol.org/static/checklist.action. Some key points to remember are:

- Figures uploaded separately as TIFF or EPS files (if you wish, your figures may remain in your main manuscript file in addition).

- Supporting Information uploaded as separate files, titled Dataset, Figure, Table, Text, Protocol, Audio, or Video.

- Funding information in the 'Financial Disclosure' box in the online system.

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

To enhance the reproducibility of your results, we recommend that you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. For instructions see here

We are sorry that we cannot be more positive about your manuscript at this stage, but if you have any concerns or questions, please do not hesitate to contact us.

Sincerely,

Boris S. Gutkin

Associate Editor

PLOS Computational Biology

Daniele Marinazzo

Deputy Editor

PLOS Computational Biology

A link appears below if there are any accompanying review attachments. If you believe any reviews to be missing, please contact ploscompbiol@plos.org immediately:

[LINK]

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: This manuscript follows up on earlier work by the authors on population coding in the rodent frontal cortex, and specifically refers to their experimental design involving rat behavior on an interval discrimination task. The central finding here, which differentiates this manuscript from earlier ones, is that triplet correlations are higher in correct than incorrect trials for the duration of the trial.

I have a number of concerns which dampen my confidence in the findings and their (apparent over-)interpretation. The central result is: because on trials that follow an incorrect one, the stimulus is deterministic and equal to the one in the previous trial, the animal's response is often correct --presumably because the deterministic answer can be fetched from working memory--, and something is different in population activity in the OFC. So, OFC activity contains an "I did it wrong last time, so the next stimulus is like the last one" signal which correlates with correct performance in the present trial. But this finding (which I do buy -- see below) is not especially new: the present analysis was unnecessary to find it, and it's been reported before. The present work does not clarify the signal's origin or whether it is read or readable by other brain areas. So the point of this manuscript is then to individuate the substrates of the signal, in terms of features of neuronal activity. To this end, the authors perform a series of analyses, but their value is unclear based on the manuscript in its present version.

The problematic issues begin already with the introduction. Lines 89-93: "three-way correlations are systematically involved in successful task-processing". Are the correlations really processing the task? In the light of everything that comes later, isn't it that the signal has something to do with a memory of the previous trial's history, and thus presumably a state change or working memory trace? There is no evidence in the paper that correlations carry out "processing" independent of trial history to lead to a correct outcome. Any difference between correct and incorrect trials is present in the figures from the outset of the trial, as the authors themselves say, so the only way it can be explained is as a state- or memory-dependent effect.

Line 101: "increases during correct choices". No, even taking the authors at face value it does not increase during the course of correct choices -- it is higher from the outset of the trial (cf. Fig. 1B).

Lines 123-124: what data values are these tests computed for? The mean computed over the course of the trial? Why is there no correction for multiple comparisons given that the test is being computed for pairs, triplets, quadruplets... constructed dipping from the same data? By the same token, one could test ever-increasing correlation orders (quintuplets...) (although with decreasing statistical power, so significance would be less achievable) until a significant result was found.

What makes the initial data (Fig. 1C) different from later plots (Fig. 2C) where the correlation values shown are different? I can't understand why the value for (correct trials, triplets) in those two panels is different. Did different ensembles/units go into each of the calculations (out of what is, overall, quite a small data set -- apparently 82 units at most)?

Lines 125-129: again, these posthoc comparisons are being made multiple times. The authors are handpicking a series of time windows and running the same analysis. Sometimes, the result is borderline significant (p = 0.42). Are these really "highly significant" effects?

Decoder/discriminant analysis (Fig. 2): Fig. 2B finally shows that there's something different in neuronal activity between correct and incorrect trials and that this is picked up by a population analysis. The earlier presentation of the analysis on triplet correlations is just not a convincing way to demonstrate that the effect is exclusively down to the triplet interactions.

Lines 209-214 and Fig. 4 top panels: I find this analysis really puzzling. The decoding error for the 4th order decoder on correct trials is higher than for the 3rd order decoder. If one includes terms with 4th order interactions in addition to those up to 3rd order, shouldn't the decoding error have a lower bound equal to the error for the decoder up to 3rd order? This is because, as the coefficients for 4th order terms go to zero, the result should match the 3rd order decoder -- there is no way that including more terms can make it worse. I'm willing to believe that adding terms to 4th order may not improve decoding much, but the plot clearly shows a value that is *worse*. NB this is presented as a decoding error measure, not a quality of fit or AIC measure.

Lines 278-279: "the ensemble state during correct-choice trials is robust when the optimal choice can be predicted from the previous trial outcome; it temporarily destabilizes otherwise." This sounds believable and can be deduced from the decoder analysis. But that OFC can host a trial history-dependent population signal is not new, as the authors themselves point out later: "suggests that the cognitive map of the task-space provided by OFC units [63] enable them to encode a compact combination of past-trial state variables, which can predict the upcoming decision [40]." In other words: OFC contains a signal that says "I did it wrong last time, and that means the next stimulus is like the last one." But the authors' approach appears to fall short in identifying the substrate of the signal: the triplet correlation analysis is not convincing at least as presented, and correlation statistics for orders > 3 may well be underpowered given the (apparently) limited dataset.

Minor:

L. 189: "W < 57, p < 0.031" Are these really less than, not equal to? If so, why wasn't it possible to quote the actual value?

"lowly" is misused and there are other typos/mistakes -- the manuscript could do with an edit.

L. 366-369: two or three rats?

L. 626: "Same as in A" - B.

Reviewer #2: The current paper entitled “Reliable Representation of Foreseeable Choice Outcomes in Orbitofrontal Cortex Triplet-wise Interactions” constitutes, in my opinion, a very important contribution to the field of computational neuroscience as it is a remarkable study about the impact of triplet correlations on reliable representation of foreseeable outcomes in the orbitofrontal cortex (OFC).

The current research is extremely important as it shows the relevance of triplets’ correlations on perception and cognition. Their results prove that correlations among triplets are higher during correct choices with respect to incorrect ones, and that this is sustained during the entire trial, moreover this effect is not observed for pairwise nor for higher than third-order correlations.

Moreover,the current study provides invaluable proof that we cannot simplify the functioning of the neuronal code to naive models of pairwise correlations since they can lead us to completely erroneous interpretations when one wants to investigate how information is processed in the brain. Third-order correlations are therefore a very relevant issue on information transmission in the neuronal cortex. More specifically, their results provide evidence that correct choice predictability and hence the optimal behavioral strategy is encoded in metastable states temporarily assembled by complex, third-order lateral OFC (lOFC) constellations.

The current study constitutes a major contribution to the field. The results are carefully analyzed and the work is formally speaking very well presented. Overall, I think that this is paper is a very important one and it should be published in PLOS Computational Biology.

However I have some very minor suggestions:

-Please notice that volume and pages are missing in Ref [3]: Proc Natl Acad Sci U S A. 2017 114(12):E2494-E2503.

-Please correct the year of reference [69] as it is from 2013 (not 2012). Physica A 392 (2013) 3066-3086 and please also cite a more recent paper where the mentioned formalism has been extended: L Montangie, F Montani, “Higher-order correlations in common input shapes the output spiking activity of a neural population” Physica A: Statistical Mechanics and its Applications 471 (2017) 845-861.

-As the discrimination among choice outcomes vanishes for weaker higher than third order interactions it would be of interest if the author could also discuss a possible role of higher order silences (in similar fashion to Hideaki Shimazaki et al Scientific Reports 5 (2015) 9821).

- At theoretical level a recent paper has shown that third order correlations can induce synergy/redundancy states in the information-theoretic sense, thus please cite the following paper: “Effect of interacting second- and third-order stimulus-dependent correlations on population-coding asymmetries” by Lisandro Montangie and Fernando Montani Phys. Rev. E 94 (2016) 042303.

**********

Have all data underlying the figures and results presented in the manuscript been provided?

Large-scale datasets should be made available via a public repository as described in the PLOS Computational Biology data availability policy, and numerical data that underlies graphs or summary statistics should be provided in spreadsheet form as supporting information.

Reviewer #1: No: Should be provided if paper is taken forward.

Reviewer #2: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: Yes: Fernando Montani

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1007862.r003

Decision Letter 1

Boris S Gutkin, Daniele Marinazzo

27 Mar 2020

Dear Dr. Balaguer-Ballester,

Thank you very much for submitting your manuscript "Representation of Foreseeable Choice Outcomes in Orbitofrontal Cortex Triplet-wise Interactions" for consideration at PLOS Computational Biology. As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. The reviewers appreciated the attention to an important topic. Based on the reviews, we are likely to accept this manuscript for publication, providing that you modify the manuscript according to the review recommendations.

Please prepare and submit your revised manuscript within 30 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email. 

When you are ready to resubmit, please upload the following:

[1] A letter containing a detailed list of your responses to all review comments, and a description of the changes you have made in the manuscript. Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out

[2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file).

Important additional instructions are given below your reviewer comments.

Thank you again for your submission to our journal. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments.

Sincerely,

Boris S. Gutkin

Associate Editor

PLOS Computational Biology

Daniele Marinazzo

Deputy Editor

PLOS Computational Biology

***********************

A link appears below if there are any accompanying review attachments. If you believe any reviews to be missing, please contact ploscompbiol@plos.org immediately:

[LINK]

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: The authors have thoroughly revised the paper and have convinced me of the interest of their analysis. This is a nice follow-up to their earlier studies and the notion (and finding) that triplet interactions may contain a code for choice outcomes is intriguing.

That said, there are one or two places where the importance of the findings (which remain largely correlational, in terms of the effects of triplet interactions upon the animal's behavior) is still somewhat overspun. In the Author Summary, the authors could tone down the proposal that "coordinated responses of up to three neurons in the OFC are fundamental for the capacity of the animal to take the optimal decision".

The manuscript also has a few typos so I would suggest an extra edit. A non-exhaustive list:

"orbitofrotal" (l. 45)

"analysis seem consistent" (l. 142) (should be analyses, or seems)

"demonstrates how that third-order correlations" (l. 383)

"enables" should presumably be "ensembles" (l. 397)

I have chosen the "minor revision" option to reflect this.

Reviewer #2: The improved version of the manuscript is very solid and interesting.

I recommend its publication.

**********

Have all data underlying the figures and results presented in the manuscript been provided?

Large-scale datasets should be made available via a public repository as described in the PLOS Computational Biology data availability policy, and numerical data that underlies graphs or summary statistics should be provided in spreadsheet form as supporting information.

Reviewer #1: No: I didn't see any spreadsheet with data, and the authors' statement simply says that data and scripts will be available on request from the author.

Reviewer #2: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

Figure Files:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

Data Requirements:

Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5.

Reproducibility:

To enhance the reproducibility of your results, PLOS recommends that you deposit laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. For instructions see http://journals.plos.org/ploscompbiol/s/submission-guidelines#loc-materials-and-methods

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1007862.r005

Decision Letter 2

Boris S Gutkin, Daniele Marinazzo

9 Apr 2020

Dear Dr. Balaguer-Ballester,

We are pleased to inform you that your manuscript 'Representation of Foreseeable Choice Outcomes in Orbitofrontal Cortex Triplet-wise Interactions' has been provisionally accepted for publication in PLOS Computational Biology.

Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow up email. A member of our team will be in touch with a set of requests.

Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated.

IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript.

Should you, your institution's press office or the journal office choose to press release your paper, you will automatically be opted out of early publication. We ask that you notify us now if you or your institution is planning to press release the article. All press must be co-ordinated with PLOS.

Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Computational Biology. 

Best regards,

Boris S. Gutkin

Associate Editor

PLOS Computational Biology

Daniele Marinazzo

Deputy Editor

PLOS Computational Biology

***********************************************************

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1007862.r006

Acceptance letter

Boris S Gutkin, Daniele Marinazzo

8 Jun 2020

PCOMPBIOL-D-19-01910R2

Representation of Foreseeable Choice Outcomes in Orbitofrontal Cortex Triplet-wise Interactions

Dear Dr Balaguer-Ballester,

I am pleased to inform you that your manuscript has been formally accepted for publication in PLOS Computational Biology. Your manuscript is now with our production department and you will be notified of the publication date in due course.

The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript.

Soon after your final files are uploaded, unless you have opted out, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers.

Thank you again for supporting PLOS Computational Biology and open-access publishing. We are looking forward to publishing your work!

With kind regards,

Sarah Hammond

PLOS Computational Biology | Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom ploscompbiol@plos.org | Phone +44 (0) 1223-442824 | ploscompbiol.org | @PLOSCompBiol

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Fig. Triplet-wise passive correlations are weaker than correlations during correct trials.

    (A) Trial-averaged triple-wise correlations (Eq (1) in Materials and methods) further averaged across ensembles having n ≥ 5 units used in Fig 1. Correlations were computed during trials in which animals were passively exposed to the same set of stimuli as in Fig 1, but in which the reward was not delivered (green line). Vertical lines indicate the average position of different salient events (see Fig 1). (B) Same as in (A) during three periods of interest: trial initiation (left), stimulus offset (central) and choice (right) (Materials and methods), error bars are SD. Incorrect and passive trials and indistinguishable during the entire trial (passive vs incorrect T(40) = 0.344, p = 0.72, likewise for each one of the individual periods, data normal per Lilliefors test, p > 0.3); whilst correct and passive differ (T(40) = −6.59, p = 2.1 10−7 Bonferroni corrected; MANOVA for correct, passive and incorrect groups, Wilks’ ⋀ = 0.83 for correct versus passive subspace, p = 5.3 ⋅ 10−6). (C) Passive pairwise (left) and quadruplet-wise correlations (right) are shown for comparison.

    (TIF)

    S2 Fig. Examples of decoding indexes for four of the largest ensembles.

    As in Figs 25, S3 Fig, an optimal regularized kernel-discriminant (order 3) was used to compute the mean of the six-fold-ahead causally cross-validated value of the decoding error (DE, top) and the trajectory divergence index (DT, bottom) for each ensemble. Blue bars show the index values for correct choices (“C”), black the average through the rest of choices (“I” stands for Incorrect choice). *p < 0.05, **p < 0.001, Wilcoxon rank sum tests. Orange boxplots show the quartiles, whiskers indicate outliers, triangle markers the 1% percentile of n = 1000 bootstraps drawn for the permutation tests, see Materials and methods.

    (TIF)

    S3 Fig. Decoding the residuals of a linear regression adjustment with the preceding trial.

    See Materials and methods, Eq (2) in the main text. As in Figs 25, S2 Fig, an optimal regularized kernel-discriminant (order 3) was used to compute the mean of the six-fold-ahead causally cross-validated value of the decoding error (DE) and the trajectory divergence index (DT) for all the ensembles recorded (n = 82 units). Blue bars show values for correct choices, black the average through the rest of choices, blue and black error bars are SEM. Dotted lines indicate decoding results for the original data for benchmark (Fig 4). Differences between correct and incorrect trials are significant both for DE (Wilcoxon rank sum, W = 19363, p = 3.9 ⋅ 10−5) and DT (W = 20695, p = 0.006). Orange markers show averages and SEM of n = 300 bootstraps drawn for the permutation tests of the residual data, see Materials and methods.

    (TIF)

    S4 Fig. Pairwise correlations do not discriminate among the predictability of correct choices.

    (A) Average correlations only for correct choices. Like in Figs 6C and 7C, left and right pie charts show the total fraction of positive and negative correlations for all ensembles and trials. Dashed lines indicate the mean triplet-wise correlations shown in Fig 6C for comparison. (B) The same analysis as in (A) but for partial pairwise correlations. See also Figs 6 and 7 for raw and partial triplet-wise correlations respectively.

    (TIF)

    S5 Fig. Triplet differential correlations are stronger on early trial stages of predictable trials.

    The jth differential correlation coefficient Δδpredictable(unpredictable)(j; θ) is the difference between positive (δ+) and negative (δ) deltas; where δ+ (−) consist of the difference between positive (negative) correlations during correct and incorrect trials, aggregated during a specific time period (see Eq (S18)). The figure shows mean differential correlation coefficients for θ = 2 (top row), θ = 3 (middle row) and θ = 4 (bottom row), bars are SEM. Consistently with Fig 6 ((A) and (B), right panels), the mean Δδpredictable(θ = 3) is significantly stronger than Δδunpredictable(θ = 3) during early stages of the trial; especially before the upcoming stimulus becomes available (trial initiation period, left panel in middle row, Wilcoxon rank-sum W = 122311, p = 0.015, n = 359; stimulus period, p = 0.023). This effect does not reach significance neither for pairwise (top row) nor for quadruple-wise correlations (bottom row, dotted lines show the third order correlations, Δδ(θ = 3), for comparison).

    (TIF)

    S1 Methods. Supplementary methods.

    (PDF)

    Attachment

    Submitted filename: Reviewers_Responses_Letter_Balaguer_Ballester_et_al.pdf

    Attachment

    Submitted filename: Rev_2_Reviewers_Responses_Letter_Balaguer_B_et_al.pdf

    Data Availability Statement

    Electrophysiological data underlying the results presented in the study are publicly available at https://doi.org/10.18746/bmth.data.00000127 under the terms of the Creative Commons license (https://creativecommons.org/licenses/by/4.0).


    Articles from PLoS Computational Biology are provided here courtesy of PLOS

    RESOURCES