Back to search

University of Houston

Teaching AIs to Reason and Code, Confidentially

Abstract

dc:description.abstract

Large Language Models (LLMs) have advanced rapidly, creating new opportunities for automating complex software-engineering tasks, yet today’s models still produce semantically flawed code and raise safety, privacy, and lock-in concerns on centralized clouds. I present an end-to-end framework that teaches AI to reason about code and executes it on a decentralized, privacy-preserving infrastructure. At the modeling layer, I orchestrate a quorum of specialized LLM agents. A Director LLM coordinates a concept agent rooted in programming-language theory, language-specific experts, and a compiler-driven feedback loop. Implementations such as UniTranslator and Smartify deliver state-of-the-art translation, synthesis, and vulnerability repair, especially for low-resource domains like smart contracts. At the systems layer, I introduce DeFaaS, a blockchain-managed, multi-cloud Function-as-aService platform that removes single points of failure. I further prototype OGAIS, which enables trusted, on-device LLM inference triggered and verified by smart contracts, and I demonstrate zero-knowledge-proof workflows that preserve user privacy. To sustain performance, I repurpose Tensor Processing Units as cryptographic accelerators, cutting the latency of homomorphic encryption and zero-knowledge proofs by an order of magnitude. The resulting stack keeps every model invocation auditable while sensitive data stay encrypted. Together, these contributions advance AI-driven software engineering and establish a secure path for its deployment. By uniting reasoning-centric agents with verifiable, decentralized execution, this dissertation lays the groundwork for autonomous development tools that are demonstrably more accurate, transparent, and trustworthy.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Discipline thesis:degree_discipline
Computer Science
Department thesis:degree_department
Computer Science
Grantor
University of Houston
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Karanjai, Rabimba 1989-
Advisor dc:contributor.advisor
  • Shi, Weidong
Committee members dc:contributor.committeemember
  • Xu, Lei
  • Wu, Panruo
  • Huang, Shou-Hsuan Stephen
ORCID person:identifier.orcid

Subjects

dc:subject × 1

Rights

Language dc:language.iso
English

Identifiers

dc:identifier.*
Dc Identifier Citation
Portions of this document appear in: Lu, Yang, Rabimba Karanjai, Dana Alsagheer, Keshav Kasichainula, Lei Xu, Weidong Shi, and Shou-Hsuan Stephen Huang. "LogBabylon: A Unified Framework for Cross-Log File Integration and Analysis." In Proceedings of the 40th ACM/SIGAPP Symposium on Applied Computing, pp. 1953-1960. 2025. doi: https://doi.org/10.1145/3672608.3707883 Karanjai, Rabimba, Sangwon Shin, Wujie Xiong, Xinxin Fan, Lin Chen, Tianwei Zhang, Taeweon Suh et al. "Tpu as cryptographic accelerator." In Proceedings of the International Workshop on Hardware and Architectural Support for Security and Privacy 2024, pp. 37-44. 2024. doi: https://doi.org/10.1145/3696843.3696844 Karanjai, Rabimba, Lei Xu, Lin Chen, Nour Diallo, and Weidong Shi. "Decentralized FaaS over Multi-Clouds with Blockchain based Management for Supporting Emerging Applications." In Proceedings of the 39th ACM/SIGAPP Symposium on Applied Computing, pp. 122-130. 2024. doi: https://doi.org/10.1145/3605098.3636029 Karanjai, Rabimba, Lei Xu, and Weidong Shi. "Solmover: Smart contract code translation based on concepts." In Proceedings of the 1st ACM International Conference on AI-Powered Software, pp. 112-121. 2024. doi: https://doi.org/10.1145/3664646.3664771 Karanjai, Rabimba, and Weidong Shi. "Trusted LLM inference on the edge with smart contracts." In 2024 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), pp. 1-7. IEEE, 2024. doi: https://doi.org/10.1109/ICBC59979.2024.10634448 Chodavarapu, Ranjith, Rabimba Karanjai, Xinxin Fan, Weidong Shi, and Lei Xu. "Adding All Flavors: A Hybrid Random Number Generator for dApps and Web3." In International Symposium on Stabilizing, Safety, and Security of Distributed Systems, pp. 292-306. Cham: Springer Nature Switzerland, 2024. doi: https://doi.org/10.1007/978-3-031-74498-3_21 Karanjai, Rabimba, Zhimin Gao, Lin Chen, Xinxin Fan, Teweon Suh, Weidong Shi, and Lei Xu. "Dhtee: Decentralized infrastructure for heterogeneous tees." In 2023 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), pp. 1-3. IEEE, 2023. doi: https://doi.org/10.1109/ICBC56567.2023.10174906 Karanjai, Rabimba, Lei Xu, Nour Diallo, Lin Chen, and Weidong Shi. "Defaas: Decentralized function-as-a-service for emerging dapps and web3." In 2023 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), pp. 1-3. IEEE, 2023. doi: https://doi.org/10.1109/ICBC56567.2023.10174945 Karanjai, Rabimba, Rowan Collier, Zhimin Gao, Lin Chen, Xinxin Fan, Taeweon Suh, Weidong Shi, and Lei Xu. "Decentralized translator of trust: Supporting heterogeneous tee for critical infrastructure protection." In Proceedings of the 5th ACM International Symposium on Blockchain and Secure Critical Infrastructure, pp. 85-94. 2023. doi: https://doi.org/10.1145/3594556.3594626 Karanjai, Rabimba, Edward Li, Lei Xu, and Weidong Shi. "Who is smarter? an empirical study of ai-based smart contract creation." In 2023 5th Conference on Blockchain Research & Applications for Innovative Networks and Services (BRAINS), pp. 1-8. IEEE, 2023. doi: https://doi.org/10.1109/BRAINS59668.2023.10316829 Karanjai, Rabimba, Keshav Kasichainula, Lei Xu, Nour Diallo, Lin Chen, and Weidong Shi. "Diac: Re-imagining decentralized infrastructure as code using blockchain." IEEE Transactions on Network and Service Management 21, no. 2 (2023): 1319-1332. doi: https://doi.org/10.1109/TNSM.2023.3325768 Karanjai, Rabimba, Keshav Kasichainula, Nour Diallo, Mudabbir Kaleem, Lei Xu, Lin Chen, and Weidong Shi. "Decentralized application infrastructures as smart contract codes." In 2022 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), pp. 1-9. IEEE, 2022. doi: https://doi.org/10.1109/ICBC54727.2022.9805493 Karanjai, Rabimba, Lei Xu, Zhimin Gao, Lin Chen, Mudabbir Kaleem, and Weidong Shi. "On conditional cryptocurrency with privacy." In 2021 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), pp. 1-3. IEEE, 2021. doi: https://doi.org/10.1109/ICBC51069.2021.9461133 Karanjai, Rabimba, Lei Xu, Zhimin Gao, Lin Chen, Mudabbir Kaleem, and Weidong Shi. "Privacy preserving event based transaction system in a decentralized environment." In Proceedings of the 22nd International Middleware Conference, pp. 286-297. 2021. doi: https://doi.org/10.1145/3464298.3493401 Rabimba, Karanjai, Lei Xu, Lin Chen, Fengwei Zhang, Zhimin Gao, and Weidong Shi. "Lessons learned from blockchain applications of trusted execution environments and implications for future research." In Proceedings of the 10th International Workshop on Hardware and Architectural Support for Security and Privacy, pp. 1-8. 2021. doi: https://doi.org/10.1145/3505253.3505259

Chain of custody

source
Harvested from
University of Houston
Base URL
uh-ir.tdl.org/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
related terms
citation

Karanjai, Rabimba 1989-. Teaching AIs to Reason and Code, Confidentially. University of Houston, 2025. https://hdl.handle.net/10657/20698