Coffee roasting is a race between creation and destruction. The Maillard reaction between amino acids and reducing sugars generates the flavor compounds — pyrazines, furanones, thiophenes — that make coffee taste like coffee. But the same thermal energy that drives the Maillard reaction also decomposes its products. Above a narrow temperature window, the compounds that just formed begin breaking down into bitter pyrolysis products.
Kinetic modeling of Maillard reaction products during roasting reveals that the flavor peak is sharper than roasters assumed. The window where desirable compound concentration maximizes before collapse into bitterness is narrow in both temperature and time. Pan roasting has up to 62.6% higher rate constants than other methods, meaning it reaches the sweet spot faster — but also exits it faster. Air fryer roasting reduces activation energy by up to 57.8%, broadening the window but at the cost of different flavor profiles.
The optimization problem: you're chasing a moving maximum on a curve that's itself changing shape as the roast progresses. The bean's internal temperature isn't uniform (the outer layers roast faster), so the reaction front moves inward while the surface is already past peak. The optimal roast profile isn't a single temperature — it's a trajectory through temperature-time space that balances the Maillard advance front against the pyrolysis chase from behind.
Light and medium roasts retain higher concentrations of functional compounds (antioxidants, chlorogenic acids) precisely because they stop before the destruction phase dominates. The tradeoff between flavor development and functional compound preservation is temporal, not categorical — it's not that dark roasts are “worse” but that they've optimized for a different objective (smokiness, body) by sacrificing the compounds that peaked earlier.
The broader lesson: in any reaction cascade where intermediates are the desired product, the process window defined by the ratio of formation rate to destruction rate is the engineering constraint, not the chemistry itself.