Under-Display Sensing and On-Device AI Packaging: A Technical Analysis of the Evolution

    This article examines three converging trends in mobile device engineering: under-display sensing, variable aperture cameras, and near-memory packaging for on-device AI. It explains the physical limitations each approach must overcome, the engineering trade-offs involved, and practical guidance for developers and architects, including biometric abstraction, exposure and aperture strategy, on-device model optimization, and device-cloud routing with fallback paths.

    1. Introduction: Mobile Devices Are Shifting from Stacking Specs to Coordinated Optimization

    For more than a decade, performance gains in mobile devices came mainly from process scaling and spec competition in individual modules. Over the past two years, the technical roadmap has clearly shifted toward system-level coordination: front-end sensing (optical recognition under the display), mid-stage imaging (lens structures with controllable light intake), and back-end compute (memory and processor interconnects placed closer together) are now weighed on the same optimization table. A widely circulated codename for a recent flagship model happens to bundle three of these threads together: under-display face recognition, a mechanical aperture on the rear camera, and a packaging approach that moves memory close to the processor. This article sets aside the specific product and discusses only the capability boundaries and engineering trade-offs of these three general-purpose technologies.

    It is worth stressing that this kind of leak-based information carries no engineering credibility on its own. What is valuable is the trend it reflects: sensing components moving behind the display, imaging pipelines introducing a controllable variable, and the physical distance between compute and storage shrinking. Each is discussed below.

    2. Under-Display Sensing: Compensating When the Optical Path Is Blocked

    Placing an infrared face recognition module beneath the display layer creates one core conflict: the pixel array becomes an obstacle in the optical path.

    2.1 Three Sources of Loss at the Physical Level

    1. Reduced transmittance. The cathode, anode, encapsulation layers, and pixel traces all absorb and scatter infrared light, so less energy reaches the sensor and the signal-to-noise ratio degrades.
    2. Diffraction and fringes. The periodic structure of the pixel array acts as a two-dimensional grating, superimposing diffraction fringes on the sensor and directly contaminating the feature map.
    3. Self-emission interference. When the display is lit, visible and near-infrared leakage raises background noise, which is why under-display schemes generally require recognition and display refresh to be separated in time.

    2.2 Four Engineering Compensation Paths

    • Materials: raising the infrared transmittance of cathode and trace materials. This falls under supply chain and material process work, where device makers have limited room to intervene.
    • Pixels: using sensors with larger pixel area and higher full-well capacity, trading area for signal-to-noise ratio.
    • Algorithms: treating diffraction fringes as a known quantity for calibration and deconvolution, then aligning features in the feature domain with a neural network. An illustrative pipeline:
    1. # Illustrative only: calibration, compensation, and recognition pipeline for under-display imaging
    2. def under_display_pipeline(raw_frame, psf_kernel, calib_table):
    3. # 1) Dark-field and bright-field calibration to estimate fixed pattern noise
    4. frame = (raw_frame - calib_table.dark) / (calib_table.gain + 1e-6)
    5. # 2) Fringe suppression using the point spread function (Wiener-type deconvolution)
    6. frame = wiener_deconv(frame, psf_kernel, noise=1e-3)
    7. # 3) Domain alignment against under-display reference samples to remove residual texture differences
    8. feat = encoder_alignment_network(frame, ref_domain=calib_table.ref)
    9. return matcher(feat, gallery)
    • Interaction: writing “time-division multiplexing of display and sensing” into the scheduling policy. Locally dimming or blacking out part of the screen at the moment of recognition is the cheapest and most effective measure.

    2.3 Why the Pinhole Transition Makes Sense

    Keeping a single circular opening in the top-left corner and gradually moving to full under-display sensing is a pragmatic, incremental path: the opening secures baseline experience and production yield, while the under-display area accumulates calibration data and failure samples. For developers, this means the upper-level biometric interface should stay stable; switching the underlying implementation from pinhole to under-display should not trigger business-side rework. That is precisely the payoff of layered design.

    3. Variable Aperture: Moving Exposure Control from Pure Software Back to Hardware-Software Coordination

    A fixed-aperture lens can only suppress overexposure in bright light by shortening exposure time and lowering gain, at the cost of both motion blur and noise worsening at once. Adding a mechanically driven variable aperture introduces one more controllable degree of freedom at the optical layer.

    3.1 Layered Control Strategy

    1. Aperture-first coarse adjustment: in bright scenes, narrow the aperture to cut the light flux reaching the sensor directly and preserve highlight detail.
    2. Exposure time fine-tuning: after the aperture is set, adjust time to control motion blur.
    3. Gain as fallback: raise analog gain only when the first two are insufficient, avoiding amplified noise.

    The priority is expressed in pseudocode:

    1. if lux > HIGH:
    2. aperture = min_aperture; exposure = short; gain = base
    3. elif lux < LOW:
    4. aperture = max_aperture; exposure = long; gain = base
    5. else:
    6. aperture = mid; exposure = solve_by_target_luma(); gain = base

    3.2 The Cost of the Mechanical Structure

    The blades add four costs: volume, power, lifespan, and noise. Blade shadows and uneven vignetting may also appear. So in engineering practice, a variable aperture is usually given only to the main camera, while ultra-wide and telephoto keep fixed apertures, with a unified color and exposure strategy used to align consistency across cameras.

    3.3 Working with the Sensor

    The goal of “more light in the dark, no overexposure in daylight” is essentially a dynamic range problem. Beyond the aperture, the common industry approach is to improve single-frame dynamic range (dual conversion gain, multi-frame fusion) and optimize pixel readout noise. Claims that a sensor exclusively offers “four-stop lossless zoom” should be treated with caution; parameters must follow official specifications.

    4. Packaging and Memory: Shorter Physical Distance Means Lower Latency

    Stacking runtime memory next to the processor as a wafer-level multi-chip module yields gains in three areas:

    • Shorter interconnects lower both energy per bit and latency, which suits the frequent movement of large model weights.
    • Better area utilization leaves room for the battery and thermal design.
    • Yield and test can be completed at the wafer stage, leaving room for lower unit cost at scale (though high initial investment and rising thermal density are real constraints).

    For on-device AI, the direct meaning is that local inference no longer has to wait on a round trip to the cloud for everything. A typical device-cloud division of labor can be written as:

    1. def route(request, device_budget_ms=80, privacy_level="high"):
    2. if request.contains_sensitive_data or privacy_level == "high":
    3. return on_device_infer(request) # Privacy first: handled locally
    4. if request.estimated_latency < device_budget_ms:
    5. return on_device_infer(request) # Short requests close the loop on device
    6. return cloud_infer(request) # Long-tail complex requests go to the cloud

    On the cloud side, the supporting capabilities are usually general-purpose categories: container platforms hosting inference services, object storage for models and datasets, message queues for peak shaving, and logging plus monitoring and alerting for observability. In this kind of device-cloud architecture, Baidu AI Cloud provides exactly these general infrastructure capabilities rather than being tied to a specific device.

    5. Interaction Trade-offs: The Cost Logic Behind Subtracting Features

    Removing the haptic feedback and touch from the shutter button is a typical target-cost design decision. Haptic feedback depends on a dedicated driver component working with a motor, and touch requires an extra sensing layer plus firmware maintenance; both are ongoing costs. If actual usage is low, cutting them costs very little in overall experience. The lesson for product teams: interaction features should be introduced based on real usage data rather than a habit of piling on features, and a software-level configurable entry point should be kept to leave room for restoring them later.

    6. An Action Checklist for Developers and Architects

    1. Abstract and isolate the biometric layer so differences in the underlying optical scheme are hidden.
    2. For the camera layer, build an exposure and aperture strategy table tiered by scene brightness, and run multi-camera consistency regression tests.
    3. For on-device models, use “distillation + quantization + tiered caching,” evaluating resident weights and cold loading separately.
    4. Establish a fallback chain for device-cloud routing: local failures can be retried, and limited results are returned when the cloud is unreachable.
    5. Use the monitoring and alerting system to collect on-device latency, failure rate, and temperature rise, forming a data loop for continuous optimization.

    7. Conclusion

    Under-display sensing, variable aperture, and near-memory packaging appear to belong to three separate fields: optics, mechanics, and semiconductors. In practice they point to the same goal: on power- and volume-constrained devices, moving more “decisions” to the local side. Understanding the physical constraints and engineering compromises of all three is more valuable in the long run than chasing any single parameter.