A method to generate an output response to an input task by an Artificial Intelligence (AI) system, comprising:
- lossless compressing one or more binary data input files called originating IFDS, with each said IFDS being compressed into a compressed output file that is stored locally into said AI system, where said lossless compressing is done over multiple subsequent compression cycles where the output file of the current compression cycle is the input file for the next compression cycle, where said compressed file is larger or equal in term of number of bits to a file floor size with when said compressed file is smaller than said file floor size, a current compression cycle does not compress and where each of said multiple compression cycles comprising:
- partitioning said input file in processing strings (PS) as they serially occur in said input file, with every said occurring PS belonging to a set of PS, comprising:
- every PS in said set is unique and has a number of bits greater than a minimum number of bits;
- there is one or more PS having the same number of bits, and all PS of same number of bits form a class of PS, with a PS in a class being a member of that PS class;
- within a class of PS, one or more PS are represented by a common header called root identifier (RI) with said RI having a number of bits that is smaller or equal to the number of bits of that class of PS, followed by a difference number of bits equal to the difference between the number of bits of that class of PS and the number of bits of said RI, where said difference number of bits is called remain;
- and
- all RI of all classes of PS form a set of RI, with every RI in said set of RI having a number of bits greater than a minimum number of bits and being unique, with one or more RI having the same number of bits, and with all RI of same number of bits forming a class of RI with an RI in a class being a member of that RI class;
- describing said input file by said occurring PS, and, by making correspondence between every occurring PS and the corresponding said RI and remain, describing said input file by said occurring RI and occurring remain, with said occurring PS and occurring RI creating a content of said input file;
- generating a transformed input file comprising said input file described by said occurring RI and remain, with said transformed input file having the same number of bits as said input file;
- and
- processing said transformed input file for compression by focussing on two or more RI with specific characteristics within said transformed input file, where said processing generates an output file with a number of bits smaller or equal to the number of bits of said input file, and where when said number of bits of said output file is larger or equal to the number of bits of said input file, said output file remains said transformed file;
- decompressing/restoring a said compressed files to said originating IFDS by using a procedure comprising:
- uniquely reversing said compression cycles into decompression cycles;
- uniquely reversing each of said compression cycles by reversing said processing for compression of said transformed input file, and once said transformed input file is obtained, reversing said transformation by making said correspondence between an RI and remain and the corresponding PS, such obtaining said input file;
- temporarily storing said originating IFDS locally to said AI system until data from said originating IFDS is processed to generate said output response;
- generating said output response, comprising:
- sequentially decompressing one or more of said compressed files;
- generating by an AI engine an intermediary response file out of each originating IFDS in accordance to said input task;
- and
- processing by an AI engine of all said intermediary response files corresponding to all compressed files in accordance to said input task;
- updating said compressed files with available updated data that is external to said AI system for each said originating IFDS;
- and
- generating one or more additional said compressed files out of said AI response.