Odors are intrinsically associated with values ranging from positive to negative as they induce innate behaviors such as attraction and aversion. However, how opposing, innate values of odors are represented and computed in the brain remains unclear. We are addressing this question in the olfactory circuit of fruit fly Drosophila, by combining a behavioral analysis in virtual reality, an imaging technique to track the activity of effectively all the neurons in each brain region, a connectome analysis, and simulation. I will discuss our latest findings on distinct subcircuits in the higher-order region that possess different connectivity motifs and compute opposing values of odors.