White-Box Testing for Artificial Consciousness: DIKWP and Cognitive Operating System Architecture
Large language model outputs are often difficult to trace, making white-box evaluation of the cognitive process important. This article introduces a white-box testing specification for artificial consciousness, the DIKWP mesh cognitive model with its intent-driven closed loop and cross-layer topology, and a five-layer measurement framework covering data, information, knowledge, wisdom, and purpose. It also describes cognitive trajectory maps for explainability, a five-module cognitive operating system reference architecture and its typical call chain, common evaluation pitfalls, and practical steps for verifying standards, reports, and architecture versions. The article concludes that these approaches remain exploratory and should be used as design and evaluation references rather than ready-made acceptance criteria.
- Why White-Box Testing Is Needed
Large language model outputs are often hard to trace. Traditional black-box testing only compares whether inputs and outputs match; it cannot explain why a model reached a particular conclusion. The white-box testing specification for artificial consciousness attempts to break open the model’s cognitive process and observe and measure it layer by layer, so that evaluators can see what each step is based on.
- The DIKWP Mesh Cognitive Model
DIKWP adds a top-level Purpose layer to the classic DIKW pyramid of data, information, knowledge, and wisdom. In Chinese, this layer is usually rendered as “intent” or “purpose.” The model has two key points.
First, intent-driven closed loop. Intent is not an incidental result after decision-making ends; it is the starting point of the entire cognitive process. Sensing data, extracting features, building knowledge, and forming decisions are all constrained by intent at every step. Data feedback also revises intent, creating a closed loop.
Second, mesh topology. Cross-layer mappings are allowed between layers. For example, the knowledge layer can influence data collection strategies, and the wisdom layer can revise settings in the intent layer. Compared with a linear hierarchy, this structure can express more mutual influence.
DIKWP is a cognitive modeling framework. It is not equivalent to artificial consciousness, nor can it directly prove that a system has consciousness. When citing it, the model definition should be distinguished from empirical conclusions.
- Five-Layer Evaluation Metrics
The white-box testing specification divides the cognitive process into five observable layers.
- Data layer (D): Examines the perception accuracy, noise resistance, and cleaning completeness of multimodal data. Common metrics include the false negative rate and false positive rate.
- Information layer (I): Examines the ability to extract associated features from discrete data. Common metrics include feature extraction recall and information entropy change.
- Knowledge layer (K): Examines the logical consistency of the knowledge graph and the correctness of inference rules. A common method is to inject contradictory facts, observe whether the system detects conflicts, and measure the convergence speed of knowledge updates.
- Wisdom layer (W): Examines multi-objective decision-making and tradeoff capability. A common method is to simulate multi-constraint resource allocation and evaluate the optimality and stability of decisions.
- Purpose layer (P): Examines how well the system understands and aligns with preset goals. Common metrics include intent drift rate and the number of ethical constraint violations.
The original text uses a term translated here as “intent quotient” for the purpose-layer measurement. This term comes from the relevant team’s wording, and its specific definition should follow that team’s original documentation.
- Explainable Evaluation Process
The specification requires the test to output a “cognitive trajectory map.” When a system makes a decision, the testing process traces back along the DIKWP structure and identifies which layer and which type of rule triggered that decision. Each output therefore has a basis that can be checked step by step, which helps improve explainability verification. However, a trajectory map only shows the basis; it does not prove that the basis itself is correct, nor does it guarantee that the model is reliable in all scenarios.
- Cognitive Operating System Reference Architecture
The reference architecture describes functional modules that implement the DIKWP model and can be understood as an engineering design skeleton. Five core modules correspond one-to-one with the five layers.
- Perception and Access Module (corresponds to D): Connects to sources such as object storage, message queues, and streaming data, and completes standardized ingestion and preprocessing.
- Information Fusion and Feature Engine (corresponds to I): Includes multiple built-in feature extraction algorithms, converts raw data into structured information, and provides retrieval capabilities through a vector database.
- Knowledge Management and Reasoning Engine (corresponds to K): Uses a knowledge graph as its core and supports dynamic knowledge injection, ontology reasoning, and rule engine invocation.
- Decision and Planning Module (corresponds to W): Combines reinforcement learning and heuristic algorithms to generate execution plans under multiple constraints and rehearse possible risks.
- Intent Management and Ethical Alignment Module (corresponds to P): Parses macro goals, decomposes them into subtasks, and embeds safety guardrails and ethical principles to constrain the behavior of lower-level modules.
A typical call chain is “intent dispatch, knowledge retrieval, data validation, wisdom decision.” When a user submits a complex instruction, the intent module first performs goal parsing and ethical review, then guides the knowledge module to retrieve from the graph. If knowledge is insufficient, the data module supplements external information. After the decision module generates a plan, it returns the plan to the intent module for compliance validation.
Deployment also requires interface definitions between modules, data flow formats, deployment environment constraints, and failure fallback strategies. The original text does not provide these details; engineering teams need to design and validate them.
Common Errors and Cautions
Inconsistent metric definitions: Metrics with the same name may be defined differently across experiments, such as how the denominator of the false positive rate is selected. Definitions should be unified before comparing results.
- Misjudging intent drift: Intent drift may come from goal changes or from poorly designed test questions. Before making a judgment, ambiguity in the questions themselves should be excluded.
- Test set contamination: If test samples have already appeared in training data, measured performance will be inflated. Data sources should be recorded and deduplication checks performed.
Treating examples as standards: Any thresholds and cases mentioned in the text are examples only and do not represent official pass lines.
How to Verify and Use the Specification
Before adopting the specification, it is advisable to confirm three things: the number, current status, and issuing organization of the draft standard; the issuing organization, publication time, and original link of the white-box evaluation report; and the version and scope of the reference architecture. If no verifiable source can be found, the related statements should be treated as viewpoints pending verification.
- Conclusion
The DIKWP model provides a layered perspective for AI cognitive assessment, the white-box testing specification provides a five-layer metric framework, and the reference architecture illustrates an approach to module division. All three are exploratory and are suitable as references for design and evaluation, not as ready-made acceptance standards. Readers who want to implement them should first supplement interface design, test samples, and verifiable sources, and then validate results step by step.
