A range determination unit (412) takes as input an input ciphertext Ci resulting from encrypting input data, determines whether a value obtained from the input data is within a reference range, and generates a range ciphertext aj depending on a determined result. A result generation unit (413) performs a homomorphic operation on the range ciphertext aj generated by the range determination unit (412), so as to generate a result ciphertext D of a result of performing inference including a non-polynomial operation on the input data. An output unit (414) outputs the result ciphertext D.
展开▼