When you build a consumer web application, a bug might mean a button doesn't render correctly or a user is temporarily logged out. The stakes are low, and the recovery is usually a quick hotfix away.
When you build software for the medical domain, a "bug" takes on an entirely different weight.
During my time as a Research Intern at National Chung Cheng University in Taiwan, I contributed to AI-powered gastrointestinal disease detection systems utilizing hyperspectral imaging and machine learning. This experience profoundly reshaped my engineering worldview. It bridged the gap between academic research and practical system design, and it taught me that building high-impact software requires a fundamental shift in how we approach precision, constraints, and collaboration.
The Problem: Beyond Standard Vision
Gastrointestinal diseases are notoriously difficult to diagnose in their early stages. Standard RGB endoscopes capture what the human eye can see, but early-stage abnormalities often lack distinct visual contrast in the visible spectrum.
Our research utilized hyperspectral imaging—capturing electromagnetic data across dozens of narrow spectral bands instead of just three (red, green, blue). The engineering challenge was clear: how do we process this massive, highly dimensional data in real-time, and how do we train machine learning models to identify spectral signatures of disease that human doctors cannot natively perceive?
This wasn't just a machine learning problem; it was an intersection of physics, medicine, data engineering, and system optimization.
Medical engineering requires a rigorous, interdisciplinary approach far beyond traditional software development.
Engineering for High-Impact Domains: Precision Over Speed
In the software industry, "move fast and break things" is a common mantra. In healthcare engineering, moving fast and breaking things is a liability.
Working on medical AI forced me to re-evaluate how I measure success. In typical ML projects, achieving a 95% accuracy rate is cause for celebration. But in medical diagnostics, that 5% error rate is the difference between catching early-stage pathology and sending a patient home with a false negative.
We had to be meticulously rigorous about how we defined our metrics. Sensitivity (true positive rate) became far more critical than overall accuracy. We spent weeks agonizing over dataset biases, ensuring that our training data accounted for variations in lighting, tissue angles, and sensor noise. I learned that an engineer's job in the medical space isn't just to write code that executes; it is to build systems whose edge cases are thoroughly understood, documented, and mitigated.
The Reality of Machine Learning Limitations
One of the most valuable lessons I learned in Taiwan was recognizing what AI cannot do.
There is a tendency in the tech industry to treat machine learning as a magical black box that solves all problems given enough data. In the lab, however, the limitations of our models were starkly visible. Hyperspectral data is incredibly noisy. Dimensionality reduction techniques like PCA (Principal Component Analysis) were necessary, but they carried the risk of discarding subtle, vital spectral features.
I learned that building production-grade AI isn't about training the most complex neural network. It is about deeply understanding the data pipeline. We spent 80% of our time on data cleaning, spatial alignment, and spectral calibration, and only 20% on model architecture. A simple model fed with pristine, perfectly calibrated data consistently outperformed a complex model fed with raw, noisy data.
Understanding the data pipeline and spectral calibration is more crucial than the neural network architecture itself.
Interdisciplinary Collaboration: Speaking Different Languages
Perhaps the steepest learning curve was not technical, but communicative. I was an engineer working alongside medical researchers, physicists, and local Taiwanese clinicians.
Engineers speak in terms of latency, throughput, and optimization. Doctors speak in terms of pathology, patient outcomes, and clinical workflows. Bridging this gap was critical.
I quickly realized that the most elegant codebase in the world is useless if it doesn't fit into the clinician's actual workflow. We had to design our diagnostic tools not just for computational efficiency, but for human usability. The AI's output needed to be interpretable. A model that simply outputs "Disease: Yes" is untrustworthy to a doctor. A system that highlights the specific spectral anomalies and provides a confidence heat-map is a collaborative tool.
Learning to translate engineering constraints into clinical realities—and vice versa—was a masterclass in product engineering.
Research vs. Production Systems
Academic research prioritizes novel discoveries and publication. Production software prioritizes reliability, maintainability, and scale.
While my work in Taiwan was firmly rooted in research, I approached the codebase with a production mindset. Writing disposable scripts for single experiments leads to technical debt that cripples long-term projects. I focused on building modular data pipelines and reproducible training environments. This ensured that when a new dataset arrived, the entire pipeline didn't need to be rewritten.
This experience taught me to balance the exploratory nature of research with the rigorous discipline of software engineering.
Conclusion
My time in Taiwan was more than just a technical internship; it was an exposure to global engineering mindsets and high-stakes problem solving.
It taught me that true engineering maturity isn't just about mastering a framework or an algorithm. It is about understanding the human context in which your software operates. Whether I am building a consumer e-commerce platform or an industrial IoT system, the lessons from Taiwan remain relevant: respect the data, engineer for edge cases, build for the end-user, and recognize that precision is the ultimate feature.
Portfolio Preview Excerpt: A reflection on my time in Taiwan developing AI-powered disease detection systems using hyperspectral imaging. I explore the stark differences between consumer software and healthcare engineering, focusing on data constraints, interdisciplinary collaboration, and the absolute necessity of precision.