Under-Display Front Camera and On-Device AI: An Engineering Evolution
This article examines three tightly coupled engineering trends in modern flagship phones: under-display front cameras, adjustable aperture optics, and near-memory packaging for on-device AI. It explains the core imaging challenges of hiding a sensor beneath the display, the trade-offs of mechanical variable apertures, and why memory bandwidth and data movement power often matter more than peak compute for on-device inference. It also covers evaluation metrics, transitional design choices, layered device-cloud scheduling, and practical recommendations for developers.
Under-Display Front Camera and On-Device AI: An Engineering Evolution
Over the past two years, discussions about new flagship phones have shifted from “spec stacking” to “trade-offs under engineering constraints.” Three changes come up repeatedly: moving the front-facing imaging components beneath the display, introducing an adjustable light-entry structure for rear cameras, and packaging memory closer to the processor. None of these is a standalone feature. They are three coupled technical threads: under-display imaging, optical control, and near-memory computing for on-device intelligence. This article sets aside specific products and models and focuses on the general principles, evaluation methods, and engineering paths for these three threads.
1. Under-Display Front Camera: Rebuilding the Imaging Chain from “Hole Punch” to “Invisible”
1.1 Why hiding the camera is hard
A traditional front camera needs a physical opening so light can reach the lens with minimal attenuation. Once the sensor is placed beneath the display stack, light must first pass through the display structure: the transparent cathode layer, thin-film transistor routing, and the gaps between pixels. Three things then happen at once:
- Lower transmittance: less effective light reaches the sensor, degrading signal-to-noise ratio.
- Diffraction and scattering: the pixel grid acts like a two-dimensional grating, producing periodic patterns and ghosting.
- Color shift: transmittance varies by wavelength, so white balance can drift.
1.2 Co-designing the display and imaging layers
Engineering efforts usually proceed along three directions at the same time:
- Transparent pixel layout: reduce pixel density in the under-display region and enlarge the light-transmitting openings, balancing display consistency against transmittance.
- Algorithmic compensation: calibrate the point spread function (PSF) and use deconvolution to recover images blurred by the grid.
- Multi-frame fusion: stack multiple frames to improve dynamic range and signal-to-noise ratio while suppressing periodic patterns.
The following minimal pseudocode illustrates the compensation flow. It only expresses ordering and does not represent any specific API:
# 1) Factory calibration: capture a known pattern in the under-display region to estimate the point spread kernelpsf = estimate_psf(calibration_shots)# 2) Per-frame deconvolution plus frequency-domain notch filtering to suppress periodic patterns caused by the pixel gridframe = notch_filter(deconvolve(raw_frame, psf), grid_freq)# 3) Multi-frame alignment and fusion to improve signal-to-noise ratio and dynamic rangeimage = merge(align([frame_i for frame_i in burst]))# 4) White balance and color matrix correction to compensate for inconsistent spectral transmittanceimage = color_correct(image, spectral_matrix)
1.3 Evaluation metrics need to be systematic
“Can it take a photo at all” is not enough. Evaluation should at least cover MTF (modulation transfer function) attenuation in the under-display region, spectral peaks of periodic patterns, signal-to-noise ratio in low light, and white balance error under different color-temperature light sources. Engineers should also watch spatial consistency between display and imaging: whether color and brightness differences between under-display and non-under-display regions are directly noticeable to users.
1.4 Transitional forms are the norm
In terms of engineering maturity, “keep one very small opening and move the rest of the sensors under the display” is often the more stable transitional approach. It concentrates the hardest constraints—high transmittance and no diffraction—into a single small hole while other sensors gradually move underneath. This incremental path lowers the risk of any single product generation and fits the usual iteration rhythm of consumer electronics.
2. Adjustable Light-Entry Structure: Turning Exposure Back into an Optical Problem
2.1 The fixed-aperture dilemma
Mobile devices have long used fixed apertures. A large aperture helps in low light but can overexpose in bright conditions and yields shallow depth of field. A small aperture helps with depth of field and overexposure but worsens low-light signal-to-noise ratio. Software can only mitigate this through multi-frame synthesis and tone mapping, at the cost of processing latency and power.
2.2 The general value of a mechanical variable aperture
Adding an adjustable aperture gives the system one more degree of freedom:
- Narrow the aperture in bright scenes to reduce overexposure and glare.
- Open it up in low light to increase light intake per unit time.
- Narrow it when more depth of field is needed to improve front-to-back sharpness.
The costs are structural thickness, reliability (the lifespan of moving parts), and control complexity. Control is usually coordinated with autofocus and auto exposure rather than adjusted independently.
2.3 The other half of the answer is on the sensor side
“More light at night without overexposing in daylight” is rarely achieved by a single component. It is usually a combination of a high-quantum-efficiency photodiode structure, high-dynamic-range readout, and multi-frame fusion. Common engineering practices include dual conversion gain readout, pixel-level binning, and adaptive exposure strategies based on scene brightness zones.
3. Near-Memory Packaging and On-Device AI: Balancing Bandwidth, Power, and Latency
3.1 The real bottleneck for on-device AI
Running generative models on devices such as phones is often limited not by peak compute but by memory bandwidth and the power cost of data movement. Weights and activations are repeatedly moved between storage and compute units, which costs both time and energy. Placing memory modules closer to the processor at the package level—the near-memory or advanced packaging approach—shortens interconnect distance and can deliver higher effective bandwidth under the same power budget.
3.2 Why “closer” can also reduce cost
Advanced packaging integrates multiple dies in one package, reducing long interconnects and the extra interface power they consume. When yield and area are under control, the system cost per unit of performance may fall. The key idea is “system-level optimization”: not a stronger single chip, but shorter data paths and more concentrated power delivery and heat dissipation.
3.3 Engineering constraints for on-device inference
On-device deployment must answer four questions at once:
- Memory footprint: can model weights and the KV cache fit in available memory?
- Latency: do time-to-first-token and sustained throughput meet interaction expectations?
- Power and thermals: will sustained inference trigger throttling?
- Privacy and availability: does it still work without a network connection?
A typical trade-off is layered scheduling with “a small on-device model plus a large cloud model”: the device handles low latency, privacy-sensitive, and offline scenarios, while the cloud handles complex inference. The scheduling layer needs to make dynamic decisions based on network conditions, battery level, and thermal state.
4. How the Three Threads Couple: A Unified Engineering View
These three threads are not independent:
- The under-display front camera yields a worse raw signal-to-noise ratio, so it relies more on multi-frame fusion and on-device compute.
- The variable aperture changes the light distribution, so exposure and focus strategies need recalibration.
- Near-memory packaging raises effective bandwidth, which lets the above real-time algorithms run within the power budget.
When evaluating a hardware generation, it helps to measure everything with a “link budget” approach:
Imaging quality = f(transmittance, optical design, sensor dynamic range, algorithmic compensation, compute/bandwidth)On-device experience = g(model size, memory bandwidth, latency budget, thermal and power limits)
5. Practical Recommendations for Developers
- Build calibration and regression systems: any under-display imaging or optical change needs a repeatable calibration process and an image-quality regression set.
- Treat algorithms as first-class citizens: compensation algorithms should be co-designed with hardware, not patched on afterward.
- Subtract from on-device models: prioritize quantization, pruning, and operator fusion to reduce bandwidth pressure.
- Schedule in layers instead of choosing one or the other: device-cloud collaboration should be observable and able to degrade gracefully.
- Focus on observability: collect frame rate, latency, temperature, and power curves on real devices, and tune with data.
On the cloud side, the supporting capabilities are usually general-purpose categories: object storage for distributing models and assets, message queues for decoupling tasks, container platforms for elastic inference services, and logging plus monitoring and alerting for end-to-end observability. Combining these general capabilities is what supports a stable experience of “real-time on device with cloud fallback.”
Conclusion
Under-display front cameras, adjustable light entry, and near-memory packaging may look like three hardware topics, but in engineering terms they are the same task: re-budgeting the imaging and intelligence pipeline under hard constraints on power, volume, and cost. Understanding this coupling helps anyone working on device algorithms, system scheduling, or cloud support to judge the boundaries and costs of a technical approach more accurately.
