Trustworthy Domain-Specific AI for Structured Knowledge Retrieval and Reasoning
Abstract
This dissertation presents a scalable architecture for transforming unstructured, domain-specific text into structured knowledge for retrieval and reasoning. It integrates semi-automatic corpus curation, semantic structuring, retrieval, and inference into an interpretable pipeline. The research introduces Binary Bleed, an adapted binary search method that reduces low-rank search complexity for Non-negative Matrix Factorization (NMF), and Hierarchical NMF with automatic latent feature selection (HNMFk), a depth-adaptive topic modeling method that produces interpretable taxonomies guided by subject matter experts. These representations populate a typed Knowledge Graph and a semantically aligned Vector Store containing extracted latent features, synchronized through an event-driven substrate. Tensor-Structured Retrieval-Augmented Generation (T-SRAG) dynamically routes queries across retrieval paths. Contrastive alignment maps document and query embeddings to hierarchical topic structures to improve semantic fidelity and reduce hallucinations. Beyond retrieval, tensor-based link prediction identifies and completes missing links in the Knowledge Graph, supporting inference grounded in citation structure. Applications across cybersecurity, law, materials science, and healthcare demonstrate improvements in retrieval precision, early trend detection, hypothesis generation, and hallucination mitigation. The dissertation provides a deployable, modular foundation for trustworthy, domain-specific AI systems that retrieve and reason over structured knowledge.
Figures & tables
| Acronym | Definition |
|---|---|
| AI | Artificial Intelligence |
| ANN | Approximate Nearest Neighbour |
| BERT | Bidirectional Encoder Representations from Transformers |
| BUNIE | Bibliographic Utility Network Information Expansion |
| BM25 | Best Matching 25 |
| BMF | Boolean matrix factorization |
| Step | Line | Complexity |
| Initialization | 1–2 | |
| Base Case | 3–4 | |
| Middle/Check | 5–7 | |
| Model/Score | 8 | |
| Update Min/Max | 10–16 | |
| Bound Check | 17,20 |
| Order | Operation 1 | Operation 2 |
|---|---|---|
| T1 | Traversal Order Sort | Chunk Ks by Resource Count |
| In | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 | [1, 2, 3, 4, 5, 6] [7, 8, 9, 10, 11] |
| Pre | 6, 3, 2, 1, 5, 4, 9, 8, 7, 11, 10 | [6, 3, 2, 1, 5, 4] [9, 8, 7, 11, 10] |
| Post | 1, 2, 4, 5, 3, 7, 8, 10, 11, 9, 6 | [1, 2, 4, 5, 3, 7] [8, 10, 11, 9, 6] |
| T2 | Traversal Order Sort | Chunk Ks by Alg. 4 |
| In | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 | [1, 3, 5, 7, 9, 11] [2, 4, 6, 8, 10] |
| Node labels | |
|---|---|
| Document | {doi,title,year,version} |
| Author | {author_id,name} |
| Affiliation | {aff_id,name,country} |
| Venue | {venue_id,name} |
| Topic | {topic_id,level,coherence} |
| Keyword | {term} |
| Notation | Description | Notation | Description |
|---|---|---|---|
| Scalar | th element in the vector | ||
| Vector | Entry at row , column | ||
| Matrix | th row | ||
| Tensor | th column | ||
| th slice (3rd dim) | th slice (4th dim) | ||
| Superscript identifier | Dot product |
| # | Constitution Label |
|---|---|
| 0 | Irrigation and Water Resource Management Principles |
| 1 | Regulation of Private Sector Influence on Public Schools and Education Services |
| 2 | Branches of Government Structure and Functionality |
| 3 | Education Funding for New Mexico’s Educational Institutions |
| 4 | Legislative Proceedings and Lawmaking Activities Enacted During Sessions |
| 5 | Territorial Transition: Constitutional Ratification and Statehood Provisions |
| # | Statute Label |
|---|---|
| 0 | Municipal Court Civil Cases Involving Children’s Rights |
| 1 | Public Education Infrastructure Management Systems |
| 2 | Criminal Codes, Local Governance Boundaries, Licensing Rules |
| 3 | Comprehensive Emergency Health and Human Services Response Framework |
| 4 | Taxation and Revenue Collection Oversight |
| 5 | Military Decorations, Licensing Procedures, Governance Boards |
| # | Appeals Court Label |
|---|---|
| 0 | Real Property Rights and Interests |
| 1 | Civil Liability and Injury Issues Arising from Healthcare Services |
| 2 | Parental Rights and Custody Proceedings Involving Disputed Parental Fitness |
| 3 | Motor Vehicle Insurance and Liability Claims Processing Procedures |
| 4 | Mortgage Foreclosure and Secured Lending Frameworks |
| 5 | Arraignments, Tribal Jurisdiction, Divorce, Bond Conditions, Motor Licensing |
| # | Supreme Court Label |
|---|---|
| 0 | Arbitration of Contract Disputes and Judicial Decision-Making in Motor Vehicle Cases |
| 1 | Revenue and Taxation Frameworks in Governance and Administration |
| 2 | Mineral Rights Leases |
| 3 | Native American Self-Governance and Tribal Jurisdictional Frameworks |
| 4 | Municipal Zoning Ordinances and Regulations of Local Governance Areas |
| 5 | Damages Award for Wrongful Conduct Against Business Partners |
| Node Type | Nodes | Out Edges | Legal Cites |
|---|---|---|---|
| NMFk Topics | 2,469 | 92,634 | – |
| NMFk Keyword | 11,076 | 8,281,843 | – |
| BOW Vocabulary | 132,423 | – | – |
| Constitution | 265 | 9,067 | 41 |
| Statute | 28,251 | 1,930,707 | 81,353 |
| Supreme Court Case | 5,727 | 2,437,161 | 76,478 |
| # | Label | # Docs. | Percent |
|---|---|---|---|
| 0 | Malware Behavioral Analysis | 158 | 1.80 |
| 1 | Cybersecurity Challenges | 305 | 3.47 |
| 2 | Cybersecurity Research | 114 | 1.30 |
| 3 | Botnet Detection Techniques | 142 | 1.62 |
| 4 | Malware Feature Selection And Extraction | 353 | 4.02 |
| 5 | Network Intrusion Detection | 134 | 1.52 |
| Properties/Dataset | H.sapiens-extended | Brain | Disease of Metabolism | Liver | Neurodegenerative Disease |
|---|---|---|---|---|---|
| Number of proteins | 14,407 | 11,167 | 1,036 | 10,627 | 820 |
| Number of positive pairs | 157,950 | 225,200 | 5,131 | 218,239 | 5,881 |
| Number of negative pairs | 157,300 | 223,130 | 5,123 | 215,984 | 5,879 |
| Dataset / Metric | BNMFk | RNMFk | WNMFk | LMF | symLMF | |||
|---|---|---|---|---|---|---|---|---|
| H.sapiens - extended | ||||||||
| ROC AUC | 0.755 ± 0.022 | 0.941 ± 0.001 | 0.951 ± 0.003 | 0.959 ± 0.002 | 0.955 ± 0.001 | 0.955 ± 0.001 | 0.949 ± 0.001 | 0.944 ± 0.001 |
| PR AUC | 0.884 ± 0.009 | 0.957 ± 0.001 | 0.964 ± 0.003 | 0.969 ± 0.002 | 0.965 ± 0.001 | 0.965 ± 0.001 | 0.934 ± 0.001 | 0.955 ± 0.001 |
| UQ – ROC AUC | 0.762 ± 0.027 | 0.942 ± 0.001 | 0.954 ± 0.003 | 0.962 ± 0.004 | 0.956 ± 0.001 | 0.957 ± 0.001 | – | – |
| UQ – PR AUC | 0.880 ± 0.010 | 0.958 ± 0.001 | 0.966 ± 0.002 | 0.969 ± 0.004 | 0.966 ± 0.001 | 0.967 ± 0.001 | – | – |
| Brain | ||||||||
| Aggregated Prediction Scores for Masked Materials | ||
| Material | Set | Predicted Score |
| S 2 Ta | Superconductor | 0.813 |
| NbSe 2 | Superconductor | 0.757 |
| MoS 2 | Superconductor | 0.703 |
| Se 2 Ta | Superconductor | 0.699 |
| FeS 2 | Non-superconductor | 0.206 |
| Statistic | Value |
|---|---|
| Documents | 46 862 |
| Hierarchical depth | 3 |
| TMD compounds | 73 |