How I Identified the Idea: The Spark Behind Beyond The Box
The story that sparked my inspiration for creating Beyond The Box. How the idea that made me one a the winners in AWS 10,000 AIdeas Competition, and sparked peak creativity in me came to be.
A few months ago, a package arrived at my door. The label said "electronics," but when I picked it up, the weight felt wrong. Too light. I shook it. Nothing rattled. I held it up to the light. Solid cardboard. I could not open it without voiding the return policy, so I just had to accept it. That moment of helplessness stayed with me. How many times every day, across the world, does someone hold a sealed package and wonder: Is this really what it claims to be?
I later learned that return fraud alone costs retailers over $101 billion a year, according to the National Retail Federation. Counterfeit goods, empty boxes returned as "unwanted items," and misdeclared shipments bleed money from the supply chain at every link. Amazon, as one of the largest logistics operators in the world, has invested heavily to combat this. In 2019, the company ordered 100,000 custom electric delivery vans from Rivian — one of the largest fleet orders in history — and remains a major shareholder in the company. More recently, in March 2026, Amazon acquired the Swiss robotics startup RIVR, whose four‑legged, stair‑climbing delivery robots are designed to handle the last few meters from the van to the customer’s door. RIVR’s CEO has described their creation as “a dog on roller skates.” This acquisition signals Amazon’s continued push toward automating the very final stage of package delivery. Yet even with all that infrastructure — electric vans, robots, and billions of dollars — the problem of verifying what’s inside a package without opening it remains unsolved.
That package on my doorstep started a slow‑burn curiosity. I began to think about the box itself. What is a cardboard box made of? Paper fibers. What do those fibers do to radio waves? Almost nothing. Most packaging materials — cardboard, plastic, wood — are transparent to radio waves. Your Wi‑Fi router sends signals through walls. Your phone’s Bluetooth passes through your pocket and your bag without a problem. If radio waves can travel through a box, then what’s inside the box will leave a fingerprint on those waves.
I remembered a physics fact I’d known since childhood: a microwave oven heats food by exciting water molecules at 2.45 GHz. That exact same frequency — 2.45 GHz — is the operating band for Bluetooth Low Energy. If you place a water bottle inside a sealed box and beam a Bluetooth signal through it, the water molecules will absorb some of that energy, vibrating in place. The signal that emerges on the other side will be smoothly attenuated — not just weaker, but smoothly weaker. A ferrous metal object like a steel knife, on the other hand, will not absorb the signal in the same way. It will scatter it chaotically, like a pinball, and it will also distort Earth’s ambient magnetic field — something a phone’s built‑in magnetometer can detect. Non‑ferrous metal, like an aluminium can, will reflect the Bluetooth signal gently but leave the magnetic field unchanged. Air? Air does almost nothing.
These aren’t statistical guesses. They’re physical laws. And I realized they meant that different materials have distinct electromagnetic signatures that can be measured entirely from outside a container.
Then another realization hit: the sensors needed to capture those signatures are already in my pocket. Every smartphone has a magnetometer (the compass chip), a Bluetooth radio, and an accelerometer. Billions of people carry these devices every day. The hardware was already deployed. The only missing piece was a way to translate those raw, noisy sensor readings into a reliable classification.
That’s where machine learning and cloud architecture came in. Over the past few years, AWS has matured to the point where you can build, train, and deploy a model entirely on the Free Tier. AWS Lambda can process sensor data in milliseconds. Amazon SageMaker Serverless can host an XGBoost model that scales to zero when not in use, meaning you pay nothing when no scans are happening. AWS IoT Core can ingest ground‑truth feedback from users — even over unreliable mobile networks — and route it to an S3 quarantine bucket for human review. This serverless stack meant I could build the entire pipeline without upfront costs and without managing a single server.
But here’s where the idea took a sharp turn from “clever hack” to “something real.” I started thinking about who actually needs this capability. The delivery driver holding a suspicious package. The customs officer at a border crossing with a thousand boxes and a gut feeling. The pharmacist in a remote clinic receiving a shipment of medicine that might be counterfeit. None of them have access to a $50,000 X‑ray machine. But all of them have access to a phone.
Unlike X‑rays, Bluetooth is non‑ionizing radiation. There is no radiation risk. No special operator training is required. No protective shielding is needed. No regulatory clearance to operate. Two phones, a box, and the laws of physics. That’s it. The safety profile is so benign that a delivery driver could use this system dozens of times a day without any health concern.
And this is where democratization becomes more than a buzzword. Expensive industrial scanners are locked inside institutions. A smartphone‑based material detector puts that capability into the hands of anyone, anywhere. It doesn’t replace a hospital CT scanner; it creates an entirely new category of accessible, everyday sensing that has never existed before. An X‑ray machine costs as much as a house; a phone costs as much as a week’s groceries. That gap is everything.
The next spark came when I thought about scale. If every scan feeds back into the training pipeline, the model gets smarter with every use. This is the data flywheel. Here’s how it works in practice: a logistics company deploys the app to its drivers. A driver scans a package, the system returns “Liquid, 94% confidence,” and the driver accepts the package. Later, when the package is opened for inventory, a staff member verifies the actual contents — yes, it was water bottles — and taps a button in the app. That confirmation flows back via MQTT to an S3 quarantine bucket, where a human reviewer validates it and promotes it to the training corpus. SageMaker retrains the model automatically. The next time a similar package comes through, the model is just a little bit better. No manual data entry. No separate audit process. The verification step becomes part of the normal workflow. Staff don’t need to be data scientists; they just need to confirm “yes, the contents matched” or “no, this was wrong.” That feedback loop is the engine that turns a prototype into a platform.
Even the things I initially saw as problems turned out to be assets. Human hands shake. I thought hand tremors would corrupt the data. But then I realized that those tiny, involuntary micro‑movements actually help the magnetometer sense the gradient of the magnetic field around a ferrous object. If the phone were perfectly still, the magnetometer would only see a static value. But because the human hand trembles ever so slightly, the phone moves through the distorted field lines, creating a dynamic signal that reveals the material’s magnetic signature. By extracting features only from the final 70 percent of each scan — the “settled window” after the user has stopped actively moving — the system captures those natural micro‑tremors as an active probe. The human body became part of the sensor.
I built the first working prototype in three weeks. The model trained on 1,181 real‑world scans and achieved 83.7% accuracy on a held‑out test set. Air and liquid recall at 95%; ferrous and non‑ferrous a bit lower at 74% and 73%, because those signals are genuinely harder at long range. I filed a provisional patent covering the general methodology of fusing BLE attenuation, magnetic field disturbance, and kinematic validation in consumer mobile devices. All of it runs on AWS, all of it scales to zero, and all of it started with a single question: Can two ordinary phones hear the difference between water and metal inside a sealed box?
That question led me to a chain of realizations: packaging is transparent to radio waves; different materials leave distinct electromagnetic fingerprints; phones already carry the necessary sensors; machine learning can translate those fingerprints into classifications; the cloud makes it accessible to anyone; and a human‑in‑the‑loop flywheel can continuously improve the system at scale. I didn’t have a single lightning‑bolt moment. I had a slow, stubborn, physics‑driven curiosity that kept asking: What if?
And that’s how Beyond The Box came to be. Not because I set out to build a product, but because I refused to accept that hidden must stay hidden.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article