Since descriptors provide information about similarity or diversity of the categorical options, Gryffin utilizes this additional information by redefining the distance between the different categorical options depending on the their respective associated descriptor values. So, instead of using the frequently employed one-hot encoding of categorical options with similar distance between all options (e.g., in GPyOpt ),