Hello everyone,
I am looking for a technically knowledgeable person who can help assess an experimental method I have been developing over the past several days. The project concerns the numerical representation of token IDs generated by an existing tokenizer and the subsequent reconstruction of the original text.
The objective
The idea is to investigate whether a structured numerical representation of tokenizer-generated IDs could provide practical advantages when storing or transmitting text-related data, while preserving the information required to reconstruct the original text faithfully.
This is not a proposal for a new tokenizer. It is an approach that operates on token IDs produced by an existing tokenizer.
The general approach
The method involves several elements:
- Numerical transformations based on a reference value.
- Grouping and ordering of numerical values.
- Preservation of sequence and contextual information.
- Identification of the encoding scheme used.
- An associative memory or mapping mechanism where required.
- Reconstruction of the original text by a receiving component.
The complete method must be considered as a system. Evaluating an isolated arithmetic transformation would not be sufficient to assess the full approach, because grouping, ordering, contextual information and reconstruction are also relevant.
I am deliberately keeping some implementation details private at this initial stage.
Preliminary observations
I have performed initial experiments using an existing tokenizer and compared the token counts of an example sentence with those of a numerical representation.
These observations are preliminary. They do not establish that the complete system achieves compression or reduces total transmission costs. A proper evaluation would need to include the full encoded representation, metadata, any mapping or associative memory requirements, and the resources needed for decoding.
An important clarification
The receiving component is intended to reconstruct the original text before that text is sent to the language model.
Therefore, I am not claiming that the numerical representation necessarily reduces the number of tokens billed by an LLM API. The potential benefit I want to investigate concerns the representation and transport of data before reconstruction, or possibly its storage.
What I am looking for
I would appreciate a technical discussion with someone experienced in one or more of the following areas:
- Tokenization and token ID representations.
- Data compression and lossless encoding.
- Information theory.
- Numerical coding and reversible transformations.
- Data structures, mapping systems and reconstruction.
- Experimental benchmarking and system-level efficiency.
The main questions I would like to investigate are:
- Is the overall architecture technically feasible?
- What conditions would be necessary to guarantee exact reconstruction?
- What are the risks of information loss, ambiguity or collisions?
- How should the complete representation be measured against conventional compression and encoding methods?
- Could the method offer a practical advantage once metadata, memory, processing and transmission costs are included?
I am not an experienced software developer and currently do not have the resources to build a complete prototype independently. I am looking for an informed technical discussion and, if possible, someone willing to help evaluate the concept rigorously.
I am not asking anyone to assume that the method works. I am asking whether its complete architecture can be examined fairly and what evidence would be needed to establish its strengths and limitations.
Thank you for your time. I welcome constructive technical feedback.